diff --git a/src/View/Configure/Window.py b/src/View/Configure/Window.py index f380e86800d6566c0cafc91cecbe7d5e9b5ab73b..14ba04425bbd2fb0307113f5f2c1a093c6f8a6ba 100644 --- a/src/View/Configure/Window.py +++ b/src/View/Configure/Window.py @@ -119,9 +119,9 @@ class ConfigureWindow(PamhyrDialog): ) def setup_data(self): - # Meshing_Tool - self.set_line_edit_text("lineEdit_meshing_tool", - self._config.meshing_tool) + # # Meshing_Tool + # self.set_line_edit_text("lineEdit_meshing_tool", + # self._config.meshing_tool) # Const self.set_line_edit_text("lineEdit_segment", str(self._config.segment)) @@ -168,12 +168,12 @@ class ConfigureWindow(PamhyrDialog): "lineEdit_backup_path", f[0] ) ), - "pushButton_meshing_tool": lambda: self.file_dialog( - select_file=True, - callback=lambda f: self.set_line_edit_text( - "lineEdit_meshing_tool", f[0] - ) - ), + # "pushButton_meshing_tool": lambda: self.file_dialog( + # select_file=True, + # callback=lambda f: self.set_line_edit_text( + # "lineEdit_meshing_tool", f[0] + # ) + # ), } for button in buttons: @@ -183,9 +183,9 @@ class ConfigureWindow(PamhyrDialog): # Solvers self._config.solvers = self.solver_table_model._data.copy() - # Meshing_Tool - self._config.meshing_tool = self.get_line_edit_text( - "lineEdit_meshing_tool") + # # Meshing_Tool + # self._config.meshing_tool = self.get_line_edit_text( + # "lineEdit_meshing_tool") # Const self._config.segment = self.get_line_edit_text("lineEdit_segment") diff --git a/src/View/ui/ConfigureAddSolverDialog.ui b/src/View/ui/ConfigureAddSolverDialog.ui index c621957716514de581bc6ff9ef65b519c4377224..336f125d9b76303deaba200959e48f975e527181 100644 --- a/src/View/ui/ConfigureAddSolverDialog.ui +++ b/src/View/ui/ConfigureAddSolverDialog.ui @@ -13,6 +13,9 @@ <property name="windowTitle"> <string>Dialog</string> </property> + <property name="locale"> + <locale language="English" country="Europe"/> + </property> <layout class="QGridLayout" name="gridLayout_3"> <item row="0" column="0"> <layout class="QVBoxLayout" name="verticalLayout"> @@ -103,6 +106,12 @@ </item> <item row="0" column="2"> <widget class="QLabel" name="label_8"> + <property name="toolTip"> + <string><html><head/><body><p>Command line format, for input formater (optional), solver execution and output formater (optional). This format can use some replacement values like:</p><p>- <span style=" font-style:italic;">@install_dir</span>: The Pamhyr2 install path</p><p>- <span style=" font-style:italic;">@path</span>: The associate path</p><p>- <span style=" font-style:italic;">@input</span>: Solver input data (depend of solver type)</p><p>-<span style=" font-style:italic;"> @output</span>: Solver output data (depend of solver type)</p><p>- <span style=" font-style:italic;">@dir</span>: The working dir at solver execution</p><p>- <span style=" font-style:italic;">@args</span>: Solver arguments and additional arguments defined on solver parameters</p></body></html></string> + </property> + <property name="whatsThis"> + <string/> + </property> <property name="text"> <string>Command line</string> </property> diff --git a/src/View/ui/ConfigureDialog.ui b/src/View/ui/ConfigureDialog.ui index bbde334eeac0c8939556bc1d7259bcbedb9fb5a3..ca54d07d2fb3231f32bbb294a7145b767d97b491 100644 --- a/src/View/ui/ConfigureDialog.ui +++ b/src/View/ui/ConfigureDialog.ui @@ -113,58 +113,6 @@ </item> </layout> </widget> - <widget class="QWidget" name="tab_mesh"> - <property name="autoFillBackground"> - <bool>false</bool> - </property> - <attribute name="title"> - <string>Meshing tool</string> - </attribute> - <layout class="QGridLayout" name="gridLayout_3"> - <item row="0" column="0"> - <layout class="QVBoxLayout" name="verticalLayout_5"> - <item> - <layout class="QHBoxLayout" name="horizontalLayout_7"> - <item> - <widget class="QLabel" name="label_6"> - <property name="text"> - <string>Meshing tool path</string> - </property> - </widget> - </item> - <item> - <widget class="QLineEdit" name="lineEdit_meshing_tool"/> - </item> - <item> - <widget class="QPushButton" name="pushButton_meshing_tool"> - <property name="text"> - <string/> - </property> - <property name="icon"> - <iconset> - <normaloff>ressources/open.png</normaloff>ressources/open.png</iconset> - </property> - </widget> - </item> - </layout> - </item> - <item> - <spacer name="verticalSpacer"> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>40</height> - </size> - </property> - </spacer> - </item> - </layout> - </item> - </layout> - </widget> <widget class="QWidget" name="tab_constant"> <attribute name="title"> <string>Constants</string>