Re: [Interest] Problem sizing a QWidget

2015-04-06 Thread Christian Gagneraud
On 07/04/15 09:41, william.croc...@analog.com wrote: > >> >> I know this is not the correct way to go, and is quite inefficient but I >> could not find another way. >> Would anyone have some suggestion on how to handle this correctly? >> Any help would be greatly appreciated. >> > > Looks like I di

Re: [Interest] Problem sizing a QWidget

2015-04-06 Thread william.croc...@analog.com
> > I know this is not the correct way to go, and is quite inefficient but I > could not find another way. > Would anyone have some suggestion on how to handle this correctly? > Any help would be greatly appreciated. > Looks like I did this at some point in the past: m_Label->setSizePolicy(QSi

[Interest] Problem sizing a QWidget

2015-04-06 Thread Christian Gagneraud
Hi there, I wrote a simple "HeadsUp" widget class (derived from QWidget), that only contains layouts and QLabel. I'm using it in a kind of special way: This widget overlay a QGraphicsView in the top left corner to display context specific information, it has the Qt::WA_TransparentForMouseEvents