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. One mouse-click to edit the cells for QTabWidget
Forum Updated to NodeBB v4.3 + New Features

One mouse-click to edit the cells for QTabWidget

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

    At present, when we want to edit a cell in QTabWidget, we have to select the cell first by single-clicking the cell, and then if we want to edit the cell, we have to double-click the same cell to input texts.

    Is it possible to just single-click the cell to input texts without the extra double clicks?

    Thanks in advance.

    jsulmJ 1 Reply Last reply
    0
    • H huskier

      At present, when we want to edit a cell in QTabWidget, we have to select the cell first by single-clicking the cell, and then if we want to edit the cell, we have to double-click the same cell to input texts.

      Is it possible to just single-click the cell to input texts without the extra double clicks?

      Thanks in advance.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @huskier said in One mouse-click to edit the cells for QTabWidget:

      QTabWidget

      What is a cell in QTabWidget?
      Do you mean QTableWidget?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • H Offline
        H Offline
        huskier
        wrote on last edited by
        #3

        Yes, it's QTableWidget. @jsulm

        jsulmJ 1 Reply Last reply
        0
        • H huskier

          Yes, it's QTableWidget. @jsulm

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @huskier See https://doc.qt.io/qt-6/qabstractitemview.html#editTriggers-prop

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          3
          • H Offline
            H Offline
            huskier
            wrote on last edited by
            #5

            Thank you for you help. @jsulm

            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