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

Qt Designer removes widgets from UI file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.14.0 Alpha
    • Tools: Designer
    • None
    • Windows

    Description

      When reading in a UI file produced by a previous version of QtDesigner, widgets are removed. The layout used by the widgets are retained and are children of the removed widgets parent. This causes existing code to break as it attempts to control the now missing widgets.

      In the example attached, the StatusDisplay_with_widgets.ui is the file from the previous version of QtDesigner. It contains widgets named currentImagePanel, finisheTimesPanel and washStatusPanel, which are removed when read in. StatusDisplay.ui is the file as written when saved using both QtCreator and Qt Designer.

      Attachments

        1. qtbug80256_minimal.ui
          1 kB
        2. qtbug80256.ui
          26 kB
        3. StatusDisplay_with_widgets.ui
          27 kB
        4. StatusDisplay.ui
          27 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kleint Friedemann Kleint
            tlh-rigaku Thomas Hendrixson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes