Results 1 to 2 of 2

Thread: How to make...

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Catalonia
    Posts
    266
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    44
    Thanked 2 Times in 2 Posts

    Default How to make...

    hi all, I would like to know how to make that the first row (root) in the tree view appears in a rectangle that can be constrained or expanded as shown in the image that I include obtained from the designer of Qt4.1 for Windows. Moreover I would like to know how to insert various tree views in a scroll area as shown in the image, too. Or simply what kind of widget is. Thanks.
    Attached Images Attached Images
    Last edited by SkripT; 19th February 2006 at 09:34.

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

    Default Re: How to make...

    Quote Originally Posted by SkripT
    hi all, I would like to know how to make that the first row (root) in the tree view appears in a rectangle that can be constrained or expanded as shown in the image that I include obtained from the designer of Qt4.1 for Windows.
    You can check Designer's code to be sure, but my guess is that the painting routine for an element just draws the primitive of a button using the current style (probably QStyle::PE_PanelButtonCommand).

Similar Threads

  1. Replies: 2
    Last Post: 7th May 2008, 20:11
  2. QT4 for kde 4 beta 2 configure problem: make not found
    By marcomangiante in forum Installation and Deployment
    Replies: 1
    Last Post: 5th September 2007, 20:35
  3. Window OS make distclean && qmake && make one line
    By patrik08 in forum General Programming
    Replies: 4
    Last Post: 22nd March 2007, 10:43
  4. Qt/Embedded Installation error during make
    By mahe2310 in forum Installation and Deployment
    Replies: 5
    Last Post: 7th September 2006, 04:05
  5. Qt4.1.4 make errors.
    By impeteperry in forum Installation and Deployment
    Replies: 11
    Last Post: 1st July 2006, 17:27

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.