Double clicking on a tab will make it float

Also really required for Wayland, where we don't another way to
float a single tab, as the float button affects all of them.
This commit is contained in:
Sergio Martins
2020-10-17 12:09:47 +01:00
parent d7de0ebd20
commit 424453ab57
4 changed files with 13 additions and 0 deletions

View File

@@ -47,6 +47,7 @@ protected:
bool dragCanStart(QPoint pressPos, QPoint pos) const override;
void mousePressEvent(QMouseEvent *) override;
void mouseMoveEvent(QMouseEvent *e) override;
void mouseDoubleClickEvent(QMouseEvent *e) override;
private:
TabWidget *const m_tabWidget;
};