examples: Show how to hide dock indicators when ctrl is pressed

Fixes issue #334 and issue #337.
Won't add this directly into the library, as each project
has different requirements regarding this.

It's easy to do in application code though.
This commit is contained in:
Sergio Martins
2023-02-07 23:51:20 +00:00
parent 57aded2a67
commit af455bb37e
2 changed files with 27 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ public:
private:
void createDockWidgets();
bool eventFilter(QObject *obj, QEvent *ev) override;
KDDockWidgets::DockWidgetBase *newDockWidget();
QMenu *m_toggleMenu = nullptr;
const bool m_dockWidget0IsNonClosable;