QDockSeparators are created/shown/hidden on the fly when needed. You cannot delete them or a crash will occur. You will have to monitor for every movement and possibly resize events too, and hide the separator again and again by hand when appropriate.
Originally Posted by moowy
You can find the QDockSeparators like this:
// Notice this (from qdockseparator_p.h):
// W A R N I N G
// This file is not part of the Qt API. It exists purely as an
// implementation detail. This header file may change from version to
// version without notice, or even be removed.
// We mean it.
// notice that QDockSeparators are children of QMainWindow, not children of QDockWidget
>className()) == "QDockSeparator")
QDockSeparator* sep = qobject_cast<QDockSeparator*>(obj);
if (sep && sep->orientation == Qt::Vertical)
To copy to clipboard, switch view to plain text mode