Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Anyone know what these tree-like widgets are?

Anyone know what these tree-like widgets are?

Scheduled Pinned Locked Moved General and Desktop
7 Posts 5 Posters 3.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    AutoBot
    wrote on last edited by
    #1

    !http://img148.imageshack.us/img148/526/widgets.jpg(Picture)!

    I know that they're both under dock widgets, that's not what I'm talking about. What are the widgets themselves? They both look like functionality I could use in my programs, so any response is appreciated...

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SimonL
      wrote on last edited by
      #2

      They both look like QTreeViews http://developer.qt.nokia.com/doc/qt-4.7/qtreeview.html there is 2 versions one for use with Qt's MVC the other for standalone use

      1 Reply Last reply
      0
      • A Offline
        A Offline
        andre
        wrote on last edited by
        #3

        They are both tree views, I think.

        The bottom one is a property editor that uses a tree view as a display, the top on is a tree view that uses a custom delegate to not render the lines connecting the items.

        1 Reply Last reply
        0
        • Z Offline
          Z Offline
          ZapB
          wrote on last edited by
          #4

          Agreed although hiding of the dotted lines that usually join the items is more likely controlled by a style option than by a delegate. I think the KDE Oxygen style offers this as an option.

          Nokia Certified Qt Specialist
          Interested in hearing about Qt related work

          1 Reply Last reply
          0
          • A Offline
            A Offline
            AutoBot
            wrote on last edited by
            #5

            Alright, so should I learn more about model/view programming to get the most out of QTreeView? Or is there a different way to implement a property editor and tree view together?

            1 Reply Last reply
            0
            • EddyE Offline
              EddyE Offline
              Eddy
              wrote on last edited by
              #6

              I've seen some property editors on qt-apps.org.

              Just google the site and you will find some.

              Qt Certified Specialist
              www.edalsolutions.be

              1 Reply Last reply
              0
              • A Offline
                A Offline
                andre
                wrote on last edited by
                #7

                Yeah, personally, I used (and extended) YAPE. Worked nicely, I thought.

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved