tonnot
17th August 2011, 13:54
I have a custom Qwidget with movement capabilities (using the mouse).
Ok, this QWidget works fine when it is inserted into any other widget, that is, I can move it inside the limits of the widget where I placed it.
Now I'd want to do the same but having this custom QWidget floating on the desktop.
Ok, I have a UI where I have the custom Widget (I prefer to use the designer to design my interface). Now my questions are :
- Can I 'load' only my Custom Widget ? (I dont want neither need the main QWidget)
(Now I have the problem that my Custom widget is moving inside the Ui main QWidget )
- And how can I can say it 'Your parent is this application, but your 'free world' is the desktop'
I hope you understand what I want . Thanks.
Ok, this QWidget works fine when it is inserted into any other widget, that is, I can move it inside the limits of the widget where I placed it.
Now I'd want to do the same but having this custom QWidget floating on the desktop.
Ok, I have a UI where I have the custom Widget (I prefer to use the designer to design my interface). Now my questions are :
- Can I 'load' only my Custom Widget ? (I dont want neither need the main QWidget)
(Now I have the problem that my Custom widget is moving inside the Ui main QWidget )
- And how can I can say it 'Your parent is this application, but your 'free world' is the desktop'
I hope you understand what I want . Thanks.