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

impossible to hide QTableWidget cell widgets

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Duplicate
    • Affects Version/s: 4.7.4, 5.2.1, 5.4.2
    • Fix Version/s: None
    • Component/s: Widgets: Itemviews
    • Labels:
      None
    • Environment:
      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

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            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