Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Qt.Quick.Controls 1.4: Resize TableView Columns with doubleclick
Forum Updated to NodeBB v4.3 + New Features

Qt.Quick.Controls 1.4: Resize TableView Columns with doubleclick

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 1 Posters 650 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.
  • A Offline
    A Offline
    AlaNan
    wrote on 23 Aug 2016, 16:34 last edited by
    #1

    When I doubleclick on a column separator in my TableView it is resized to fit the content but the header size is ignored. I think this is due to this bug.
    I managed to implement a way to resize the columns of the table correctly and I use it whenever model data changes.
    Now I want to use it on doubleclick too! I think I would just need to implement a handler for that very signal that calls my resize function. But I cannot find this signal in the documentation.

    Does anybody know how to achieve what I'm trying to do?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      AlaNan
      wrote on 29 Aug 2016, 07:46 last edited by
      #2

      Nobody? Really?
      Ok.
      Let me rephrase the question:
      Is it possible to change the behavior of resizing on doubleclick on column separator for Table VIew in Qt.Quick.Controls 1 without changing the C++ implementation of Table View itself?
      Yes or no?
      Please, there must be someone who can answer this question m(-_-)m

      1 Reply Last reply
      0

      1/2

      23 Aug 2016, 16:34

      • Login

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