diff options
Diffstat (limited to 'Project/MainFrame.wxcp')
-rw-r--r-- | Project/MainFrame.wxcp | 1146 |
1 files changed, 473 insertions, 673 deletions
diff --git a/Project/MainFrame.wxcp b/Project/MainFrame.wxcp index 1b863dd..d905715 100644 --- a/Project/MainFrame.wxcp +++ b/Project/MainFrame.wxcp @@ -1,7 +1,7 @@ { "metadata": { "m_generatedFilesDir": ".", - "m_objCounter": 138, + "m_objCounter": 146, "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,11 +2752,186 @@ "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": 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_FIT" + }, { + "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_ribbonButtonFit" + }, { + "type": "multi-string", + "m_label": "Tooltip:", + "m_value": "Fit" + }, { + "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": "Fit" + }, { + "type": "bitmapPicker", + "m_label": "Bitmap File:", + "m_path": "data/images/ribbon/fit32.png" + }, { + "type": "string", + "m_label": "Help String:", + "m_value": "Applies the drag and zoom tools to show all elements in workspace" + }, { + "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": "OnFitClick(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_PROJSETTINGS" + }, { + "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": 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": "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_children": [] }] }] }, { @@ -2782,11 +2957,11 @@ }, { "type": "string", "m_label": "Name:", - "m_value": "m_ribbonPanelHandling" + "m_value": "m_ribbonPanelReports" }, { "type": "multi-string", "m_label": "Tooltip:", - "m_value": "Handling" + "m_value": "Reports" }, { "type": "colour", "m_label": "Bg Colour:", @@ -2826,7 +3001,7 @@ }, { "type": "string", "m_label": "Label:", - "m_value": "Handling" + "m_value": "Reports" }, { "type": "bitmapPicker", "m_label": "Bitmap File:", @@ -2856,11 +3031,11 @@ }, { "type": "string", "m_label": "Name:", - "m_value": "m_ribbonButtonBarHandling" + "m_value": "m_ribbonButtonBarReports" }, { "type": "multi-string", "m_label": "Tooltip:", - "m_value": "Handling" + "m_value": "" }, { "type": "colour", "m_label": "Bg Colour:", @@ -2910,98 +3085,7 @@ "m_properties": [{ "type": "winid", "m_label": "ID:", - "m_winid": "ID_RIBBON_DRAG" - }, { - "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_ribbonButtonDrag" - }, { - "type": "multi-string", - "m_label": "Tooltip:", - "m_value": "Drag" - }, { - "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": "Drag" - }, { - "type": "bitmapPicker", - "m_label": "Bitmap File:", - "m_path": "data/images/ribbon/drag32.png" - }, { - "type": "string", - "m_label": "Help String:", - "m_value": "Drag all the elements" - }, { - "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": "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": 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_MOVE" + "m_winid": "ID_RIBBON_DATAREPORT" }, { "type": "string", "m_label": "Size:", @@ -3013,11 +3097,11 @@ }, { "type": "string", "m_label": "Name:", - "m_value": "m_ribbonButtoMove" + "m_value": "m_ribbonButtonDataReport" }, { "type": "multi-string", "m_label": "Tooltip:", - "m_value": "Move" + "m_value": "Data Report" }, { "type": "colour", "m_label": "Bg Colour:", @@ -3057,15 +3141,15 @@ }, { "type": "string", "m_label": "Label:", - "m_value": "Move" + "m_value": "Data Report" }, { "type": "bitmapPicker", "m_label": "Bitmap File:", - "m_path": "data/images/ribbon/move32.png" + "m_path": "data/images/ribbon/dataReport32.png" }, { "type": "string", "m_label": "Help String:", - "m_value": "Move the selected elements" + "m_value": "Opens a data report" }, { "type": "choice", "m_label": "Kind:", @@ -3076,7 +3160,7 @@ "m_eventName": "wxEVT_COMMAND_RIBBONBUTTON_CLICKED", "m_eventClass": "wxRibbonButtonBarEvent", "m_eventHandler": "wxRibbonButtonBarEventHandler", - "m_functionNameAndSignature": "OnMoveClick(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 }], @@ -3092,7 +3176,7 @@ "m_properties": [{ "type": "winid", "m_label": "ID:", - "m_winid": "ID_RIBBON_FIT" + "m_winid": "ID_RIBBON_CHARTS" }, { "type": "string", "m_label": "Size:", @@ -3104,11 +3188,11 @@ }, { "type": "string", "m_label": "Name:", - "m_value": "m_ribbonButtonFit" + "m_value": "m_ribbonButtonCharts" }, { "type": "multi-string", "m_label": "Tooltip:", - "m_value": "Fit" + "m_value": "Charts" }, { "type": "colour", "m_label": "Bg Colour:", @@ -3148,15 +3232,15 @@ }, { "type": "string", "m_label": "Label:", - "m_value": "Fit" + "m_value": "Charts" }, { "type": "bitmapPicker", "m_label": "Bitmap File:", - "m_path": "data/images/ribbon/fit32.png" + "m_path": "data/images/ribbon/chart32.png" }, { "type": "string", "m_label": "Help String:", - "m_value": "Applies the drag and zoom tools to show all elements in workspace" + "m_value": "Open the charts" }, { "type": "choice", "m_label": "Kind:", @@ -3167,7 +3251,7 @@ "m_eventName": "wxEVT_COMMAND_RIBBONBUTTON_CLICKED", "m_eventClass": "wxRibbonButtonBarEvent", "m_eventHandler": "wxRibbonButtonBarEventHandler", - "m_functionNameAndSignature": "OnFitClick(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 }], @@ -3183,7 +3267,7 @@ "m_properties": [{ "type": "winid", "m_label": "ID:", - "m_winid": "ID_RIBBON_DELETE" + "m_winid": "ID_RIBBON_SNAPSHOT" }, { "type": "string", "m_label": "Size:", @@ -3195,11 +3279,11 @@ }, { "type": "string", "m_label": "Name:", - "m_value": "m_ribbonButtonDelete" + "m_value": "m_ribbonButtonSnapshot" }, { "type": "multi-string", "m_label": "Tooltip:", - "m_value": "" + "m_value": "Snapshot" }, { "type": "colour", "m_label": "Bg Colour:", @@ -3239,15 +3323,15 @@ }, { "type": "string", "m_label": "Label:", - "m_value": "Delete" + "m_value": "Snapshot" }, { "type": "bitmapPicker", "m_label": "Bitmap File:", - "m_path": "data/images/ribbon/delete32.png" + "m_path": "data/images/ribbon/snap32.png" }, { "type": "string", "m_label": "Help String:", - "m_value": "Removes all selected elements" + "m_value": "Capture a snapshot of the circuit" }, { "type": "choice", "m_label": "Kind:", @@ -3258,20 +3342,99 @@ "m_eventName": "wxEVT_COMMAND_RIBBONBUTTON_CLICKED", "m_eventClass": "wxRibbonButtonBarEvent", "m_eventHandler": "wxRibbonButtonBarEventHandler", - "m_functionNameAndSignature": "OnDeleteClick(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", @@ -3288,11 +3451,11 @@ }, { "type": "string", "m_label": "Name:", - "m_value": "m_ribbonPanelCalculations" + "m_value": "m_ribbonPanelContinuous" }, { "type": "multi-string", "m_label": "Tooltip:", - "m_value": "Calculations" + "m_value": "Continuous" }, { "type": "colour", "m_label": "Bg Colour:", @@ -3332,7 +3495,7 @@ }, { "type": "string", "m_label": "Label:", - "m_value": "Calculations" + "m_value": "Continuous" }, { "type": "bitmapPicker", "m_label": "Bitmap File:", @@ -3362,11 +3525,11 @@ }, { "type": "string", "m_label": "Name:", - "m_value": "m_ribbonButtonBarCalculations" + "m_value": "m_ribbonButtonBarContinuous" }, { "type": "multi-string", "m_label": "Tooltip:", - "m_value": "Calculations" + "m_value": "" }, { "type": "colour", "m_label": "Bg Colour:", @@ -3406,7 +3569,7 @@ }], "m_events": [], "m_children": [{ - "m_type": 4492, + "m_type": 4495, "proportion": 0, "border": 5, "gbSpan": "1,1", @@ -3416,7 +3579,7 @@ "m_properties": [{ "type": "winid", "m_label": "ID:", - "m_winid": "ID_RIBBON_POWERFLOW" + "m_winid": "ID_RIBBON_ENABLESOL" }, { "type": "string", "m_label": "Size:", @@ -3428,11 +3591,11 @@ }, { "type": "string", "m_label": "Name:", - "m_value": "m_ribbonButtonPowerFlow" + "m_value": "m_ribbonButtonEnableSol" }, { "type": "multi-string", "m_label": "Tooltip:", - "m_value": "Power flow" + "m_value": "Enable Solution" }, { "type": "colour", "m_label": "Bg Colour:", @@ -3472,32 +3635,32 @@ }, { "type": "string", "m_label": "Label:", - "m_value": "Power flow" + "m_value": "Enable Solution" }, { "type": "bitmapPicker", "m_label": "Bitmap File:", - "m_path": "data/images/ribbon/powerFLow32.png" + "m_path": "data/images/ribbon/playStopped32.png" }, { "type": "string", "m_label": "Help String:", - "m_value": "Calculate the circuit power flow" + "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": "OnPowerFlowClick(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": 4492, + "m_type": 4495, "proportion": 0, "border": 5, "gbSpan": "1,1", @@ -3507,7 +3670,7 @@ "m_properties": [{ "type": "winid", "m_label": "ID:", - "m_winid": "ID_RIBBON_FAULT" + "m_winid": "ID_RIBBON_DISABLESOL" }, { "type": "string", "m_label": "Size:", @@ -3519,11 +3682,11 @@ }, { "type": "string", "m_label": "Name:", - "m_value": "m_ribbonButtonFault" + "m_value": "m_ribbonButtonDisableSol" }, { "type": "multi-string", "m_label": "Tooltip:", - "m_value": "Fault" + "m_value": "Disable Solution" }, { "type": "colour", "m_label": "Bg Colour:", @@ -3563,26 +3726,26 @@ }, { "type": "string", "m_label": "Label:", - "m_value": "Fault" + "m_value": "Disable Solution" }, { "type": "bitmapPicker", "m_label": "Bitmap File:", - "m_path": "data/images/ribbon/fault32.png" + "m_path": "data/images/ribbon/pauseStopped32.png" }, { "type": "string", "m_label": "Help String:", - "m_value": "Calculate the circuit fault (if exists)" + "m_value": "Disables the power flow and fault calculations after any circuit changes" }, { "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": "OnFaultClick(wxRibbonButtonBarEvent& event)", + "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 }], @@ -3598,7 +3761,7 @@ "m_properties": [{ "type": "winid", "m_label": "ID:", - "m_winid": "ID_RIBBON_SCPOWER" + "m_winid": "ID_RIBBON_RESETVOLT" }, { "type": "string", "m_label": "Size:", @@ -3610,11 +3773,11 @@ }, { "type": "string", "m_label": "Name:", - "m_value": "m_ribbonButtonSCPower" + "m_value": "m_ribbonButtonResetVoltages" }, { "type": "multi-string", "m_label": "Tooltip:", - "m_value": "Short-circuit power" + "m_value": "Reset Voltages" }, { "type": "colour", "m_label": "Bg Colour:", @@ -3654,15 +3817,15 @@ }, { "type": "string", "m_label": "Label:", - "m_value": "Short-circuit power" + "m_value": "Reset Voltages" }, { "type": "bitmapPicker", "m_label": "Bitmap File:", - "m_path": "data/images/ribbon/faultPower32.png" + "m_path": "data/images/ribbon/reset32.png" }, { "type": "string", "m_label": "Help String:", - "m_value": "Calculate the short-circuit power in all buses" + "m_value": "Reset all voltages to initial state" }, { "type": "choice", "m_label": "Kind:", @@ -3673,7 +3836,7 @@ "m_eventName": "wxEVT_COMMAND_RIBBONBUTTON_CLICKED", "m_eventClass": "wxRibbonButtonBarEvent", "m_eventHandler": "wxRibbonButtonBarEventHandler", - "m_functionNameAndSignature": "OnSCPowerClick(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 }], @@ -3703,11 +3866,11 @@ }, { "type": "string", "m_label": "Name:", - "m_value": "m_ribbonPanelReports" + "m_value": "m_ribbonPanelSimulations" }, { "type": "multi-string", "m_label": "Tooltip:", - "m_value": "Reports" + "m_value": "Simulations" }, { "type": "colour", "m_label": "Bg Colour:", @@ -3747,7 +3910,7 @@ }, { "type": "string", "m_label": "Label:", - "m_value": "Reports" + "m_value": "Simulations" }, { "type": "bitmapPicker", "m_label": "Bitmap File:", @@ -3777,11 +3940,11 @@ }, { "type": "string", "m_label": "Name:", - "m_value": "m_ribbonButtonBarReports" + "m_value": "m_ribbonButtonBarSimulations" }, { "type": "multi-string", "m_label": "Tooltip:", - "m_value": "" + "m_value": "Simulations" }, { "type": "colour", "m_label": "Bg Colour:", @@ -3831,7 +3994,7 @@ "m_properties": [{ "type": "winid", "m_label": "ID:", - "m_winid": "ID_RIBBON_DATAREPORT" + "m_winid": "ID_RIBBON_POWERFLOW" }, { "type": "string", "m_label": "Size:", @@ -3843,11 +4006,11 @@ }, { "type": "string", "m_label": "Name:", - "m_value": "m_ribbonButtonDataReport" + "m_value": "m_ribbonButtonPowerFlow" }, { "type": "multi-string", "m_label": "Tooltip:", - "m_value": "Data report" + "m_value": "Power flow" }, { "type": "colour", "m_label": "Bg Colour:", @@ -3887,15 +4050,15 @@ }, { "type": "string", "m_label": "Label:", - "m_value": "Data report" + "m_value": "Power Flow" }, { "type": "bitmapPicker", "m_label": "Bitmap File:", - "m_path": "data/images/ribbon/dataReport32.png" + "m_path": "data/images/ribbon/powerFLow32.png" }, { "type": "string", "m_label": "Help String:", - "m_value": "Opens a data report" + "m_value": "Calculate the circuit power flow" }, { "type": "choice", "m_label": "Kind:", @@ -3906,7 +4069,7 @@ "m_eventName": "wxEVT_COMMAND_RIBBONBUTTON_CLICKED", "m_eventClass": "wxRibbonButtonBarEvent", "m_eventHandler": "wxRibbonButtonBarEventHandler", - "m_functionNameAndSignature": "OnDataReportClick(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 }], @@ -3922,7 +4085,7 @@ "m_properties": [{ "type": "winid", "m_label": "ID:", - "m_winid": "ID_RIBBON_SNAPSHOT" + "m_winid": "ID_RIBBON_RUNSTAB" }, { "type": "string", "m_label": "Size:", @@ -3934,11 +4097,11 @@ }, { "type": "string", "m_label": "Name:", - "m_value": "m_ribbonButtonSnapshot" + "m_value": "m_ribbonButtonStabRun" }, { "type": "multi-string", "m_label": "Tooltip:", - "m_value": "Snapshot" + "m_value": "Run stability" }, { "type": "colour", "m_label": "Bg Colour:", @@ -3978,15 +4141,15 @@ }, { "type": "string", "m_label": "Label:", - "m_value": "Snapshot" + "m_value": "Run Stability" }, { "type": "bitmapPicker", "m_label": "Bitmap File:", - "m_path": "data/images/ribbon/snap32.png" + "m_path": "data/images/ribbon/playStopped32.png" }, { "type": "string", "m_label": "Help String:", - "m_value": "Capture a snapshot of the circuit" + "m_value": "Run the stability calculations" }, { "type": "choice", "m_label": "Kind:", @@ -3997,233 +4160,12 @@ "m_eventName": "wxEVT_COMMAND_RIBBONBUTTON_CLICKED", "m_eventClass": "wxRibbonButtonBarEvent", "m_eventHandler": "wxRibbonButtonBarEventHandler", - "m_functionNameAndSignature": "OnSnapshotClick(wxRibbonButtonBarEvent& event)", + "m_functionNameAndSignature": "OnRunStabilityClick(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, - "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_ribbonPanelStability" - }, { - "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": "string", - "m_label": "Label:", - "m_value": "Stability" - }, { - "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_ribbonButtonBarStability" - }, { - "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": "" - }], - "m_events": [], - "m_children": [{ "m_type": 4492, "proportion": 0, "border": 5, @@ -4234,7 +4176,7 @@ "m_properties": [{ "type": "winid", "m_label": "ID:", - "m_winid": "ID_RIBBON_STABSETTINGS" + "m_winid": "ID_RIBBON_FAULT" }, { "type": "string", "m_label": "Size:", @@ -4246,11 +4188,11 @@ }, { "type": "string", "m_label": "Name:", - "m_value": "m_ribbonButtonStabSettings" + "m_value": "m_ribbonButtonFault" }, { "type": "multi-string", "m_label": "Tooltip:", - "m_value": "Stability settings" + "m_value": "Fault" }, { "type": "colour", "m_label": "Bg Colour:", @@ -4290,15 +4232,15 @@ }, { "type": "string", "m_label": "Label:", - "m_value": "Settings" + "m_value": "Fault" }, { "type": "bitmapPicker", "m_label": "Bitmap File:", - "m_path": "data/images/ribbon/settings32.png" + "m_path": "data/images/ribbon/fault32.png" }, { "type": "string", "m_label": "Help String:", - "m_value": "Opens the stability settings" + "m_value": "Calculate the circuit fault (if exists)" }, { "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": "OnFaultClick(wxRibbonButtonBarEvent& event)", "m_description": "Triggered when the normal (non-dropdown) region of a button on the button bar is clicked.", "m_noBody": false }], @@ -4325,7 +4267,7 @@ "m_properties": [{ "type": "winid", "m_label": "ID:", - "m_winid": "ID_RIBBON_RUNSTAB" + "m_winid": "ID_RIBBON_SCPOWER" }, { "type": "string", "m_label": "Size:", @@ -4337,11 +4279,11 @@ }, { "type": "string", "m_label": "Name:", - "m_value": "m_ribbonButtonStabRun" + "m_value": "m_ribbonButtonSCPower" }, { "type": "multi-string", "m_label": "Tooltip:", - "m_value": "Run stability" + "m_value": "Short-circuit power" }, { "type": "colour", "m_label": "Bg Colour:", @@ -4381,15 +4323,15 @@ }, { "type": "string", "m_label": "Label:", - "m_value": "Run" + "m_value": "Short-Circuit Power" }, { "type": "bitmapPicker", "m_label": "Bitmap File:", - "m_path": "data/images/ribbon/playStopped32.png" + "m_path": "data/images/ribbon/faultPower32.png" }, { "type": "string", "m_label": "Help String:", - "m_value": "Run the stability calculations" + "m_value": "Calculate the short-circuit power in all buses" }, { "type": "choice", "m_label": "Kind:", @@ -4400,154 +4342,12 @@ "m_eventName": "wxEVT_COMMAND_RIBBONBUTTON_CLICKED", "m_eventClass": "wxRibbonButtonBarEvent", "m_eventHandler": "wxRibbonButtonBarEventHandler", - "m_functionNameAndSignature": "OnRunStabilityClick(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": 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": "" - }, { - "type": "string", - "m_label": "Style:", - "m_value": "" - }], - "m_events": [], - "m_children": [{ "m_type": 4492, "proportion": 0, "border": 5, @@ -4558,7 +4358,7 @@ "m_properties": [{ "type": "winid", "m_label": "ID:", - "m_winid": "ID_RIBBON_CHARTS" + "m_winid": "ID_RIBBON_SIMULSETTINGS" }, { "type": "string", "m_label": "Size:", @@ -4570,11 +4370,11 @@ }, { "type": "string", "m_label": "Name:", - "m_value": "m_ribbonButtonCharts" + "m_value": "m_ribbonButtonSimulSettings" }, { "type": "multi-string", "m_label": "Tooltip:", - "m_value": "Charts" + "m_value": "Simulation Settings" }, { "type": "colour", "m_label": "Bg Colour:", @@ -4594,7 +4394,7 @@ }, { "type": "bool", "m_label": "Disabled", - "m_value": false + "m_value": true }, { "type": "bool", "m_label": "Focused", @@ -4614,15 +4414,15 @@ }, { "type": "string", "m_label": "Label:", - "m_value": "Charts" + "m_value": "Simulation Settings" }, { "type": "bitmapPicker", "m_label": "Bitmap File:", - "m_path": "data/images/ribbon/chart32.png" + "m_path": "data/images/ribbon/settings32.png" }, { "type": "string", "m_label": "Help String:", - "m_value": "Open the charts" + "m_value": "Opens a dialog to set the settings of the simulations" }, { "type": "choice", "m_label": "Kind:", @@ -4633,7 +4433,7 @@ "m_eventName": "wxEVT_COMMAND_RIBBONBUTTON_CLICKED", "m_eventClass": "wxRibbonButtonBarEvent", "m_eventHandler": "wxRibbonButtonBarEventHandler", - "m_functionNameAndSignature": "OnChartsClick(wxRibbonButtonBarEvent& event)", + "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 }], |