Dialog used to move a mod to a new position in a load order.
More...
#include <movemoddialog.h>
|
void | modMovedTo (int source, int target) |
| Signals that a mod has been moved.
|
|
|
| MoveModDialog (QString name, int source, int num_mods, QWidget *parent=nullptr) |
| Initializes the UI.
|
|
| ~MoveModDialog () |
| Deletes the UI.
|
|
|
void | on_buttonBox_accepted () |
| Closes the dialog and emits a signal for completion.
|
|
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 order.
|
|
|
Ui::MoveModDialog * | ui |
| Contains auto-generated UI elements.
|
|
int | source_ |
| Original position of target mod in the load order.
|
|
Dialog used to move a mod to a new position in a load order.
◆ MoveModDialog()
MoveModDialog::MoveModDialog |
( |
QString | name, |
|
|
int | source, |
|
|
int | num_mods, |
|
|
QWidget * | parent = nullptr ) |
|
explicit |
Initializes the UI.
- Parameters
-
name | The target mod's name. |
source | The target mod's current position. |
num_mods | Number of mods in the load order. |
parent | Parent of this widget. |
◆ modMovedTo
void MoveModDialog::modMovedTo |
( |
int | source, |
|
|
int | target ) |
|
signal |
Signals that a mod has been moved.
- Parameters
-
source | Original position in the load order. |
target | New position in the load order. |
◆ on_target_field_textEdited
void MoveModDialog::on_target_field_textEdited |
( |
const QString & | new_text | ) |
|
|
privateslot |
Enables the OK button only if the new text is an int between 1 and the number of mods in the load order.
- Parameters
-
new_text | Newly entered text. |
The documentation for this class was generated from the following files: