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. Spinbox delegate example = show spinner arrows in a QTableView.
Forum Updated to NodeBB v4.3 + New Features

Spinbox delegate example = show spinner arrows in a QTableView.

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

    Hi,

    In the spinbox delegate example on the welcome QT page is it possible to show the up/down arrows by default? The arrows are only visible once the cell is double-clicked then get auto hidden once the cell loses focus.

    Thanks,

    JonBJ 1 Reply Last reply
    0
    • L leeroy

      Hi,

      In the spinbox delegate example on the welcome QT page is it possible to show the up/down arrows by default? The arrows are only visible once the cell is double-clicked then get auto hidden once the cell loses focus.

      Thanks,

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @leeroy
      I haven't looked at the example. You can do whatever you like, but I imagine the idea is that double-click enters an Edit mode on the item in the table. You would have to change so that effectively the cells are constantly in edit mode, to allow changing value without having to double-click.

      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