|
OpenASIP 2.2
|
#include <ProDeOptionsDialog.hh>


Public Member Functions | |
| ProDeOptionsDialog (wxWindow *parent, ProDeOptions &options, CommandRegistry ®istry) | |
| virtual | ~ProDeOptionsDialog () |
Public Member Functions inherited from OptionsDialog | |
| OptionsDialog (wxWindow *parent, GUIOptions &options, CommandRegistry &commandRegisry) | |
| virtual | ~OptionsDialog () |
Private Types | |
| enum | { ID_UNDO_LEVELS , ID_LABEL_UNDO_LEVELS } |
Private Member Functions | |
| void | readProDeOptions () |
| void | writeProDeOptions () |
| void | onOK (wxCommandEvent &event) |
| void | onHelp (wxCommandEvent &event) |
| wxSizer * | createGeneralPage (wxWindow *parent, bool callFit, bool set_sizer) |
Private Attributes | |
| wxWindow * | parent_ |
| parent window of the dialog | |
| ProDeOptions & | options_ |
| current editor options | |
| wxSpinCtrl * | undoStackSize_ |
| Undo levels. | |
Additional Inherited Members | |
Protected Member Functions inherited from OptionsDialog | |
| void | addPage (wxPanel *page, const wxString &title) |
| virtual void | readOptions () |
| virtual void | writeOptions () |
Protected Attributes inherited from OptionsDialog | |
| wxNotebook * | notebook_ |
| Notebook containing dialog pages. | |
Dialog for editing ProDeOptions.
Definition at line 48 of file ProDeOptionsDialog.hh.
|
private |
| Enumerator | |
|---|---|
| ID_UNDO_LEVELS | |
| ID_LABEL_UNDO_LEVELS | |
Definition at line 75 of file ProDeOptionsDialog.hh.
| ProDeOptionsDialog::ProDeOptionsDialog | ( | wxWindow * | parent, |
| ProDeOptions & | options, | ||
| CommandRegistry & | registry | ||
| ) |
The Constructor.
| parent | Parent window of the dialog. |
| options | Options to be modified. |
Definition at line 62 of file ProDeOptionsDialog.cc.
|
virtual |
|
private |
Creates the 'General' page for the dialog.
This function was initially generated by wxDesigner.
| parent | The dialog window. |
| call_fit | If true, fits the contents inside the dialog. |
| set_sizer | If true, sets the main sizer as dialog contents. |
Definition at line 133 of file ProDeOptionsDialog.cc.
References ID_LABEL_UNDO_LEVELS, and ID_UNDO_LEVELS.
|
private |
|
private |
Validates input in the controls, and updates the options.
Definition at line 106 of file ProDeOptionsDialog.cc.
References OptionsDialog::writeOptions(), and writeProDeOptions().

|
private |
Reads the options in options_ to dialog attributes.
Definition at line 88 of file ProDeOptionsDialog.cc.
References options_, ProDeOptions::undoStackSize(), and undoStackSize_.

|
private |
Writes the options from dialog attributes to the current options object.
Definition at line 97 of file ProDeOptionsDialog.cc.
References options_, ProDeOptions::setUndoStackSize(), and undoStackSize_.
Referenced by onOK().

|
private |
current editor options
Definition at line 69 of file ProDeOptionsDialog.hh.
Referenced by readProDeOptions(), and writeProDeOptions().
|
private |
parent window of the dialog
Definition at line 67 of file ProDeOptionsDialog.hh.
|
private |
Undo levels.
Definition at line 72 of file ProDeOptionsDialog.hh.
Referenced by readProDeOptions(), and writeProDeOptions().