Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-75414

QTableView Display obscured

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.10.1, 5.12.2
    • Fix Version/s: None
    • Component/s: Core: Item Models
    • Labels:
      None
    • Platform/s:
      Windows

      Description

      The QTableView column is very long, dragged out of the layout, and the data display is obscured by the layout.

      code:
      _tableView = new QTableView(this);
      _itemTableModel = new ValueTableModel(this);
      _tableView->setContextMenuPolicy(Qt::ActionsContextMenu);
      _tableView->setAlternatingRowColors(false);
      //_tableView->setItemDelegate(new ValueTableDelegate());
      _tableView->setModel(_itemTableModel);
      _tableView->horizontalHeader()->setSectionResizeMode(QHeaderView::Interactive);
      _leftVlayout = new QVBoxLayout();
      _leftVlayout->addWidget(_tableView);

        Attachments

        1. 1.png
          1.png
          3 kB
        2. 2.png
          2.png
          4 kB
        3. TableView.7z
          6 kB
        4. TableView.tar.gz
          4 kB

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              qt.team.quick.subscriptions Qt Quick and Widgets Team
              Reporter:
              cc20110101 w cc
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes