Power System Platform  2024w23a
Loading...
Searching...
No Matches
MainFrameBase Class Reference
Inheritance diagram for MainFrameBase:
Collaboration diagram for MainFrameBase:

Public Types

enum  {
  ID_RIBBON_FREQRESP = 10001 , ID_RIBBON_SCPOWER = 10002 , ID_RIBBON_FAULT = 10003 , ID_RIBBON_RUNSTAB = 10004 ,
  ID_RIBBON_POWERFLOW = 10005 , ID_RIBBON_DISABLESOL = 10006 , ID_RIBBON_ENABLESOL = 10007 , ID_RIBBON_SNAPSHOT = 10008 ,
  ID_RIBBON_HEATMAP = 10009 , ID_RIBBON_PROJSETTINGS = 10010 , ID_RIBBON_CHARTS = 10011 , ID_RIBBON_ROTATEC = 10012 ,
  ID_RIBBON_SIMULSETTINGS = 10013 , ID_RIBBON_DATAREPORT = 10014 , ID_RIBBON_FIT = 10015 , ID_RIBBON_MOVE = 10016 ,
  ID_RIBBON_DRAG = 10017 , ID_RIBBON_ADDELEMENT = 10018 , ID_RIBBON_DELETE = 10019 , ID_RIBBON_REDO = 10020 ,
  ID_RIBBON_UNDO = 10021 , ID_RIBBON_PASTE = 10022 , ID_RIBBON_ABOUT = 10023 , ID_RIBBON_GUIDE = 10024 ,
  ID_RIBBON_HARMDIST = 10025 , ID_RIBBON_CLOSE = 10026 , ID_RIBBON_SAVEAS = 10027 , ID_RIBBON_SAVE = 10028 ,
  ID_RIBBON_EXIT = 10029 , ID_RIBBON_GENSETTINGS = 10030 , ID_RIBBON_ROTATECC = 10031 , ID_RIBBON_COPY = 10032 ,
  ID_RIBBON_IMPORT = 10033 , ID_RIBBON_OPEN = 10034 , ID_RIBBON_RESETVOLT = 10035 , ID_RIBBON_NEW = 10036
}
 

Public Member Functions

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 OnClose (wxCloseEvent &event)
 
virtual void OnNewClick (wxRibbonButtonBarEvent &event)
 
virtual void OnOpenClick (wxRibbonButtonBarEvent &event)
 
virtual void OnImportClick (wxRibbonButtonBarEvent &event)
 
virtual void OnGeneralSettingsClick (wxRibbonButtonBarEvent &event)
 
virtual void OnExitClick (wxRibbonButtonBarEvent &event)
 
virtual void OnSaveClick (wxRibbonButtonBarEvent &event)
 
virtual void OnSaveAsClick (wxRibbonButtonBarEvent &event)
 
virtual void OnCloseClick (wxRibbonButtonBarEvent &event)
 
virtual void OnPSPGuideClick (wxRibbonButtonBarEvent &event)
 
virtual void OnAboutClick (wxRibbonButtonBarEvent &event)
 
virtual void OnCopyClick (wxRibbonButtonBarEvent &event)
 
virtual void OnPasteClick (wxRibbonButtonBarEvent &event)
 
virtual void OnUndoClick (wxRibbonButtonBarEvent &event)
 
virtual void OnRedoClick (wxRibbonButtonBarEvent &event)
 
virtual void OnAddElementDropdown (wxRibbonButtonBarEvent &event)
 
virtual void OnDragClick (wxRibbonButtonBarEvent &event)
 
virtual void OnMoveClick (wxRibbonButtonBarEvent &event)
 
virtual void OnDeleteClick (wxRibbonButtonBarEvent &event)
 
virtual void OnFitClick (wxRibbonButtonBarEvent &event)
 
virtual void OnRotClockClick (wxRibbonButtonBarEvent &event)
 
virtual void OnRotCounterClockClick (wxRibbonButtonBarEvent &event)
 
virtual void OnProjectSettingsClick (wxRibbonButtonBarEvent &event)
 
virtual void OnDataReportClick (wxRibbonButtonBarEvent &event)
 
virtual void OnChartsClick (wxRibbonButtonBarEvent &event)
 
virtual void OnHeatmapClick (wxRibbonButtonBarEvent &event)
 
virtual void OnSnapshotClick (wxRibbonButtonBarEvent &event)
 
virtual void OnEnableSolutionClick (wxRibbonButtonBarEvent &event)
 
virtual void OnDisableSolutionClick (wxRibbonButtonBarEvent &event)
 
virtual void OnResetVoltagesClick (wxRibbonButtonBarEvent &event)
 
virtual void OnPowerFlowClick (wxRibbonButtonBarEvent &event)
 
virtual void OnRunStabilityClick (wxRibbonButtonBarEvent &event)
 
virtual void OnStabilityDropdown (wxRibbonButtonBarEvent &event)
 
virtual void OnFaultClick (wxRibbonButtonBarEvent &event)
 
virtual void OnSCPowerClick (wxRibbonButtonBarEvent &event)
 
virtual void OnHarmDistortionsClick (wxRibbonButtonBarEvent &event)
 
virtual void OnFreqResponseClick (wxRibbonButtonBarEvent &event)
 
virtual void OnSimulationSettingsClick (wxRibbonButtonBarEvent &event)
 
virtual void NotebookPageClosing (wxAuiNotebookEvent &event)
 
virtual void NotebookPageClosed (wxAuiNotebookEvent &event)
 
virtual void OnNotebookPageChanged (wxAuiNotebookEvent &event)
 

Protected Attributes

wxRibbonBar * m_ribbonBar
 
wxRibbonPage * m_ribbonPageFile
 
wxRibbonPanel * m_ribbonPanelProjects
 
wxRibbonButtonBar * m_ribbonButtonBarProjects
 
wxRibbonPanel * m_ribbonPanelCProject
 
wxRibbonButtonBar * m_ribbonButtonBarCProject
 
wxRibbonPanel * m_ribbonPanelHelp
 
wxRibbonButtonBar * m_ribbonButtonBarHelp
 
wxRibbonPage * m_ribbonPageTools
 
wxRibbonPanel * m_ribbonPanelClipboard
 
wxRibbonButtonBar * m_ribbonButtonBarClipboard
 
wxRibbonPanel * m_ribbonPanelCircuit
 
wxRibbonButtonBar * m_ribbonButtonBarCircuit
 
wxRibbonPanel * m_ribbonPanelReports
 
wxRibbonButtonBar * m_ribbonButtonBarReports
 
wxRibbonPage * m_ribbonPageSimulation
 
wxRibbonPanel * m_ribbonPanelContinuous
 
wxRibbonButtonBar * m_ribbonButtonBarContinuous
 
wxRibbonPanel * m_ribbonPanelSimulations
 
wxRibbonButtonBar * m_ribbonButtonBarSimulations
 
wxAuiNotebook * m_auiNotebook
 
wxStatusBar * m_statusBar
 

The documentation for this class was generated from the following files: