Internal class used as the TabWidget.
More...
#include <pqTabbedMultiViewWidget.h>
Inherits QTabWidget.
|
static QString | popoutLabelText (bool popped_out) |
| Returns the label/tooltip to use for the popout button given the popped_out state. More...
|
|
static QStyle::StandardPixmap | popoutLabelPixmap (bool popped_out) |
| Returns the icon to use for the popout button given the popped_out state. More...
|
|
Internal class used as the TabWidget.
Definition at line 213 of file pqTabbedMultiViewWidget.h.
◆ pqTabWidget()
pqTabbedMultiViewWidget::pqTabWidget::pqTabWidget |
( |
QWidget * |
parentWdg = nullptr | ) |
|
◆ ~pqTabWidget()
pqTabbedMultiViewWidget::pqTabWidget::~pqTabWidget |
( |
| ) |
|
|
override |
◆ setTabButton()
virtual void pqTabbedMultiViewWidget::pqTabWidget::setTabButton |
( |
int |
index, |
|
|
QTabBar::ButtonPosition |
position, |
|
|
QWidget * |
wdg |
|
) |
| |
|
virtual |
Set a button to use on the tab bar.
◆ tabButtonIndex()
virtual int pqTabbedMultiViewWidget::pqTabWidget::tabButtonIndex |
( |
QWidget * |
wdg, |
|
|
QTabBar::ButtonPosition |
position |
|
) |
| const |
|
virtual |
Given the QWidget pointer that points to the buttons (popout or close) in the tabbar, this returns the index of that that the button corresponds to.
◆ addAsTab()
Add a pqTabbedMultiViewWidget instance as a new tab.
This will setup the appropriate tab-bar for this new tab (with 2 buttons for popout and close).
◆ popoutLabelText()
static QString pqTabbedMultiViewWidget::pqTabWidget::popoutLabelText |
( |
bool |
popped_out | ) |
|
|
static |
Returns the label/tooltip to use for the popout button given the popped_out state.
◆ popoutLabelPixmap()
static QStyle::StandardPixmap pqTabbedMultiViewWidget::pqTabWidget::popoutLabelPixmap |
( |
bool |
popped_out | ) |
|
|
static |
Returns the icon to use for the popout button given the popped_out state.
◆ setReadOnly()
void pqTabbedMultiViewWidget::pqTabWidget::setReadOnly |
( |
bool |
val | ) |
|
When true the widget disable changes to the tabs i.e adding/removing tabs by user interaction.
◆ readOnly()
bool pqTabbedMultiViewWidget::pqTabWidget::readOnly |
( |
| ) |
const |
|
inline |
◆ preview()
QSize pqTabbedMultiViewWidget::pqTabWidget::preview |
( |
const QSize & |
| ) |
|
◆ setTabBarVisibility()
void pqTabbedMultiViewWidget::pqTabWidget::setTabBarVisibility |
( |
bool |
| ) |
|
Get/Set tab bar visibility.
Use this instead of directly calling this->tabBar()->setVisible()
as that avoid interactions with preview mode.
◆ tabBarVisibility()
bool pqTabbedMultiViewWidget::pqTabWidget::tabBarVisibility |
( |
| ) |
const |
|
inline |
Get/Set tab bar visibility.
Use this instead of directly calling this->tabBar()->setVisible()
as that avoid interactions with preview mode.
Definition at line 272 of file pqTabbedMultiViewWidget.h.
◆ createViewSelectorTabIfNeeded()
void pqTabbedMultiViewWidget::pqTabWidget::createViewSelectorTabIfNeeded |
( |
int |
tabIndex | ) |
|
|
protected |
◆ pqTabbedMultiViewWidget
The documentation for this class was generated from the following file: