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. widget on the qheaderview section..
Forum Updated to NodeBB v4.3 + New Features

widget on the qheaderview section..

Scheduled Pinned Locked Moved Unsolved General and Desktop
tableview hdr
3 Posts 2 Posters 1.9k Views 1 Watching
  • 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.
  • yxleeY Offline
    yxleeY Offline
    yxlee
    wrote on last edited by
    #1

    Is it possible to put pushbutton on the QHeaderView sections?

    RatzzR 1 Reply Last reply
    0
    • yxleeY yxlee

      Is it possible to put pushbutton on the QHeaderView sections?

      RatzzR Offline
      RatzzR Offline
      Ratzz
      wrote on last edited by
      #2

      @yxlee
      Yes,
      something like this ?http://stackoverflow.com/questions/10082028/how-to-add-a-button-or-other-widget-in-qtreewidget-header

      --Alles ist gut.

      1 Reply Last reply
      0
      • yxleeY Offline
        yxleeY Offline
        yxlee
        wrote on last edited by
        #3

        Thx again Ratzz. I am gonna apply it to the project I am working on and let you know how it goes.

        I was having some issues with custom header on the tableView as the widgets tend to overlap when
        I resize them and resulting in invoking wrong signals associated with each pushbuttons. When
        I asked the question, I meant literally placing widgets on header sections as the sections do not
        seem to overlap at all.

        Those things I've done so far, I've modeled after samples I've found on the internet.

        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