32 #include <QKeySequence>
42 class ModuleProxyModel;
95 void handlePickFromGraph();
96 void handleCreateNewModule();
97 void handleToggleSearchbar();
99 void handleTreeDoubleClick(
const QModelIndex& index);
100 void handleCurrentTabChanged(
int index);
143 bool mPickerModeActivated;
147 void enableButtons();
void handleModulesPicked(const QSet< u32 > &mods) override
AddToModuleReceiver(QObject *parent=nullptr)
The ModuleDialog class opens a popup window for module selection.
bool pickerModeActivated() const
void keybindToggleSearchbar(const QKeySequence &seq)
void handleTableSelection(u32 id, bool doubleClick)
ModuleDialog(const QSet< u32 > &excludeIds={}, const QString &title=QString("Select module"), bool omitCreateNew=false, ModuleSelectReceiver *receiver=nullptr, QWidget *parent=nullptr)
Enables filtering in the ModuleModel.
The ModuleSelectExclude class is used to determine which modules can't be selected.
The ModuleSelectView class is the table widget for module selection.
A QFrame with a QLineEdit that can be used to input a substring to search for.
QObject * parent() const const