![]() |
Power System Platform
2026w34a-beta
|
Main frame of the program. This class manage the ribbon menu and the notebook behavior. More...
#include <MainFrame.h>


Public Member Functions | |
| MainFrame () | |
| Default constructor. | |
| MainFrame (wxWindow *parent, wxLocale *locale, PropertiesData *initProperties, wxString openPath="") | |
| Main frame contructor. | |
| ~MainFrame () | |
| Default destructor. | |
| int | RunPSPTest () |
| void | OnAddElementsClick (wxCommandEvent &event) |
| void | BuildElementsToolBar (ElementsToolbar style) |
| void | OnElementsToolBarClosed () |
| ElementsToolBar * | GetElementsToolBar () |
Public Member Functions inherited from MainFrameBase | |
| wxRibbonBar * | GetRibbonBar () |
| wxAuiNotebook * | GetAuiNotebook () |
| wxStatusBar * | GetStatusBar () |
| MainFrameBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("PSP-UFU"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(800, 600), long style=wxCAPTION|wxRESIZE_BORDER|wxMAXIMIZE_BOX|wxMINIMIZE_BOX|wxSYSTEM_MENU|wxCLOSE_BOX) | |
Protected Member Functions | |
| virtual void | OnGridClick (wxRibbonButtonBarEvent &event) override |
| virtual void | OnAlignClick (wxRibbonButtonBarEvent &event) override |
| virtual void | OnLabelMngrClick (wxRibbonButtonBarEvent &event) |
| virtual void | OnSnapshotDropdown (wxRibbonButtonBarEvent &event) |
| virtual void | OnProjectSettingsClick (wxRibbonButtonBarEvent &event) |
| virtual void | OnNotebookPageChanged (wxAuiNotebookEvent &event) |
| virtual void | OnHeatmapClick (wxRibbonButtonBarEvent &event) |
| virtual void | OnClose (wxCloseEvent &event) |
| virtual void | OnStabilityDropdown (wxRibbonButtonBarEvent &event) |
| virtual void | OnFreqResponseClick (wxRibbonButtonBarEvent &event) |
| virtual void | OnHarmDistortionsClick (wxRibbonButtonBarEvent &event) |
| virtual void | OnGeneralSettingsClick (wxRibbonButtonBarEvent &event) |
| virtual void | OnSimulationSettingsClick (wxRibbonButtonBarEvent &event) |
| virtual void | OnRotClockClick (wxRibbonButtonBarEvent &event) |
| virtual void | OnRotCounterClockClick (wxRibbonButtonBarEvent &event) |
| virtual void | NotebookPageClosed (wxAuiNotebookEvent &event) |
| virtual void | NotebookPageClosing (wxAuiNotebookEvent &event) |
| virtual void | OnAboutClick (wxRibbonButtonBarEvent &event) |
| virtual void | OnAddElementDropdown (wxRibbonButtonBarEvent &event) |
| virtual void | OnChartsClick (wxRibbonButtonBarEvent &event) |
| virtual void | OnCloseClick (wxRibbonButtonBarEvent &event) |
| virtual void | OnCopyClick (wxRibbonButtonBarEvent &event) |
| virtual void | OnDataReportClick (wxRibbonButtonBarEvent &event) |
| virtual void | OnDeleteClick (wxRibbonButtonBarEvent &event) |
| virtual void | OnDisableSolutionClick (wxRibbonButtonBarEvent &event) |
| virtual void | OnDragClick (wxRibbonButtonBarEvent &event) |
| virtual void | OnEnableSolutionClick (wxRibbonButtonBarEvent &event) |
| virtual void | OnExitClick (wxRibbonButtonBarEvent &event) |
| virtual void | OnFaultClick (wxRibbonButtonBarEvent &event) |
| virtual void | OnFitClick (wxRibbonButtonBarEvent &event) |
| virtual void | OnMoveClick (wxRibbonButtonBarEvent &event) |
| virtual void | OnOpenClick (wxRibbonButtonBarEvent &event) |
| virtual void | OnPSPGuideClick (wxRibbonButtonBarEvent &event) |
| virtual void | OnPasteClick (wxRibbonButtonBarEvent &event) |
| virtual void | OnPowerFlowClick (wxRibbonButtonBarEvent &event) |
| virtual void | OnRedoClick (wxRibbonButtonBarEvent &event) |
| virtual void | OnResetVoltagesClick (wxRibbonButtonBarEvent &event) |
| virtual void | OnRunStabilityClick (wxRibbonButtonBarEvent &event) |
| virtual void | OnSCPowerClick (wxRibbonButtonBarEvent &event) |
| virtual void | OnSaveAsClick (wxRibbonButtonBarEvent &event) |
| virtual void | OnSaveClick (wxRibbonButtonBarEvent &event) |
| virtual void | OnSnapshotClick (wxRibbonButtonBarEvent &event) |
| virtual void | OnUndoClick (wxRibbonButtonBarEvent &event) |
| virtual void | OnNewClick (wxRibbonButtonBarEvent &event) |
| virtual void | OnImportClick (wxRibbonButtonBarEvent &event) |
| void | PositionElementsToolBar () |
| void | Init () |
| void | EnableCurrentProjectRibbon (bool enable=true) |
| void | CreateDropdownMenus () |
| void | OnStabilityMenuClick (wxCommandEvent &event) |
| void | OnSnapshotMenuClick (wxCommandEvent &event) |
Additional Inherited Members | |
Public Types inherited from MainFrameBase | |
| enum | { ID_RIBBON_SIMULSETTINGS = 10001 , ID_RIBBON_HARMDIST = 10002 , ID_RIBBON_POWERFLOW = 10003 , ID_RIBBON_FREQRESP = 10004 , ID_RIBBON_DISABLESOL = 10005 , ID_RIBBON_ENABLESOL = 10006 , ID_RIBBON_SNAPSHOT = 10007 , ID_RIBBON_CHARTS = 10008 , ID_RIBBON_PROJSETTINGS = 10009 , ID_RIBBON_LABELMNGR = 10010 , ID_RIBBON_GRID = 10011 , ID_RIBBON_ROTATECC = 10012 , ID_RIBBON_FAULT = 10013 , ID_RIBBON_ROTATEC = 10014 , ID_RIBBON_DELETE = 10015 , ID_RIBBON_MOVE = 10016 , ID_RIBBON_DRAG = 10017 , ID_RIBBON_ADDELEMENT = 10018 , ID_RIBBON_RUNSTAB = 10019 , ID_RIBBON_UNDO = 10020 , ID_RIBBON_HEATMAP = 10021 , ID_RIBBON_ABOUT = 10022 , ID_RIBBON_GUIDE = 10023 , ID_RIBBON_FIT = 10024 , ID_RIBBON_CLOSE = 10025 , ID_RIBBON_RESETVOLT = 10026 , ID_RIBBON_PASTE = 10027 , ID_RIBBON_SAVEAS = 10028 , ID_RIBBON_SCPOWER = 10029 , ID_RIBBON_SAVE = 10030 , ID_RIBBON_EXIT = 10031 , ID_RIBBON_GENSETTINGS = 10032 , ID_RIBBON_DATAREPORT = 10033 , ID_RIBBON_REDO = 10034 , ID_RIBBON_IMPORT = 10035 , ID_RIBBON_ALIGN = 10036 , ID_RIBBON_COPY = 10037 , ID_RIBBON_OPEN = 10038 , ID_RIBBON_NEW = 10039 } |
Main frame of the program. This class manage the ribbon menu and the notebook behavior.
Definition at line 70 of file MainFrame.h.
| MainFrame::MainFrame | ( | ) |
| MainFrame::MainFrame | ( | wxWindow * | parent, |
| wxLocale * | locale, | ||
| PropertiesData * | initProperties, | ||
| wxString | openPath = "" |
||
| ) |
Main frame contructor.
| parent | Parent window. |
| locale | Locale settings. |
| initProperties | Initial properties. |
Definition at line 54 of file MainFrame.cpp.
| MainFrame::~MainFrame | ( | ) |
Default destructor.
Definition at line 86 of file MainFrame.cpp.
| void MainFrame::BuildElementsToolBar | ( | ElementsToolbar | style | ) |
Definition at line 999 of file MainFrame.cpp.
|
protected |
Definition at line 215 of file MainFrame.cpp.
|
protected |
Definition at line 176 of file MainFrame.cpp.
|
inline |
Definition at line 96 of file MainFrame.h.
|
protected |
Definition at line 111 of file MainFrame.cpp.
|
protectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 770 of file MainFrame.cpp.
|
protectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 776 of file MainFrame.cpp.
|
protectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 357 of file MainFrame.cpp.
|
protectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 363 of file MainFrame.cpp.
| void MainFrame::OnAddElementsClick | ( | wxCommandEvent & | event | ) |
Definition at line 621 of file MainFrame.cpp.
|
overrideprotectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 938 of file MainFrame.cpp.
|
protectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 364 of file MainFrame.cpp.
|
protectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 903 of file MainFrame.cpp.
|
protectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 380 of file MainFrame.cpp.
|
protectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 399 of file MainFrame.cpp.
|
protectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 405 of file MainFrame.cpp.
|
protectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 412 of file MainFrame.cpp.
|
protectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 417 of file MainFrame.cpp.
|
protectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 426 of file MainFrame.cpp.
| void MainFrame::OnElementsToolBarClosed | ( | ) |
Definition at line 1017 of file MainFrame.cpp.
|
protectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 434 of file MainFrame.cpp.
|
inlineprotectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 126 of file MainFrame.h.
|
protectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 445 of file MainFrame.cpp.
|
protectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 450 of file MainFrame.cpp.
|
protectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 830 of file MainFrame.cpp.
|
protectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 805 of file MainFrame.cpp.
|
overrideprotectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 928 of file MainFrame.cpp.
|
protectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 835 of file MainFrame.cpp.
|
protectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 919 of file MainFrame.cpp.
|
protectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 740 of file MainFrame.cpp.
|
protectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 969 of file MainFrame.cpp.
|
protectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 456 of file MainFrame.cpp.
|
protectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 335 of file MainFrame.cpp.
|
protectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 945 of file MainFrame.cpp.
|
protectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 481 of file MainFrame.cpp.
|
protectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 527 of file MainFrame.cpp.
|
protectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 533 of file MainFrame.cpp.
|
protectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 955 of file MainFrame.cpp.
|
protectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 523 of file MainFrame.cpp.
|
protectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 539 of file MainFrame.cpp.
|
protectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 546 of file MainFrame.cpp.
|
protectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 793 of file MainFrame.cpp.
|
protectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 799 of file MainFrame.cpp.
|
protectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 552 of file MainFrame.cpp.
|
protectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 564 of file MainFrame.cpp.
|
protectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 582 of file MainFrame.cpp.
|
protectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 558 of file MainFrame.cpp.
|
protectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 821 of file MainFrame.cpp.
|
protectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 605 of file MainFrame.cpp.
|
protectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 965 of file MainFrame.cpp.
|
protected |
Definition at line 859 of file MainFrame.cpp.
|
protectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 841 of file MainFrame.cpp.
|
protected |
Definition at line 843 of file MainFrame.cpp.
|
protectedvirtual |
Reimplemented from MainFrameBase.
Definition at line 613 of file MainFrame.cpp.
|
protected |
Definition at line 982 of file MainFrame.cpp.
| int MainFrame::RunPSPTest | ( | ) |
Definition at line 878 of file MainFrame.cpp.
|
protected |
Definition at line 150 of file MainFrame.h.
|
protected |
Definition at line 149 of file MainFrame.h.
|
protected |
Definition at line 155 of file MainFrame.h.
|
protected |
Definition at line 156 of file MainFrame.h.
|
protected |
Definition at line 154 of file MainFrame.h.
|
protected |
Definition at line 153 of file MainFrame.h.
|
protected |
Definition at line 147 of file MainFrame.h.
|
protected |
Definition at line 152 of file MainFrame.h.
|
protected |
Definition at line 151 of file MainFrame.h.
|
protected |
Definition at line 146 of file MainFrame.h.