Hello everybody,
I have made a custom widget plugin. It consists of a lineedit and a pushbutton. That set is in a horizontal boxlayout, and that layout is in a vertical boxlayout together with a spacer and a textbrowser.
Together they should form a 'chatwindow'.
It loads in designer and when i drag it onto the grid, the embedded widgets shop up. When I drop the widget on the grid, it is an empty rectangle, but when I preview it, it behaves like it should: I see my chatwindow.
Is this normal behavior, or is it possible that I've done something wrong?
Hans
PS.
I also created another plugin which consists of three buttons with icons on them, and they do behave as I expected.
PS. 2
The code of ChatWindow is attached.
Bookmarks