17 #include <QInputDialog>
20 : QFrame(parent), PropertyEditor(property), m_StringProperty(property)
22 setFrameStyle(QFrame::NoFrame);
66 QString newText = QInputDialog::getText(
67 this,
"Change text",
"You can change the displayed text here", QLineEdit::Normal,
m_label->text(), &ok);
void onToolButtonClicked()
virtual ~QmitkStringPropertyOnDemandEdit()
virtual void PropertyChanged() override
virtual const char * GetValue() const
mitk::BaseProperty * m_Property
QmitkStringPropertyOnDemandEdit(mitk::StringProperty *, QWidget *parent)
mitk::StringProperty * m_StringProperty
QClickableLabel2 * m_toolbutton
virtual void PropertyRemoved() override
virtual void SetValue(const char *_arg)
void BeginModifyProperty()