Results 1 to 5 of 5

Thread: help! how to code this gui with qt4?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2008
    Location
    Ukraine, Krivoy Rog
    Posts
    1,963
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Thanked 370 Times in 336 Posts

    Default Re: help! how to code this gui with qt4?

    create QTreeWidget and papulate this tree with QTreeWidgetItem.
    using QTreeWidgetItem you can set icons, text aligment etc.
    then you need to connect QTreeWidget::itemClicked or QTreeWidget::itemActivated with slot in wich you will set needed picture.
    Qt Assistant -- rocks!
    please, use tags [CODE] & [/CODE].

  2. #2
    Join Date
    Mar 2009
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    1

    Default Re: help! how to code this gui with qt4?

    Quote Originally Posted by spirit View Post
    create QTreeWidget and papulate this tree with QTreeWidgetItem.
    using QTreeWidgetItem you can set icons, text aligment etc.
    then you need to connect QTreeWidget::itemClicked or QTreeWidget::itemActivated with slot in wich you will set needed picture.


    thanks

    is there any similar code about this?

Similar Threads

  1. How to put custom handle image in QSlider using code?
    By montylee in forum Qt Programming
    Replies: 6
    Last Post: 29th January 2009, 20:38
  2. copyright and gpl
    By janus in forum General Discussion
    Replies: 8
    Last Post: 21st October 2008, 02:13
  3. Pasting code from code tag in emacs
    By Gopala Krishna in forum General Discussion
    Replies: 0
    Last Post: 16th February 2007, 06:47
  4. Qt Cryptographic Architecture
    By vermarajeev in forum Qt Programming
    Replies: 6
    Last Post: 9th February 2007, 14:15

Tags for this Thread

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.