diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-04-30 10:30:47 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-04-30 10:30:47 +0200 |
commit | 8fe6d2ec950ed1ebdedd776bab125dff90e5a20f (patch) | |
tree | 08a27b00831425367c1831269008feac14b97028 /plugingui/tabwidget.h | |
parent | d1e803d4be4cadc3e1204cbd096ae3bbe57c7a95 (diff) |
Add support for rotating the tabs using the scroll-wheel.
Diffstat (limited to 'plugingui/tabwidget.h')
-rw-r--r-- | plugingui/tabwidget.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugingui/tabwidget.h b/plugingui/tabwidget.h index ca96dc2..3f0e041 100644 --- a/plugingui/tabwidget.h +++ b/plugingui/tabwidget.h @@ -52,6 +52,8 @@ private: void sizeChanged(int width, int height); private: + //! Switch to the next tab if delta is > 0 or previous tab if delta is <= 0. + void rotateTab(float delta); void switchTab(Widget* tabWidget); void setActiveButtons(Widget* current_widget); |