Add VariableSelectionDialog

This commit is contained in:
WarmUpTill
2024-05-31 23:00:06 +02:00
committed by WarmUpTill
parent 235b31fccc
commit d72a0c0d38
5 changed files with 65 additions and 2 deletions

View File

@@ -81,6 +81,7 @@ public:
"AdvSceneSwitcher.item.nameNotAvailable",
std::string_view configureTooltip = "", QWidget *parent = 0);
virtual ~ItemSelection() = default;
Item *GetCurrentItem();
void SetItem(const std::string &);
void ShowRenameContextMenu(bool value);
@@ -99,8 +100,6 @@ signals:
void ItemRenamed(const QString &oldName, const QString &name);
private:
Item *GetCurrentItem();
FilterComboBox *_selection;
QPushButton *_modify;
CreateItemFunc _create;