Loading...
Searching...
No Matches
score::FixedTabWidget Class Reference
Inheritance diagram for score::FixedTabWidget:
Public Member Functions | |
| QActionGroup * | actionGroup () const noexcept |
| QToolBar * | toolbar () const noexcept |
| QSize | sizeHint () const override |
| void | setTab (int index) |
| std::pair< int, QAction * > | addTab (QWidget *widg, const score::PanelStatus &v, int index=-1) |
| QAction * | addAction (QWidget *widg, const PanelStatus &v) |
| QAction * | addAction (QAction *act) |
| QAction * | actionFor (QWidget *widg) const noexcept |
| The action driving the tab that shows this widget, if any. | |
| void | showTab (QWidget *widg) |
| void | removeTab (QWidget *widg) |
| Remove a tab added with addTab. Does not delete the widget. | |
| void | forgetTab (QWidget *widg) |
| Drops the tab without touching the widget (it is being destroyed). | |
| QWidget * | currentWidget () const noexcept |
| The widget currently shown, or nullptr. | |
| void | paintEvent (QPaintEvent *ev) override |
| void | actionTriggered (QAction *act, bool b) |
| void | tabContextMenuRequested (QWidget *tab, QPoint globalPos) |
| Right-click on the button of a tab added with addTab. | |
Public Attributes | |
| QBrush | brush |
Member Function Documentation
◆ showTab()
| void score::FixedTabWidget::showTab | ( | QWidget * | widg | ) |
Bring a tab to the front, and check its button. Unlike QAction::trigger(), works whether the button is already checked or not.
The documentation for this class was generated from the following files:
- FixedTabWidget.hpp
- FixedTabWidget.cpp