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

QSplitter - please add a removeWidget method

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 4.7.3
    • None
    • n/a

    Description

      Just as QTabWidget and such container widgets have remove methods (such as QTabWidget::removeTab), QSplitter should also have its own remove method for cleanly removing widgets from a QSplitter. Be it index based or widget pointer based, the removeWidget() method should remove the QSplitterLayoutStruct instance from the list in QSplitterPrivate and then reposition/resize all remaining widgets appropriately.

      Attachments

        1. qsplitter.cpp
          53 kB
        2. qsplitter.h
          6 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            arah Arah J. Leonard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes