Dialog for selecting which external changes should be kept.
More...
#include <externalchangesdialog.h>
|
void | on_buttonBox_accepted () |
| Signals sucessful dialog completion. Emits externalChangesDialogCompleted.
|
|
void | on_buttonBox_rejected () |
| Signals dialog has been aborted. Emits externalChangesDialogAborted.
|
|
void | on_actionKeep_All_triggered () |
| Checks all entries in the file list.
|
|
void | on_actionKeep_None_triggered () |
| Unchecks all entries in the file list.
|
|
void | on_actionToggle_Selected_triggered () |
| Toggles all selected entries in the file list.
|
|
|
Ui::ExternalChangesDialog * | ui |
| Contains auto-generated UI elements.
|
|
int | app_id_ = -1 |
| Id of the app containing the modified files.
|
|
ExternalChangesInfo | changes_info_ |
| Contains data regarding which files have been modified and to which mods those files belong.
|
|
bool | deploy_ = true |
| If True: Deploy mods after checking, else: Undeploy mods.
|
|
Dialog for selecting which external changes should be kept.
◆ ExternalChangesDialog()
ExternalChangesDialog::ExternalChangesDialog |
( |
QWidget * | parent = nullptr | ) |
|
|
explicit |
Initializes the UI.
- Parameters
-
parent | Parent for this widget, this is passed to the constructor of QDialog. |
◆ externalChangesDialogCompleted
void ExternalChangesDialog::externalChangesDialogCompleted |
( |
int | app_id, |
|
|
int | deployer, |
|
|
const FileChangeChoices & | changes_to_keep, |
|
|
bool | deploy ) |
|
signal |
Signals sucessful dialog completion.
- Parameters
-
app_id | Id of the app containing the modified files. |
deployer | Id of the deployer managing the modified files. |
changes_to_keep | Contains data regarding which modifications to keep and which to reject. |
deploy | If True: Deploy mods after checking, else: Undeploy mods. |
◆ setup()
void ExternalChangesDialog::setup |
( |
int | app_id, |
|
|
const ExternalChangesInfo & | info, |
|
|
bool | deploy ) |
Initializes the dialog.
- Parameters
-
app_id | Id of the app containing the modified files. |
info | Contains data regarding which files have been modified and to which mods those files belong. |
deploy | If True: Deploy mods after checking, else: Undeploy mods. |
The documentation for this class was generated from the following files: