Dialog box for configuring the plot's layer objects In this dialog, you can configure:
More...
#include <MathPlotConfig.h>
|
| | MathPlotConfigDialog (wxWindow *parent, wxWindowID id=-1) |
| | Create a dialog window to configure the plot's layer objects. More...
|
| |
| void | Initialize (mpConfigPageId id=mpcpiNone) |
| | Initialize the dialog box by retrieving the layer properties. More...
|
| |
| void | SelectChoiceSerie (unsigned int serie) |
| | Select the series by number. More...
|
| |
| void | CreateSettingsFile (const wxString &filename, const wxString &path=wxEmptyString, bool apply=false) |
| | Create a file to store the properties of mpTitle, mpInfoCoords and mpInfoLegend layers. More...
|
| |
|
void | ApplySettings (void) |
| | Apply the settings loaded in the configuration file.
|
| |
|
MathPlotConfigSettings * | GetSettingsHandle (void) |
| | Give access to m_settings if we want to save some others parameters.
|
| |
|
| MathPlotConfigDialog (wxWindow *parent) |
| | Constructor.
|
| |
|
void | Initialize (mpConfigPageId id=mpcpiNone) |
| |
|
void | SelectChoiceSerie (unsigned int serie) |
| |
|
void | CreateSettingsFile (const wxString &filename, const wxString &path=wxEmptyString, bool apply=false) |
| |
|
void | ApplySettings (void) |
| |
|
MathPlotConfigSettings * | GetSettingsHandle (void) |
| | Give access to m_settings if we want to save some others parameters.
|
| |
|
| MathPlotConfigDialogBuilder (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("MathPlot Configuration"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxSTAY_ON_TOP|wxDEFAULT_DIALOG_STYLE) |
| |
|
|
void | OnnbConfigPageChanged (wxNotebookEvent &event) |
| |
|
void | OnbFontClick (wxCommandEvent &event) |
| |
|
void | OnbColorClick (wxCommandEvent &event) |
| |
|
void | OnAxisSelect (wxCommandEvent &event) |
| |
|
void | OnbAddAxisClick (wxCommandEvent &event) |
| |
|
void | OnbDelAxisClick (wxCommandEvent &event) |
| |
|
void | OncbAutoScaleClick (wxCommandEvent &event) |
| |
|
void | OncbFormatSelect (wxCommandEvent &event) |
| |
|
void | OnChoiceSeries (wxCommandEvent &event) |
| |
|
void | OnbDelSeriesClick (wxCommandEvent &event) |
| |
|
void | OnChoiceLinesSelect (wxCommandEvent &event) |
| |
|
void | OnbAddLinesClick (wxCommandEvent &event) |
| |
|
void | OnbDelLinesClick (wxCommandEvent &event) |
| |
|
void | OnbApplyClick (wxCommandEvent &event) |
| |
|
void | OnQuit (wxCommandEvent &event) |
| |
|
|
wxNotebook * | nbConfig |
| |
|
wxPanel * | Panel1 |
| |
|
wxStaticText * | StaticText11 |
| |
|
wxTextCtrl * | edTitle |
| |
|
wxButton * | bFontTitle |
| |
|
wxCheckBox * | cbTitleVisible |
| |
|
wxStaticText * | StaticText41 |
| |
|
wxTextCtrl * | edMarginTop |
| |
|
wxStaticText * | StaticText38 |
| |
|
wxTextCtrl * | edMarginBottom |
| |
|
wxStaticText * | StaticText39 |
| |
|
wxTextCtrl * | edMarginLeft |
| |
|
wxStaticText * | StaticText40 |
| |
|
wxTextCtrl * | edMarginRight |
| |
|
wxCheckBox * | cbDrawBox |
| |
|
wxStaticText * | StaticText37 |
| |
|
wxTextCtrl * | edExtraMargin |
| |
|
wxButton * | bBGColor |
| |
|
wxStaticText * | StaticText18 |
| |
|
wxChoice * | cbCoord |
| |
|
wxCheckBox * | cbCoordVisible |
| |
|
wxCheckBox * | cbCoordOutside |
| |
|
wxCheckBox * | cbCoordinates |
| |
|
wxCheckBox * | cbMagnetize |
| |
|
wxStaticText * | StaticText22 |
| |
|
wxButton * | bCoordBrushColor |
| |
|
wxStaticText * | StaticText23 |
| |
|
wxChoice * | cbCoordBrushStyle |
| |
|
wxStaticText * | StaticText36 |
| |
|
wxChoice * | ChoiceLeftMouseAction |
| |
|
wxPanel * | Panel2 |
| |
|
wxStaticText * | StaticText16 |
| |
|
wxChoice * | cbLegendPosition |
| |
|
wxStaticText * | StaticText24 |
| |
|
wxChoice * | cbLegendStyle |
| |
|
wxStaticText * | StaticText25 |
| |
|
wxChoice * | cbLegendDirection |
| |
|
wxCheckBox * | cbLegendVisible |
| |
|
wxButton * | bFontLegend |
| |
|
wxStaticText * | StaticText20 |
| |
|
wxButton * | bLegendBrushColor |
| |
|
wxStaticText * | StaticText21 |
| |
|
wxChoice * | cbLegendBrushStyle |
| |
|
wxPanel * | Panel3 |
| |
|
wxChoice * | ChoiceAxis |
| |
|
wxButton * | bAddXAxis |
| |
|
wxButton * | bAddYAxis |
| |
|
wxButton * | bDelAxis |
| |
|
wxStaticText * | StaticText8 |
| |
|
wxTextCtrl * | edAxisName |
| |
|
wxButton * | bFontAxis |
| |
|
wxStaticText * | StaticText12 |
| |
|
wxButton * | bAxisPenColor |
| |
|
wxStaticText * | StaticText13 |
| |
|
wxChoice * | cbAxisPenWidth |
| |
|
wxStaticText * | StaticText14 |
| |
|
wxChoice * | cbAxisPenStyle |
| |
|
wxCheckBox * | cbAutoScale |
| |
|
wxStaticText * | StaticText27 |
| |
|
wxTextCtrl * | edScaleMin |
| |
|
wxStaticText * | StaticText28 |
| |
|
wxTextCtrl * | edScaleMax |
| |
|
wxStaticText * | StaticText17 |
| |
|
wxChoice * | cbAxisPosition |
| |
|
wxCheckBox * | cbAxisVisible |
| |
|
wxCheckBox * | cbGridVisible |
| |
|
wxCheckBox * | cbAxisOutside |
| |
|
wxStaticText * | StaticText29 |
| |
|
wxChoice * | cbFormat |
| |
|
wxStaticText * | StaticText26 |
| |
|
wxTextCtrl * | edFormat |
| |
|
wxCheckBox * | cbLogAxis |
| |
|
wxPanel * | Panel4 |
| |
|
wxStaticText * | StaticText1 |
| |
|
wxChoice * | ChoiceSeries |
| |
|
wxButton * | bDelSeries |
| |
|
wxStaticText * | StaticText2 |
| |
|
wxTextCtrl * | edSeriesName |
| |
|
wxStaticText * | StaticText35 |
| |
|
wxChoice * | ChoiceSeriesYAxis |
| |
|
wxStaticText * | StaticText3 |
| |
|
wxButton * | bSeriesPenColor |
| |
|
wxStaticText * | StaticText4 |
| |
|
wxChoice * | cbSeriesPenWidth |
| |
|
wxStaticText * | StaticText5 |
| |
|
wxChoice * | cbSeriesPenStyle |
| |
|
wxCheckBox * | cbSeriesVisible |
| |
|
wxCheckBox * | cbSeriesContinuity |
| |
|
wxCheckBox * | cbSeriesOutside |
| |
|
wxCheckBox * | cbSeriesShowName |
| |
|
wxCheckBox * | cbTractable |
| |
|
wxStaticText * | StaticText6 |
| |
|
wxButton * | bSeriesBrushColor |
| |
|
wxStaticText * | StaticText7 |
| |
|
wxChoice * | cbSeriesBrushStyle |
| |
|
wxStaticText * | StaticText9 |
| |
|
wxChoice * | cbSeriesSymbolType |
| |
|
wxStaticText * | StaticText10 |
| |
|
wxSpinCtrl * | cbSeriesSymbolSize |
| |
|
wxStaticText * | StaticText19 |
| |
|
wxSpinCtrl * | cbSeriesStep |
| |
|
wxCheckBox * | cbBar |
| |
|
wxPanel * | Panel5 |
| |
|
wxChoice * | ChoiceLines |
| |
|
wxButton * | bAddLines |
| |
|
wxButton * | bDelLines |
| |
|
wxPanel * | pLines |
| |
|
wxStaticText * | StaticText31 |
| |
|
wxTextCtrl * | edLinesName |
| |
|
wxRadioButton * | rbLinesDirection |
| |
|
wxStaticText * | StaticText30 |
| |
|
wxTextCtrl * | edLinesValue |
| |
|
wxStaticText * | stLinesYIndexLabel |
| |
|
wxChoice * | ChoiceLinesYAxis |
| |
|
wxStaticText * | StaticText32 |
| |
|
wxButton * | bLinesPenColor |
| |
|
wxStaticText * | StaticText33 |
| |
|
wxChoice * | cbLinesPenWidth |
| |
|
wxStaticText * | StaticText34 |
| |
|
wxChoice * | cbLinesPenStyle |
| |
|
wxCheckBox * | cbLinesVisible |
| |
|
wxCheckBox * | cbLinesOutside |
| |
|
wxCheckBox * | cbLinesShowName |
| |
|
wxButton * | bApply |
| |
|
wxButton * | bClose |
| |
|
unsigned int | int_top |
| |
|
unsigned int | int_bottom |
| |
|
unsigned int | int_left |
| |
|
unsigned int | int_right |
| |
|
unsigned int | int_extra |
| |
|
double | scale_min |
| |
|
double | scale_max |
| |
|
double | line_value |
| |
Dialog box for configuring the plot's layer objects In this dialog, you can configure:
Implementing MathPlotConfigDialogBuilder.
◆ MathPlotConfigDialog()
| MathPlotConfigDialog::MathPlotConfigDialog |
( |
wxWindow * |
parent, |
|
|
wxWindowID |
id = -1 |
|
) |
| |
Create a dialog window to configure the plot's layer objects.
- Parameters
-
| parent | the handle of the plot window |
| id | an ID for the dialog window (default -1) |
◆ CreateSettingsFile()
| void MathPlotConfigDialog::CreateSettingsFile |
( |
const wxString & |
filename, |
|
|
const wxString & |
path = wxEmptyString, |
|
|
bool |
apply = false |
|
) |
| |
Create a file to store the properties of mpTitle, mpInfoCoords and mpInfoLegend layers.
- Parameters
-
| filename | the name of the configuration file |
| path | the path for the file (if empty, the directory of the program is used) |
| apply | if true then load and apply the settings immediately. |
◆ Initialize()
| void MathPlotConfigDialog::Initialize |
( |
mpConfigPageId |
id = mpcpiNone | ) |
|
Initialize the dialog box by retrieving the layer properties.
- Parameters
-
| id | the page to be open in the dialog window (default first page) |
◆ SelectChoiceSerie()
| void MathPlotConfigDialog::SelectChoiceSerie |
( |
unsigned int |
serie | ) |
|
Select the series by number.
- Parameters
-
| serie | the number of the series in the list |