Support re-ordering tabs with mouse
Just set KDDockWidgets::Config::Flag_AllowReorderTabs before creating the dock widgets. Fixes #20
This commit is contained in:
@@ -50,6 +50,7 @@ public:
|
||||
int numDockWidgets() const override;
|
||||
int tabAt(QPoint localPos) const override;
|
||||
protected:
|
||||
bool dragCanStart(QPoint pressPos, QPoint pos) const override;
|
||||
void mousePressEvent(QMouseEvent *) override;
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user