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. Table view resize ability with mouse events
Forum Updated to NodeBB v4.3 + New Features

Table view resize ability with mouse events

Scheduled Pinned Locked Moved Unsolved General and Desktop
table viewtableviewtable widget
3 Posts 2 Posters 640 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.
  • L Offline
    L Offline
    Lior
    wrote on 5 Apr 2023, 13:52 last edited by
    #1

    Hi

    Does table view (widget /qml) have any build in resize ability with the mouse? (for the all table and not the row or columns).

    From the qt documentation it's seams it's not supported.

    Tnx
    Lior

    S 1 Reply Last reply 5 Apr 2023, 19:11
    0
    • L Lior
      5 Apr 2023, 13:52

      Hi

      Does table view (widget /qml) have any build in resize ability with the mouse? (for the all table and not the row or columns).

      From the qt documentation it's seams it's not supported.

      Tnx
      Lior

      S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 5 Apr 2023, 19:11 last edited by
      #2

      Hi,

      How are you setting up your QTableView ?
      By default it can be resized like any other widget. If you integrate it in another widget, did you put it in a layout ? If so, it will resize following the widget that contains it.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      L 1 Reply Last reply 6 Apr 2023, 19:48
      0
      • S SGaist
        5 Apr 2023, 19:11

        Hi,

        How are you setting up your QTableView ?
        By default it can be resized like any other widget. If you integrate it in another widget, did you put it in a layout ? If so, it will resize following the widget that contains it.

        L Offline
        L Offline
        Lior
        wrote on 6 Apr 2023, 19:48 last edited by
        #3

        @SGaist said in Table view resize ability with mouse events:

        e resized like any other widge

        I created a model class and used it in qml as TableView.

        My goal is to create a view that will be populated with tables, and the tables should be movable and resizable.

        So I started with one table, then I realized that there is no event for table resizing using the mouse.

        1 Reply Last reply
        0

        2/3

        5 Apr 2023, 19:11

        • Login

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