GridCal 5.0.8__tar.gz → 5.0.9__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/ExecuteGridCal.py +46 -46
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/AboutDialogue/about_dialogue.py +120 -120
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/AboutDialogue/gui.py +148 -148
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/AboutDialogue/icons_rc.py +325 -325
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/AboutDialogue/update_gui_file.py +9 -9
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Analysis/AnalysisDialogue.py +137 -137
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Analysis/gui.py +378 -378
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Analysis/icons_rc.py +847 -847
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Analysis/object_plot_analysis.py +1003 -1003
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Analysis/update_gui_file.py +21 -21
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/BusViewer/bus_viewer_dialogue.py +298 -298
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/BusViewer/gui.py +140 -140
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/BusViewer/icons_rc.py +828 -828
- {GridCal-5.0.8/GridCal/Gui/CoordinatesInput → GridCal-5.0.9/GridCal/Gui/BusViewer}/update_gui_file.py +8 -8
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/CascadingSteps/cascading_steps.py +138 -138
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/CascadingSteps/gui.py +127 -127
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/CascadingSteps/update_gui_file.py +8 -8
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/ConsoleWidget.py +120 -120
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/ContingencyPlanner/contingency_planner_dialogue.py +123 -123
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/ContingencyPlanner/gui.py +226 -226
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/ContingencyPlanner/icons_rc.py +416 -416
- {GridCal-5.0.8/GridCal/Gui/BusViewer → GridCal-5.0.9/GridCal/Gui/ContingencyPlanner}/update_gui_file.py +8 -8
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/CoordinatesInput/coordinates_dialogue.py +447 -447
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/CoordinatesInput/gui.py +222 -222
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/CoordinatesInput/icons_rc.py +1553 -1553
- {GridCal-5.0.8/GridCal/Gui/ContingencyPlanner → GridCal-5.0.9/GridCal/Gui/CoordinatesInput}/update_gui_file.py +8 -8
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/GeneralDialogues.py +746 -746
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/GridEditorWidget/Branches/dc_line_graphics.py +345 -345
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/GridEditorWidget/Branches/hvdc_graphics.py +111 -111
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/GridEditorWidget/Branches/line_editor.py +253 -253
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/GridEditorWidget/Branches/line_graphics.py +372 -372
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/GridEditorWidget/Branches/line_graphics_template.py +876 -876
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/GridEditorWidget/Branches/switch_graphics.py +105 -105
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/GridEditorWidget/Branches/transformer2w_graphics.py +237 -237
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/GridEditorWidget/Branches/transformer3w_graphics.py +421 -421
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/GridEditorWidget/Branches/transformer_editor.py +306 -306
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/GridEditorWidget/Branches/upfc_graphics.py +106 -106
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/GridEditorWidget/Branches/vsc_graphics.py +118 -118
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/GridEditorWidget/Branches/winding_graphics.py +124 -124
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/GridEditorWidget/Injections/battery_graphics.py +200 -200
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/GridEditorWidget/Injections/external_grid_graphics.py +202 -202
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/GridEditorWidget/Injections/generator_graphics.py +587 -587
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/GridEditorWidget/Injections/injections_template_graphics.py +168 -168
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/GridEditorWidget/Injections/load_graphics.py +190 -190
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/GridEditorWidget/Injections/shunt_graphics.py +222 -222
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/GridEditorWidget/Injections/static_generator_graphics.py +199 -199
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/GridEditorWidget/__init__.py +17 -17
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/GridEditorWidget/bus_branch_editor_widget.py +2783 -2783
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/GridEditorWidget/generic_graphics.py +97 -97
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/GridEditorWidget/matplotlibwidget.py +252 -252
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/GridEditorWidget/substation/bus_graphics.py +778 -778
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/GridEditorWidget/terminal_item.py +178 -178
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/GridGenerator/grid_generator_dialogue.py +177 -177
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/GridGenerator/gui.py +337 -337
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/GridGenerator/icons_rc.py +415 -415
- GridCal-5.0.9/GridCal/Gui/GridGenerator/update_gui_file.py +9 -0
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/GuiFunctions.py +2195 -2195
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/LoadDesigner/gui.py +289 -289
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/LoadDesigner/icons_rc.py +1488 -1488
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/LoadDesigner/load_designer.py +145 -145
- GridCal-5.0.9/GridCal/Gui/LoadDesigner/update_gui_file.py +9 -0
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Main/ConsoleLog.py +113 -113
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Main/ConsoleLogController.py +46 -46
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Main/GridCalMain.py +149 -143
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Main/MainWindow.py +5166 -5166
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Main/SubClasses/Model/compiled_arrays.py +159 -159
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Main/SubClasses/Model/diagrams.py +1448 -1448
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Main/SubClasses/Model/objects.py +925 -925
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Main/SubClasses/Model/time_events.py +514 -514
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Main/SubClasses/README.txt +17 -17
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Main/SubClasses/Results/results.py +313 -313
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Main/SubClasses/Scripting/python_highlighter.py +92 -92
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Main/SubClasses/Scripting/scripting.py +149 -149
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Main/SubClasses/Settings/configuration.py +321 -321
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Main/SubClasses/base_gui.py +761 -761
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Main/SubClasses/io.py +845 -845
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Main/SubClasses/simulations.py +2703 -2702
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Main/icons_rc.py +26623 -26623
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Main/object_select_window.py +68 -68
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Main/update_gui_file.py +20 -20
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/MapWidget/Layers/image_layer.py +126 -126
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/MapWidget/Layers/layer_types.py +9 -9
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/MapWidget/Layers/place.py +17 -17
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/MapWidget/Layers/point_layer.py +117 -117
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/MapWidget/Layers/polygon_layer.py +123 -123
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/MapWidget/Layers/polyline_layer.py +114 -114
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/MapWidget/Layers/text_layer.py +129 -129
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/MapWidget/TileProviders/blue_marble.py +69 -69
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/MapWidget/TileProviders/cartodb.py +74 -74
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/MapWidget/TileProviders/gmt_local.py +131 -131
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/MapWidget/TileProviders/mapbox.py +67 -67
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/MapWidget/TileProviders/mapquest.py +70 -70
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/MapWidget/TileProviders/open_street_map.py +73 -73
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/MapWidget/TileProviders/stamen_toner.py +68 -68
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/MapWidget/TileProviders/stamen_transport.py +71 -71
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/MapWidget/TileProviders/stamen_watercolor.py +69 -69
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/MapWidget/Tiles/base_tiles.py +191 -191
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/MapWidget/Tiles/default_tile_data.py +439 -439
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/MapWidget/Tiles/pycacheback.py +115 -115
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/MapWidget/Tiles/tile_worker.py +91 -91
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/MapWidget/Tiles/tiles.py +367 -367
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/MapWidget/Tiles/tiles_cache.py +86 -86
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/MapWidget/grid_map_widget.py +329 -329
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/MapWidget/logger.py +4 -4
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/MapWidget/map_events.py +106 -106
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/MapWidget/map_widget.py +3825 -3825
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/MapWidget/node_widget.py +161 -161
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/ProfilesInput/excel_dialog.py +40 -40
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/ProfilesInput/excel_sheet_selection.py +55 -55
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/ProfilesInput/icons_rc.py +1857 -1857
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/ProfilesInput/models_dialogue.py +363 -363
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/ProfilesInput/profile_dialogue.py +694 -694
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/ProfilesInput/profiles_from_data.py +10 -10
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/ProfilesInput/profiles_from_data_gui.py +354 -354
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/ProfilesInput/profiles_from_models_gui.py +126 -126
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/ProfilesInput/update_gui_file.py +9 -9
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/RosetaExplorer/ConsoleWidget.py +69 -69
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/RosetaExplorer/MainWindow.py +507 -507
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/RosetaExplorer/RosetaExplorer.py +552 -552
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/RosetaExplorer/icons_rc.py +9670 -9670
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/RosetaExplorer/update_gui_file.py +20 -20
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Session/export_results_driver.py +116 -116
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Session/file_handler.py +217 -217
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Session/results_model.py +297 -297
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Session/session.py +485 -485
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Session/synchronization_driver.py +422 -422
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/SigmaAnalysis/gui.py +106 -106
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/SigmaAnalysis/icons_rc.py +1677 -1677
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/SigmaAnalysis/sigma_analysis_dialogue.py +96 -96
- GridCal-5.0.9/GridCal/Gui/SigmaAnalysis/update_gui_file.py +9 -0
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/SolarPowerWizard/gui.py +181 -181
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/SolarPowerWizard/icons_rc.py +950 -950
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/SolarPowerWizard/solar_power_wizzard.py +185 -185
- GridCal-5.0.9/GridCal/Gui/SolarPowerWizard/update_gui_file.py +9 -0
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/SyncDialogue/gui.py +108 -108
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/SyncDialogue/icons_rc.py +690 -690
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/SyncDialogue/sync_dialogue.py +117 -117
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/SyncDialogue/update_gui_file.py +9 -9
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/TowerBuilder/LineBuilderDialogue.py +290 -290
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/TowerBuilder/gui.py +369 -369
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/TowerBuilder/icons_rc.py +906 -906
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/TowerBuilder/table_models.py +396 -396
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/TowerBuilder/test_.py +164 -164
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/TowerBuilder/update_gui_file.py +9 -9
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/TreeModelViewer/MainWindow.py +98 -98
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/TreeModelViewer/TreeModelViewer.py +265 -265
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/TreeModelViewer/icons_rc.py +9624 -9624
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/TreeModelViewer/update_gui_file.py +20 -20
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Visualization/palettes.py +464 -464
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Visualization/visualization.py +95 -95
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Widgets/custom_qrangeslider.py +1322 -1322
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Widgets/matplotlibwidget.py +244 -244
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/WindPowerWizard/gui.py +179 -179
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/WindPowerWizard/icons_rc.py +493 -493
- GridCal-5.0.9/GridCal/Gui/WindPowerWizard/update_gui_file.py +9 -0
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/WindPowerWizard/wind_power_wizzard.py +106 -106
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/messages.py +75 -75
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/plot_config.py +45 -45
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/themes.py +69 -69
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/update_gui_all.py +45 -45
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/update_gui_common.py +120 -120
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/LICENSE.txt +230 -230
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/__init__.py +14 -14
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/__version__.py +54 -54
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/data/cables.csv +462 -462
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/data/sequence_lines.csv +4 -4
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/data/transformers.csv +788 -788
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/data/wires.csv +100 -100
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/templates.py +156 -156
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/update.py +95 -95
- {GridCal-5.0.8 → GridCal-5.0.9}/PKG-INFO +29 -29
- {GridCal-5.0.8 → GridCal-5.0.9}/setup.cfg +3 -3
- {GridCal-5.0.8 → GridCal-5.0.9}/setup.py +144 -144
- GridCal-5.0.8/GridCal/Gui/GridGenerator/update_gui_file.py +0 -9
- GridCal-5.0.8/GridCal/Gui/LoadDesigner/update_gui_file.py +0 -9
- GridCal-5.0.8/GridCal/Gui/SigmaAnalysis/update_gui_file.py +0 -9
- GridCal-5.0.8/GridCal/Gui/SolarPowerWizard/update_gui_file.py +0 -9
- GridCal-5.0.8/GridCal/Gui/WindPowerWizard/update_gui_file.py +0 -9
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/AboutDialogue/__init__.py +0 -0
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Analysis/__init__.py +0 -0
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/BusViewer/__init__.py +0 -0
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/CascadingSteps/__init__.py +0 -0
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/ContingencyPlanner/__init__.py +0 -0
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/CoordinatesInput/__init__.py +0 -0
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/GridEditorWidget/Branches/__init__.py +0 -0
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/GridEditorWidget/Injections/__init__.py +0 -0
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/GridEditorWidget/substation/__init__.py +0 -0
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/GridGenerator/__init__.py +0 -0
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/LoadDesigner/__init__.py +0 -0
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Main/SubClasses/Model/__init__.py +0 -0
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Main/SubClasses/Results/__init__.py +0 -0
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Main/SubClasses/Scripting/__init__.py +0 -0
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Main/SubClasses/Settings/__init__.py +0 -0
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Main/SubClasses/__init__.py +0 -0
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Main/__init__.py +0 -0
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/MapWidget/Layers/__init__.py +0 -0
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/MapWidget/TileProviders/__init__.py +0 -0
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/MapWidget/Tiles/__init__.py +0 -0
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/MapWidget/__init__.py +0 -0
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/ProfilesInput/__init__.py +0 -0
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/RosetaExplorer/__init__.py +0 -0
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Session/__init__.py +0 -0
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/SigmaAnalysis/__init__.py +0 -0
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/SolarPowerWizard/__init__.py +0 -0
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/SyncDialogue/__init__.py +0 -0
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/TowerBuilder/__init__.py +0 -0
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/TreeModelViewer/__init__.py +0 -0
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Visualization/__init__.py +0 -0
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/Widgets/__init__.py +0 -0
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/WindPowerWizard/__init__.py +0 -0
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/Gui/__init__.py +0 -0
- {GridCal-5.0.8 → GridCal-5.0.9}/GridCal/data/__init__.py +0 -0
@@ -1,46 +1,46 @@
|
|
1
|
-
# This file is part of GridCal.g
|
2
|
-
#
|
3
|
-
# GridCal is free software: you can redistribute it and/or modify
|
4
|
-
# it under the terms of the GNU General Public License as published by
|
5
|
-
# the Free Software Foundation, either version 3 of the License, or
|
6
|
-
# (at your option) any later version.
|
7
|
-
#
|
8
|
-
# GridCal is distributed in the hope that it will be useful,
|
9
|
-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
11
|
-
# GNU General Public License for more details.
|
12
|
-
#
|
13
|
-
# You should have received a copy of the GNU General Public License
|
14
|
-
# along with GridCal. If not, see <http://www.gnu.org/licenses/>.
|
15
|
-
import os
|
16
|
-
import sys
|
17
|
-
PACKAGE_PARENT = '..'
|
18
|
-
SCRIPT_DIR = os.path.dirname(os.path.realpath(os.path.join(os.getcwd(), os.path.expanduser(__file__))))
|
19
|
-
sys.path.append(os.path.normpath(os.path.join(SCRIPT_DIR, PACKAGE_PARENT)))
|
20
|
-
from GridCal.__version__ import about_msg
|
21
|
-
from GridCal.Gui.Main.GridCalMain import runGridCal
|
22
|
-
import platform
|
23
|
-
|
24
|
-
if platform.system() == 'Windows':
|
25
|
-
# this makes the icon display properly under windows
|
26
|
-
import ctypes
|
27
|
-
myappid = 'mycompany.myproduct.subproduct.version' # arbitrary string
|
28
|
-
ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID(myappid)
|
29
|
-
|
30
|
-
|
31
|
-
if __name__ == "__main__":
|
32
|
-
print('Loading GridCal...')
|
33
|
-
print(about_msg)
|
34
|
-
|
35
|
-
# Set the application style to the clear theme
|
36
|
-
os.environ["QT_QUICK_CONTROLS_STYLE"] = "Basic"
|
37
|
-
os.environ["QT_QPA_PLATFORMTHEME"] = "qt5ct"
|
38
|
-
|
39
|
-
# app = QApplication(sys.argv)
|
40
|
-
# app.setStyle('Fusion') # ['Breeze', 'Oxygen', 'QtCurve', 'Windows', 'Fusion']
|
41
|
-
#
|
42
|
-
# splash = Splash()
|
43
|
-
# splash.show()
|
44
|
-
|
45
|
-
runGridCal()
|
46
|
-
# sys.exit(app.exec_())
|
1
|
+
# This file is part of GridCal.g
|
2
|
+
#
|
3
|
+
# GridCal is free software: you can redistribute it and/or modify
|
4
|
+
# it under the terms of the GNU General Public License as published by
|
5
|
+
# the Free Software Foundation, either version 3 of the License, or
|
6
|
+
# (at your option) any later version.
|
7
|
+
#
|
8
|
+
# GridCal is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
11
|
+
# GNU General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU General Public License
|
14
|
+
# along with GridCal. If not, see <http://www.gnu.org/licenses/>.
|
15
|
+
import os
|
16
|
+
import sys
|
17
|
+
PACKAGE_PARENT = '..'
|
18
|
+
SCRIPT_DIR = os.path.dirname(os.path.realpath(os.path.join(os.getcwd(), os.path.expanduser(__file__))))
|
19
|
+
sys.path.append(os.path.normpath(os.path.join(SCRIPT_DIR, PACKAGE_PARENT)))
|
20
|
+
from GridCal.__version__ import about_msg
|
21
|
+
from GridCal.Gui.Main.GridCalMain import runGridCal
|
22
|
+
import platform
|
23
|
+
|
24
|
+
if platform.system() == 'Windows':
|
25
|
+
# this makes the icon display properly under windows
|
26
|
+
import ctypes
|
27
|
+
myappid = 'mycompany.myproduct.subproduct.version' # arbitrary string
|
28
|
+
ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID(myappid)
|
29
|
+
|
30
|
+
|
31
|
+
if __name__ == "__main__":
|
32
|
+
print('Loading GridCal...')
|
33
|
+
print(about_msg)
|
34
|
+
|
35
|
+
# Set the application style to the clear theme
|
36
|
+
os.environ["QT_QUICK_CONTROLS_STYLE"] = "Basic"
|
37
|
+
os.environ["QT_QPA_PLATFORMTHEME"] = "qt5ct"
|
38
|
+
|
39
|
+
# app = QApplication(sys.argv)
|
40
|
+
# app.setStyle('Fusion') # ['Breeze', 'Oxygen', 'QtCurve', 'Windows', 'Fusion']
|
41
|
+
#
|
42
|
+
# splash = Splash()
|
43
|
+
# splash.show()
|
44
|
+
|
45
|
+
runGridCal()
|
46
|
+
# sys.exit(app.exec_())
|
@@ -1,120 +1,120 @@
|
|
1
|
-
import os
|
2
|
-
import sys
|
3
|
-
import chardet
|
4
|
-
import subprocess
|
5
|
-
from PySide6 import QtWidgets
|
6
|
-
from typing import List
|
7
|
-
from GridCal.Gui.AboutDialogue.gui import Ui_AboutDialog
|
8
|
-
from GridCal.__version__ import __GridCal_VERSION__, contributors_msg, copyright_msg
|
9
|
-
from GridCal.update import check_version, get_upgrade_command
|
10
|
-
|
11
|
-
|
12
|
-
class AboutDialogueGuiGUI(QtWidgets.QDialog):
|
13
|
-
|
14
|
-
def __init__(self, parent=None):
|
15
|
-
"""
|
16
|
-
|
17
|
-
:param parent:
|
18
|
-
"""
|
19
|
-
QtWidgets.QDialog.__init__(self, parent)
|
20
|
-
self.ui = Ui_AboutDialog()
|
21
|
-
self.ui.setupUi(self)
|
22
|
-
self.setWindowTitle('About GridCal')
|
23
|
-
self.setAcceptDrops(True)
|
24
|
-
|
25
|
-
# check the version in pypi
|
26
|
-
version_code, latest_version = check_version()
|
27
|
-
|
28
|
-
self.upgrade_cmd: List[str] = ['']
|
29
|
-
|
30
|
-
if version_code == 1:
|
31
|
-
addendum = '\nThere is a newer version: ' + latest_version
|
32
|
-
|
33
|
-
self.upgrade_cmd = get_upgrade_command(latest_version)
|
34
|
-
command = ' '.join(self.upgrade_cmd)
|
35
|
-
self.ui.updateLabel.setText('\n\nTerminal command to update:\n\n' + command)
|
36
|
-
self.ui.updateButton.setVisible(True)
|
37
|
-
|
38
|
-
elif version_code == -1:
|
39
|
-
addendum = '\nThis version is newer than the version available in the repositories (' + latest_version + ')'
|
40
|
-
self.ui.updateLabel.setText(addendum)
|
41
|
-
self.ui.updateButton.setVisible(False)
|
42
|
-
|
43
|
-
elif version_code == 0:
|
44
|
-
addendum = '\nGridCal is up to date.'
|
45
|
-
self.ui.updateLabel.setText(addendum)
|
46
|
-
self.ui.updateButton.setVisible(False)
|
47
|
-
|
48
|
-
elif version_code == -2:
|
49
|
-
addendum = '\nIt was impossible to check for a newer version'
|
50
|
-
self.ui.updateLabel.setText(addendum)
|
51
|
-
self.ui.updateButton.setVisible(False)
|
52
|
-
|
53
|
-
else:
|
54
|
-
addendum = ''
|
55
|
-
self.ui.updateLabel.setText(addendum)
|
56
|
-
self.ui.updateButton.setVisible(False)
|
57
|
-
|
58
|
-
# self.ui.mainLabel.setText(about_msg)
|
59
|
-
self.ui.versionLabel.setText('GridCal version: ' + __GridCal_VERSION__ + ', ' + addendum)
|
60
|
-
self.ui.copyrightLabel.setText(copyright_msg)
|
61
|
-
self.ui.contributorsLabel.setText(contributors_msg)
|
62
|
-
|
63
|
-
# click
|
64
|
-
self.ui.updateButton.clicked.connect(self.update)
|
65
|
-
|
66
|
-
self.show_license()
|
67
|
-
|
68
|
-
def msg(self, text, title="Warning"):
|
69
|
-
"""
|
70
|
-
Message box
|
71
|
-
:param text: Text to display
|
72
|
-
:param title: Name of the window
|
73
|
-
"""
|
74
|
-
msg = QtWidgets.QMessageBox()
|
75
|
-
msg.setIcon(QtWidgets.QMessageBox.Icon.Information)
|
76
|
-
msg.setText(text)
|
77
|
-
# msg.setInformativeText("This is additional information")
|
78
|
-
msg.setWindowTitle(title)
|
79
|
-
# msg.setDetailedText("The details are as follows:")
|
80
|
-
msg.setStandardButtons(QtWidgets.QMessageBox.StandardButton.Ok)
|
81
|
-
retval = msg.exec_()
|
82
|
-
|
83
|
-
def update(self):
|
84
|
-
"""
|
85
|
-
Upgrade GridCal
|
86
|
-
:return:
|
87
|
-
"""
|
88
|
-
list_files = subprocess.run(self.upgrade_cmd,
|
89
|
-
stdout=subprocess.PIPE,
|
90
|
-
text=True,
|
91
|
-
input="Hello from the other side") # upgrade_cmd is a list already
|
92
|
-
if list_files.returncode != 0:
|
93
|
-
self.msg("The exit code was: %d" % list_files.returncode)
|
94
|
-
else:
|
95
|
-
self.msg('GridCal updated successfully')
|
96
|
-
|
97
|
-
def show_license(self):
|
98
|
-
"""
|
99
|
-
Show the license
|
100
|
-
"""
|
101
|
-
here = os.path.abspath(os.path.dirname(__file__))
|
102
|
-
license_file = os.path.join(here, '..', '..', 'LICENSE.txt')
|
103
|
-
|
104
|
-
# make a guess of the file encoding
|
105
|
-
detection = chardet.detect(open(license_file, "rb").read())
|
106
|
-
|
107
|
-
with open(license_file, 'r', encoding=detection['encoding']) as file:
|
108
|
-
license_txt = file.read()
|
109
|
-
|
110
|
-
self.ui.licenseTextEdit.setPlainText(license_txt)
|
111
|
-
|
112
|
-
|
113
|
-
if __name__ == "__main__":
|
114
|
-
|
115
|
-
app = QtWidgets.QApplication(sys.argv)
|
116
|
-
window = AboutDialogueGuiGUI()
|
117
|
-
# window.resize(1.61 * 700.0, 600.0) # golden ratio
|
118
|
-
window.show()
|
119
|
-
sys.exit(app.exec_())
|
120
|
-
|
1
|
+
import os
|
2
|
+
import sys
|
3
|
+
import chardet
|
4
|
+
import subprocess
|
5
|
+
from PySide6 import QtWidgets
|
6
|
+
from typing import List
|
7
|
+
from GridCal.Gui.AboutDialogue.gui import Ui_AboutDialog
|
8
|
+
from GridCal.__version__ import __GridCal_VERSION__, contributors_msg, copyright_msg
|
9
|
+
from GridCal.update import check_version, get_upgrade_command
|
10
|
+
|
11
|
+
|
12
|
+
class AboutDialogueGuiGUI(QtWidgets.QDialog):
|
13
|
+
|
14
|
+
def __init__(self, parent=None):
|
15
|
+
"""
|
16
|
+
|
17
|
+
:param parent:
|
18
|
+
"""
|
19
|
+
QtWidgets.QDialog.__init__(self, parent)
|
20
|
+
self.ui = Ui_AboutDialog()
|
21
|
+
self.ui.setupUi(self)
|
22
|
+
self.setWindowTitle('About GridCal')
|
23
|
+
self.setAcceptDrops(True)
|
24
|
+
|
25
|
+
# check the version in pypi
|
26
|
+
version_code, latest_version = check_version()
|
27
|
+
|
28
|
+
self.upgrade_cmd: List[str] = ['']
|
29
|
+
|
30
|
+
if version_code == 1:
|
31
|
+
addendum = '\nThere is a newer version: ' + latest_version
|
32
|
+
|
33
|
+
self.upgrade_cmd = get_upgrade_command(latest_version)
|
34
|
+
command = ' '.join(self.upgrade_cmd)
|
35
|
+
self.ui.updateLabel.setText('\n\nTerminal command to update:\n\n' + command)
|
36
|
+
self.ui.updateButton.setVisible(True)
|
37
|
+
|
38
|
+
elif version_code == -1:
|
39
|
+
addendum = '\nThis version is newer than the version available in the repositories (' + latest_version + ')'
|
40
|
+
self.ui.updateLabel.setText(addendum)
|
41
|
+
self.ui.updateButton.setVisible(False)
|
42
|
+
|
43
|
+
elif version_code == 0:
|
44
|
+
addendum = '\nGridCal is up to date.'
|
45
|
+
self.ui.updateLabel.setText(addendum)
|
46
|
+
self.ui.updateButton.setVisible(False)
|
47
|
+
|
48
|
+
elif version_code == -2:
|
49
|
+
addendum = '\nIt was impossible to check for a newer version'
|
50
|
+
self.ui.updateLabel.setText(addendum)
|
51
|
+
self.ui.updateButton.setVisible(False)
|
52
|
+
|
53
|
+
else:
|
54
|
+
addendum = ''
|
55
|
+
self.ui.updateLabel.setText(addendum)
|
56
|
+
self.ui.updateButton.setVisible(False)
|
57
|
+
|
58
|
+
# self.ui.mainLabel.setText(about_msg)
|
59
|
+
self.ui.versionLabel.setText('GridCal version: ' + __GridCal_VERSION__ + ', ' + addendum)
|
60
|
+
self.ui.copyrightLabel.setText(copyright_msg)
|
61
|
+
self.ui.contributorsLabel.setText(contributors_msg)
|
62
|
+
|
63
|
+
# click
|
64
|
+
self.ui.updateButton.clicked.connect(self.update)
|
65
|
+
|
66
|
+
self.show_license()
|
67
|
+
|
68
|
+
def msg(self, text, title="Warning"):
|
69
|
+
"""
|
70
|
+
Message box
|
71
|
+
:param text: Text to display
|
72
|
+
:param title: Name of the window
|
73
|
+
"""
|
74
|
+
msg = QtWidgets.QMessageBox()
|
75
|
+
msg.setIcon(QtWidgets.QMessageBox.Icon.Information)
|
76
|
+
msg.setText(text)
|
77
|
+
# msg.setInformativeText("This is additional information")
|
78
|
+
msg.setWindowTitle(title)
|
79
|
+
# msg.setDetailedText("The details are as follows:")
|
80
|
+
msg.setStandardButtons(QtWidgets.QMessageBox.StandardButton.Ok)
|
81
|
+
retval = msg.exec_()
|
82
|
+
|
83
|
+
def update(self):
|
84
|
+
"""
|
85
|
+
Upgrade GridCal
|
86
|
+
:return:
|
87
|
+
"""
|
88
|
+
list_files = subprocess.run(self.upgrade_cmd,
|
89
|
+
stdout=subprocess.PIPE,
|
90
|
+
text=True,
|
91
|
+
input="Hello from the other side") # upgrade_cmd is a list already
|
92
|
+
if list_files.returncode != 0:
|
93
|
+
self.msg("The exit code was: %d" % list_files.returncode)
|
94
|
+
else:
|
95
|
+
self.msg('GridCal updated successfully')
|
96
|
+
|
97
|
+
def show_license(self):
|
98
|
+
"""
|
99
|
+
Show the license
|
100
|
+
"""
|
101
|
+
here = os.path.abspath(os.path.dirname(__file__))
|
102
|
+
license_file = os.path.join(here, '..', '..', 'LICENSE.txt')
|
103
|
+
|
104
|
+
# make a guess of the file encoding
|
105
|
+
detection = chardet.detect(open(license_file, "rb").read())
|
106
|
+
|
107
|
+
with open(license_file, 'r', encoding=detection['encoding']) as file:
|
108
|
+
license_txt = file.read()
|
109
|
+
|
110
|
+
self.ui.licenseTextEdit.setPlainText(license_txt)
|
111
|
+
|
112
|
+
|
113
|
+
if __name__ == "__main__":
|
114
|
+
|
115
|
+
app = QtWidgets.QApplication(sys.argv)
|
116
|
+
window = AboutDialogueGuiGUI()
|
117
|
+
# window.resize(1.61 * 700.0, 600.0) # golden ratio
|
118
|
+
window.show()
|
119
|
+
sys.exit(app.exec_())
|
120
|
+
|
@@ -1,148 +1,148 @@
|
|
1
|
-
# -*- coding: utf-8 -*-
|
2
|
-
|
3
|
-
################################################################################
|
4
|
-
## Form generated from reading UI file 'gui.ui'
|
5
|
-
##
|
6
|
-
## Created by: Qt User Interface Compiler version 6.5.3
|
7
|
-
##
|
8
|
-
## WARNING! All changes made in this file will be lost when recompiling UI file!
|
9
|
-
################################################################################
|
10
|
-
|
11
|
-
from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
|
12
|
-
QMetaObject, QObject, QPoint, QRect,
|
13
|
-
QSize, QTime, QUrl, Qt)
|
14
|
-
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
|
15
|
-
QFont, QFontDatabase, QGradient, QIcon,
|
16
|
-
QImage, QKeySequence, QLinearGradient, QPainter,
|
17
|
-
QPalette, QPixmap, QRadialGradient, QTransform)
|
18
|
-
from PySide6.QtWidgets import (QApplication, QDialog, QGridLayout, QLabel,
|
19
|
-
QPushButton, QSizePolicy, QSpacerItem, QTabWidget,
|
20
|
-
QTextEdit, QVBoxLayout, QWidget)
|
21
|
-
from .icons_rc import *
|
22
|
-
|
23
|
-
class Ui_AboutDialog(object):
|
24
|
-
def setupUi(self, AboutDialog):
|
25
|
-
if not AboutDialog.objectName():
|
26
|
-
AboutDialog.setObjectName(u"AboutDialog")
|
27
|
-
AboutDialog.resize(662, 367)
|
28
|
-
icon = QIcon()
|
29
|
-
icon.addFile(u":/Icons/icons/GridCal_icon.svg", QSize(), QIcon.Normal, QIcon.Off)
|
30
|
-
AboutDialog.setWindowIcon(icon)
|
31
|
-
self.verticalLayout_2 = QVBoxLayout(AboutDialog)
|
32
|
-
self.verticalLayout_2.setObjectName(u"verticalLayout_2")
|
33
|
-
self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
|
34
|
-
self.tabWidget = QTabWidget(AboutDialog)
|
35
|
-
self.tabWidget.setObjectName(u"tabWidget")
|
36
|
-
self.tab = QWidget()
|
37
|
-
self.tab.setObjectName(u"tab")
|
38
|
-
self.gridLayout = QGridLayout(self.tab)
|
39
|
-
self.gridLayout.setObjectName(u"gridLayout")
|
40
|
-
self.mainLabel = QLabel(self.tab)
|
41
|
-
self.mainLabel.setObjectName(u"mainLabel")
|
42
|
-
self.mainLabel.setLayoutDirection(Qt.LeftToRight)
|
43
|
-
self.mainLabel.setAlignment(Qt.AlignLeading|Qt.AlignLeft|Qt.AlignTop)
|
44
|
-
self.mainLabel.setWordWrap(True)
|
45
|
-
self.mainLabel.setOpenExternalLinks(True)
|
46
|
-
self.mainLabel.setTextInteractionFlags(Qt.TextBrowserInteraction)
|
47
|
-
|
48
|
-
self.gridLayout.addWidget(self.mainLabel, 0, 1, 2, 2)
|
49
|
-
|
50
|
-
self.verticalSpacer = QSpacerItem(20, 40, QSizePolicy.Minimum, QSizePolicy.Expanding)
|
51
|
-
|
52
|
-
self.gridLayout.addItem(self.verticalSpacer, 1, 0, 1, 1)
|
53
|
-
|
54
|
-
self.label = QLabel(self.tab)
|
55
|
-
self.label.setObjectName(u"label")
|
56
|
-
self.label.setMinimumSize(QSize(48, 48))
|
57
|
-
self.label.setMaximumSize(QSize(48, 48))
|
58
|
-
self.label.setPixmap(QPixmap(u":/Icons/icons/GridCal_icon.svg"))
|
59
|
-
self.label.setScaledContents(True)
|
60
|
-
|
61
|
-
self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
|
62
|
-
|
63
|
-
self.versionLabel = QLabel(self.tab)
|
64
|
-
self.versionLabel.setObjectName(u"versionLabel")
|
65
|
-
self.versionLabel.setOpenExternalLinks(True)
|
66
|
-
self.versionLabel.setTextInteractionFlags(Qt.LinksAccessibleByMouse|Qt.TextSelectableByMouse)
|
67
|
-
|
68
|
-
self.gridLayout.addWidget(self.versionLabel, 3, 1, 1, 1)
|
69
|
-
|
70
|
-
self.copyrightLabel = QLabel(self.tab)
|
71
|
-
self.copyrightLabel.setObjectName(u"copyrightLabel")
|
72
|
-
self.copyrightLabel.setOpenExternalLinks(True)
|
73
|
-
self.copyrightLabel.setTextInteractionFlags(Qt.LinksAccessibleByMouse|Qt.TextSelectableByMouse)
|
74
|
-
|
75
|
-
self.gridLayout.addWidget(self.copyrightLabel, 4, 1, 1, 1)
|
76
|
-
|
77
|
-
self.tabWidget.addTab(self.tab, "")
|
78
|
-
self.tab_2 = QWidget()
|
79
|
-
self.tab_2.setObjectName(u"tab_2")
|
80
|
-
self.verticalLayout = QVBoxLayout(self.tab_2)
|
81
|
-
self.verticalLayout.setObjectName(u"verticalLayout")
|
82
|
-
self.contributorsLabel = QLabel(self.tab_2)
|
83
|
-
self.contributorsLabel.setObjectName(u"contributorsLabel")
|
84
|
-
self.contributorsLabel.setAlignment(Qt.AlignLeading|Qt.AlignLeft|Qt.AlignTop)
|
85
|
-
|
86
|
-
self.verticalLayout.addWidget(self.contributorsLabel)
|
87
|
-
|
88
|
-
self.tabWidget.addTab(self.tab_2, "")
|
89
|
-
self.tab_3 = QWidget()
|
90
|
-
self.tab_3.setObjectName(u"tab_3")
|
91
|
-
self.gridLayout_2 = QGridLayout(self.tab_3)
|
92
|
-
self.gridLayout_2.setObjectName(u"gridLayout_2")
|
93
|
-
self.updateLabel = QLabel(self.tab_3)
|
94
|
-
self.updateLabel.setObjectName(u"updateLabel")
|
95
|
-
self.updateLabel.setAlignment(Qt.AlignLeading|Qt.AlignLeft|Qt.AlignVCenter)
|
96
|
-
self.updateLabel.setWordWrap(True)
|
97
|
-
self.updateLabel.setTextInteractionFlags(Qt.LinksAccessibleByMouse|Qt.TextSelectableByMouse)
|
98
|
-
|
99
|
-
self.gridLayout_2.addWidget(self.updateLabel, 0, 1, 1, 1)
|
100
|
-
|
101
|
-
self.updateButton = QPushButton(self.tab_3)
|
102
|
-
self.updateButton.setObjectName(u"updateButton")
|
103
|
-
self.updateButton.setMaximumSize(QSize(80, 16777215))
|
104
|
-
|
105
|
-
self.gridLayout_2.addWidget(self.updateButton, 0, 0, 1, 1)
|
106
|
-
|
107
|
-
self.verticalSpacer_2 = QSpacerItem(20, 40, QSizePolicy.Minimum, QSizePolicy.Expanding)
|
108
|
-
|
109
|
-
self.gridLayout_2.addItem(self.verticalSpacer_2, 1, 0, 1, 1)
|
110
|
-
|
111
|
-
self.tabWidget.addTab(self.tab_3, "")
|
112
|
-
self.tab_4 = QWidget()
|
113
|
-
self.tab_4.setObjectName(u"tab_4")
|
114
|
-
self.verticalLayout_3 = QVBoxLayout(self.tab_4)
|
115
|
-
self.verticalLayout_3.setObjectName(u"verticalLayout_3")
|
116
|
-
self.licenseTextEdit = QTextEdit(self.tab_4)
|
117
|
-
self.licenseTextEdit.setObjectName(u"licenseTextEdit")
|
118
|
-
|
119
|
-
self.verticalLayout_3.addWidget(self.licenseTextEdit)
|
120
|
-
|
121
|
-
self.tabWidget.addTab(self.tab_4, "")
|
122
|
-
|
123
|
-
self.verticalLayout_2.addWidget(self.tabWidget)
|
124
|
-
|
125
|
-
|
126
|
-
self.retranslateUi(AboutDialog)
|
127
|
-
|
128
|
-
self.tabWidget.setCurrentIndex(0)
|
129
|
-
|
130
|
-
|
131
|
-
QMetaObject.connectSlotsByName(AboutDialog)
|
132
|
-
# setupUi
|
133
|
-
|
134
|
-
def retranslateUi(self, AboutDialog):
|
135
|
-
AboutDialog.setWindowTitle(QCoreApplication.translate("AboutDialog", u"About GridCal", None))
|
136
|
-
self.mainLabel.setText(QCoreApplication.translate("AboutDialog", u"<html><head/><body><p align=\"justify\"><span style=\" font-weight:600;\">GridCal</span> has been carefully crafted since 2015 to serve as a platform for research and consultancy. </p><p align=\"justify\">Visit <a href=\"https://www.advancedgridinsights.com/gridcal\"><span style=\" text-decoration: underline; color:#26a269;\">https://www.advancedgridinsights.com/gridcal</span></a> for more details.</p><p align=\"justify\">This program comes with absolutelly no warranty. This is free software, and you are welcome to redistribute it under the conditions set by the license. GridCal is licensed under the lesser GNU general public license version 3. See the license file for more details.</p><p align=\"justify\">The source of GridCal can be found at: <a href=\"https://github.com/SanPen/GridCal\"><span style=\" text-decoration: underline; color:#26a269;\">https://github.com/SanPen/GridCal</span></a></p></body></html>", None))
|
137
|
-
self.label.setText("")
|
138
|
-
self.versionLabel.setText(QCoreApplication.translate("AboutDialog", u"version", None))
|
139
|
-
self.copyrightLabel.setText(QCoreApplication.translate("AboutDialog", u"Copyright", None))
|
140
|
-
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), QCoreApplication.translate("AboutDialog", u"About", None))
|
141
|
-
self.contributorsLabel.setText(QCoreApplication.translate("AboutDialog", u"TextLabel", None))
|
142
|
-
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), QCoreApplication.translate("AboutDialog", u"Contributors", None))
|
143
|
-
self.updateLabel.setText(QCoreApplication.translate("AboutDialog", u"TextLabel", None))
|
144
|
-
self.updateButton.setText(QCoreApplication.translate("AboutDialog", u"Update", None))
|
145
|
-
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), QCoreApplication.translate("AboutDialog", u"Update", None))
|
146
|
-
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_4), QCoreApplication.translate("AboutDialog", u"License", None))
|
147
|
-
# retranslateUi
|
148
|
-
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
|
3
|
+
################################################################################
|
4
|
+
## Form generated from reading UI file 'gui.ui'
|
5
|
+
##
|
6
|
+
## Created by: Qt User Interface Compiler version 6.5.3
|
7
|
+
##
|
8
|
+
## WARNING! All changes made in this file will be lost when recompiling UI file!
|
9
|
+
################################################################################
|
10
|
+
|
11
|
+
from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
|
12
|
+
QMetaObject, QObject, QPoint, QRect,
|
13
|
+
QSize, QTime, QUrl, Qt)
|
14
|
+
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
|
15
|
+
QFont, QFontDatabase, QGradient, QIcon,
|
16
|
+
QImage, QKeySequence, QLinearGradient, QPainter,
|
17
|
+
QPalette, QPixmap, QRadialGradient, QTransform)
|
18
|
+
from PySide6.QtWidgets import (QApplication, QDialog, QGridLayout, QLabel,
|
19
|
+
QPushButton, QSizePolicy, QSpacerItem, QTabWidget,
|
20
|
+
QTextEdit, QVBoxLayout, QWidget)
|
21
|
+
from .icons_rc import *
|
22
|
+
|
23
|
+
class Ui_AboutDialog(object):
|
24
|
+
def setupUi(self, AboutDialog):
|
25
|
+
if not AboutDialog.objectName():
|
26
|
+
AboutDialog.setObjectName(u"AboutDialog")
|
27
|
+
AboutDialog.resize(662, 367)
|
28
|
+
icon = QIcon()
|
29
|
+
icon.addFile(u":/Icons/icons/GridCal_icon.svg", QSize(), QIcon.Normal, QIcon.Off)
|
30
|
+
AboutDialog.setWindowIcon(icon)
|
31
|
+
self.verticalLayout_2 = QVBoxLayout(AboutDialog)
|
32
|
+
self.verticalLayout_2.setObjectName(u"verticalLayout_2")
|
33
|
+
self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
|
34
|
+
self.tabWidget = QTabWidget(AboutDialog)
|
35
|
+
self.tabWidget.setObjectName(u"tabWidget")
|
36
|
+
self.tab = QWidget()
|
37
|
+
self.tab.setObjectName(u"tab")
|
38
|
+
self.gridLayout = QGridLayout(self.tab)
|
39
|
+
self.gridLayout.setObjectName(u"gridLayout")
|
40
|
+
self.mainLabel = QLabel(self.tab)
|
41
|
+
self.mainLabel.setObjectName(u"mainLabel")
|
42
|
+
self.mainLabel.setLayoutDirection(Qt.LeftToRight)
|
43
|
+
self.mainLabel.setAlignment(Qt.AlignLeading|Qt.AlignLeft|Qt.AlignTop)
|
44
|
+
self.mainLabel.setWordWrap(True)
|
45
|
+
self.mainLabel.setOpenExternalLinks(True)
|
46
|
+
self.mainLabel.setTextInteractionFlags(Qt.TextBrowserInteraction)
|
47
|
+
|
48
|
+
self.gridLayout.addWidget(self.mainLabel, 0, 1, 2, 2)
|
49
|
+
|
50
|
+
self.verticalSpacer = QSpacerItem(20, 40, QSizePolicy.Minimum, QSizePolicy.Expanding)
|
51
|
+
|
52
|
+
self.gridLayout.addItem(self.verticalSpacer, 1, 0, 1, 1)
|
53
|
+
|
54
|
+
self.label = QLabel(self.tab)
|
55
|
+
self.label.setObjectName(u"label")
|
56
|
+
self.label.setMinimumSize(QSize(48, 48))
|
57
|
+
self.label.setMaximumSize(QSize(48, 48))
|
58
|
+
self.label.setPixmap(QPixmap(u":/Icons/icons/GridCal_icon.svg"))
|
59
|
+
self.label.setScaledContents(True)
|
60
|
+
|
61
|
+
self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
|
62
|
+
|
63
|
+
self.versionLabel = QLabel(self.tab)
|
64
|
+
self.versionLabel.setObjectName(u"versionLabel")
|
65
|
+
self.versionLabel.setOpenExternalLinks(True)
|
66
|
+
self.versionLabel.setTextInteractionFlags(Qt.LinksAccessibleByMouse|Qt.TextSelectableByMouse)
|
67
|
+
|
68
|
+
self.gridLayout.addWidget(self.versionLabel, 3, 1, 1, 1)
|
69
|
+
|
70
|
+
self.copyrightLabel = QLabel(self.tab)
|
71
|
+
self.copyrightLabel.setObjectName(u"copyrightLabel")
|
72
|
+
self.copyrightLabel.setOpenExternalLinks(True)
|
73
|
+
self.copyrightLabel.setTextInteractionFlags(Qt.LinksAccessibleByMouse|Qt.TextSelectableByMouse)
|
74
|
+
|
75
|
+
self.gridLayout.addWidget(self.copyrightLabel, 4, 1, 1, 1)
|
76
|
+
|
77
|
+
self.tabWidget.addTab(self.tab, "")
|
78
|
+
self.tab_2 = QWidget()
|
79
|
+
self.tab_2.setObjectName(u"tab_2")
|
80
|
+
self.verticalLayout = QVBoxLayout(self.tab_2)
|
81
|
+
self.verticalLayout.setObjectName(u"verticalLayout")
|
82
|
+
self.contributorsLabel = QLabel(self.tab_2)
|
83
|
+
self.contributorsLabel.setObjectName(u"contributorsLabel")
|
84
|
+
self.contributorsLabel.setAlignment(Qt.AlignLeading|Qt.AlignLeft|Qt.AlignTop)
|
85
|
+
|
86
|
+
self.verticalLayout.addWidget(self.contributorsLabel)
|
87
|
+
|
88
|
+
self.tabWidget.addTab(self.tab_2, "")
|
89
|
+
self.tab_3 = QWidget()
|
90
|
+
self.tab_3.setObjectName(u"tab_3")
|
91
|
+
self.gridLayout_2 = QGridLayout(self.tab_3)
|
92
|
+
self.gridLayout_2.setObjectName(u"gridLayout_2")
|
93
|
+
self.updateLabel = QLabel(self.tab_3)
|
94
|
+
self.updateLabel.setObjectName(u"updateLabel")
|
95
|
+
self.updateLabel.setAlignment(Qt.AlignLeading|Qt.AlignLeft|Qt.AlignVCenter)
|
96
|
+
self.updateLabel.setWordWrap(True)
|
97
|
+
self.updateLabel.setTextInteractionFlags(Qt.LinksAccessibleByMouse|Qt.TextSelectableByMouse)
|
98
|
+
|
99
|
+
self.gridLayout_2.addWidget(self.updateLabel, 0, 1, 1, 1)
|
100
|
+
|
101
|
+
self.updateButton = QPushButton(self.tab_3)
|
102
|
+
self.updateButton.setObjectName(u"updateButton")
|
103
|
+
self.updateButton.setMaximumSize(QSize(80, 16777215))
|
104
|
+
|
105
|
+
self.gridLayout_2.addWidget(self.updateButton, 0, 0, 1, 1)
|
106
|
+
|
107
|
+
self.verticalSpacer_2 = QSpacerItem(20, 40, QSizePolicy.Minimum, QSizePolicy.Expanding)
|
108
|
+
|
109
|
+
self.gridLayout_2.addItem(self.verticalSpacer_2, 1, 0, 1, 1)
|
110
|
+
|
111
|
+
self.tabWidget.addTab(self.tab_3, "")
|
112
|
+
self.tab_4 = QWidget()
|
113
|
+
self.tab_4.setObjectName(u"tab_4")
|
114
|
+
self.verticalLayout_3 = QVBoxLayout(self.tab_4)
|
115
|
+
self.verticalLayout_3.setObjectName(u"verticalLayout_3")
|
116
|
+
self.licenseTextEdit = QTextEdit(self.tab_4)
|
117
|
+
self.licenseTextEdit.setObjectName(u"licenseTextEdit")
|
118
|
+
|
119
|
+
self.verticalLayout_3.addWidget(self.licenseTextEdit)
|
120
|
+
|
121
|
+
self.tabWidget.addTab(self.tab_4, "")
|
122
|
+
|
123
|
+
self.verticalLayout_2.addWidget(self.tabWidget)
|
124
|
+
|
125
|
+
|
126
|
+
self.retranslateUi(AboutDialog)
|
127
|
+
|
128
|
+
self.tabWidget.setCurrentIndex(0)
|
129
|
+
|
130
|
+
|
131
|
+
QMetaObject.connectSlotsByName(AboutDialog)
|
132
|
+
# setupUi
|
133
|
+
|
134
|
+
def retranslateUi(self, AboutDialog):
|
135
|
+
AboutDialog.setWindowTitle(QCoreApplication.translate("AboutDialog", u"About GridCal", None))
|
136
|
+
self.mainLabel.setText(QCoreApplication.translate("AboutDialog", u"<html><head/><body><p align=\"justify\"><span style=\" font-weight:600;\">GridCal</span> has been carefully crafted since 2015 to serve as a platform for research and consultancy. </p><p align=\"justify\">Visit <a href=\"https://www.advancedgridinsights.com/gridcal\"><span style=\" text-decoration: underline; color:#26a269;\">https://www.advancedgridinsights.com/gridcal</span></a> for more details.</p><p align=\"justify\">This program comes with absolutelly no warranty. This is free software, and you are welcome to redistribute it under the conditions set by the license. GridCal is licensed under the lesser GNU general public license version 3. See the license file for more details.</p><p align=\"justify\">The source of GridCal can be found at: <a href=\"https://github.com/SanPen/GridCal\"><span style=\" text-decoration: underline; color:#26a269;\">https://github.com/SanPen/GridCal</span></a></p></body></html>", None))
|
137
|
+
self.label.setText("")
|
138
|
+
self.versionLabel.setText(QCoreApplication.translate("AboutDialog", u"version", None))
|
139
|
+
self.copyrightLabel.setText(QCoreApplication.translate("AboutDialog", u"Copyright", None))
|
140
|
+
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), QCoreApplication.translate("AboutDialog", u"About", None))
|
141
|
+
self.contributorsLabel.setText(QCoreApplication.translate("AboutDialog", u"TextLabel", None))
|
142
|
+
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), QCoreApplication.translate("AboutDialog", u"Contributors", None))
|
143
|
+
self.updateLabel.setText(QCoreApplication.translate("AboutDialog", u"TextLabel", None))
|
144
|
+
self.updateButton.setText(QCoreApplication.translate("AboutDialog", u"Update", None))
|
145
|
+
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), QCoreApplication.translate("AboutDialog", u"Update", None))
|
146
|
+
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_4), QCoreApplication.translate("AboutDialog", u"License", None))
|
147
|
+
# retranslateUi
|
148
|
+
|