![]() |
V-Gears 0
Free Final Fantasy VII engine.
|
The installer main window. More...
#include <MainWindow.h>
Public Member Functions | |
MainWindow (QWidget *parent=0) | |
Constructor. More... | |
~MainWindow () | |
Destructor. More... | |
Private Slots | |
void | on_line_vgears_config_editingFinished () |
Triggered when the configuration directory has done being edited. More... | |
void | on_btn_vgears_config_clicked () |
Triggered when the configuration directory button is clicked. More... | |
void | on_line_vgears_exe_editingFinished () |
Triggered when the executable directory has done being edited. More... | |
void | on_btn_vgears_exe_clicked () |
Triggered when the executable directory button is clicked. More... | |
void | on_btn_vgears_run_clicked () |
Triggered when the launch button is clicked. More... | |
void | on_btn_data_src_clicked () |
Triggered when the input data directory button is clicked. More... | |
void | on_line_data_dst_editingFinished () |
Triggered when the output data directory has done being edited. More... | |
void | on_btn_data_dst_clicked () |
Triggered when the output data directory button is clicked. More... | |
void | on_btn_data_run_clicked () |
Triggered when the install button is clicked. More... | |
void | on_chk_advanced_options_stateChanged () |
Triggered when the advanced options checkbox is checked or unchecked. More... | |
void | DoProgress () |
Makes the installation progress advance. More... | |
Private Member Functions | |
void | EnableUi (bool enable) |
Enables or disables the UI. More... | |
void | OnInstallStarted () |
Triggered when the installation starts. More... | |
void | OnInstallStopped () |
Triggered when the installation stops. More... | |
void | InitSettings (void) |
Initializes the installer settings. More... | |
Private Attributes | |
Ui::MainWindow * | main_window_ |
The installer window. More... | |
QTimer * | timer_ |
A timer. More... | |
QSettings * | settings_ |
The installer settings. More... | |
std::unique_ptr< class DataInstaller > | installer_ |
The installer. More... | |
The installer main window.
|
explicit |
Constructor.
[in] | parent | Widget to be made parent of the window. |
MainWindow::~MainWindow | ( | ) |
Destructor.
|
privateslot |
Makes the installation progress advance.
|
private |
Enables or disables the UI.
[in] | enable | True to enable the UI, false to disable it. |
|
private |
Initializes the installer settings.
|
privateslot |
Triggered when the output data directory button is clicked.
Opens a file manager for directory selection.
|
privateslot |
Triggered when the install button is clicked.
Launches the installation.
|
privateslot |
Triggered when the input data directory button is clicked.
Opens a file manager for directory selection.
|
privateslot |
Triggered when the configuration directory button is clicked.
Opens a file manager for directory selection.
|
privateslot |
Triggered when the executable directory button is clicked.
Opens a file manager for file selection.
|
privateslot |
Triggered when the launch button is clicked.
Launches V-Gears.
|
privateslot |
Triggered when the advanced options checkbox is checked or unchecked.
|
privateslot |
Triggered when the output data directory has done being edited.
Sets the selected directory.
|
privateslot |
Triggered when the configuration directory has done being edited.
Sets the selected directory.
|
privateslot |
Triggered when the executable directory has done being edited.
Sets the selected directory.
|
private |
Triggered when the installation starts.
Disables the UI.
|
private |
Triggered when the installation stops.
Enables the UI.
|
private |
The installer.
|
private |
The installer window.
|
private |
The installer settings.
|
private |
A timer.