31 explicit MoveModDialog(QString name,
int source,
int num_mods, QWidget* parent =
nullptr);
47 Ui::MoveModDialog*
ui;
void modMovedTo(int source, int target)
Signals that a mod has been moved.
int source_
Original position of target mod in the load order.
Definition movemoddialog.h:49
~MoveModDialog()
Deletes the UI.
Definition movemoddialog.cpp:17
MoveModDialog(QString name, int source, int num_mods, QWidget *parent=nullptr)
Initializes the UI.
Definition movemoddialog.cpp:8
void on_target_field_textEdited(const QString &new_text)
Enables the OK button only if the new text is an int between 1 and the number of mods in the load ord...
Definition movemoddialog.cpp:27
void on_buttonBox_accepted()
Closes the dialog and emits a signal for completion.
Definition movemoddialog.cpp:22
Ui::MoveModDialog * ui
Contains auto-generated UI elements.
Definition movemoddialog.h:47