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

Invocation QToolBox::removeItem() before MainWindow->show()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P5: Not important
    • None
    • 4.6.3, 5.4.1
    • None
    • W7 64, VS2008

    Description

      I've QToolBox with 3 items (created from QtDesigner).

      If to try to remove a first item of QToolBox before MainWindow::show(), the widgets from this item still present on MainWindow (but without layout and item header). But if invoke show() before removeItem(0) - all will ok, no widgets from this items present on the screen.

      Example added to comments.

      Attachments

        1. a1.jpg
          a1.jpg
          17 kB
        2. a2.jpg
          a2.jpg
          17 kB
        3. QToolBox.jpg
          QToolBox.jpg
          59 kB
        4. Remove After Show.png
          Remove After Show.png
          7 kB
        5. Remove Before Show.png
          Remove Before Show.png
          6 kB
        6. Test.zip
          2 kB
        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
            imagemaster Mike
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes