10 setSubTitle(
"Enter parameters for latch component");
20 mLabDataIn =
new QLabel(
"Data input function: ",
this);
21 mLabEnableOn =
new QLabel(
"Enable behaviour function: ",
this);
22 mLabAReset =
new QLabel(
"Asynchronous reset: ",
this);
23 mLabASet =
new QLabel(
"Asynchronous set: ",
this);
24 mLabIntState =
new QLabel(
"Set+Reset -> internal state: ",
this);
25 mLabNegIntState =
new QLabel(
"Set+Reset -> neg. int. state:",
this);
37 mLayout->
addWidget(mLabNegIntState, 5, 0);
63 if (
latch->get_async_reset_function().is_empty()) mAReset->
setText(
"N/A");
68 if (
latch->get_async_set_function().is_empty()) mASet->
setText(
"N/A");
74 auto [stateBeh,negStateBeh] =
latch->get_async_set_reset_behavior();
bool has_component_of_type(const GateTypeComponent::ComponentType type) const
T * get_component_as(const std::function< bool(const GateTypeComponent *)> &filter=nullptr) const
static bool is_class_of(const GateTypeComponent *component)
void setData(GateType *gate)
LatchWizardPage(QWidget *parent=nullptr)
void setText(const QString &)
void textChanged(const QString &text)
QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QString fromStdString(const std::string &str)
void setSubTitle(const QString &subTitle)
void setTitle(const QString &title)