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. Can this table be implemented with Qt ?
Forum Updated to NodeBB v4.3 + New Features

Can this table be implemented with Qt ?

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 566 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.
  • R Offline
    R Offline
    ranshalit
    wrote on last edited by ranshalit
    #1

    Hello,

    I am trying to implement the following table, but I have quite difficulties with it.
    alt textalt text

    https://drive.google.com/file/d/0B22GsWueReZTbDhJUERFVzhsYWc/view?usp=sharing

    It is actually for embedded device, so the table should be quite fixed size.
    I have first thought of just creating this is QLabel, and use QString for writing each cells (which is composed of 4 cell-like parameters ).
    But since some of the cell has 2 arguments (in the figure it is val3/val2) it made me got stuck.
    There is also the dash line which I am not sure how to handle.

    Thanks for your advise,
    Ran

    1 Reply Last reply
    0
    • VRoninV Offline
      VRoninV Offline
      VRonin
      wrote on last edited by
      #2

      Since that looks a lot like a table I'd say QTableView (TableView in QML)+QStandardItemModel+custom QStyledItemDelegate (component as delegate: value in QML) (for Val3/Val2 thing) .

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      1 Reply Last reply
      2

      • Login

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