Changeset 4420 for palm/trunk/SCRIPTS
- Timestamp:
- Feb 24, 2020 2:13:56 PM (5 years ago)
- Location:
- palm/trunk/SCRIPTS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/palmrungui
r4411 r4420 25 25 # ----------------- 26 26 # $Id$ 27 # Bugfix: minor fixes related to start buttons 28 # 29 # 4411 2020-02-18 14:28:02Z maronga 27 30 # Added new features: individual tag for submitted runs, automatic finding of 28 31 # configuration, start of palmbuild from GUI … … 177 180 def startpalmrun(self): 178 181 palmrunline = str(self.groupBox.findChild(QtGui.QLineEdit,"commandline").text()) 179 userline = str(self.group_advanced.findChild(QtGui.QLineEdit,"line_user").text())182 userline = str(self.group_advanced.findChild(QtGui.QLineEdit,"line_user").text()) 180 183 181 184 # Check for empty line … … 246 249 palmbuildline = 'palmbuild -c ' + str(self.group_execution.findChild(QtGui.QComboBox, "combo_configuration").currentText()) 247 250 251 palmrunline_save = str(self.groupBox.findChild(QtGui.QLineEdit,"commandline").text()) 252 248 253 # Disable the main window 254 palmbuildline_save = palmbuildline 249 255 self.tabWidget.setEnabled(False) 250 256 self.groupBox.findChild(QtGui.QPushButton,"button_start").setEnabled(False) 251 257 self.groupBox.findChild(QtGui.QLineEdit,"line_tag").setEnabled(False) 258 self.groupBox.findChild(QtGui.QPushButton,"button_start").setText("wait...") 259 self.group_execution.findChild(QtGui.QPushButton,"button_palmbuild").setText("wait...") 252 260 self.groupBox.findChild(QtGui.QLineEdit,"commandline").setText("Executing palmbuild in xterm...") 253 261 … … 284 292 self.groupBox.findChild(QtGui.QPushButton,"button_start").setEnabled(True) 285 293 self.groupBox.findChild(QtGui.QLineEdit,"line_tag").setEnabled(True) 286 294 self.groupBox.findChild(QtGui.QPushButton,"button_start").setText("palmrun") 295 self.groupBox.findChild(QtGui.QLineEdit,"commandline").setText(palmrunline_save) 296 self.group_execution.findChild(QtGui.QPushButton,"button_palmbuild").setText("(re-)build") 287 297 # Reload recent jobs 288 298 self.recent_jobs(50) -
palm/trunk/SCRIPTS/palmrungui_files/mainwindow.ui
r4411 r4420 1411 1411 <y>0</y> 1412 1412 <width>1185</width> 1413 <height> 19</height>1413 <height>30</height> 1414 1414 </rect> 1415 1415 </property> … … 1419 1419 <x>261</x> 1420 1420 <y>103</y> 1421 <width>1 47</width>1422 <height>1 56</height>1421 <width>128</width> 1422 <height>189</height> 1423 1423 </rect> 1424 1424 </property> … … 1598 1598 <hints> 1599 1599 <hint type="sourcelabel"> 1600 <x>20 2</x>1601 <y>5 15</y>1600 <x>206</x> 1601 <y>540</y> 1602 1602 </hint> 1603 1603 <hint type="destinationlabel"> … … 1614 1614 <hints> 1615 1615 <hint type="sourcelabel"> 1616 <x>24 0</x>1617 <y>5 15</y>1616 <x>244</x> 1617 <y>540</y> 1618 1618 </hint> 1619 1619 <hint type="destinationlabel"> … … 2292 2292 <x>1182</x> 2293 2293 <y>495</y> 2294 </hint>2295 </hints>2296 </connection>2297 <connection>2298 <sender>button_start</sender>2299 <signal>clicked()</signal>2300 <receiver>MainWindow</receiver>2301 <slot>startpalmbuild()</slot>2302 <hints>2303 <hint type="sourcelabel">2304 <x>106</x>2305 <y>756</y>2306 </hint>2307 <hint type="destinationlabel">2308 <x>-3</x>2309 <y>672</y>2310 2294 </hint> 2311 2295 </hints>
Note: See TracChangeset
for help on using the changeset viewer.