Results 1 to 13 of 13

Thread: Custom widget plugin does not show up in editor but does in preview

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2006
    Posts
    18
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Custom widget plugin does not show up in editor but does in preview

    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.
    Attached Files Attached Files

Similar Threads

  1. How to show custom widget in TreeView's cell :-/
    By WolfMM in forum Qt Programming
    Replies: 2
    Last Post: 7th July 2007, 11:16
  2. Replies: 5
    Last Post: 21st February 2007, 22:11
  3. Replies: 2
    Last Post: 25th August 2006, 11:35
  4. Custom Widget Plugin Analog Clock
    By kemp in forum Qt Programming
    Replies: 8
    Last Post: 11th August 2006, 13:22
  5. Replies: 4
    Last Post: 24th March 2006, 22:50

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.