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

impossible to hide QTableWidget cell widgets

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • None
    • 4.7.4, 5.2.1, 5.4.2
    • Widgets: Itemviews
    • None
    • Windows XP, MSVC 2008, MSVC 2010, MinGW

      after calling setVisible(false) or hide() for the QTableWidget's cell widget, it becomes visible again when the table is repained.

      i.e. (table is QTableWidget*):

      QWidget* widget = table->cellWidget(r, c);
      widget->hide();

      will hide the widget only till the next repaint of the table.

        1. QTBUG-22490.zip
          2 kB
          Mitch Curtis
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            amasiuk Ars Masiuk
            Votes:
            6 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes