13class AddToDeployerDialog;
34 Ui::AddToDeployerDialog*
ui;
49 const QString& mod_name,
50 std::vector<int>& mod_ids,
51 const std::vector<int>& mod_deployers,
52 const std::vector<bool>& auto_deployers);
bool dialog_completed_
Indicates whether the dialog has been completed.
Definition addtodeployerdialog.h:38
~AddToDeployerDialog()
Deletes the UI.
Definition addtodeployerdialog.cpp:11
void on_buttonBox_accepted()
Closes the dialog and emits a signal for completion.
Definition addtodeployerdialog.cpp:42
void setupDialog(const QStringList &deployer_names, const QString &mod_name, std::vector< int > &mod_ids, const std::vector< int > &mod_deployers, const std::vector< bool > &auto_deployers)
Initializes the dialog.
Definition addtodeployerdialog.cpp:16
AddToDeployerDialog(QWidget *parent=nullptr)
Initializes the UI.
Definition addtodeployerdialog.cpp:5
Ui::AddToDeployerDialog * ui
Contains auto-generated UI elements.
Definition addtodeployerdialog.h:34
void modDeployersUpdated(std::vector< int > &mod_id, std::vector< bool > deployers)
Signals completion of the dialog.
std::vector< int > mod_ids_
Target mod ids.
Definition addtodeployerdialog.h:36