Public Member Functions | Protected Attributes

QmitkExtPreferencePage Class Reference

#include <QmitkExtPreferencePage.h>

Inheritance diagram for QmitkExtPreferencePage:
Inheritance graph
[legend]
Collaboration diagram for QmitkExtPreferencePage:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

Definition at line 29 of file QmitkExtPreferencePage.h.


Constructor & Destructor Documentation

QmitkExtPreferencePage::QmitkExtPreferencePage (  )

Default constructor

Definition at line 33 of file QmitkExtPreferencePage.cpp.

: m_MainControl(0)
{
  
}

Member Function Documentation

void QmitkExtPreferencePage::CreateQtControl ( QWidget *  widget ) [virtual]
See also:
berry::IPreferencePage::CreateQtControl(void* parent)

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 (  )
See also:
berry::IPreferencePage::FlushReferences()
QWidget * QmitkExtPreferencePage::GetQtControl (  ) const [virtual]
See also:
berry::IPreferencePage::CreateQtControl()

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]
See also:
berry::IPreferencePage::PerformOk()

Implements berry::IPreferencePage.

Definition at line 57 of file QmitkExtPreferencePage.cpp.

{
  return true;
}
void QmitkExtPreferencePage::Update (  ) [virtual]
See also:
berry::IPreferencePage::Update()

Implements berry::IPreferencePage.

Definition at line 67 of file QmitkExtPreferencePage.cpp.

Referenced by CreateQtControl().

{
}

Member Data Documentation

Definition at line 79 of file QmitkExtPreferencePage.h.

Definition at line 77 of file QmitkExtPreferencePage.h.

Referenced by CreateQtControl(), and GetQtControl().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines