#include <QmitkExtPreferencePage.h>


Public Member Functions | |
| QmitkExtPreferencePage () | |
| void | Init (berry::IWorkbench::Pointer workbench) |
| void | CreateQtControl (QWidget *widget) |
| QWidget * | GetQtControl () const |
| virtual bool | PerformOk () |
| virtual void | PerformCancel () |
| virtual void | Update () |
| void | FlushPreferences () |
Protected Attributes | |
| QWidget * | m_MainControl |
| berry::IPreferences::Pointer | m_ExtPreferencesNode |
Definition at line 29 of file QmitkExtPreferencePage.h.
| QmitkExtPreferencePage::QmitkExtPreferencePage | ( | ) |
Default constructor
Definition at line 33 of file QmitkExtPreferencePage.cpp.
: m_MainControl(0) { }
| void QmitkExtPreferencePage::CreateQtControl | ( | QWidget * | widget ) | [virtual] |
Implements berry::IQtPreferencePage.
Definition at line 43 of file QmitkExtPreferencePage.cpp.
References m_MainControl, and Update().
{
//empty page
m_MainControl = new QWidget(parent);
QVBoxLayout *layout = new QVBoxLayout;
m_MainControl->setLayout(layout);
this->Update();
}
| void QmitkExtPreferencePage::FlushPreferences | ( | ) |
| QWidget * QmitkExtPreferencePage::GetQtControl | ( | ) | const [virtual] |
Implements berry::IQtPreferencePage.
Definition at line 52 of file QmitkExtPreferencePage.cpp.
References m_MainControl.
{
return m_MainControl;
}
| void QmitkExtPreferencePage::Init | ( | berry::IWorkbench::Pointer | workbench ) | [virtual] |
| void QmitkExtPreferencePage::PerformCancel | ( | ) | [virtual] |
| bool QmitkExtPreferencePage::PerformOk | ( | ) | [virtual] |
Implements berry::IPreferencePage.
Definition at line 57 of file QmitkExtPreferencePage.cpp.
{
return true;
}
| void QmitkExtPreferencePage::Update | ( | ) | [virtual] |
Implements berry::IPreferencePage.
Definition at line 67 of file QmitkExtPreferencePage.cpp.
Referenced by CreateQtControl().
{
}
Definition at line 79 of file QmitkExtPreferencePage.h.
QWidget* QmitkExtPreferencePage::m_MainControl [protected] |
Definition at line 77 of file QmitkExtPreferencePage.h.
Referenced by CreateQtControl(), and GetQtControl().
1.7.2