Dialog for choosing which deployers manage a given set of mods.
More...
#include <addtodeployerdialog.h>
|
void | modDeployersUpdated (std::vector< int > &mod_id, std::vector< bool > deployers) |
| Signals completion of the dialog.
|
|
|
| AddToDeployerDialog (QWidget *parent=nullptr) |
| Initializes the UI.
|
|
| ~AddToDeployerDialog () |
| Deletes the UI.
|
|
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.
|
|
|
void | on_buttonBox_accepted () |
| Closes the dialog and emits a signal for completion.
|
|
|
Ui::AddToDeployerDialog * | ui |
| Contains auto-generated UI elements.
|
|
std::vector< int > | mod_ids_ |
| Target mod ids.
|
|
bool | dialog_completed_ = false |
| Indicates whether the dialog has been completed.
|
|
Dialog for choosing which deployers manage a given set of mods.
◆ AddToDeployerDialog()
AddToDeployerDialog::AddToDeployerDialog |
( |
QWidget * | parent = nullptr | ) |
|
|
explicit |
Initializes the UI.
- Parameters
-
parent | Parent for this widget, this is passed to the constructor of QDialog. |
◆ modDeployersUpdated
void AddToDeployerDialog::modDeployersUpdated |
( |
std::vector< int > & | mod_id, |
|
|
std::vector< bool > | deployers ) |
|
signal |
Signals completion of the dialog.
- Parameters
-
mod_id | Target mods. |
deployers | Bool for every deployer, indicating if the mods should be managed by that deployer. |
◆ setupDialog()
void AddToDeployerDialog::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.
- Parameters
-
deployer_names | Names of all existing deployers. |
mod_name | Target mod's name. Only used if mod_ids.size() == 1. |
mod_ids | Target mods. |
mod_deployers | Ids of all deployers managing the mod. |
The documentation for this class was generated from the following files: