summaryrefslogtreecommitdiff
path: root/plugingui/tabwidget.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2019-03-17 15:25:56 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2019-03-17 15:25:56 +0100
commitf23bee5a5a0eff34cbea1d7d238f7b5d23b28cbf (patch)
tree052328155c2da13e5eebf311336902e0ed6883b3 /plugingui/tabwidget.h
parenta0093df2f962b34289c545d85a2baad036b1bcc5 (diff)
Skip tab button when scroll on the tab widget if the tab button is invisible.
Diffstat (limited to 'plugingui/tabwidget.h')
-rw-r--r--plugingui/tabwidget.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugingui/tabwidget.h b/plugingui/tabwidget.h
index dc69776..129826a 100644
--- a/plugingui/tabwidget.h
+++ b/plugingui/tabwidget.h
@@ -64,6 +64,8 @@ private:
void switchTab(Widget* tabWidget);
void setActiveButtons(Widget* current_widget);
+ const TabButton* getButtonFromWidget(const Widget* tab_widget);
+
std::list<TabButton> buttons;
StackedWidget stack;