Fraxinus  17.12-rc2
An IGT application
cx::TabbedWidget Class Reference

Interface for making widgets with a hierarchy of tabs. More...

#include <cxTabbedWidget.h>

Inheritance diagram for cx::TabbedWidget:
cx::BaseWidget cx::OptimizedUpdateWidget cx::AllMeshPropertiesWidget cx::CalibrationMethodsWidget cx::ClippingPropertiesWidget cx::ImagePropertiesWidget cx::RegistrationWidget cx::SlicePropertiesWidget cx::StreamPropertiesWidget cx::VolumePropertiesWidget

Public Member Functions

 TabbedWidget (QWidget *parent, QString objectName, QString windowTitle)
 
virtual ~TabbedWidget ()
 
void addTab (BaseWidget *newTab, QString newTabName)
 
void insertWidgetAtTop (QWidget *newWidget)
 
void setDefaultWidget (QWidget *widget)
 
- Public Member Functions inherited from cx::BaseWidget
 BaseWidget (QWidget *parent, QString objectName, QString windowTitle)
 
virtual ~BaseWidget ()
 
QWidget * createMethodWidget (QWidget *inputWidget, QWidget *outputWidget, QString methodname, bool inputChecked=false, bool outputVisible=true)
 Create a specialized widget for filters, with input/ouput, enable and options. More...
 
QGroupBox * createGroupbox (QWidget *widget, QString boxname)
 Create a group box with a given name. More...
 
QGroupBox * wrapInGroupBox (QWidget *base, QString name)
 
CXFramewrapInFrame (QWidget *base)
 
QAction * createAction2 (QObject *parent, QIcon iconName, QString text, QString tip, QLayout *layout=NULL, QToolButton *button=new QToolButton())
 
template<class T >
QAction * createAction (QObject *parent, QIcon iconName, QString text, QString tip, T slot, QLayout *layout=NULL, QToolButton *button=new QToolButton())
 
- Public Member Functions inherited from cx::OptimizedUpdateWidget
 OptimizedUpdateWidget (QWidget *parent=NULL)
 
virtual ~OptimizedUpdateWidget ()
 
void forcePrePaint ()
 

Protected Attributes

QTabWidget * mTabWidget
 
QVBoxLayout * mLayout
 

Additional Inherited Members

- Public Slots inherited from cx::BaseWidget
void adjustSizeSlot ()
 
- Public Slots inherited from cx::OptimizedUpdateWidget
virtual void setModified ()
 
- Static Public Member Functions inherited from cx::BaseWidget
static QFrame * createHorizontalLine ()
 Creates a horizontal line which can be inserted into widgets. More...
 
- Protected Member Functions inherited from cx::BaseWidget
virtual void showEvent (QShowEvent *event)
 
- Protected Member Functions inherited from cx::OptimizedUpdateWidget
virtual void prePaintEvent ()
 
virtual void paintEvent (QPaintEvent *event)
 

Detailed Description

Interface for making widgets with a hierarchy of tabs.

Date
27. sep. 2010 \author Janne Beate Bakeng

Definition at line 55 of file cxTabbedWidget.h.

Constructor & Destructor Documentation

cx::TabbedWidget::TabbedWidget ( QWidget *  parent,
QString  objectName,
QString  windowTitle 
)

Definition at line 42 of file cxTabbedWidget.cpp.

cx::TabbedWidget::~TabbedWidget ( )
virtual

Definition at line 55 of file cxTabbedWidget.cpp.

Member Function Documentation

void cx::TabbedWidget::addTab ( BaseWidget newTab,
QString  newTabName 
)

Definition at line 58 of file cxTabbedWidget.cpp.

void cx::TabbedWidget::insertWidgetAtTop ( QWidget *  newWidget)

Definition at line 65 of file cxTabbedWidget.cpp.

void cx::TabbedWidget::setDefaultWidget ( QWidget *  widget)

Definition at line 78 of file cxTabbedWidget.cpp.

Member Data Documentation

QVBoxLayout* cx::TabbedWidget::mLayout
protected

Definition at line 71 of file cxTabbedWidget.h.

QTabWidget* cx::TabbedWidget::mTabWidget
protected

Definition at line 70 of file cxTabbedWidget.h.


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