DynExp
Highly flexible laboratory automation for dynamically changing experiments.
|
Public Member Functions | |
ChoiceListDialog (QWidget *parent, Util::TextValueListType< IndexType > &&ItemIDsWithLabels, std::string_view ParamName, bool IsOptional, std::string_view IconResourcePath, const std::vector< DynExp::ItemIDType > &Values) | |
~ChoiceListDialog ()=default | |
std::string_view | GetParamName () const |
bool | IsOptional () const noexcept |
const auto & | GetSelection () const |
Private Types | |
using | IndexType = qulonglong |
Private Slots | |
void | OnAddItemClicked () |
void | OnRemoveItemClicked () |
void | OnMoveItemUpClicked () |
void | OnMoveItemDownClicked () |
virtual void | accept () override |
virtual void | reject () override |
Private Member Functions | |
virtual void | showEvent (QShowEvent *event) override |
Private Attributes | |
Ui::ChoiceListDialog | ui |
const Util::TextValueListType< IndexType > | ItemIDsWithLabels |
const std::string | ParamName |
const bool | Optional |
const QIcon | ItemIcon |
std::vector< DynExp::ItemIDType > | Values |
Definition at line 17 of file ChoiceListDialog.h.
|
private |
Definition at line 22 of file ChoiceListDialog.h.
ChoiceListDialog::ChoiceListDialog | ( | QWidget * | parent, |
Util::TextValueListType< IndexType > && | ItemIDsWithLabels, | ||
std::string_view | ParamName, | ||
bool | IsOptional, | ||
std::string_view | IconResourcePath, | ||
const std::vector< DynExp::ItemIDType > & | Values | ||
) |
Definition at line 7 of file ChoiceListDialog.cpp.
|
default |
|
overrideprivatevirtualslot |
Definition at line 123 of file ChoiceListDialog.cpp.
|
inline |
Definition at line 29 of file ChoiceListDialog.h.
|
inline |
Definition at line 31 of file ChoiceListDialog.h.
|
inlinenoexcept |
Definition at line 30 of file ChoiceListDialog.h.
|
privateslot |
Definition at line 61 of file ChoiceListDialog.cpp.
|
privateslot |
Definition at line 105 of file ChoiceListDialog.cpp.
|
privateslot |
Definition at line 87 of file ChoiceListDialog.cpp.
|
privateslot |
Definition at line 74 of file ChoiceListDialog.cpp.
|
overrideprivatevirtualslot |
Definition at line 139 of file ChoiceListDialog.cpp.
|
overrideprivatevirtual |
Definition at line 20 of file ChoiceListDialog.cpp.
|
private |
Definition at line 41 of file ChoiceListDialog.h.
|
private |
Definition at line 38 of file ChoiceListDialog.h.
|
private |
Definition at line 40 of file ChoiceListDialog.h.
|
private |
Definition at line 39 of file ChoiceListDialog.h.
|
private |
Definition at line 36 of file ChoiceListDialog.h.
|
private |
Definition at line 42 of file ChoiceListDialog.h.