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. What kind of widget(s) should I be looking for?
QtWS25 Last Chance

What kind of widget(s) should I be looking for?

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.6k 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.
  • D Offline
    D Offline
    doni49
    wrote on last edited by
    #1

    I've been looking through all the tools/widgets but I'm still at a loss as to which one(s) I need to use.

    I'm developing for use in Windows. What I'd like is to have a list on the left with two columns as well as a header row. Then on the right side, a grid style list (that looks a lot like windows Explorer's file list) -- again, it will have multiple columns (varying number of columns) with a header row.

    It would be nice if I could put these on some type of panel -- the divider separating both should be movable so that I can make the area in which each widget "lives".

    Part of my problem is that I pulled up some of the demos and examples that looked like they might be useful (although I couldn't find any examples of these exact features). But it wouldn't allow me to open them in the edit view so I can't tell what the different tools/widgets are.

    TIA!

    EDIT: I just found an example that seems to have the two features I was asking about but I still can't get it to let me open the form in design view. The example is "Chart Example".

    Don

    1 Reply Last reply
    0
    • G Offline
      G Offline
      giesbert
      wrote on last edited by
      #2

      Hi,

      the widgets would be:

      A QSpitter as panel

      and two QTableViews for the data. You could also use a QTreeView with just one level, just have a look at the visual aspects.

      Nokia Certified Qt Specialist.
      Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

      1 Reply Last reply
      0
      • D Offline
        D Offline
        doni49
        wrote on last edited by
        #3

        Hi Gerolf! Thanks for the reply.

        I was able to find the QTableView. But I don't see a QSplitter listed in the QTDesigner. I've got my ui file open and see a whole bunch of widgets and tools.

        I created the project using the QTui type.

        Thanks again!

        Don

        1 Reply Last reply
        0
        • D Offline
          D Offline
          doni49
          wrote on last edited by
          #4

          Ok. I just found it. I thought I was looking for a container widget. But I placed two tableview objects on my form and selected both. Then across the top, I found "Layout Horizontally in a Splitter". I clicked it and to tableview objects are in a splitter now.

          Thanks for the help!

          Don

          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