#include <PnlGraphFrame.h>
Inherits TBasePanel.
Inheritance diagram for PnlGraphFrame:
Public Member Functions | |
void | OnSize (wxSizeEvent &event) |
Process the size event to resize and move the contained widgets. | |
PnlGraphFrame (wxWindow *parent, wxWindowID id=-1, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL, const wxString &name=_T("panel"), gestione *gpannello=-1) | |
Constructor. | |
int | GetMinWidth () |
Return the minimus width that the panel can assume. | |
int | GetMinHeight () |
Return the minimus height that the panel can assume. | |
void | WxdeleteClick (wxCommandEvent &event) |
Destroy this panel. | |
void | PointerMoved (wxMouseEvent &event) |
Notify the satus bar change to PnlFoglio. | |
void | OnGraphLClick (wxMouseEvent &event, int i) |
Select the panel. | |
void | OnGraphRClick (wxMouseEvent &event) |
Select the panel. | |
void | CheckOptions () |
Check if PnlGraph options are correct to show/hide it. | |
void | TxtValueChanged (ValueChangedEvent &event) |
Change the current value of a dimension of PnlGraph. | |
Public Attributes | |
PnlGraph * | Grafico |
PnlGraph where function are shown. | |
Private Attributes | |
TxtValue * | TxtYMax |
TxtValue to change the graph limits. | |
TxtValue * | TxtYMin |
TxtValue * | TxtXMax |
TxtValue * | TxtXMin |
PnlGraphFrame contains an instance of PnlGraph this can be inserted in PnlFoglio, moved and resized It Inherits TBasePanel
Definition at line 34 of file PnlGraphFrame.h.
|
Constructor.
Definition at line 34 of file PnlGraphFrame.cpp. |
|
Check if PnlGraph options are correct to show/hide it.
Definition at line 69 of file PnlGraphFrame.cpp. References Grafico, PnlGraph::options, TxtXMax, TxtXMin, TxtYMax, TxtYMin, OpzGrafico::xmax, OpzGrafico::xmin, OpzGrafico::ymax, and OpzGrafico::ymin. Referenced by TxtValueChanged(). |
|
Return the minimus height that the panel can assume. Defined virtual in the TBasePanel
Definition at line 62 of file PnlGraphFrame.cpp. |
|
Return the minimus width that the panel can assume. Defined virtual in the TBasePanel
Definition at line 57 of file PnlGraphFrame.cpp. |
|
Select the panel.
Definition at line 161 of file PnlGraphFrame.cpp. References TBasePanel::ImpostaBordi(). |
|
Select the panel.
Definition at line 169 of file PnlGraphFrame.cpp. References TBasePanel::ImpostaBordi(). |
|
Process the size event to resize and move the contained widgets.
Reimplemented from wxResizeableControl. Definition at line 121 of file PnlGraphFrame.cpp. References deltax_2D, deltay_2D, Grafico, TxtXMax, TxtXMin, and TxtYMin. |
|
Notify the satus bar change to PnlFoglio.
Definition at line 144 of file PnlGraphFrame.cpp. References PnlGraph::calculate_ascissa(), PnlGraph::calculate_ordinata(), EVT_GRAPH_INFO, Grafico, GraphInfoEvent::strobject, GraphInfoEvent::strposx, and GraphInfoEvent::strposy. |
|
Change the current value of a dimension of PnlGraph.
Definition at line 177 of file PnlGraphFrame.cpp. References CheckOptions(), ValueChangedEvent::GetValue(), Grafico, ValueChangedEvent::IsValid(), PnlGraph::options, OpzGrafico::xmax, OpzGrafico::xmin, OpzGrafico::ymax, and OpzGrafico::ymin. |
|
Destroy this panel. Destroy the current wxPanel, remove it from the widget list and destroy all his childs Definition at line 134 of file PnlGraphFrame.cpp. References TBasePanel::Elimina(). |
|
PnlGraph where function are shown.
Definition at line 47 of file PnlGraphFrame.h. Referenced by MainFrm::BtnModificaClick(), CheckOptions(), PnlObjTree::FillFunction(), OnSize(), PointerMoved(), and TxtValueChanged(). |
|
Definition at line 42 of file PnlGraphFrame.h. Referenced by CheckOptions(), and OnSize(). |
|
Definition at line 42 of file PnlGraphFrame.h. Referenced by CheckOptions(), and OnSize(). |
|
TxtValue to change the graph limits.
Definition at line 42 of file PnlGraphFrame.h. Referenced by CheckOptions(). |
|
Definition at line 42 of file PnlGraphFrame.h. Referenced by CheckOptions(), and OnSize(). |