NorMIT-nav
16.5
An IGT application
|
Interface for QWidget which handles widgets uniformly for the system. More...
#include <cxBaseWidget.h>
Public Slots | |
void | adjustSizeSlot () |
Public Slots inherited from cx::OptimizedUpdateWidget | |
virtual void | setModified () |
Public Member Functions | |
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) |
CXFrame * | wrapInFrame (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 () |
Static Public Member Functions | |
static QFrame * | createHorizontalLine () |
Creates a horizontal line which can be inserted into widgets. More... | |
Protected Member Functions | |
virtual void | showEvent (QShowEvent *event) |
Protected Member Functions inherited from cx::OptimizedUpdateWidget | |
virtual void | prePaintEvent () |
virtual void | paintEvent (QPaintEvent *event) |
Interface for QWidget which handles widgets uniformly for the system.
Definition at line 108 of file cxBaseWidget.h.
cx::BaseWidget::BaseWidget | ( | QWidget * | parent, |
QString | objectName, | ||
QString | windowTitle | ||
) |
Definition at line 44 of file cxBaseWidget.cpp.
|
inlinevirtual |
Definition at line 114 of file cxBaseWidget.h.
|
slot |
Definition at line 112 of file cxBaseWidget.cpp.
|
inline |
Shorthand method for action creation. If layout is used, a QToolButton is created and added to it. If tip is empty, it is set equal to text.
Definition at line 149 of file cxBaseWidget.h.
|
inline |
Shorthand method for action creation. If layout is used, a QToolButton is created and added to it. If tip is empty, it is set equal to text.
Definition at line 128 of file cxBaseWidget.h.
QGroupBox * cx::BaseWidget::createGroupbox | ( | QWidget * | widget, |
QString | boxname | ||
) |
Create a group box with a given name.
Definition at line 75 of file cxBaseWidget.cpp.
|
static |
Creates a horizontal line which can be inserted into widgets.
Definition at line 87 of file cxBaseWidget.cpp.
QWidget * cx::BaseWidget::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.
Definition at line 52 of file cxBaseWidget.cpp.
|
protectedvirtual |
Reimplemented in cx::MeshInfoWidget, cx::PointSamplingWidget, cx::TrackPadWidget, cx::ImageLandmarksWidget, cx::LandmarkRegistrationWidget, cx::RegistrationHistoryWidget, cx::LandmarkImage2ImageRegistrationWidget, cx::LandmarkPatientRegistrationWidget, cx::TemporalCalibrationWidget, cx::PatientLandMarksWidget, cx::FastOrientationRegistrationWidget, cx::ManualImageRegistrationWidget, cx::FastPatientRegistrationWidget, and cx::ManualPatientRegistrationWidget.
Definition at line 118 of file cxBaseWidget.cpp.
CXFrame * cx::BaseWidget::wrapInFrame | ( | QWidget * | base | ) |
Definition at line 94 of file cxBaseWidget.cpp.
QGroupBox * cx::BaseWidget::wrapInGroupBox | ( | QWidget * | base, |
QString | name | ||
) |
Definition at line 103 of file cxBaseWidget.cpp.