|
lmms
Cross-platform music production software
|
#include <TabBar.h>
Public Slots | |
| void | setActiveTab (int _id) |
Signals | |
| void | allWidgetsHidden () |
| void | widgetShown () |
Public Member Functions | |
| TabBar (QWidget *_parent, QBoxLayout::Direction _dir=QBoxLayout::LeftToRight) | |
| ~TabBar () override=default | |
| TabButton * | addTab (QWidget *_w, const QString &_text, int _id, bool _add_stretch=false, bool _text_is_tooltip=false, bool fixWidgetToParentSize=true) |
| void | removeTab (int _id) |
| void | setExclusive (bool _on) |
| int | activeTab () |
Protected Slots | |
| void | hideAll (int _exception=-1) |
| void | tabClicked (int _id) |
Protected Member Functions | |
| bool | tabState (int _id) |
| void | setTabState (int _id, bool _checked) |
| bool | allHidden () |
Private Attributes | |
| QMap< int, QPair< TabButton *, QWidget * > > | m_tabs |
| QBoxLayout * | m_layout |
| bool | m_exclusive |
| lmms::gui::TabBar::TabBar | ( | QWidget * | _parent, |
| QBoxLayout::Direction | _dir = QBoxLayout::LeftToRight ) |
|
overridedefault |
| int lmms::gui::TabBar::activeTab | ( | ) |
| TabButton * lmms::gui::TabBar::addTab | ( | QWidget * | _w, |
| const QString & | _text, | ||
| int | _id, | ||
| bool | _add_stretch = false, | ||
| bool | _text_is_tooltip = false, | ||
| bool | fixWidgetToParentSize = true ) |
|
protected |
|
signal |
|
protectedslot |
| void lmms::gui::TabBar::removeTab | ( | int | _id | ) |
|
slot |
|
inline |
|
protected |
|
protectedslot |
|
protected |
|
signal |
|
private |
|
private |
|
private |