diff options
author | Thales1330 <thaleslima.ufu@gmail.com> | 2016-12-06 13:26:46 -0200 |
---|---|---|
committer | Thales1330 <thaleslima.ufu@gmail.com> | 2016-12-06 13:26:46 -0200 |
commit | e282ec268db0d17a1d53f813c5fff9473d25e797 (patch) | |
tree | 517e01b8685248f04548513091e7040a1b36ec0b /Project/MainFrame.wxcp | |
parent | d4efffcdedbb41596eecd0882a1cef76f6afc435 (diff) | |
parent | e266f5811403beea13c9cc5399c55db4a34fdd3c (diff) | |
download | PSP.git-e282ec268db0d17a1d53f813c5fff9473d25e797.tar.gz PSP.git-e282ec268db0d17a1d53f813c5fff9473d25e797.tar.xz PSP.git-e282ec268db0d17a1d53f813c5fff9473d25e797.zip |
Merge remote-tracking branch 'refs/remotes/origin/wip/currentState'
Diffstat (limited to 'Project/MainFrame.wxcp')
-rw-r--r-- | Project/MainFrame.wxcp | 1152 |
1 files changed, 567 insertions, 585 deletions
diff --git a/Project/MainFrame.wxcp b/Project/MainFrame.wxcp index 1b863dd..6e21d5f 100644 --- a/Project/MainFrame.wxcp +++ b/Project/MainFrame.wxcp @@ -1,7 +1,7 @@ { "metadata": { "m_generatedFilesDir": ".", - "m_objCounter": 138, + "m_objCounter": 150, "m_includeFiles": [], "m_bitmapFunction": "wxC9ED9InitBitmapResources", "m_bitmapsFile": "MainFrameBitmaps.cpp", @@ -756,6 +756,97 @@ "m_properties": [{ "type": "winid", "m_label": "ID:", + "m_winid": "ID_RIBBON_GENSETTINGS" + }, { + "type": "string", + "m_label": "Size:", + "m_value": "-1,-1" + }, { + "type": "string", + "m_label": "Minimum Size:", + "m_value": "-1,-1" + }, { + "type": "string", + "m_label": "Name:", + "m_value": "m_ribbonButtonGenSettings" + }, { + "type": "multi-string", + "m_label": "Tooltip:", + "m_value": "General Settings" + }, { + "type": "colour", + "m_label": "Bg Colour:", + "colour": "<Default>" + }, { + "type": "colour", + "m_label": "Fg Colour:", + "colour": "<Default>" + }, { + "type": "font", + "m_label": "Font:", + "m_value": "" + }, { + "type": "bool", + "m_label": "Hidden", + "m_value": false + }, { + "type": "bool", + "m_label": "Disabled", + "m_value": false + }, { + "type": "bool", + "m_label": "Focused", + "m_value": false + }, { + "type": "string", + "m_label": "Class Name:", + "m_value": "" + }, { + "type": "string", + "m_label": "Include File:", + "m_value": "" + }, { + "type": "string", + "m_label": "Style:", + "m_value": "" + }, { + "type": "string", + "m_label": "Label:", + "m_value": "General Settings" + }, { + "type": "bitmapPicker", + "m_label": "Bitmap File:", + "m_path": "data/images/ribbon/settings32.png" + }, { + "type": "string", + "m_label": "Help String:", + "m_value": "Opens a dialog to set the main settings of the program" + }, { + "type": "choice", + "m_label": "Kind:", + "m_selection": 0, + "m_options": ["wxRIBBON_BUTTON_NORMAL", "wxRIBBON_BUTTON_DROPDOWN", "wxRIBBON_BUTTON_HYBRID", "wxRIBBON_BUTTON_TOGGLE"] + }], + "m_events": [{ + "m_eventName": "wxEVT_COMMAND_RIBBONBUTTON_CLICKED", + "m_eventClass": "wxRibbonButtonBarEvent", + "m_eventHandler": "wxRibbonButtonBarEventHandler", + "m_functionNameAndSignature": "OnStabilitySettingsClick(wxRibbonButtonBarEvent& event)", + "m_description": "Triggered when the normal (non-dropdown) region of a button on the button bar is clicked.", + "m_noBody": false + }], + "m_children": [] + }, { + "m_type": 4492, + "proportion": 0, + "border": 5, + "gbSpan": "1,1", + "gbPosition": "0,0", + "m_styles": [], + "m_sizerFlags": ["wxALL", "wxLEFT", "wxRIGHT", "wxTOP", "wxBOTTOM"], + "m_properties": [{ + "type": "winid", + "m_label": "ID:", "m_winid": "ID_RIBBON_EXIT" }, { "type": "string", @@ -989,97 +1080,6 @@ "m_properties": [{ "type": "winid", "m_label": "ID:", - "m_winid": "ID_RIBBON_SETTINGS" - }, { - "type": "string", - "m_label": "Size:", - "m_value": "-1,-1" - }, { - "type": "string", - "m_label": "Minimum Size:", - "m_value": "-1,-1" - }, { - "type": "string", - "m_label": "Name:", - "m_value": "m_ribbonButtonProjSettings" - }, { - "type": "multi-string", - "m_label": "Tooltip:", - "m_value": "Project Settings" - }, { - "type": "colour", - "m_label": "Bg Colour:", - "colour": "<Default>" - }, { - "type": "colour", - "m_label": "Fg Colour:", - "colour": "<Default>" - }, { - "type": "font", - "m_label": "Font:", - "m_value": "" - }, { - "type": "bool", - "m_label": "Hidden", - "m_value": false - }, { - "type": "bool", - "m_label": "Disabled", - "m_value": true - }, { - "type": "bool", - "m_label": "Focused", - "m_value": false - }, { - "type": "string", - "m_label": "Class Name:", - "m_value": "" - }, { - "type": "string", - "m_label": "Include File:", - "m_value": "" - }, { - "type": "string", - "m_label": "Style:", - "m_value": "" - }, { - "type": "string", - "m_label": "Label:", - "m_value": "Project settings" - }, { - "type": "bitmapPicker", - "m_label": "Bitmap File:", - "m_path": "data/images/ribbon/settings32.png" - }, { - "type": "string", - "m_label": "Help String:", - "m_value": "Opens a dialog to set the main settings of the current project" - }, { - "type": "choice", - "m_label": "Kind:", - "m_selection": 0, - "m_options": ["wxRIBBON_BUTTON_NORMAL", "wxRIBBON_BUTTON_DROPDOWN", "wxRIBBON_BUTTON_HYBRID", "wxRIBBON_BUTTON_TOGGLE"] - }], - "m_events": [{ - "m_eventName": "wxEVT_COMMAND_RIBBONBUTTON_CLICKED", - "m_eventClass": "wxRibbonButtonBarEvent", - "m_eventHandler": "wxRibbonButtonBarEventHandler", - "m_functionNameAndSignature": "OnProjectSettingsClick(wxRibbonButtonBarEvent& event)", - "m_description": "Triggered when the normal (non-dropdown) region of a button on the button bar is clicked.", - "m_noBody": false - }], - "m_children": [] - }, { - "m_type": 4492, - "proportion": 0, - "border": 5, - "gbSpan": "1,1", - "gbPosition": "0,0", - "m_styles": [], - "m_sizerFlags": ["wxALL", "wxLEFT", "wxRIGHT", "wxTOP", "wxBOTTOM"], - "m_properties": [{ - "type": "winid", - "m_label": "ID:", "m_winid": "ID_RIBBON_SAVE" }, { "type": "string", @@ -1187,7 +1187,7 @@ }, { "type": "multi-string", "m_label": "Tooltip:", - "m_value": "Save as" + "m_value": "Save As" }, { "type": "colour", "m_label": "Bg Colour:", @@ -1227,7 +1227,7 @@ }, { "type": "string", "m_label": "Label:", - "m_value": "Save as..." + "m_value": "Save As..." }, { "type": "bitmapPicker", "m_label": "Bitmap File:", @@ -2420,7 +2420,7 @@ }, { "type": "multi-string", "m_label": "Tooltip:", - "m_value": "Add element" + "m_value": "Add Element" }, { "type": "colour", "m_label": "Bg Colour:", @@ -2460,7 +2460,7 @@ }, { "type": "string", "m_label": "Label:", - "m_value": "Add element" + "m_value": "Add Element" }, { "type": "bitmapPicker", "m_label": "Bitmap File:", @@ -2485,7 +2485,7 @@ }], "m_children": [] }, { - "m_type": 4495, + "m_type": 4492, "proportion": 0, "border": 5, "gbSpan": "1,1", @@ -2495,7 +2495,7 @@ "m_properties": [{ "type": "winid", "m_label": "ID:", - "m_winid": "ID_RIBBON_ENABLESOL" + "m_winid": "ID_RIBBON_DRAG" }, { "type": "string", "m_label": "Size:", @@ -2507,11 +2507,11 @@ }, { "type": "string", "m_label": "Name:", - "m_value": "m_ribbonButtonEnableSol" + "m_value": "m_ribbonButtonDrag" }, { "type": "multi-string", "m_label": "Tooltip:", - "m_value": "Enable solution" + "m_value": "Drag" }, { "type": "colour", "m_label": "Bg Colour:", @@ -2551,32 +2551,32 @@ }, { "type": "string", "m_label": "Label:", - "m_value": "Enable solution" + "m_value": "Drag" }, { "type": "bitmapPicker", "m_label": "Bitmap File:", - "m_path": "data/images/ribbon/playStopped32.png" + "m_path": "data/images/ribbon/drag32.png" }, { "type": "string", "m_label": "Help String:", - "m_value": "Enables the power flow and fault (if exists) calculations after any circuit change" + "m_value": "Drag all the elements" }, { "type": "choice", "m_label": "Kind:", - "m_selection": 3, + "m_selection": 0, "m_options": ["wxRIBBON_BUTTON_NORMAL", "wxRIBBON_BUTTON_DROPDOWN", "wxRIBBON_BUTTON_HYBRID", "wxRIBBON_BUTTON_TOGGLE"] }], "m_events": [{ "m_eventName": "wxEVT_COMMAND_RIBBONBUTTON_CLICKED", "m_eventClass": "wxRibbonButtonBarEvent", "m_eventHandler": "wxRibbonButtonBarEventHandler", - "m_functionNameAndSignature": "OnEnableSolutionClick(wxRibbonButtonBarEvent& event)", + "m_functionNameAndSignature": "OnDragClick(wxRibbonButtonBarEvent& event)", "m_description": "Triggered when the normal (non-dropdown) region of a button on the button bar is clicked.", "m_noBody": false }], "m_children": [] }, { - "m_type": 4495, + "m_type": 4492, "proportion": 0, "border": 5, "gbSpan": "1,1", @@ -2586,7 +2586,7 @@ "m_properties": [{ "type": "winid", "m_label": "ID:", - "m_winid": "ID_RIBBON_DISABLESOL" + "m_winid": "ID_RIBBON_MOVE" }, { "type": "string", "m_label": "Size:", @@ -2598,11 +2598,11 @@ }, { "type": "string", "m_label": "Name:", - "m_value": "m_ribbonButtonDisableSol" + "m_value": "m_ribbonButtoMove" }, { "type": "multi-string", "m_label": "Tooltip:", - "m_value": "Disable solution" + "m_value": "Move" }, { "type": "colour", "m_label": "Bg Colour:", @@ -2642,26 +2642,26 @@ }, { "type": "string", "m_label": "Label:", - "m_value": "Disable solution" + "m_value": "Move" }, { "type": "bitmapPicker", "m_label": "Bitmap File:", - "m_path": "data/images/ribbon/pauseStopped32.png" + "m_path": "data/images/ribbon/move32.png" }, { "type": "string", "m_label": "Help String:", - "m_value": "Disables the power flow and fault calculations after any circuit changes" + "m_value": "Move the selected elements" }, { "type": "choice", "m_label": "Kind:", - "m_selection": 3, + "m_selection": 0, "m_options": ["wxRIBBON_BUTTON_NORMAL", "wxRIBBON_BUTTON_DROPDOWN", "wxRIBBON_BUTTON_HYBRID", "wxRIBBON_BUTTON_TOGGLE"] }], "m_events": [{ "m_eventName": "wxEVT_COMMAND_RIBBONBUTTON_CLICKED", "m_eventClass": "wxRibbonButtonBarEvent", "m_eventHandler": "wxRibbonButtonBarEventHandler", - "m_functionNameAndSignature": "OnDisableSolutionClick(wxRibbonButtonBarEvent& event)", + "m_functionNameAndSignature": "OnMoveClick(wxRibbonButtonBarEvent& event)", "m_description": "Triggered when the normal (non-dropdown) region of a button on the button bar is clicked.", "m_noBody": false }], @@ -2677,7 +2677,7 @@ "m_properties": [{ "type": "winid", "m_label": "ID:", - "m_winid": "ID_RIBBON_RESETVOLT" + "m_winid": "ID_RIBBON_DELETE" }, { "type": "string", "m_label": "Size:", @@ -2689,11 +2689,11 @@ }, { "type": "string", "m_label": "Name:", - "m_value": "m_ribbonButtonResetVoltages" + "m_value": "m_ribbonButtonDelete" }, { "type": "multi-string", "m_label": "Tooltip:", - "m_value": "Reset voltages" + "m_value": "" }, { "type": "colour", "m_label": "Bg Colour:", @@ -2733,15 +2733,15 @@ }, { "type": "string", "m_label": "Label:", - "m_value": "Reset voltages" + "m_value": "Delete" }, { "type": "bitmapPicker", "m_label": "Bitmap File:", - "m_path": "data/images/ribbon/reset32.png" + "m_path": "data/images/ribbon/delete32.png" }, { "type": "string", "m_label": "Help String:", - "m_value": "Reset all voltages to initial state" + "m_value": "Removes all selected elements" }, { "type": "choice", "m_label": "Kind:", @@ -2752,154 +2752,12 @@ "m_eventName": "wxEVT_COMMAND_RIBBONBUTTON_CLICKED", "m_eventClass": "wxRibbonButtonBarEvent", "m_eventHandler": "wxRibbonButtonBarEventHandler", - "m_functionNameAndSignature": "OnResetVoltagesClick(wxRibbonButtonBarEvent& event)", + "m_functionNameAndSignature": "OnDeleteClick(wxRibbonButtonBarEvent& event)", "m_description": "Triggered when the normal (non-dropdown) region of a button on the button bar is clicked.", "m_noBody": false }], "m_children": [] - }] - }] - }, { - "m_type": 4490, - "proportion": 0, - "border": 5, - "gbSpan": "1,1", - "gbPosition": "0,0", - "m_styles": ["wxRIBBON_PANEL_NO_AUTO_MINIMISE", "wxRIBBON_PANEL_DEFAULT_STYLE"], - "m_sizerFlags": ["wxALL", "wxLEFT", "wxRIGHT", "wxTOP", "wxBOTTOM"], - "m_properties": [{ - "type": "winid", - "m_label": "ID:", - "m_winid": "wxID_ANY" - }, { - "type": "string", - "m_label": "Size:", - "m_value": "-1,-1" - }, { - "type": "string", - "m_label": "Minimum Size:", - "m_value": "-1,-1" - }, { - "type": "string", - "m_label": "Name:", - "m_value": "m_ribbonPanelHandling" - }, { - "type": "multi-string", - "m_label": "Tooltip:", - "m_value": "Handling" - }, { - "type": "colour", - "m_label": "Bg Colour:", - "colour": "<Default>" - }, { - "type": "colour", - "m_label": "Fg Colour:", - "colour": "<Default>" - }, { - "type": "font", - "m_label": "Font:", - "m_value": "" - }, { - "type": "bool", - "m_label": "Hidden", - "m_value": false - }, { - "type": "bool", - "m_label": "Disabled", - "m_value": false - }, { - "type": "bool", - "m_label": "Focused", - "m_value": false - }, { - "type": "string", - "m_label": "Class Name:", - "m_value": "" - }, { - "type": "string", - "m_label": "Include File:", - "m_value": "" - }, { - "type": "string", - "m_label": "Style:", - "m_value": "" - }, { - "type": "string", - "m_label": "Label:", - "m_value": "Handling" - }, { - "type": "bitmapPicker", - "m_label": "Bitmap File:", - "m_path": "" - }], - "m_events": [], - "m_children": [{ - "m_type": 4491, - "proportion": 0, - "border": 5, - "gbSpan": "1,1", - "gbPosition": "0,0", - "m_styles": [], - "m_sizerFlags": ["wxALL", "wxLEFT", "wxRIGHT", "wxTOP", "wxBOTTOM"], - "m_properties": [{ - "type": "winid", - "m_label": "ID:", - "m_winid": "wxID_ANY" - }, { - "type": "string", - "m_label": "Size:", - "m_value": "-1,-1" - }, { - "type": "string", - "m_label": "Minimum Size:", - "m_value": "-1,-1" - }, { - "type": "string", - "m_label": "Name:", - "m_value": "m_ribbonButtonBarHandling" - }, { - "type": "multi-string", - "m_label": "Tooltip:", - "m_value": "Handling" - }, { - "type": "colour", - "m_label": "Bg Colour:", - "colour": "<Default>" - }, { - "type": "colour", - "m_label": "Fg Colour:", - "colour": "<Default>" - }, { - "type": "font", - "m_label": "Font:", - "m_value": "" }, { - "type": "bool", - "m_label": "Hidden", - "m_value": false - }, { - "type": "bool", - "m_label": "Disabled", - "m_value": false - }, { - "type": "bool", - "m_label": "Focused", - "m_value": false - }, { - "type": "string", - "m_label": "Class Name:", - "m_value": "" - }, { - "type": "string", - "m_label": "Include File:", - "m_value": "" - }, { - "type": "string", - "m_label": "Style:", - "m_value": "" - }], - "m_events": [], - "m_children": [{ "m_type": 4492, "proportion": 0, "border": 5, @@ -2910,7 +2768,7 @@ "m_properties": [{ "type": "winid", "m_label": "ID:", - "m_winid": "ID_RIBBON_DRAG" + "m_winid": "ID_RIBBON_FIT" }, { "type": "string", "m_label": "Size:", @@ -2922,11 +2780,11 @@ }, { "type": "string", "m_label": "Name:", - "m_value": "m_ribbonButtonDrag" + "m_value": "m_ribbonButtonFit" }, { "type": "multi-string", "m_label": "Tooltip:", - "m_value": "Drag" + "m_value": "Fit" }, { "type": "colour", "m_label": "Bg Colour:", @@ -2966,15 +2824,15 @@ }, { "type": "string", "m_label": "Label:", - "m_value": "Drag" + "m_value": "Fit" }, { "type": "bitmapPicker", "m_label": "Bitmap File:", - "m_path": "data/images/ribbon/drag32.png" + "m_path": "data/images/ribbon/fit32.png" }, { "type": "string", "m_label": "Help String:", - "m_value": "Drag all the elements" + "m_value": "Applies the drag and zoom tools to show all elements in workspace" }, { "type": "choice", "m_label": "Kind:", @@ -2985,7 +2843,7 @@ "m_eventName": "wxEVT_COMMAND_RIBBONBUTTON_CLICKED", "m_eventClass": "wxRibbonButtonBarEvent", "m_eventHandler": "wxRibbonButtonBarEventHandler", - "m_functionNameAndSignature": "OnDragClick(wxRibbonButtonBarEvent& event)", + "m_functionNameAndSignature": "OnFitClick(wxRibbonButtonBarEvent& event)", "m_description": "Triggered when the normal (non-dropdown) region of a button on the button bar is clicked.", "m_noBody": false }], @@ -3001,7 +2859,7 @@ "m_properties": [{ "type": "winid", "m_label": "ID:", - "m_winid": "ID_RIBBON_MOVE" + "m_winid": "ID_RIBBON_ROTATEC" }, { "type": "string", "m_label": "Size:", @@ -3013,11 +2871,11 @@ }, { "type": "string", "m_label": "Name:", - "m_value": "m_ribbonButtoMove" + "m_value": "m_ribbonButtonRotClock" }, { "type": "multi-string", "m_label": "Tooltip:", - "m_value": "Move" + "m_value": "Rotate clockwise" }, { "type": "colour", "m_label": "Bg Colour:", @@ -3057,15 +2915,15 @@ }, { "type": "string", "m_label": "Label:", - "m_value": "Move" + "m_value": "Rotate Clockwise" }, { "type": "bitmapPicker", "m_label": "Bitmap File:", - "m_path": "data/images/ribbon/move32.png" + "m_path": "data/images/ribbon/rotateClock32.png" }, { "type": "string", "m_label": "Help String:", - "m_value": "Move the selected elements" + "m_value": "Rotate clockwise" }, { "type": "choice", "m_label": "Kind:", @@ -3076,7 +2934,7 @@ "m_eventName": "wxEVT_COMMAND_RIBBONBUTTON_CLICKED", "m_eventClass": "wxRibbonButtonBarEvent", "m_eventHandler": "wxRibbonButtonBarEventHandler", - "m_functionNameAndSignature": "OnMoveClick(wxRibbonButtonBarEvent& event)", + "m_functionNameAndSignature": "OnRotClockClick(wxRibbonButtonBarEvent& event)", "m_description": "Triggered when the normal (non-dropdown) region of a button on the button bar is clicked.", "m_noBody": false }], @@ -3092,7 +2950,7 @@ "m_properties": [{ "type": "winid", "m_label": "ID:", - "m_winid": "ID_RIBBON_FIT" + "m_winid": "ID_RIBBON_ROTATECC" }, { "type": "string", "m_label": "Size:", @@ -3104,11 +2962,11 @@ }, { "type": "string", "m_label": "Name:", - "m_value": "m_ribbonButtonFit" + "m_value": "m_ribbonButtonRotCounterClock" }, { "type": "multi-string", "m_label": "Tooltip:", - "m_value": "Fit" + "m_value": "Rotate the selected elements counter-clockwise" }, { "type": "colour", "m_label": "Bg Colour:", @@ -3148,15 +3006,15 @@ }, { "type": "string", "m_label": "Label:", - "m_value": "Fit" + "m_value": "Rotate Counter-clockwise" }, { "type": "bitmapPicker", "m_label": "Bitmap File:", - "m_path": "data/images/ribbon/fit32.png" + "m_path": "data/images/ribbon/rotateCounterClock32.png" }, { "type": "string", "m_label": "Help String:", - "m_value": "Applies the drag and zoom tools to show all elements in workspace" + "m_value": "Rotate the selected elements counter-clockwise" }, { "type": "choice", "m_label": "Kind:", @@ -3167,7 +3025,7 @@ "m_eventName": "wxEVT_COMMAND_RIBBONBUTTON_CLICKED", "m_eventClass": "wxRibbonButtonBarEvent", "m_eventHandler": "wxRibbonButtonBarEventHandler", - "m_functionNameAndSignature": "OnFitClick(wxRibbonButtonBarEvent& event)", + "m_functionNameAndSignature": "OnRotCounterClockClick(wxRibbonButtonBarEvent& event)", "m_description": "Triggered when the normal (non-dropdown) region of a button on the button bar is clicked.", "m_noBody": false }], @@ -3183,7 +3041,7 @@ "m_properties": [{ "type": "winid", "m_label": "ID:", - "m_winid": "ID_RIBBON_DELETE" + "m_winid": "ID_RIBBON_PROJSETTINGS" }, { "type": "string", "m_label": "Size:", @@ -3195,11 +3053,11 @@ }, { "type": "string", "m_label": "Name:", - "m_value": "m_ribbonButtonDelete" + "m_value": "m_ribbonButtonProjSettings" }, { "type": "multi-string", "m_label": "Tooltip:", - "m_value": "" + "m_value": "Project Settings" }, { "type": "colour", "m_label": "Bg Colour:", @@ -3239,29 +3097,22 @@ }, { "type": "string", "m_label": "Label:", - "m_value": "Delete" + "m_value": "Project Settings" }, { "type": "bitmapPicker", "m_label": "Bitmap File:", - "m_path": "data/images/ribbon/delete32.png" + "m_path": "data/images/ribbon/settings32.png" }, { "type": "string", "m_label": "Help String:", - "m_value": "Removes all selected elements" + "m_value": "Opens a dialog to set the main settings of the current project" }, { "type": "choice", "m_label": "Kind:", "m_selection": 0, "m_options": ["wxRIBBON_BUTTON_NORMAL", "wxRIBBON_BUTTON_DROPDOWN", "wxRIBBON_BUTTON_HYBRID", "wxRIBBON_BUTTON_TOGGLE"] }], - "m_events": [{ - "m_eventName": "wxEVT_COMMAND_RIBBONBUTTON_CLICKED", - "m_eventClass": "wxRibbonButtonBarEvent", - "m_eventHandler": "wxRibbonButtonBarEventHandler", - "m_functionNameAndSignature": "OnDeleteClick(wxRibbonButtonBarEvent& event)", - "m_description": "Triggered when the normal (non-dropdown) region of a button on the button bar is clicked.", - "m_noBody": false - }], + "m_events": [], "m_children": [] }] }] @@ -3288,11 +3139,11 @@ }, { "type": "string", "m_label": "Name:", - "m_value": "m_ribbonPanelCalculations" + "m_value": "m_ribbonPanelReports" }, { "type": "multi-string", "m_label": "Tooltip:", - "m_value": "Calculations" + "m_value": "Reports" }, { "type": "colour", "m_label": "Bg Colour:", @@ -3332,7 +3183,7 @@ }, { "type": "string", "m_label": "Label:", - "m_value": "Calculations" + "m_value": "Reports" }, { "type": "bitmapPicker", "m_label": "Bitmap File:", @@ -3362,11 +3213,11 @@ }, { "type": "string", "m_label": "Name:", - "m_value": "m_ribbonButtonBarCalculations" + "m_value": "m_ribbonButtonBarReports" }, { "type": "multi-string", "m_label": "Tooltip:", - "m_value": "Calculations" + "m_value": "" }, { "type": "colour", "m_label": "Bg Colour:", @@ -3416,7 +3267,7 @@ "m_properties": [{ "type": "winid", "m_label": "ID:", - "m_winid": "ID_RIBBON_POWERFLOW" + "m_winid": "ID_RIBBON_DATAREPORT" }, { "type": "string", "m_label": "Size:", @@ -3428,11 +3279,11 @@ }, { "type": "string", "m_label": "Name:", - "m_value": "m_ribbonButtonPowerFlow" + "m_value": "m_ribbonButtonDataReport" }, { "type": "multi-string", "m_label": "Tooltip:", - "m_value": "Power flow" + "m_value": "Data Report" }, { "type": "colour", "m_label": "Bg Colour:", @@ -3472,15 +3323,15 @@ }, { "type": "string", "m_label": "Label:", - "m_value": "Power flow" + "m_value": "Data Report" }, { "type": "bitmapPicker", "m_label": "Bitmap File:", - "m_path": "data/images/ribbon/powerFLow32.png" + "m_path": "data/images/ribbon/dataReport32.png" }, { "type": "string", "m_label": "Help String:", - "m_value": "Calculate the circuit power flow" + "m_value": "Opens a data report" }, { "type": "choice", "m_label": "Kind:", @@ -3491,7 +3342,7 @@ "m_eventName": "wxEVT_COMMAND_RIBBONBUTTON_CLICKED", "m_eventClass": "wxRibbonButtonBarEvent", "m_eventHandler": "wxRibbonButtonBarEventHandler", - "m_functionNameAndSignature": "OnPowerFlowClick(wxRibbonButtonBarEvent& event)", + "m_functionNameAndSignature": "OnDataReportClick(wxRibbonButtonBarEvent& event)", "m_description": "Triggered when the normal (non-dropdown) region of a button on the button bar is clicked.", "m_noBody": false }], @@ -3507,7 +3358,7 @@ "m_properties": [{ "type": "winid", "m_label": "ID:", - "m_winid": "ID_RIBBON_FAULT" + "m_winid": "ID_RIBBON_CHARTS" }, { "type": "string", "m_label": "Size:", @@ -3519,11 +3370,11 @@ }, { "type": "string", "m_label": "Name:", - "m_value": "m_ribbonButtonFault" + "m_value": "m_ribbonButtonCharts" }, { "type": "multi-string", "m_label": "Tooltip:", - "m_value": "Fault" + "m_value": "Charts" }, { "type": "colour", "m_label": "Bg Colour:", @@ -3563,15 +3414,15 @@ }, { "type": "string", "m_label": "Label:", - "m_value": "Fault" + "m_value": "Charts" }, { "type": "bitmapPicker", "m_label": "Bitmap File:", - "m_path": "data/images/ribbon/fault32.png" + "m_path": "data/images/ribbon/chart32.png" }, { "type": "string", "m_label": "Help String:", - "m_value": "Calculate the circuit fault (if exists)" + "m_value": "Open the charts" }, { "type": "choice", "m_label": "Kind:", @@ -3582,7 +3433,7 @@ "m_eventName": "wxEVT_COMMAND_RIBBONBUTTON_CLICKED", "m_eventClass": "wxRibbonButtonBarEvent", "m_eventHandler": "wxRibbonButtonBarEventHandler", - "m_functionNameAndSignature": "OnFaultClick(wxRibbonButtonBarEvent& event)", + "m_functionNameAndSignature": "OnChartsClick(wxRibbonButtonBarEvent& event)", "m_description": "Triggered when the normal (non-dropdown) region of a button on the button bar is clicked.", "m_noBody": false }], @@ -3598,7 +3449,7 @@ "m_properties": [{ "type": "winid", "m_label": "ID:", - "m_winid": "ID_RIBBON_SCPOWER" + "m_winid": "ID_RIBBON_SNAPSHOT" }, { "type": "string", "m_label": "Size:", @@ -3610,11 +3461,11 @@ }, { "type": "string", "m_label": "Name:", - "m_value": "m_ribbonButtonSCPower" + "m_value": "m_ribbonButtonSnapshot" }, { "type": "multi-string", "m_label": "Tooltip:", - "m_value": "Short-circuit power" + "m_value": "Snapshot" }, { "type": "colour", "m_label": "Bg Colour:", @@ -3654,15 +3505,15 @@ }, { "type": "string", "m_label": "Label:", - "m_value": "Short-circuit power" + "m_value": "Snapshot" }, { "type": "bitmapPicker", "m_label": "Bitmap File:", - "m_path": "data/images/ribbon/faultPower32.png" + "m_path": "data/images/ribbon/snap32.png" }, { "type": "string", "m_label": "Help String:", - "m_value": "Calculate the short-circuit power in all buses" + "m_value": "Capture a snapshot of the circuit" }, { "type": "choice", "m_label": "Kind:", @@ -3673,20 +3524,99 @@ "m_eventName": "wxEVT_COMMAND_RIBBONBUTTON_CLICKED", "m_eventClass": "wxRibbonButtonBarEvent", "m_eventHandler": "wxRibbonButtonBarEventHandler", - "m_functionNameAndSignature": "OnSCPowerClick(wxRibbonButtonBarEvent& event)", + "m_functionNameAndSignature": "OnSnapshotClick(wxRibbonButtonBarEvent& event)", "m_description": "Triggered when the normal (non-dropdown) region of a button on the button bar is clicked.", "m_noBody": false }], "m_children": [] }] }] + }] + }, { + "m_type": 4489, + "proportion": 0, + "border": 5, + "gbSpan": "1,1", + "gbPosition": "0,0", + "m_styles": [], + "m_sizerFlags": ["wxALL", "wxLEFT", "wxRIGHT", "wxTOP", "wxBOTTOM"], + "m_properties": [{ + "type": "winid", + "m_label": "ID:", + "m_winid": "wxID_ANY" }, { + "type": "string", + "m_label": "Size:", + "m_value": "-1,-1" + }, { + "type": "string", + "m_label": "Minimum Size:", + "m_value": "-1,-1" + }, { + "type": "string", + "m_label": "Name:", + "m_value": "m_ribbonPageSimulation" + }, { + "type": "multi-string", + "m_label": "Tooltip:", + "m_value": "Simulation" + }, { + "type": "colour", + "m_label": "Bg Colour:", + "colour": "<Default>" + }, { + "type": "colour", + "m_label": "Fg Colour:", + "colour": "<Default>" + }, { + "type": "font", + "m_label": "Font:", + "m_value": "" + }, { + "type": "bool", + "m_label": "Hidden", + "m_value": false + }, { + "type": "bool", + "m_label": "Disabled", + "m_value": false + }, { + "type": "bool", + "m_label": "Focused", + "m_value": false + }, { + "type": "string", + "m_label": "Class Name:", + "m_value": "" + }, { + "type": "string", + "m_label": "Include File:", + "m_value": "" + }, { + "type": "string", + "m_label": "Style:", + "m_value": "" + }, { + "type": "bitmapPicker", + "m_label": "Bitmap File:", + "m_path": "" + }, { + "type": "string", + "m_label": "Label:", + "m_value": "Simulation" + }, { + "type": "bool", + "m_label": "Selected", + "m_value": false + }], + "m_events": [], + "m_children": [{ "m_type": 4490, "proportion": 0, "border": 5, "gbSpan": "1,1", "gbPosition": "0,0", - "m_styles": ["wxRIBBON_PANEL_NO_AUTO_MINIMISE", "wxRIBBON_PANEL_DEFAULT_STYLE"], + "m_styles": ["wxRIBBON_PANEL_DEFAULT_STYLE"], "m_sizerFlags": ["wxALL", "wxLEFT", "wxRIGHT", "wxTOP", "wxBOTTOM"], "m_properties": [{ "type": "winid", @@ -3703,11 +3633,11 @@ }, { "type": "string", "m_label": "Name:", - "m_value": "m_ribbonPanelReports" + "m_value": "m_ribbonPanelContinuous" }, { "type": "multi-string", "m_label": "Tooltip:", - "m_value": "Reports" + "m_value": "Continuous" }, { "type": "colour", "m_label": "Bg Colour:", @@ -3747,7 +3677,7 @@ }, { "type": "string", "m_label": "Label:", - "m_value": "Reports" + "m_value": "Continuous" }, { "type": "bitmapPicker", "m_label": "Bitmap File:", @@ -3777,7 +3707,7 @@ }, { "type": "string", "m_label": "Name:", - "m_value": "m_ribbonButtonBarReports" + "m_value": "m_ribbonButtonBarContinuous" }, { "type": "multi-string", "m_label": "Tooltip:", @@ -3821,7 +3751,7 @@ }], "m_events": [], "m_children": [{ - "m_type": 4492, + "m_type": 4495, "proportion": 0, "border": 5, "gbSpan": "1,1", @@ -3831,7 +3761,7 @@ "m_properties": [{ "type": "winid", "m_label": "ID:", - "m_winid": "ID_RIBBON_DATAREPORT" + "m_winid": "ID_RIBBON_ENABLESOL" }, { "type": "string", "m_label": "Size:", @@ -3843,11 +3773,11 @@ }, { "type": "string", "m_label": "Name:", - "m_value": "m_ribbonButtonDataReport" + "m_value": "m_ribbonButtonEnableSol" }, { "type": "multi-string", "m_label": "Tooltip:", - "m_value": "Data report" + "m_value": "Enable Solution" }, { "type": "colour", "m_label": "Bg Colour:", @@ -3887,26 +3817,117 @@ }, { "type": "string", "m_label": "Label:", - "m_value": "Data report" + "m_value": "Enable Solution" }, { "type": "bitmapPicker", "m_label": "Bitmap File:", - "m_path": "data/images/ribbon/dataReport32.png" + "m_path": "data/images/ribbon/playStopped32.png" }, { "type": "string", "m_label": "Help String:", - "m_value": "Opens a data report" + "m_value": "Enables the power flow and fault (if exists) calculations after any circuit change" }, { "type": "choice", "m_label": "Kind:", - "m_selection": 0, + "m_selection": 3, "m_options": ["wxRIBBON_BUTTON_NORMAL", "wxRIBBON_BUTTON_DROPDOWN", "wxRIBBON_BUTTON_HYBRID", "wxRIBBON_BUTTON_TOGGLE"] }], "m_events": [{ "m_eventName": "wxEVT_COMMAND_RIBBONBUTTON_CLICKED", "m_eventClass": "wxRibbonButtonBarEvent", "m_eventHandler": "wxRibbonButtonBarEventHandler", - "m_functionNameAndSignature": "OnDataReportClick(wxRibbonButtonBarEvent& event)", + "m_functionNameAndSignature": "OnEnableSolutionClick(wxRibbonButtonBarEvent& event)", + "m_description": "Triggered when the normal (non-dropdown) region of a button on the button bar is clicked.", + "m_noBody": false + }], + "m_children": [] + }, { + "m_type": 4495, + "proportion": 0, + "border": 5, + "gbSpan": "1,1", + "gbPosition": "0,0", + "m_styles": [], + "m_sizerFlags": ["wxALL", "wxLEFT", "wxRIGHT", "wxTOP", "wxBOTTOM"], + "m_properties": [{ + "type": "winid", + "m_label": "ID:", + "m_winid": "ID_RIBBON_DISABLESOL" + }, { + "type": "string", + "m_label": "Size:", + "m_value": "-1,-1" + }, { + "type": "string", + "m_label": "Minimum Size:", + "m_value": "-1,-1" + }, { + "type": "string", + "m_label": "Name:", + "m_value": "m_ribbonButtonDisableSol" + }, { + "type": "multi-string", + "m_label": "Tooltip:", + "m_value": "Disable Solution" + }, { + "type": "colour", + "m_label": "Bg Colour:", + "colour": "<Default>" + }, { + "type": "colour", + "m_label": "Fg Colour:", + "colour": "<Default>" + }, { + "type": "font", + "m_label": "Font:", + "m_value": "" + }, { + "type": "bool", + "m_label": "Hidden", + "m_value": false + }, { + "type": "bool", + "m_label": "Disabled", + "m_value": false + }, { + "type": "bool", + "m_label": "Focused", + "m_value": false + }, { + "type": "string", + "m_label": "Class Name:", + "m_value": "" + }, { + "type": "string", + "m_label": "Include File:", + "m_value": "" + }, { + "type": "string", + "m_label": "Style:", + "m_value": "" + }, { + "type": "string", + "m_label": "Label:", + "m_value": "Disable Solution" + }, { + "type": "bitmapPicker", + "m_label": "Bitmap File:", + "m_path": "data/images/ribbon/pauseStopped32.png" + }, { + "type": "string", + "m_label": "Help String:", + "m_value": "Disables the power flow and fault calculations after any circuit changes" + }, { + "type": "choice", + "m_label": "Kind:", + "m_selection": 3, + "m_options": ["wxRIBBON_BUTTON_NORMAL", "wxRIBBON_BUTTON_DROPDOWN", "wxRIBBON_BUTTON_HYBRID", "wxRIBBON_BUTTON_TOGGLE"] + }], + "m_events": [{ + "m_eventName": "wxEVT_COMMAND_RIBBONBUTTON_CLICKED", + "m_eventClass": "wxRibbonButtonBarEvent", + "m_eventHandler": "wxRibbonButtonBarEventHandler", + "m_functionNameAndSignature": "OnDisableSolutionClick(wxRibbonButtonBarEvent& event)", "m_description": "Triggered when the normal (non-dropdown) region of a button on the button bar is clicked.", "m_noBody": false }], @@ -3922,7 +3943,7 @@ "m_properties": [{ "type": "winid", "m_label": "ID:", - "m_winid": "ID_RIBBON_SNAPSHOT" + "m_winid": "ID_RIBBON_RESETVOLT" }, { "type": "string", "m_label": "Size:", @@ -3934,11 +3955,11 @@ }, { "type": "string", "m_label": "Name:", - "m_value": "m_ribbonButtonSnapshot" + "m_value": "m_ribbonButtonResetVoltages" }, { "type": "multi-string", "m_label": "Tooltip:", - "m_value": "Snapshot" + "m_value": "Reset Voltages" }, { "type": "colour", "m_label": "Bg Colour:", @@ -3978,15 +3999,15 @@ }, { "type": "string", "m_label": "Label:", - "m_value": "Snapshot" + "m_value": "Reset Voltages" }, { "type": "bitmapPicker", "m_label": "Bitmap File:", - "m_path": "data/images/ribbon/snap32.png" + "m_path": "data/images/ribbon/reset32.png" }, { "type": "string", "m_label": "Help String:", - "m_value": "Capture a snapshot of the circuit" + "m_value": "Reset all voltages to initial state" }, { "type": "choice", "m_label": "Kind:", @@ -3997,93 +4018,14 @@ "m_eventName": "wxEVT_COMMAND_RIBBONBUTTON_CLICKED", "m_eventClass": "wxRibbonButtonBarEvent", "m_eventHandler": "wxRibbonButtonBarEventHandler", - "m_functionNameAndSignature": "OnSnapshotClick(wxRibbonButtonBarEvent& event)", + "m_functionNameAndSignature": "OnResetVoltagesClick(wxRibbonButtonBarEvent& event)", "m_description": "Triggered when the normal (non-dropdown) region of a button on the button bar is clicked.", "m_noBody": false }], "m_children": [] }] }] - }] - }, { - "m_type": 4489, - "proportion": 0, - "border": 5, - "gbSpan": "1,1", - "gbPosition": "0,0", - "m_styles": [], - "m_sizerFlags": ["wxALL", "wxLEFT", "wxRIGHT", "wxTOP", "wxBOTTOM"], - "m_properties": [{ - "type": "winid", - "m_label": "ID:", - "m_winid": "wxID_ANY" }, { - "type": "string", - "m_label": "Size:", - "m_value": "-1,-1" - }, { - "type": "string", - "m_label": "Minimum Size:", - "m_value": "-1,-1" - }, { - "type": "string", - "m_label": "Name:", - "m_value": "m_ribbonPageStability" - }, { - "type": "multi-string", - "m_label": "Tooltip:", - "m_value": "Stability" - }, { - "type": "colour", - "m_label": "Bg Colour:", - "colour": "<Default>" - }, { - "type": "colour", - "m_label": "Fg Colour:", - "colour": "<Default>" - }, { - "type": "font", - "m_label": "Font:", - "m_value": "" - }, { - "type": "bool", - "m_label": "Hidden", - "m_value": false - }, { - "type": "bool", - "m_label": "Disabled", - "m_value": false - }, { - "type": "bool", - "m_label": "Focused", - "m_value": false - }, { - "type": "string", - "m_label": "Class Name:", - "m_value": "" - }, { - "type": "string", - "m_label": "Include File:", - "m_value": "" - }, { - "type": "string", - "m_label": "Style:", - "m_value": "" - }, { - "type": "bitmapPicker", - "m_label": "Bitmap File:", - "m_path": "" - }, { - "type": "string", - "m_label": "Label:", - "m_value": "Stability" - }, { - "type": "bool", - "m_label": "Selected", - "m_value": false - }], - "m_events": [], - "m_children": [{ "m_type": 4490, "proportion": 0, "border": 5, @@ -4106,11 +4048,11 @@ }, { "type": "string", "m_label": "Name:", - "m_value": "m_ribbonPanelStability" + "m_value": "m_ribbonPanelSimulations" }, { "type": "multi-string", "m_label": "Tooltip:", - "m_value": "Stability" + "m_value": "Simulations" }, { "type": "colour", "m_label": "Bg Colour:", @@ -4150,7 +4092,7 @@ }, { "type": "string", "m_label": "Label:", - "m_value": "Stability" + "m_value": "Simulations" }, { "type": "bitmapPicker", "m_label": "Bitmap File:", @@ -4180,11 +4122,11 @@ }, { "type": "string", "m_label": "Name:", - "m_value": "m_ribbonButtonBarStability" + "m_value": "m_ribbonButtonBarSimulations" }, { "type": "multi-string", "m_label": "Tooltip:", - "m_value": "Stability" + "m_value": "Simulations" }, { "type": "colour", "m_label": "Bg Colour:", @@ -4234,7 +4176,7 @@ "m_properties": [{ "type": "winid", "m_label": "ID:", - "m_winid": "ID_RIBBON_STABSETTINGS" + "m_winid": "ID_RIBBON_POWERFLOW" }, { "type": "string", "m_label": "Size:", @@ -4246,11 +4188,11 @@ }, { "type": "string", "m_label": "Name:", - "m_value": "m_ribbonButtonStabSettings" + "m_value": "m_ribbonButtonPowerFlow" }, { "type": "multi-string", "m_label": "Tooltip:", - "m_value": "Stability settings" + "m_value": "Power flow" }, { "type": "colour", "m_label": "Bg Colour:", @@ -4290,15 +4232,15 @@ }, { "type": "string", "m_label": "Label:", - "m_value": "Settings" + "m_value": "Power Flow" }, { "type": "bitmapPicker", "m_label": "Bitmap File:", - "m_path": "data/images/ribbon/settings32.png" + "m_path": "data/images/ribbon/powerFLow32.png" }, { "type": "string", "m_label": "Help String:", - "m_value": "Opens the stability settings" + "m_value": "Calculate the circuit power flow" }, { "type": "choice", "m_label": "Kind:", @@ -4309,7 +4251,7 @@ "m_eventName": "wxEVT_COMMAND_RIBBONBUTTON_CLICKED", "m_eventClass": "wxRibbonButtonBarEvent", "m_eventHandler": "wxRibbonButtonBarEventHandler", - "m_functionNameAndSignature": "OnStabilitySettingsClick(wxRibbonButtonBarEvent& event)", + "m_functionNameAndSignature": "OnPowerFlowClick(wxRibbonButtonBarEvent& event)", "m_description": "Triggered when the normal (non-dropdown) region of a button on the button bar is clicked.", "m_noBody": false }], @@ -4381,7 +4323,7 @@ }, { "type": "string", "m_label": "Label:", - "m_value": "Run" + "m_value": "Run Stability" }, { "type": "bitmapPicker", "m_label": "Bitmap File:", @@ -4405,149 +4347,98 @@ "m_noBody": false }], "m_children": [] - }] - }] - }, { - "m_type": 4490, - "proportion": 0, - "border": 5, - "gbSpan": "1,1", - "gbPosition": "0,0", - "m_styles": ["wxRIBBON_PANEL_NO_AUTO_MINIMISE", "wxRIBBON_PANEL_DEFAULT_STYLE"], - "m_sizerFlags": ["wxALL", "wxLEFT", "wxRIGHT", "wxTOP", "wxBOTTOM"], - "m_properties": [{ - "type": "winid", - "m_label": "ID:", - "m_winid": "wxID_ANY" - }, { - "type": "string", - "m_label": "Size:", - "m_value": "-1,-1" - }, { - "type": "string", - "m_label": "Minimum Size:", - "m_value": "-1,-1" - }, { - "type": "string", - "m_label": "Name:", - "m_value": "m_ribbonPanelData" - }, { - "type": "multi-string", - "m_label": "Tooltip:", - "m_value": "Data" - }, { - "type": "colour", - "m_label": "Bg Colour:", - "colour": "<Default>" - }, { - "type": "colour", - "m_label": "Fg Colour:", - "colour": "<Default>" - }, { - "type": "font", - "m_label": "Font:", - "m_value": "" - }, { - "type": "bool", - "m_label": "Hidden", - "m_value": false - }, { - "type": "bool", - "m_label": "Disabled", - "m_value": false - }, { - "type": "bool", - "m_label": "Focused", - "m_value": false - }, { - "type": "string", - "m_label": "Class Name:", - "m_value": "" - }, { - "type": "string", - "m_label": "Include File:", - "m_value": "" - }, { - "type": "string", - "m_label": "Style:", - "m_value": "" - }, { - "type": "string", - "m_label": "Label:", - "m_value": "Data" - }, { - "type": "bitmapPicker", - "m_label": "Bitmap File:", - "m_path": "" - }], - "m_events": [], - "m_children": [{ - "m_type": 4491, - "proportion": 0, - "border": 5, - "gbSpan": "1,1", - "gbPosition": "0,0", - "m_styles": [], - "m_sizerFlags": ["wxALL", "wxLEFT", "wxRIGHT", "wxTOP", "wxBOTTOM"], - "m_properties": [{ - "type": "winid", - "m_label": "ID:", - "m_winid": "wxID_ANY" - }, { - "type": "string", - "m_label": "Size:", - "m_value": "-1,-1" - }, { - "type": "string", - "m_label": "Minimum Size:", - "m_value": "-1,-1" - }, { - "type": "string", - "m_label": "Name:", - "m_value": "m_ribbonButtonBarStabData" }, { - "type": "multi-string", - "m_label": "Tooltip:", - "m_value": "Stability data" - }, { - "type": "colour", - "m_label": "Bg Colour:", - "colour": "<Default>" - }, { - "type": "colour", - "m_label": "Fg Colour:", - "colour": "<Default>" - }, { - "type": "font", - "m_label": "Font:", - "m_value": "" - }, { - "type": "bool", - "m_label": "Hidden", - "m_value": false - }, { - "type": "bool", - "m_label": "Disabled", - "m_value": false - }, { - "type": "bool", - "m_label": "Focused", - "m_value": false - }, { - "type": "string", - "m_label": "Class Name:", - "m_value": "" - }, { - "type": "string", - "m_label": "Include File:", - "m_value": "" + "m_type": 4492, + "proportion": 0, + "border": 5, + "gbSpan": "1,1", + "gbPosition": "0,0", + "m_styles": [], + "m_sizerFlags": ["wxALL", "wxLEFT", "wxRIGHT", "wxTOP", "wxBOTTOM"], + "m_properties": [{ + "type": "winid", + "m_label": "ID:", + "m_winid": "ID_RIBBON_FAULT" + }, { + "type": "string", + "m_label": "Size:", + "m_value": "-1,-1" + }, { + "type": "string", + "m_label": "Minimum Size:", + "m_value": "-1,-1" + }, { + "type": "string", + "m_label": "Name:", + "m_value": "m_ribbonButtonFault" + }, { + "type": "multi-string", + "m_label": "Tooltip:", + "m_value": "Fault" + }, { + "type": "colour", + "m_label": "Bg Colour:", + "colour": "<Default>" + }, { + "type": "colour", + "m_label": "Fg Colour:", + "colour": "<Default>" + }, { + "type": "font", + "m_label": "Font:", + "m_value": "" + }, { + "type": "bool", + "m_label": "Hidden", + "m_value": false + }, { + "type": "bool", + "m_label": "Disabled", + "m_value": false + }, { + "type": "bool", + "m_label": "Focused", + "m_value": false + }, { + "type": "string", + "m_label": "Class Name:", + "m_value": "" + }, { + "type": "string", + "m_label": "Include File:", + "m_value": "" + }, { + "type": "string", + "m_label": "Style:", + "m_value": "" + }, { + "type": "string", + "m_label": "Label:", + "m_value": "Fault" + }, { + "type": "bitmapPicker", + "m_label": "Bitmap File:", + "m_path": "data/images/ribbon/fault32.png" + }, { + "type": "string", + "m_label": "Help String:", + "m_value": "Calculate the circuit fault (if exists)" + }, { + "type": "choice", + "m_label": "Kind:", + "m_selection": 0, + "m_options": ["wxRIBBON_BUTTON_NORMAL", "wxRIBBON_BUTTON_DROPDOWN", "wxRIBBON_BUTTON_HYBRID", "wxRIBBON_BUTTON_TOGGLE"] + }], + "m_events": [{ + "m_eventName": "wxEVT_COMMAND_RIBBONBUTTON_CLICKED", + "m_eventClass": "wxRibbonButtonBarEvent", + "m_eventHandler": "wxRibbonButtonBarEventHandler", + "m_functionNameAndSignature": "OnFaultClick(wxRibbonButtonBarEvent& event)", + "m_description": "Triggered when the normal (non-dropdown) region of a button on the button bar is clicked.", + "m_noBody": false + }], + "m_children": [] }, { - "type": "string", - "m_label": "Style:", - "m_value": "" - }], - "m_events": [], - "m_children": [{ "m_type": 4492, "proportion": 0, "border": 5, @@ -4558,7 +4449,7 @@ "m_properties": [{ "type": "winid", "m_label": "ID:", - "m_winid": "ID_RIBBON_CHARTS" + "m_winid": "ID_RIBBON_SCPOWER" }, { "type": "string", "m_label": "Size:", @@ -4570,11 +4461,11 @@ }, { "type": "string", "m_label": "Name:", - "m_value": "m_ribbonButtonCharts" + "m_value": "m_ribbonButtonSCPower" }, { "type": "multi-string", "m_label": "Tooltip:", - "m_value": "Charts" + "m_value": "Short-circuit power" }, { "type": "colour", "m_label": "Bg Colour:", @@ -4614,15 +4505,15 @@ }, { "type": "string", "m_label": "Label:", - "m_value": "Charts" + "m_value": "Short-Circuit Power" }, { "type": "bitmapPicker", "m_label": "Bitmap File:", - "m_path": "data/images/ribbon/chart32.png" + "m_path": "data/images/ribbon/faultPower32.png" }, { "type": "string", "m_label": "Help String:", - "m_value": "Open the charts" + "m_value": "Calculate the short-circuit power in all buses" }, { "type": "choice", "m_label": "Kind:", @@ -4633,7 +4524,98 @@ "m_eventName": "wxEVT_COMMAND_RIBBONBUTTON_CLICKED", "m_eventClass": "wxRibbonButtonBarEvent", "m_eventHandler": "wxRibbonButtonBarEventHandler", - "m_functionNameAndSignature": "OnChartsClick(wxRibbonButtonBarEvent& event)", + "m_functionNameAndSignature": "OnSCPowerClick(wxRibbonButtonBarEvent& event)", + "m_description": "Triggered when the normal (non-dropdown) region of a button on the button bar is clicked.", + "m_noBody": false + }], + "m_children": [] + }, { + "m_type": 4492, + "proportion": 0, + "border": 5, + "gbSpan": "1,1", + "gbPosition": "0,0", + "m_styles": [], + "m_sizerFlags": ["wxALL", "wxLEFT", "wxRIGHT", "wxTOP", "wxBOTTOM"], + "m_properties": [{ + "type": "winid", + "m_label": "ID:", + "m_winid": "ID_RIBBON_SIMULSETTINGS" + }, { + "type": "string", + "m_label": "Size:", + "m_value": "-1,-1" + }, { + "type": "string", + "m_label": "Minimum Size:", + "m_value": "-1,-1" + }, { + "type": "string", + "m_label": "Name:", + "m_value": "m_ribbonButtonSimulSettings" + }, { + "type": "multi-string", + "m_label": "Tooltip:", + "m_value": "Simulation Settings" + }, { + "type": "colour", + "m_label": "Bg Colour:", + "colour": "<Default>" + }, { + "type": "colour", + "m_label": "Fg Colour:", + "colour": "<Default>" + }, { + "type": "font", + "m_label": "Font:", + "m_value": "" + }, { + "type": "bool", + "m_label": "Hidden", + "m_value": false + }, { + "type": "bool", + "m_label": "Disabled", + "m_value": true + }, { + "type": "bool", + "m_label": "Focused", + "m_value": false + }, { + "type": "string", + "m_label": "Class Name:", + "m_value": "" + }, { + "type": "string", + "m_label": "Include File:", + "m_value": "" + }, { + "type": "string", + "m_label": "Style:", + "m_value": "" + }, { + "type": "string", + "m_label": "Label:", + "m_value": "Simulation Settings" + }, { + "type": "bitmapPicker", + "m_label": "Bitmap File:", + "m_path": "data/images/ribbon/settings32.png" + }, { + "type": "string", + "m_label": "Help String:", + "m_value": "Opens a dialog to set the settings of the simulations" + }, { + "type": "choice", + "m_label": "Kind:", + "m_selection": 0, + "m_options": ["wxRIBBON_BUTTON_NORMAL", "wxRIBBON_BUTTON_DROPDOWN", "wxRIBBON_BUTTON_HYBRID", "wxRIBBON_BUTTON_TOGGLE"] + }], + "m_events": [{ + "m_eventName": "wxEVT_COMMAND_RIBBONBUTTON_CLICKED", + "m_eventClass": "wxRibbonButtonBarEvent", + "m_eventHandler": "wxRibbonButtonBarEventHandler", + "m_functionNameAndSignature": "OnProjectSettingsClick(wxRibbonButtonBarEvent& event)", "m_description": "Triggered when the normal (non-dropdown) region of a button on the button bar is clicked.", "m_noBody": false }], |