#include <FormHPContainer.hxx>
Definition at line 40 of file FormHPContainer.hxx.
◆ FormHPContainer()
| FormHPContainer::FormHPContainer |
( |
QWidget * |
parent = 0 | ) |
|
◆ ~FormHPContainer()
| FormHPContainer::~FormHPContainer |
( |
| ) |
|
|
virtual |
◆ BuildWithFinalEndLine()
| std::string FormHPContainer::BuildWithFinalEndLine |
( |
const std::string & |
script | ) |
|
|
static |
Definition at line 136 of file FormHPContainer.cxx.
139 return std::string(
"\n");
140 std::size_t sz(script.length());
141 if(script[sz-1]!=
'\n')
143 std::string ret(script);
Referenced by FillPanel(), and onApply().
◆ FillPanel()
◆ getTypeStr()
| QString FormHPContainer::getTypeStr |
( |
| ) |
const |
|
virtual |
◆ initSciptChanged
| void FormHPContainer::initSciptChanged |
( |
| ) |
|
|
slot |
◆ onApply()
| bool FormHPContainer::onApply |
( |
| ) |
|
|
virtual |
Reimplemented from FormContainerBase.
Definition at line 111 of file FormHPContainer.cxx.
115 bool ret(scont->setName(le_name->text().toStdString()));
116 std::map<std::string,std::string> properties(
_properties);
119 std::string text(
_initScript->toPlainText().toStdString());
126 ret = scont->setProperties(properties);
#define YASSERT(val)
YASSERT macro is always defined, used like assert, but throw a YACS::Exception instead of abort.
References FormContainerBase::_container, _initScript, _initScriptModified, FormContainerBase::_properties, BuildWithFinalEndLine(), DEBTRACE, YACS::HMI::QtGuiContext::getQtCurrent(), YACS::ENGINE::HomogeneousPoolContainer::INITIALIZE_SCRIPT_KEY, YACS::HMI::SubjectContainerBase::setName(), YACS::HMI::SubjectContainerBase::setProperties(), and YASSERT.
◆ onModifySzOfPool
| void FormHPContainer::onModifySzOfPool |
( |
const QString & |
newSz | ) |
|
|
slot |
◆ _initScript
| QTextEdit* FormHPContainer::_initScript |
|
private |
◆ _initScriptLoaded
| bool FormHPContainer::_initScriptLoaded |
|
private |
◆ _initScriptModified
| bool FormHPContainer::_initScriptModified |
|
private |
◆ _poolSz
The documentation for this class was generated from the following files: