The Gnome Chemistry Utils 0.13.3
|
#include <gcp/newfiledlg.h>
Public Member Functions | |
NewFileDlg (Application *App) | |
virtual | ~NewFileDlg () |
bool | Apply () |
void | OnThemeNamesChanged () |
void | SetTheme (Theme *val) |
Theme * | GetTheme (void) const |
Theme *& | GetRefTheme (void) |
The dialog class for creating new files with a given theme.
Definition at line 40 of file newfiledlg.h.
gcp::NewFileDlg::NewFileDlg | ( | Application * | App | ) |
App | the application which will own the new file. |
virtual gcp::NewFileDlg::~NewFileDlg | ( | ) | [virtual] |
The destructor.
bool gcp::NewFileDlg::Apply | ( | ) |
Called by the framework when the user validates its choice, and creates the new file.
gcp::NewFileDlg::GetRefTheme | ( | void | ) | [inline] |
Definition at line 84 of file newfiledlg.h.
gcp::NewFileDlg::GetTheme | ( | void | ) | const [inline] |
Definition at line 84 of file newfiledlg.h.
void gcp::NewFileDlg::OnThemeNamesChanged | ( | ) |
Called by the framework when the theme names have changed, which might happen if the user edits the preference when this dialog is opened.
gcp::NewFileDlg::SetTheme | ( | Theme * | theme | ) | [inline] |
theme | the newly selected theme. |
Sets the selected theme when the selection in the list has changed. This method should not be called from elsewhere.
Definition at line 84 of file newfiledlg.h.