Results 1 to 4 of 4

Thread: How to set layout for QTreeView in QComboBox

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2010
    Posts
    11
    Thanks
    1

    Default How to set layout for QTreeView in QComboBox

    Hi all,

    i have QComboBox with QTreeView in it. i set maxwidth = 20 for the combo and i want to make tree view wider(400). i try to make some layout and apply it to the combo, but i get errors.

    How can i set the width of the tree view?
    Last edited by kode; 27th December 2010 at 16:07.

Similar Threads

  1. QComboBox and QTreeView
    By Carlsberg in forum Qt Programming
    Replies: 7
    Last Post: 14th February 2013, 17:58
  2. QCombobox with QTreeView/QTreeWidget
    By swiety in forum Qt Programming
    Replies: 2
    Last Post: 30th August 2011, 20:27
  3. problem with QTreeView and QComboBox
    By nirab_25 in forum Newbie
    Replies: 0
    Last Post: 22nd January 2010, 14:47
  4. Replies: 0
    Last Post: 2nd April 2008, 08:48
  5. How to use QTreeView in QComboBox?
    By Tamara in forum Qt Programming
    Replies: 2
    Last Post: 20th June 2007, 20:03

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.