Dialog used for choosing which deployers and auto tags to export for a given app.
More...
#include <exportappconfigdialog.h>
|
void | appConfigExported (int app_id, std::vector< int > deployers, QStringList auto_tags) |
| Signals that the dialog has been accepted. Sends selected deployers and auto tags.
|
|
void | dialogClosed () |
| Signals cancellation of export.
|
|
|
| ExportAppConfigDialog (QWidget *parent=nullptr) |
| Initializes the UI.
|
|
| ~ExportAppConfigDialog () |
| Deletes the UI.
|
|
void | init (int app_id, const QString &app_name, const QStringList &deployers, const QStringList &auto_tags) |
| Initializes this dialog with data regarding deployers and auto tags.
|
|
|
void | on_buttonBox_accepted () |
| Closes the dialog and emits appConfigExported.
|
|
void | on_buttonBox_rejected () |
| Closes the dialog and emits dialogClosed.
|
|
|
void | closeEvent (QCloseEvent *event) override |
| Closes the dialog and emits a signal indicating app export has been canceled.
|
|
void | reject () override |
| Closes the dialog and emits a signal indicating the dialog has been closed.
|
|
|
Ui::ExportAppConfigDialog * | ui |
| Contains auto-generated UI elements.
|
|
int | app_id_ |
| Target app id.
|
|
bool | dialog_completed_ = false |
| Indicates whether the dialog has been completed.
|
|
Dialog used for choosing which deployers and auto tags to export for a given app.
◆ ExportAppConfigDialog()
ExportAppConfigDialog::ExportAppConfigDialog |
( |
QWidget * | parent = nullptr | ) |
|
|
explicit |
Initializes the UI.
- Parameters
-
parent | Parent for this widget, this is passed to the constructor of QDialog. |
◆ appConfigExported
void ExportAppConfigDialog::appConfigExported |
( |
int | app_id, |
|
|
std::vector< int > | deployers, |
|
|
QStringList | auto_tags ) |
|
signal |
Signals that the dialog has been accepted. Sends selected deployers and auto tags.
- Parameters
-
app_id | Target app id. |
deployers | Selected deployers ids. |
auto_tags | Selected auto tag names. |
◆ closeEvent()
void ExportAppConfigDialog::closeEvent |
( |
QCloseEvent * | event | ) |
|
|
overrideprivate |
Closes the dialog and emits a signal indicating app export has been canceled.
- Parameters
-
event | The close event sent upon closing the dialog. |
◆ init()
void ExportAppConfigDialog::init |
( |
int | app_id, |
|
|
const QString & | app_name, |
|
|
const QStringList & | deployers, |
|
|
const QStringList & | auto_tags ) |
Initializes this dialog with data regarding deployers and auto tags.
- Parameters
-
app_id | Target app id. |
app_name | Target app name. |
deployers | Names of deployers used by the target app. Must be on order. |
auto_tags | Auto tags used by the target app. |
The documentation for this class was generated from the following files: