#include <dlgNewFile.hpp>
Public Types | |
enum | FileType { ftSFV = 1, ftMD5 } |
Enumeration of the file types. More... | |
Public Member Functions | |
void | createControls () |
Creates and initializes the controls of the dialog. | |
dlgNewFile (wxWindow *parent) | |
Creates a new dialog. | |
dlgNewFile () | |
Creates a new dialog. | |
wxString | getFileName () const |
Gets the name of the file. | |
FileType | getFileType () const |
Gets the choosen file type. | |
virtual | ~dlgNewFile () |
The class descructor. | |
Protected Types | |
enum | { BTN_BROWSE = wxID_HIGHEST + 1 } |
Controls IDs. More... | |
Protected Member Functions | |
void | btnBrowseClick (wxCommandEvent &event) |
Processes button Browse. | |
Protected Attributes | |
wxString | fileName |
Name of the file given by the validator. | |
wxRadioButton * | rbxMD5 |
Create an MD5 file. | |
wxRadioButton * | rbxSFV |
Create an SFV file. | |
wxTextCtrl * | txtFileName |
Name of the file. |
Definition at line 46 of file dlgNewFile.hpp.
|
Controls IDs.
Definition at line 85 of file dlgNewFile.hpp. |
|
Enumeration of the file types.
Definition at line 62 of file dlgNewFile.hpp. Referenced by getFileType(). |
|
Creates a new dialog.
Definition at line 302 of file dlgNewFile.cpp. References createControls(). |
|
Creates a new dialog.
Definition at line 314 of file dlgNewFile.cpp. References createControls(). |
|
The class descructor.
Definition at line 401 of file dlgNewFile.cpp. |
|
Processes button Browse.
Definition at line 412 of file dlgNewFile.cpp. References btnBrowseClick(), getFileType(), wxFileDialogFilterMaker::GetFilters(), and txtFileName. Referenced by btnBrowseClick(). |
|
Creates and initializes the controls of the dialog.
Definition at line 331 of file dlgNewFile.cpp. References CONTROL_SPACE, fileName, AppPrefs::get(), rbxMD5, rbxSFV, AppPrefs::readLong(), AppPrefs::readString(), and txtFileName. Referenced by dlgNewFile(). |
|
Gets the name of the file.
Definition at line 473 of file dlgNewFile.cpp. References fileName. Referenced by frmSums::itmFileNewClick(). |
|
Gets the choosen file type.
Definition at line 458 of file dlgNewFile.cpp. References FileType, and rbxSFV. Referenced by btnBrowseClick(), and frmSums::itmFileNewClick(). |
|
Name of the file given by the validator.
Definition at line 79 of file dlgNewFile.hpp. Referenced by createControls(), and getFileName(). |
|
Create an MD5 file.
Definition at line 77 of file dlgNewFile.hpp. Referenced by createControls(). |
|
Create an SFV file.
Definition at line 76 of file dlgNewFile.hpp. Referenced by createControls(), and getFileType(). |
|
Name of the file.
Definition at line 78 of file dlgNewFile.hpp. Referenced by btnBrowseClick(), and createControls(). |