15 #include "ui_ChoiceListDialog.h"
26 std::string_view
ParamName,
bool IsOptional, std::string_view IconResourcePath,
const std::vector<DynExp::ItemIDType>&
Values);
34 virtual void showEvent(QShowEvent* event)
override;
36 Ui::ChoiceListDialog
ui;
42 std::vector<DynExp::ItemIDType>
Values;
50 virtual void accept()
override;
51 virtual void reject()
override;
Q_DECLARE_METATYPE(ChoiceListDialog *)
std::vector< DynExp::ItemIDType > Values
std::string_view GetParamName() const
virtual void showEvent(QShowEvent *event) override
void OnRemoveItemClicked()
bool IsOptional() const noexcept
virtual void reject() override
const std::string ParamName
const Util::TextValueListType< IndexType > ItemIDsWithLabels
const auto & GetSelection() const
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
void OnMoveItemUpClicked()
virtual void accept() override
void OnMoveItemDownClicked()
std::vector< std::pair< TextType, ValueType > > TextValueListType
Type of a list containing key-value pairs where key is a text of type Util::TextType.
Accumulates include statements to provide a precompiled header.