Results 1 to 2 of 2

Thread: Seeking advice on which qt widget to use.

  1. #1
    Join Date
    Sep 2012
    Posts
    1
    Thanks
    1

    Default Seeking advice on which qt widget to use.

    I am seeking advice on how (if possible) to construct a UI similar to the mock up below. I am not well versed in Qt widgets for custom work.

    Screen Shot 2016-07-08 at 17.52.12.jpg

    I already have my application that using the a tree view with a custom model. Although i find the treeview to be too limiting, see second image.

    Screen Shot 2016-07-08 at 18.13.40.jpg

    I thought i could implement my own TreeView, or perhaps i could use something more free-form like QGraphicsView or QGraphicsScene or QGL... or similar. If i were to use a more free-form widget then i would loose the advantages of the TreeView/TreeModel (e.g. sorting, proxy model, delegates).

    If any QT experts have any thoughts on an approach i'd love to hear it. I've look around the web and couldn't find any similar.

    Thank you!

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Seeking advice on which qt widget to use.

    Quote Originally Posted by bkn View Post
    I thought i could implement my own TreeView, or perhaps i could use something more free-form like QGraphicsView or QGraphicsScene or QGL... or similar.
    As you said, either your own view based on QAbstractItemView or using QGraphicsView, maybe event QtQuick.

    Quote Originally Posted by bkn View Post
    If i were to use a more free-form widget then i would loose the advantages of the TreeView/TreeModel (e.g. sorting, proxy model, delegates).
    Not necessarily, as your custom widget could still operate on a model, even use delegates.

    Cheers,
    _

  3. The following user says thank you to anda_skoa for this useful post:

    bkn (17th July 2016)

Similar Threads

  1. Advice on widget styling for custom widget
    By rivimey in forum Qt Programming
    Replies: 4
    Last Post: 14th March 2013, 18:11
  2. Replies: 4
    Last Post: 8th January 2013, 21:08
  3. Replies: 3
    Last Post: 24th October 2012, 22:47
  4. advice wanted: widget size 50 x 4,000
    By vonCZ in forum Newbie
    Replies: 0
    Last Post: 20th April 2009, 18:26
  5. Replies: 3
    Last Post: 26th November 2007, 18:01

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.