#include <ExportDlg.h>
Inheritance diagram for mgExportBasicOpt:
The basic options are:
This class can be used as a base class for a different panel of basic options. In this case the derived class must overload the functions whose behaviour must be changed; to force the creation of derived-class instead of mgExportBasicOpt, a mgExportDlg's derived class must be created with an overloaded mgExportDlg::BuildCtrls() function (which is the place where mgExportBasicOpt is created).
Definition at line 137 of file ExportDlg.h.
Public Member Functions | |
mgExportBasicOpt (wxWindow *parent, mgExportAdvOpt *adv=NULL, wxWindowID id=-1) | |
Creates the panel but does not create the controls which are contained; see BuildAll() if you want to build them. | |
void | SetAdvPanel (mgExportAdvOpt *adv) |
Links this panel with an advanced panel. | |
virtual void | BuildAll () |
Creates everything regarding this panel. | |
Protected Member Functions | |
virtual wxString | GetShowAdvLabel () |
Returns the label which should be currently shown on the "Show advanced options" button. | |
virtual void | BuildCtrls () |
Initializes the controls whose pointers are stored in the member variables to be easily used when required. | |
Event handlers. @{ | |
void | OnShowAdv (wxCommandEvent &event) |
void | OnBrowserModeChanged (wxCommandEvent &event) |
void | OnTitleChanged (wxCommandEvent &event) |
void | OnBrowse (wxCommandEvent &event) |
Protected Attributes | |
wxChoice * | m_pChoice |
The preset browser compability modes. | |
wxTextCtrl * | m_pDest |
The destination of the exported file. | |
wxTextCtrl * | m_pTitle |
The title of the exported file. | |
wxButton * | m_pShowAdv |
This button allows the user to show/hide the ADVANCED panel eventually linked to this class. | |
wxFileDialog * | m_pFD |
Instance of the file chooser dialog which can be used to change m_pDest. | |
mgExportAdvOpt * | m_pAdv |
The ADVANCED panel which is linked to this class. | |
Friends | |
class | mgExportDlg |
class | mgExportAdvOpt |
|
Creates the panel but does not create the controls which are contained; see BuildAll() if you want to build them.
Definition at line 195 of file ExportDlg.h. References m_pAdv. |
|
Creates everything regarding this panel. This function calls BuildCtrls() and then creates the entire layout for this panel. Implements mgExportBasePanel. Definition at line 154 of file ExportDlg.cpp. References BuildCtrls(), m_pChoice, m_pDest, m_pShowAdv, and m_pTitle. Referenced by mgExportDlg::BuildCtrls(). |
|
Initializes the controls whose pointers are stored in the member variables to be easily used when required. In this way, we do not have to use wxWindow::FindWindowById each time we must access them. Please note that IDs are still required for event handling. Implements mgExportBasePanel. Definition at line 110 of file ExportDlg.cpp. Referenced by BuildAll(). |
|
Links this panel with an advanced panel. If the given pointer is NULL, the m_pShowAdv button is automatically hidden. Definition at line 209 of file ExportDlg.h. References m_pAdv. Referenced by mgExportDlg::BuildCtrls(). |
|
The ADVANCED panel which is linked to this class. If there is no ADVANCED panel linked to this class (that is, if this pointer is NULL), the m_pShowAdv button is hidden. Definition at line 167 of file ExportDlg.h. Referenced by mgExportBasicOpt(), and SetAdvPanel(). |
|
This button allows the user to show/hide the ADVANCED panel eventually linked to this class. If there is no advanced panel linked to this class, this button is hidden. Definition at line 157 of file ExportDlg.h. Referenced by BuildAll(). |
[ Top ] |