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

impossible to hide QTableWidget cell widgets

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes