Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes

QmitkStringPropertyEditor Class Reference
[Widgets]

#include <QmitkStringPropertyEditor.h>

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

List of all members.

Public Member Functions

 QmitkStringPropertyEditor (mitk::StringProperty *, QWidget *parent)
virtual ~QmitkStringPropertyEditor ()

Protected Slots

void onTextChanged (const QString &)

Protected Member Functions

virtual void PropertyChanged ()
virtual void PropertyRemoved ()

Protected Attributes

mitk::StringPropertym_StringProperty

Detailed Description

Definition at line 26 of file QmitkStringPropertyEditor.h.


Constructor & Destructor Documentation

QmitkStringPropertyEditor::QmitkStringPropertyEditor ( mitk::StringProperty property,
QWidget *  parent 
)

Definition at line 19 of file QmitkStringPropertyEditor.cpp.

References onTextChanged(), and PropertyChanged().

: QLineEdit( parent ),
  PropertyEditor( property ),
  m_StringProperty(property)
{
  PropertyChanged();
  connect(this, SIGNAL(textChanged(const QString&)), this, SLOT(onTextChanged(const QString&)));
}
QmitkStringPropertyEditor::~QmitkStringPropertyEditor (  ) [virtual]

Definition at line 28 of file QmitkStringPropertyEditor.cpp.

{
}

Member Function Documentation

void QmitkStringPropertyEditor::onTextChanged ( const QString &  text ) [protected, slot]
void QmitkStringPropertyEditor::PropertyChanged (  ) [protected, virtual]
void QmitkStringPropertyEditor::PropertyRemoved (  ) [protected, virtual]

Implements mitk::PropertyObserver.

Definition at line 38 of file QmitkStringPropertyEditor.cpp.

References mitk::PropertyEditor::m_Property, and m_StringProperty.

{
  m_Property = NULL;
  m_StringProperty = NULL;
  setText("n/a");
}

Member Data Documentation

Definition at line 40 of file QmitkStringPropertyEditor.h.

Referenced by onTextChanged(), PropertyChanged(), and PropertyRemoved().


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