Results 1 to 12 of 12

Thread: Help needed in adding QWidget and other objects to a QHBoxLayout

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,372
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Help needed in adding QWidget and other objects to a QHBoxLayout

    Quote Originally Posted by qtUser500 View Post
    1. Unfortunately I have to use 3.3.5 as I need to enhance an old project that was developed using 3.3.5
    Too bad, it'd be much simpler in Qt4.

    3. I don't see QSplitter in my QtDesigner
    It's there. But not in the widget toolbox but in the layout toolbar to the right of the grid layout icon. Select two widgets (like the listbox and the frame) and the icon will become active.

    4. Though I can create a frame, there is no 'Promote to' option when I right click it .
    Right, sorry... the mechanism is a bit different in Qt3. Go to Tools->Custom->Edit custom widgets. If you fill the form that opens, the widget of your choice will become available in the "Custom" section of the widget toolbox.

    I really appreciate your feedback ... as I am going round in circles, trying to get this feature together, while hitting roadblocks everytime...
    Don't worry, you'll manage to do it.

    am I limited because of qt 3.3.5?
    Qt3 technology is about 10 years old. Much has happened since then. What you want to achieve would take about 10-15 minutes for a skilled Qt4 programmer.

    is there any possible workaround to get it to work .... please advise.
    You don't have to work around anything. It's just more work in Qt3 than in Qt4 as the latter contains some components that would ease your job. Still the task is relatively easy just don't overcomplicate things. Try working on the form I gave you, it practically contains everything you need.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  2. The following user says thank you to wysota for this useful post:

    qtUser500 (24th February 2009)

Similar Threads

  1. Replies: 1
    Last Post: 8th February 2009, 11:37
  2. QHBoxlayout Size problem
    By Spitz in forum Qt Programming
    Replies: 2
    Last Post: 4th December 2008, 21:09
  3. Drawing on QWidget - strech & resize
    By kemp in forum Qt Programming
    Replies: 5
    Last Post: 22nd January 2007, 14:39
  4. QHBoxLayout Problem
    By Seema Rao in forum Qt Programming
    Replies: 5
    Last Post: 29th April 2006, 15:51

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
  •  
Qt is a trademark of The Qt Company.