49 setText((m_process.*Property_T::get)());
50 con(m_process, &Process_T::errorMessage,
this, &ProcessScriptEditDialog::setError);
52 &QWidget::deleteLater);
53 con(m_process, Property_T::notify,
this, &ProcessScriptEditDialog::setText);
56 void on_accepted()
override
58 this->setError(0, QString{});
59 if(this->text() != (m_process.*Property_T::get)())
63 if(m_process.validate(this->text()))
67 m_process, this->text(), m_context});
73 const Process_T& m_process;
74 void closeEvent(QCloseEvent* event)
override
76 const_cast<QWidget*&
>(m_process.externalUI) =
nullptr;
77 m_process.externalUIVisible(
false);
Definition DocumentContext.hpp:18