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

Qt Designer: Insert pasted widget as child of selected

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P4: Low
    • None
    • 5.15
    • Tools: Designer
    • None
    • Linux/X11

    Description

      When a layout is both a child of another layout and without any children, it generally will have either zero width or zero height. As such, attempting to insert a widget as child by drag-and-drop generally will be infeasible. Attempts to populate the child layout rather will populate the parent.

      In may seem consistent with common patterns that a widget pasted from clipboard would be inserted as child of a selected widget, whether the pasting or selection is through the Form Builder or the Object Inspector. However, the pattern is not followed by the application. Pasted widgets rather are inserted at the top level.

      Even pasting through the popup menu corresponding to an object represented in the tree in the Object Inspector results simply in the widget inserted at the top level.

      Suggested is that a paste operation would insert a widget as a child of the selected one, or of that node from which was generated the popup menu from which the paste action was chosen in the Object Inspector.

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              epl0517 Eric Levy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: