Public Functions
QLTab(const QLGraphic& icon, const QString& text, QWidget* parent = nullptr) | |
QLTab(const QString& text, QWidget* parent = nullptr) | |
QLButton* | close_button() const |
QLLabel* | icon_label() const |
QLStatePool* | status_states() const |
QLLabel* | text_label() const |
Detailed Description
A QLTab is a QLWidget that labels another widget and can be clicked by the user to switch between different widgets.
Member Function Documentation
Constructs a tab labeled with an icon and text.
void clicked()
Signal
This signal is emitted when the tab is clicked.
QLButton* close_button() const
Returns a pointer to the tab's close button.
void closed()
Signal
This signal is emitted when the tab is closed.
QLLabel* icon_label() const
Returns a pointer to the tab's icon label.
QLLabel* status_states() const
Returns a pointer to the tab's status state pool.
QLLabel* text_label() const
Returns a pointer to the tab's text label.