ParaView
Public Member Functions | Static Public Member Functions | Friends | List of all members
pqTabbedMultiViewWidget::pqTabWidget Class Reference

Internal class used as the TabWidget. More...

#include <pqTabbedMultiViewWidget.h>

Inherits QTabWidget.

Public Member Functions

 pqTabWidget (QWidget *parentWdg=NULL)
 
virtual ~pqTabWidget ()
 
virtual void setTabButton (int index, QTabBar::ButtonPosition position, QWidget *wdg)
 Set a button to use on the tab bar. More...
 
virtual int tabButtonIndex (QWidget *wdg, QTabBar::ButtonPosition position) const
 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. More...
 
virtual int addAsTab (pqMultiViewWidget *wdg, pqTabbedMultiViewWidget *self)
 Add a pqTabbedMultiViewWidget instance as a new tab. More...
 
void setReadOnly (bool val)
 When true the widget disable changes to the tabs i.e adding/removing tabs by user interaction. More...
 
bool readOnly () const
 

Static Public Member Functions

static const char * 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...
 

Friends

class pqTabbedMultiViewWidget
 

Detailed Description

Internal class used as the TabWidget.

Definition at line 183 of file pqTabbedMultiViewWidget.h.

Constructor & Destructor Documentation

◆ pqTabWidget()

pqTabbedMultiViewWidget::pqTabWidget::pqTabWidget ( QWidget *  parentWdg = NULL)

◆ ~pqTabWidget()

virtual pqTabbedMultiViewWidget::pqTabWidget::~pqTabWidget ( )
virtual

Member Function Documentation

◆ 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()

virtual int pqTabbedMultiViewWidget::pqTabWidget::addAsTab ( pqMultiViewWidget wdg,
pqTabbedMultiViewWidget self 
)
virtual

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 const char* 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

Definition at line 226 of file pqTabbedMultiViewWidget.h.

Friends And Related Function Documentation

◆ pqTabbedMultiViewWidget

friend class pqTabbedMultiViewWidget
friend

Definition at line 231 of file pqTabbedMultiViewWidget.h.


The documentation for this class was generated from the following file: