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. How to make a permanent widget in Qtableview
QtWS25 Last Chance

How to make a permanent widget in Qtableview

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 4.5k 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.
  • B Offline
    B Offline
    BibekKumar
    wrote on last edited by
    #1

    I am using QTableview . I want to use a QPushbutton in a particular cell which will be visible permanently . I have been through one delegate example in QtDoc . But inside that whenever i am going for editing the cell , only that time the widget is visible after editing its again invisible .
    But i want to make this widget permanent ..

    Please do reply with an example , that will be more helpful for my understanding .

    1 Reply Last reply
    0
    • U Offline
      U Offline
      utcenter
      wrote on last edited by
      #2

      You will probably have to re-implement QTableview

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

        Your question was answered here already:
        http://qt-project.org/forums/viewthread/19287/
        use setIndexWidget.

        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