Changeset 4405 for palm/trunk
- Timestamp:
- Feb 12, 2020 7:11:11 PM (5 years ago)
- Location:
- palm/trunk/SCRIPTS
- Files:
-
- 1 added
- 2 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/palmrungui
r4394 r4405 25 25 # ----------------- 26 26 # $Id$ 27 # Major revisions: New layout. Merged with palm job manager (palm_jm). 28 # Minor revisions: Misc. bugs fixed. 29 # 30 # 4394 2020-02-04 21:40:38Z maronga 27 31 # Bugfix: harmonized naming convention of configuration files 28 32 # … … 74 78 import subprocess 75 79 from PyQt4 import QtCore, QtGui, uic 76 from PyQt4.QtCore import QProcess 80 from PyQt4.QtCore import QProcess,pyqtSlot,SIGNAL,SLOT 77 81 from time import strftime 78 82 import os 83 import shutil 84 79 85 80 86 … … 95 101 96 102 palmrunline = "" 103 set_list = [] 97 104 98 105 Ui_MainWindow = uic.loadUiType("%s/palmrungui_files/mainwindow.ui" % (palm_bin))[0] … … 114 121 super(Mainwindow, self).__init__() 115 122 self.setupUi(self) 116 117 self.palm_logo.setPixmap(QtGui.QPixmap(palm_dir + "/trunk/SCRIPTS/palmrungui_files/logo.png")) 123 124 self.palm_logo.setPixmap(QtGui.QPixmap(palm_dir + "/trunk/SCRIPTS/palmrungui_files/logo.png")) 118 125 119 126 self.recent_jobs(50) 127 self.load_jobs() 128 120 129 commandline = self.groupBox.findChild(QtGui.QLineEdit,"commandline") 121 130 commandline.setText("") … … 143 152 commandline.setText(palmrunline) 144 153 self.setup_gui(palmrunline) 145 154 155 156 157 QtGui.QApplication.processEvents() 158 159 146 160 147 161 # starts xterm with palmrun commandline … … 224 238 j = 0; 225 239 226 list_jobname = self.group_ job.findChild(QtGui.QListWidget,"list_jobname")240 list_jobname = self.group_history.findChild(QtGui.QListWidget,"list_jobname") 227 241 list_jobname.clear() 228 242 … … 261 275 ############################### 262 276 def enable_coupled(self): 263 coupledState = self.group_ job.findChild(QtGui.QComboBox, "drop_job").currentText()277 coupledState = self.group_execution.findChild(QtGui.QComboBox, "drop_job").currentText() 264 278 group = self.group_execution.findChild(QtGui.QGroupBox, "group_coupled") 265 279 … … 269 283 self.group_coupled.setEnabled(False) 270 284 271 272 # select a job via "select"-button 273 ################################ 274 def choosejob(self): 275 jobDir = "%s/JOBS" % (palm_dir) 276 277 # Pick a job from dialog 278 filename = QtGui.QFileDialog.getExistingDirectory(self, "Open a folder", jobDir, QtGui.QFileDialog.ShowDirsOnly) 279 280 # If a file was selected, load it into mainwindow 281 if ( filename != ""): 282 jobname = os.path.basename(unicode(filename)) 283 self.group_job.findChild(QtGui.QLineEdit,"line_jobname").setText(jobname) 284 self.group_job.findChild(QtGui.QListWidget,"list_jobname").clearSelection() 285 286 # Change palmrunline accordingly 287 self.change_commandline("r","") 288 self.change_commandline("a","") 289 return 290 else: 291 return 292 293 285 294 286 # select a job via click from list 295 287 ################################# 296 288 def choosejob_list(self): 297 289 # Get selected item from list 298 list_jobname = self.group_ job.findChild(QtGui.QListWidget,"list_jobname")290 list_jobname = self.group_history.findChild(QtGui.QListWidget,"list_jobname") 299 291 filename = str(list_jobname.currentItem().text()) 292 293 timestamp = filename[len(filename)-17:][:16] 294 jobname = filename[:len(filename) - 19]; 295 300 296 itemint = list_jobname.currentRow() 301 297 302 298 # Reload list 303 self.setupUi(self)304 299 self.recent_jobs(50) 300 self.load_jobs() 305 301 306 302 # Set selected item to jobname 307 303 list_jobname.item(itemint).setSelected(True); 308 304 309 timestamp = filename[len(filename)-17:][:16] 310 jobname = filename[:len(filename) - 19]; 305 # Set selected item to jobname in "available jobs" list 306 item2int = self.list_jobs.findItems(jobname,QtCore.Qt.MatchCaseSensitive) 307 self.list_jobs.setCurrentItem(item2int[0]) 308 self.update_input() 311 309 312 310 fileDir = "%s/.palmrungui.history" % (palm_dir) … … 338 336 ###################################################### 339 337 def change_rc_list(self): 340 drop_job = self.group_ job.findChild(QtGui.QComboBox,"drop_job").currentText()338 drop_job = self.group_execution.findChild(QtGui.QComboBox,"drop_job").currentText() 341 339 self.change_commandline("a","") 342 340 … … 381 379 # Change in parameter "r" (jobname) 382 380 if (id_str == "r"): 383 filename = str(self.group_ job.findChild(QtGui.QLineEdit,"line_jobname").text())381 filename = str(self.group_execution.findChild(QtGui.QLineEdit,"line_jobname").text()) 384 382 s = filename.split("JOBS/") 385 383 param[0] = s[len(s)-1] … … 387 385 if ( initialize == True ):#and self.group_runcontrol.isEnabled() == True ): 388 386 self.group_execution.setEnabled(True) 389 self.group_ job.findChild(QtGui.QComboBox,"drop_job").setEnabled(True)387 self.group_execution.findChild(QtGui.QComboBox,"drop_job").setEnabled(True) 390 388 self.group_advanced.setEnabled(True) 391 389 self.groupBox.findChild(QtGui.QPushButton,"button_start").setEnabled(True) … … 394 392 elif ( param[0] == ""): 395 393 self.group_execution.setEnabled(False) 396 self.group_ job.findChild(QtGui.QComboBox,"drop_job").setEnabled(False)394 self.group_execution.findChild(QtGui.QComboBox,"drop_job").setEnabled(False) 397 395 self.groupBox.findChild(QtGui.QPushButton,"button_start").setEnabled(False) 398 396 self.menuBar.findChild(QtGui.QMenu,"menuStart").actions()[3].setEnabled(False) … … 400 398 self.delete_commandline("r") 401 399 self.change_commandline("a","remove") 402 self.group_job.findChild(QtGui.QLabel,"label_usercode").setText("")403 400 return 1 404 401 405 402 else: 406 # Check if user code is available 407 usercode = "%s/JOBS/%s/USER_CODE" % (palm_dir,param[0]) 408 409 if (os.path.exists(usercode) is True): 410 self.group_job.findChild(QtGui.QLabel,"label_usercode").setText("<font color='green'>User code found.</font>") 411 412 else: 413 self.group_job.findChild(QtGui.QLabel,"label_usercode").setText("<font color='red'>Warning: no user code found!</font>") 414 415 416 # Check if _pdf file is available, otherwise notice user 417 drop_job = self.group_job.findChild(QtGui.QComboBox,"drop_job").currentText() 403 404 # Check if _p3dr file is available, otherwise notice user 405 drop_job = self.group_execution.findChild(QtGui.QComboBox,"drop_job").currentText() 418 406 if ( self.group_execution.findChild(QtGui.QCheckBox,"check_restarts").checkState() == 2 or 419 407 drop_job == "Restart run" or drop_job == "Restart run (coupled atmosphere ocean)" ): 420 408 421 jobname = self.group_ job.findChild(QtGui.QLineEdit, "line_jobname").text()409 jobname = self.group_execution.findChild(QtGui.QLineEdit, "line_jobname").text() 422 410 restartfile = "%s/JOBS/%s/INPUT/%s_p3dr" % (palm_dir,jobname,jobname) 423 411 … … 446 434 elif (id_str == "a"): 447 435 448 drop_job = self.group_ job.findChild(QtGui.QComboBox,"drop_job").currentText()436 drop_job = self.group_execution.findChild(QtGui.QComboBox,"drop_job").currentText() 449 437 rc_flag = "#" 450 438 … … 485 473 # Check if _p3dr file is available, otherwise notice user 486 474 if (status_restarts == 2): 487 jobname = str(self.group_ job.findChild(QtGui.QLineEdit, "line_jobname").text())[len(palm_dir)+len("/JOBS/"):]475 jobname = str(self.group_execution.findChild(QtGui.QLineEdit, "line_jobname").text()) 488 476 restartfile = "%s/JOBS/%s/INPUT/%s_p3dr" % (palm_dir,jobname,jobname) 489 490 477 if (os.path.exists(restartfile) == True): 491 478 self.group_execution.findChild(QtGui.QLabel,"label_restart").setText("") … … 544 531 tmptext = self.group_execution.findChild(QtGui.QLineEdit,"line_host").text() 545 532 self.change_commandline("c",tmptext) 546 547 elif ( self.sender() == self.group_job.findChild(QtGui.QLineEdit, "line_jobname") ):548 tmptext = self.group_job.findChild(QtGui.QLineEdit,"line_jobname").text()549 self.change_commandline("r",tmptext)550 533 551 534 elif ( self.sender() == self.group_execution.findChild(QtGui.QLineEdit,"line_q")): … … 731 714 self.setupUi(self) 732 715 self.tabWidget.setCurrentIndex(0) 716 self.palm_logo.setPixmap(QtGui.QPixmap(palm_dir + "/trunk/SCRIPTS/palmrungui_files/logo.png")) 733 717 self.recent_jobs(50) 718 self.load_jobs() 734 719 735 720 # Safes current commandline and user Parameters to .sav file … … 772 757 file.close() 773 758 774 # Execute command which starts jobmanager (start palm_jm)775 #######################################################776 def start_jobmanager(self):777 subprocess.Popen(["nohup","palm_jm",">>","/dev/null", "2>&1","&"])778 759 779 760 # Executes command which starts watchdog (start palm_wd) … … 798 779 def setup_gui(self, palmrun_str): 799 780 800 self.palm_logo.setPixmap(QtGui.QPixmap(palm_dir + "/trunk/SCRIPTS/palmrungui_files/logo.png"))781 #self.palm_logo.setPixmap(QtGui.QPixmap(palm_dir + "/trunk/SCRIPTS/palmrungui_files/logo.png")) 801 782 802 783 # Some initial settings … … 813 794 814 795 else: 815 self.group_ job.setEnabled(True)796 self.group_execution.setEnabled(True) 816 797 817 798 # Loop for all parameters in palmrunline … … 831 812 832 813 if ( options != ""): 833 self.group_ job.findChild(QtGui.QLineEdit,"line_jobname").setText(options)814 self.group_execution.findChild(QtGui.QLineEdit,"line_jobname").setText(options) 834 815 nojob = False 835 816 … … 925 906 926 907 elif ( parameter == "y"): 927 self.group_ job.findChild(QtGui.QComboBox, "drop_job").setCurrentIndex(3)908 self.group_execution.findChild(QtGui.QComboBox, "drop_job").setCurrentIndex(3) 928 909 929 910 … … 944 925 if (options_2 == "d3"): 945 926 if (options_all[:3][-1] == "#"): 946 self.group_ job.findChild(QtGui.QComboBox, "drop_job").setCurrentIndex(0)927 self.group_execution.findChild(QtGui.QComboBox, "drop_job").setCurrentIndex(0) 947 928 elif (options_all[:3][-1] == "r"): 948 self.group_ job.findChild(QtGui.QComboBox, "drop_job").setCurrentIndex(1)929 self.group_execution.findChild(QtGui.QComboBox, "drop_job").setCurrentIndex(1) 949 930 950 931 elif (options_all[:3][-1] == "o"): … … 954 935 self.group_execution.findChild(QtGui.QCheckBox,"check_restarts").setChecked(True) 955 936 # Check if _pdf file is available, otherwise notice user 956 jobname = str(self.group_ job.findChild(QtGui.QLineEdit,"line_jobname").text())[len(palm_dir)+len("/JOBS/"):]937 jobname = str(self.group_execution.findChild(QtGui.QLineEdit,"line_jobname").text()) 957 938 958 939 restartfile = "%sJOBS/%s/INPUT/%s_p3dr" % (palm_dir,jobname,jobname) … … 974 955 if ( ocean_run == True ): 975 956 if ( coupled_run == True ): 976 self.group_ job.findChild(QtGui.QComboBox, "drop_job").setCurrentIndex(4)957 self.group_execution.findChild(QtGui.QComboBox, "drop_job").setCurrentIndex(4) 977 958 978 959 else: 979 self.group_ job.findChild(QtGui.QComboBox, "drop_job").setCurrentIndex(3)960 self.group_execution.findChild(QtGui.QComboBox, "drop_job").setCurrentIndex(3) 980 961 981 962 if ( user != ""): … … 991 972 self.groupBox.findChild(QtGui.QPushButton,"button_start").setEnabled(False) 992 973 self.menuBar.findChild(QtGui.QMenu,"menuStart").actions()[3].setEnabled(False) 993 self.group_ job.findChild(QtGui.QComboBox, "drop_job").setEnabled(False)974 self.group_execution.findChild(QtGui.QComboBox, "drop_job").setEnabled(False) 994 975 self.group_advanced.setEnabled(False) 995 976 self.check_advanced.setEnabled(False) … … 999 980 self.groupBox.findChild(QtGui.QPushButton,"button_start").setEnabled(True) 1000 981 self.menuBar.findChild(QtGui.QMenu,"menuStart").actions()[3].setEnabled(True) 1001 self.group_ job.findChild(QtGui.QComboBox, "drop_job").setEnabled(True)982 self.group_execution.findChild(QtGui.QComboBox, "drop_job").setEnabled(True) 1002 983 self.group_advanced.setEnabled(True) 1003 984 … … 1049 1030 self.groupBox.findChild(QtGui.QLineEdit,"commandline").setText(palmrunline) 1050 1031 self.setup_gui(palmrunline) 1032 1033 1034 1035 def update_all(self): 1036 1037 self.setEnabled(False) 1038 self.list_input.clear() 1039 self.list_user.clear() 1040 self.list_monitoring.clear() 1041 self.list_output.clear() 1042 self.load_jobs() 1043 self.setEnabled(True) 1044 1045 # Load jobs into list 1046 def load_jobs(self): 1047 1048 self.list_jobs.clear() 1049 self.push_copy.setEnabled(False) 1050 self.push_create_set.setEnabled(False) 1051 1052 self.line_path.setText(job_dir + "/") 1053 1054 list_of_files = os.listdir(job_dir) 1055 1056 for i in range(0,len(list_of_files)): 1057 tmp_file = job_dir + "/" + list_of_files[i] 1058 1059 if ( os.path.isdir(tmp_file) ): 1060 self.list_jobs.addItem(str(list_of_files[i])) 1061 1062 1063 # Update input and user code lists 1064 def update_input(self): 1065 1066 self.list_input.clear() 1067 self.list_user.clear() 1068 self.list_monitoring.clear() 1069 self.list_output.clear() 1070 self.push_copy.setEnabled(True) 1071 self.push_create_set.setEnabled(True) 1072 1073 job_to_show = job_dir + "/" + self.list_jobs.currentItem().text() + "/INPUT" 1074 1075 if ( os.path.isdir(job_to_show) ): 1076 1077 list_of_files = os.listdir(job_to_show) 1078 1079 for i in range(0,len(list_of_files)): 1080 tmp_file = job_to_show + "/" + list_of_files[i] 1081 1082 if ( os.path.isfile(tmp_file) ): 1083 self.list_input.addItem(str(list_of_files[i])) 1084 1085 job_to_show = job_dir + "/" + self.list_jobs.currentItem().text() + "/USER_CODE" 1086 1087 if ( os.path.isdir(job_to_show) ): 1088 1089 list_of_files = os.listdir(job_to_show) 1090 1091 for i in range(0,len(list_of_files)): 1092 tmp_file = job_to_show + "/" + list_of_files[i] 1093 1094 if ( os.path.isfile(tmp_file) ): 1095 self.list_user.addItem(str(list_of_files[i])) 1096 1097 job_to_show = job_dir + "/" + self.list_jobs.currentItem().text() + "/MONITORING" 1098 1099 if ( os.path.isdir(job_to_show) ): 1100 1101 list_of_files = os.listdir(job_to_show) 1102 1103 for i in range(0,len(list_of_files)): 1104 tmp_file = job_to_show + "/" + list_of_files[i] 1105 1106 if ( os.path.isfile(tmp_file) ): 1107 self.list_monitoring.addItem(str(list_of_files[i])) 1108 1109 job_to_show = job_dir + "/" + self.list_jobs.currentItem().text() + "/OUTPUT" 1110 1111 if ( os.path.isdir(job_to_show) ): 1112 1113 list_of_files = os.listdir(job_to_show) 1114 1115 for i in range(0,len(list_of_files)): 1116 tmp_file = job_to_show + "/" + list_of_files[i] 1117 1118 if ( os.path.isfile(tmp_file) ): 1119 self.list_output.addItem(str(list_of_files[i])) 1120 1121 self.group_execution.findChild(QtGui.QLineEdit,"line_jobname").setText(self.list_jobs.currentItem().text()) 1122 self.group_history.findChild(QtGui.QListWidget,"list_jobname").clearSelection() 1123 1124 # Change palmrunline accordingly 1125 self.change_commandline("r","") 1126 self.change_commandline("a","") 1127 1128 1129 # Make a copy of a job 1130 def copy_job(self): 1131 1132 self.setEnabled(False) 1133 old_job_name = self.list_jobs.currentItem().text() 1134 1135 text, ret = QtGui.QInputDialog.getText(self, "Copy job", "Enter new job name:", mode = QtGui.QLineEdit.Normal, text = old_job_name) 1136 1137 if ( ret ): 1138 new_job_name = str(text) 1139 else: 1140 self.setEnabled(True) 1141 return 1142 1143 new_input_dir = job_dir + "/" + new_job_name + "/INPUT" 1144 1145 # check if a job exists with the new job name 1146 if ( os.path.isdir(new_input_dir) ): 1147 notify = QtGui.QMessageBox.warning(self,'Create new job directory',"Error. Could not create job directory. A job with the new name already exists.") 1148 self.setEnabled(True) 1149 return 1150 else: 1151 os.makedirs(new_input_dir) 1152 1153 # copy and rename input files (if present) 1154 job_to_copy = job_dir + "/" + old_job_name + "/INPUT" 1155 1156 if ( os.path.isdir(job_to_copy) ): 1157 1158 list_of_files = os.listdir(job_to_copy) 1159 1160 for i in range(0,len(list_of_files)): 1161 1162 tmp_file = job_to_copy + "/" + list_of_files[i] 1163 new_file = new_input_dir + "/" + list_of_files[i].replace(old_job_name, new_job_name) 1164 shutil.copy(tmp_file, new_file) 1165 1166 1167 1168 1169 new_user_dir = job_dir + "/" + new_job_name + "/USER_CODE" 1170 1171 # check if user code exists in the new job directory 1172 if ( os.path.isdir(new_user_dir) ): 1173 notify = QtGui.QMessageBox.warning(self,'Create new user code directory',"Error. Could not create user code directory. A user code directiory with the new name already exists.") 1174 self.setEnabled(True) 1175 return 1176 else: 1177 os.makedirs(new_user_dir) 1178 1179 1180 # copy user code files (if present) 1181 user_to_copy = job_dir + "/" + old_job_name + "/USER_CODE" 1182 1183 if ( os.path.isdir(user_to_copy) ): 1184 1185 list_of_files = os.listdir(user_to_copy) 1186 1187 for i in range(0,len(list_of_files)): 1188 1189 tmp_file = user_to_copy + "/" + list_of_files[i] 1190 new_file = new_user_dir + "/" + list_of_files[i] 1191 shutil.copy(tmp_file, new_file) 1192 1193 self.load_jobs() 1194 self.list_input.clear() 1195 self.list_user.clear() 1196 self.list_monitoring.clear() 1197 self.list_output.clear() 1198 self.setEnabled(True) 1199 1200 1201 # Create a whole set of jobs 1202 def create_set(self): 1203 1204 global set_list 1205 # disable mainwindow 1206 self.setEnabled(False) 1207 1208 # show Options Dialog 1209 opt = CreateSetBox() 1210 opt.exec_() 1211 1212 old_job_name = self.list_jobs.currentItem().text() 1213 1214 for j in range(0,len(set_list)): 1215 1216 if ( set_list[j] != "" ): 1217 new_job_name = str(set_list[j]) 1218 new_input_dir = job_dir + "/" + str(set_list[j]) + "/INPUT" 1219 else: 1220 continue 1221 1222 # check if a job exists with the new job name 1223 if ( os.path.isdir(new_input_dir) ): 1224 notify = QtGui.QMessageBox.warning(self,'Create new job directory',"Error. Could not create job directory. A job with the new name already exists.") 1225 self.setEnabled(True) 1226 return 1227 else: 1228 os.makedirs(new_input_dir) 1229 1230 # copy and rename input files (if present) 1231 job_to_copy = job_dir + "/" + old_job_name + "/INPUT" 1232 1233 if ( os.path.isdir(job_to_copy) ): 1234 1235 list_of_files = os.listdir(job_to_copy) 1236 1237 for i in range(0,len(list_of_files)): 1238 1239 tmp_file = job_to_copy + "/" + list_of_files[i] 1240 new_file = new_input_dir + "/" + list_of_files[i].replace(old_job_name, new_job_name) 1241 shutil.copy(tmp_file, new_file) 1242 1243 1244 new_user_dir = job_dir + "/" + new_job_name + "/USER_CODE" 1245 1246 # check if user code exists in the new job directory 1247 if ( os.path.isdir(new_user_dir) ): 1248 notify = QtGui.QMessageBox.warning(self,'Create new user code directory',"Error. Could not create user code directory. A user code directiory with the new name already exists.") 1249 self.setEnabled(True) 1250 return 1251 else: 1252 os.makedirs(new_user_dir) 1253 1254 1255 # copy user code files (if present) 1256 user_to_copy = job_dir + "/" + old_job_name + "/USER_CODE" 1257 1258 if ( os.path.isdir(user_to_copy) ): 1259 1260 list_of_files = os.listdir(user_to_copy) 1261 1262 for i in range(0,len(list_of_files)): 1263 1264 tmp_file = user_to_copy + "/" + list_of_files[i] 1265 new_file = new_user_dir + "/" + list_of_files[i] 1266 shutil.copy(tmp_file, new_file) 1267 1268 self.load_jobs() 1269 self.list_input.clear() 1270 self.list_user.clear() 1271 self.list_monitoring.clear() 1272 self.list_output.clear() 1273 1274 self.setEnabled(True) 1275 set_list = [] 1276 1277 # Add a custom context menu 1278 def openmenuinput(self, position): 1279 1280 menu = QtGui.QMenu() 1281 1282 selection = self.list_input.selectedItems() 1283 1284 if ( len(selection) != 0 ): 1285 1286 openAction = menu.addAction('Open selected files') 1287 openAction.setStatusTip('Open file(s) in your favorite editor') 1288 openAction.triggered.connect(self.OpenFilesInput) 1289 action = menu.exec_(self.list_input.mapToGlobal(position)) 1290 1291 # Add a custom context menu 1292 def openmenuuser(self, position): 1293 1294 menu = QtGui.QMenu() 1295 1296 selection = self.list_user.selectedItems() 1297 1298 if ( len(selection) != 0 ): 1299 1300 openAction = menu.addAction('Open selected files') 1301 openAction.setStatusTip('Open file(s) in your favorite editor') 1302 openAction.triggered.connect(self.OpenFilesUser) 1303 action = menu.exec_(self.list_user.mapToGlobal(position)) 1304 1305 # Add a custom context menu 1306 def openmenuoutput(self, position): 1307 1308 menu = QtGui.QMenu() 1309 1310 selection = self.list_output.selectedItems() 1311 1312 print("test") 1313 if ( len(selection) != 0 ): 1314 1315 openAction = menu.addAction('Open selected files') 1316 openAction.setStatusTip('Open file(s) in your favorite editor') 1317 openAction.triggered.connect(self.OpenFilesOutput) 1318 action = menu.exec_(self.list_output.mapToGlobal(position)) 1319 1320 # Add a custom context menu 1321 def openmenumonitoring(self, position): 1322 1323 menu = QtGui.QMenu() 1324 1325 selection = self.list_monitoring.selectedItems() 1326 1327 if ( len(selection) != 0 ): 1328 1329 openAction = menu.addAction('Open selected files') 1330 openAction.setStatusTip('Open file(s) in your favorite editor') 1331 openAction.triggered.connect(self.OpenFilesMonitoring) 1332 action = menu.exec_(self.list_monitoring.mapToGlobal(position)) 1333 1334 def OpenFilesInput(self): 1335 1336 sel_job = self.list_jobs.currentItem().text() 1337 sel_files = self.list_input.selectedItems() 1338 1339 input_dir = job_dir + "/" + sel_job + "/INPUT/" 1340 1341 open_files = "" 1342 for i in range(0,len(sel_files)): 1343 open_files = open_files + "xdg-open " + input_dir + sel_files[i].text() + "; " 1344 1345 os.system(str(open_files)) 1346 1347 def OpenFilesUser(self): 1348 1349 sel_job = self.list_jobs.currentItem().text() 1350 sel_files = self.list_user.selectedItems() 1351 1352 input_dir = job_dir + "/" + sel_job + "/USER_CODE/" 1353 1354 open_files = "" 1355 for i in range(0,len(sel_files)): 1356 open_files = open_files + "xdg-open " + input_dir + sel_files[i].text() + "; " 1357 1358 os.system(str(open_files)) 1359 selection = self.list_jobs.selectedItems() 1360 1361 def OpenFilesMonitoring(self): 1362 1363 sel_job = self.list_jobs.currentItem().text() 1364 sel_files = self.list_monitoring.selectedItems() 1365 1366 input_dir = job_dir + "/" + sel_job + "/MONITORING/" 1367 1368 open_files = "" 1369 for i in range(0,len(sel_files)): 1370 open_files = open_files + "xdg-open " + input_dir + sel_files[i].text() + "; " 1371 1372 os.system(str(open_files)) 1373 selection = self.list_jobs.selectedItems() 1374 1375 def OpenFilesOutput(self): 1376 1377 sel_job = self.list_jobs.currentItem().text() 1378 sel_files = self.list_output.selectedItems() 1379 1380 input_dir = job_dir + "/" + sel_job + "/OUTPUT/" 1381 1382 open_files = "" 1383 for i in range(0,len(sel_files)): 1384 open_files = open_files + "xdg-open " + input_dir + sel_files[i].text() + "; " 1385 1386 os.system(str(open_files)) 1387 selection = self.list_jobs.selectedItems() 1388 1389 # Message box for showing RUN_CONTROL output 1390 class CreateSetBox(QtGui.QDialog): 1391 def __init__(self): 1392 1393 super(CreateSetBox, self).__init__() 1394 1395 uic.loadUi(palm_bin + '/palmrungui_files/create_set.ui', self) 1396 1397 self.show() 1398 1399 return 1400 1401 # Cancel button 1402 def rejected(self): 1403 1404 self.close() 1405 1406 return 1407 1408 1409 # OK button 1410 def accept(self): 1411 1412 global set_list 1413 1414 text = self.list.toPlainText() 1415 set_list = text.split('\n') 1416 self.close() 1417 1418 return 1419 1420 1051 1421 1052 1422 -
palm/trunk/SCRIPTS/palmrungui_files/mainwindow.ui
r3196 r4405 13 13 <x>0</x> 14 14 <y>0</y> 15 <width> 600</width>16 <height> 700</height>15 <width>1185</width> 16 <height>800</height> 17 17 </rect> 18 18 </property> … … 25 25 <property name="minimumSize"> 26 26 <size> 27 <width> 600</width>28 <height> 700</height>27 <width>1185</width> 28 <height>800</height> 29 29 </size> 30 30 </property> 31 31 <property name="maximumSize"> 32 32 <size> 33 <width> 600</width>34 <height> 700</height>33 <width>1185</width> 34 <height>800</height> 35 35 </size> 36 36 </property> … … 67 67 <rect> 68 68 <x>0</x> 69 <y> 570</y>70 <width> 601</width>69 <y>680</y> 70 <width>1181</width> 71 71 <height>81</height> 72 72 </rect> … … 140 140 <x>10</x> 141 141 <y>50</y> 142 <width> 581</width>142 <width>771</width> 143 143 <height>26</height> 144 144 </rect> … … 165 165 <rect> 166 166 <x>0</x> 167 <y> 5</y>168 <width> 591</width>169 <height> 581</height>167 <y>-5</y> 168 <width>1181</width> 169 <height>696</height> 170 170 </rect> 171 171 </property> … … 194 194 <string>Default</string> 195 195 </attribute> 196 <widget class="QGroupBox" name="group_ job">196 <widget class="QGroupBox" name="group_execution"> 197 197 <property name="enabled"> 198 <bool> true</bool>198 <bool>false</bool> 199 199 </property> 200 200 <property name="geometry"> 201 201 <rect> 202 <x> 0</x>203 <y> 0</y>204 <width> 571</width>205 <height>2 96</height>202 <x>10</x> 203 <y>395</y> 204 <width>431</width> 205 <height>266</height> 206 206 </rect> 207 207 </property> 208 <property name="font">209 <font>210 <weight>50</weight>211 <bold>false</bold>212 </font>213 </property>214 208 <property name="title"> 215 <string notr="true">Job name</string> 209 <string>Execution</string> 210 </property> 211 <property name="alignment"> 212 <set>Qt::AlignCenter</set> 216 213 </property> 217 214 <property name="flat"> 218 <bool> true</bool>219 </property> 220 <widget class="QLineEdit" name="line_ jobname">221 <property name="geometry"> 222 <rect> 223 <x> 90</x>224 <y> 30</y>225 <width> 481</width>226 <height>2 5</height>215 <bool>false</bool> 216 </property> 217 <widget class="QLineEdit" name="line_q"> 218 <property name="geometry"> 219 <rect> 220 <x>310</x> 221 <y>80</y> 222 <width>111</width> 223 <height>21</height> 227 224 </rect> 228 225 </property> … … 230 227 <string/> 231 228 </property> 232 </widget> 233 <widget class="QPushButton" name="pushButton"> 229 <property name="alignment"> 230 <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set> 231 </property> 232 </widget> 233 <widget class="QLabel" name="label_2"> 234 <property name="geometry"> 235 <rect> 236 <x>230</x> 237 <y>75</y> 238 <width>71</width> 239 <height>21</height> 240 </rect> 241 </property> 242 <property name="text"> 243 <string>Queue:</string> 244 </property> 245 <property name="alignment"> 246 <set>Qt::AlignBottom|Qt::AlignRight|Qt::AlignTrailing</set> 247 </property> 248 </widget> 249 <widget class="QLineEdit" name="line_pe"> 250 <property name="geometry"> 251 <rect> 252 <x>100</x> 253 <y>105</y> 254 <width>101</width> 255 <height>20</height> 256 </rect> 257 </property> 258 <property name="text"> 259 <string/> 260 </property> 261 </widget> 262 <widget class="QLabel" name="label_3"> 263 <property name="geometry"> 264 <rect> 265 <x>-20</x> 266 <y>105</y> 267 <width>111</width> 268 <height>16</height> 269 </rect> 270 </property> 271 <property name="text"> 272 <string>Cores:</string> 273 </property> 274 <property name="alignment"> 275 <set>Qt::AlignBottom|Qt::AlignRight|Qt::AlignTrailing</set> 276 </property> 277 </widget> 278 <widget class="QLineEdit" name="line_tpn"> 279 <property name="geometry"> 280 <rect> 281 <x>310</x> 282 <y>105</y> 283 <width>111</width> 284 <height>21</height> 285 </rect> 286 </property> 287 <property name="text"> 288 <string/> 289 </property> 290 </widget> 291 <widget class="QLabel" name="label_4"> 292 <property name="geometry"> 293 <rect> 294 <x>200</x> 295 <y>100</y> 296 <width>101</width> 297 <height>21</height> 298 </rect> 299 </property> 300 <property name="text"> 301 <string>Tasks per node:</string> 302 </property> 303 <property name="alignment"> 304 <set>Qt::AlignBottom|Qt::AlignRight|Qt::AlignTrailing</set> 305 </property> 306 </widget> 307 <widget class="QLineEdit" name="line_account"> 308 <property name="geometry"> 309 <rect> 310 <x>310</x> 311 <y>130</y> 312 <width>111</width> 313 <height>20</height> 314 </rect> 315 </property> 316 <property name="text"> 317 <string/> 318 </property> 319 </widget> 320 <widget class="QLabel" name="label_5"> 321 <property name="geometry"> 322 <rect> 323 <x>200</x> 324 <y>130</y> 325 <width>101</width> 326 <height>16</height> 327 </rect> 328 </property> 329 <property name="text"> 330 <string>Project account:</string> 331 </property> 332 <property name="alignment"> 333 <set>Qt::AlignBottom|Qt::AlignRight|Qt::AlignTrailing</set> 334 </property> 335 </widget> 336 <widget class="QLabel" name="label_6"> 337 <property name="geometry"> 338 <rect> 339 <x>-10</x> 340 <y>130</y> 341 <width>101</width> 342 <height>16</height> 343 </rect> 344 </property> 345 <property name="text"> 346 <string>Wallclock time:</string> 347 </property> 348 <property name="alignment"> 349 <set>Qt::AlignBottom|Qt::AlignRight|Qt::AlignTrailing</set> 350 </property> 351 </widget> 352 <widget class="QLineEdit" name="line_time"> 353 <property name="geometry"> 354 <rect> 355 <x>100</x> 356 <y>130</y> 357 <width>101</width> 358 <height>20</height> 359 </rect> 360 </property> 361 <property name="text"> 362 <string/> 363 </property> 364 </widget> 365 <widget class="QLabel" name="label_7"> 366 <property name="geometry"> 367 <rect> 368 <x>0</x> 369 <y>80</y> 370 <width>91</width> 371 <height>16</height> 372 </rect> 373 </property> 374 <property name="text"> 375 <string>Configuration:</string> 376 </property> 377 <property name="scaledContents"> 378 <bool>false</bool> 379 </property> 380 <property name="alignment"> 381 <set>Qt::AlignBottom|Qt::AlignRight|Qt::AlignTrailing</set> 382 </property> 383 </widget> 384 <widget class="QLineEdit" name="line_host"> 385 <property name="geometry"> 386 <rect> 387 <x>100</x> 388 <y>80</y> 389 <width>101</width> 390 <height>20</height> 391 </rect> 392 </property> 393 <property name="text"> 394 <string/> 395 </property> 396 </widget> 397 <widget class="Line" name="line"> 234 398 <property name="geometry"> 235 399 <rect> 236 400 <x>10</x> 237 <y> 30</y>238 <width> 71</width>239 <height>2 4</height>240 </rect> 241 </property> 242 <property name=" text">243 < string>Select</string>244 </property> 245 </widget> 246 <widget class="Q Label" name="label">401 <y>150</y> 402 <width>411</width> 403 <height>20</height> 404 </rect> 405 </property> 406 <property name="orientation"> 407 <enum>Qt::Horizontal</enum> 408 </property> 409 </widget> 410 <widget class="QCheckBox" name="check_restarts"> 247 411 <property name="geometry"> 248 412 <rect> 249 413 <x>10</x> 250 <y> 65</y>251 <width>1 51</width>252 <height> 16</height>253 </rect> 254 </property> 255 <property name="text"> 256 <string> Recently submitted jobs:</string>257 </property> 258 </widget> 259 <widget class="Q ListWidget" name="list_jobname">414 <y>165</y> 415 <width>121</width> 416 <height>23</height> 417 </rect> 418 </property> 419 <property name="text"> 420 <string>Allow restarts</string> 421 </property> 422 </widget> 423 <widget class="QCheckBox" name="check_delete_tmp_files"> 260 424 <property name="geometry"> 261 425 <rect> 262 426 <x>10</x> 263 <y>85</y> 264 <width>561</width> 265 <height>181</height> 266 </rect> 427 <y>185</y> 428 <width>281</width> 429 <height>23</height> 430 </rect> 431 </property> 432 <property name="text"> 433 <string>Do not delete temporary directory at end</string> 434 </property> 435 </widget> 436 <widget class="QCheckBox" name="check_verbose"> 437 <property name="geometry"> 438 <rect> 439 <x>10</x> 440 <y>205</y> 441 <width>261</width> 442 <height>23</height> 443 </rect> 444 </property> 445 <property name="text"> 446 <string>No prompt on confirmation (silent)</string> 447 </property> 448 </widget> 449 <widget class="QLabel" name="label_restart"> 450 <property name="enabled"> 451 <bool>false</bool> 452 </property> 453 <property name="geometry"> 454 <rect> 455 <x>130</x> 456 <y>165</y> 457 <width>291</width> 458 <height>20</height> 459 </rect> 460 </property> 461 <property name="font"> 462 <font> 463 <weight>75</weight> 464 <bold>true</bold> 465 </font> 466 </property> 467 <property name="text"> 468 <string/> 469 </property> 470 </widget> 471 <widget class="QCheckBox" name="check_cycfill"> 472 <property name="geometry"> 473 <rect> 474 <x>10</x> 475 <y>225</y> 476 <width>261</width> 477 <height>21</height> 478 </rect> 479 </property> 480 <property name="text"> 481 <string>Use cyclic fill method</string> 482 </property> 483 </widget> 484 <widget class="QCheckBox" name="check_svf"> 485 <property name="geometry"> 486 <rect> 487 <x>10</x> 488 <y>245</y> 489 <width>261</width> 490 <height>21</height> 491 </rect> 492 </property> 493 <property name="text"> 494 <string>Read sky view factors from file</string> 267 495 </property> 268 496 </widget> … … 273 501 <property name="geometry"> 274 502 <rect> 275 <x> 70</x>276 <y> 270</y>277 <width>2 71</width>503 <x>100</x> 504 <y>50</y> 505 <width>251</width> 278 506 <height>25</height> 279 507 </rect> … … 310 538 </item> 311 539 </widget> 312 <widget class="QLabel" name="label_usercode"> 313 <property name="enabled"> 314 <bool>true</bool> 315 </property> 316 <property name="geometry"> 317 <rect> 318 <x>350</x> 319 <y>267</y> 320 <width>231</width> 321 <height>31</height> 540 <widget class="QLineEdit" name="line_jobname"> 541 <property name="geometry"> 542 <rect> 543 <x>100</x> 544 <y>20</y> 545 <width>321</width> 546 <height>25</height> 322 547 </rect> 323 548 </property> … … 331 556 <string/> 332 557 </property> 558 <property name="frame"> 559 <bool>true</bool> 560 </property> 561 <property name="readOnly"> 562 <bool>true</bool> 563 </property> 333 564 </widget> 334 565 <widget class="QLabel" name="label_8"> 335 566 <property name="geometry"> 336 567 <rect> 337 <x> 10</x>338 <y> 275</y>339 <width> 81</width>568 <x>0</x> 569 <y>55</y> 570 <width>91</width> 340 571 <height>16</height> 341 572 </rect> 342 573 </property> 343 574 <property name="text"> 344 <string>Job type:</string> 345 </property> 346 </widget> 347 </widget> 348 <widget class="QGroupBox" name="group_execution"> 349 <property name="enabled"> 350 <bool>false</bool> 351 </property> 352 <property name="geometry"> 353 <rect> 354 <x>0</x> 355 <y>305</y> 356 <width>431</width> 357 <height>231</height> 358 </rect> 359 </property> 360 <property name="title"> 361 <string>Execution</string> 362 </property> 363 <property name="flat"> 364 <bool>false</bool> 365 </property> 366 <widget class="QLineEdit" name="line_q"> 367 <property name="geometry"> 368 <rect> 369 <x>340</x> 370 <y>30</y> 371 <width>81</width> 372 <height>21</height> 373 </rect> 374 </property> 375 <property name="text"> 376 <string/> 377 </property> 378 <property name="alignment"> 379 <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set> 380 </property> 381 </widget> 382 <widget class="QLabel" name="label_2"> 383 <property name="geometry"> 384 <rect> 385 <x>260</x> 386 <y>25</y> 387 <width>71</width> 388 <height>21</height> 389 </rect> 390 </property> 391 <property name="text"> 392 <string>Queue:</string> 575 <string>Mode:</string> 576 </property> 577 <property name="scaledContents"> 578 <bool>false</bool> 393 579 </property> 394 580 <property name="alignment"> … … 396 582 </property> 397 583 </widget> 398 <widget class="QLineEdit" name="line_pe"> 399 <property name="geometry"> 400 <rect> 401 <x>120</x> 402 <y>55</y> 403 <width>101</width> 404 <height>20</height> 405 </rect> 406 </property> 407 <property name="text"> 408 <string/> 409 </property> 410 </widget> 411 <widget class="QLabel" name="label_3"> 584 <widget class="QLabel" name="label_13"> 412 585 <property name="geometry"> 413 586 <rect> 414 587 <x>0</x> 415 <y>55</y> 416 <width>111</width> 417 <height>16</height> 418 </rect> 419 </property> 420 <property name="text"> 421 <string>Processing cores:</string> 422 </property> 423 <property name="alignment"> 424 <set>Qt::AlignBottom|Qt::AlignRight|Qt::AlignTrailing</set> 425 </property> 426 </widget> 427 <widget class="QLineEdit" name="line_tpn"> 428 <property name="geometry"> 429 <rect> 430 <x>340</x> 431 <y>55</y> 432 <width>61</width> 433 <height>21</height> 434 </rect> 435 </property> 436 <property name="text"> 437 <string/> 438 </property> 439 </widget> 440 <widget class="QLabel" name="label_4"> 441 <property name="geometry"> 442 <rect> 443 <x>230</x> 444 <y>50</y> 445 <width>101</width> 446 <height>21</height> 447 </rect> 448 </property> 449 <property name="text"> 450 <string>Tasks per node:</string> 451 </property> 452 <property name="alignment"> 453 <set>Qt::AlignBottom|Qt::AlignRight|Qt::AlignTrailing</set> 454 </property> 455 </widget> 456 <widget class="QLineEdit" name="line_account"> 457 <property name="geometry"> 458 <rect> 459 <x>340</x> 460 <y>80</y> 461 <width>81</width> 462 <height>20</height> 463 </rect> 464 </property> 465 <property name="text"> 466 <string/> 467 </property> 468 </widget> 469 <widget class="QLabel" name="label_5"> 470 <property name="geometry"> 471 <rect> 472 <x>230</x> 473 <y>80</y> 474 <width>101</width> 475 <height>16</height> 476 </rect> 477 </property> 478 <property name="text"> 479 <string>Project account:</string> 480 </property> 481 <property name="alignment"> 482 <set>Qt::AlignBottom|Qt::AlignRight|Qt::AlignTrailing</set> 483 </property> 484 </widget> 485 <widget class="QLabel" name="label_6"> 486 <property name="geometry"> 487 <rect> 488 <x>10</x> 489 <y>80</y> 490 <width>101</width> 491 <height>16</height> 492 </rect> 493 </property> 494 <property name="text"> 495 <string>Wallclock time:</string> 496 </property> 497 <property name="alignment"> 498 <set>Qt::AlignBottom|Qt::AlignRight|Qt::AlignTrailing</set> 499 </property> 500 </widget> 501 <widget class="QLineEdit" name="line_time"> 502 <property name="geometry"> 503 <rect> 504 <x>120</x> 505 <y>80</y> 506 <width>101</width> 507 <height>20</height> 508 </rect> 509 </property> 510 <property name="text"> 511 <string/> 512 </property> 513 </widget> 514 <widget class="QLabel" name="label_7"> 515 <property name="geometry"> 516 <rect> 517 <x>20</x> 518 <y>30</y> 588 <y>25</y> 519 589 <width>91</width> 520 590 <height>16</height> 521 </rect>522 </property>523 <property name="text">524 <string>Configuration:</string>525 </property>526 <property name="scaledContents">527 <bool>false</bool>528 </property>529 <property name="alignment">530 <set>Qt::AlignBottom|Qt::AlignRight|Qt::AlignTrailing</set>531 </property>532 </widget>533 <widget class="QLineEdit" name="line_host">534 <property name="geometry">535 <rect>536 <x>120</x>537 <y>30</y>538 <width>101</width>539 <height>20</height>540 </rect>541 </property>542 <property name="text">543 <string/>544 </property>545 </widget>546 <widget class="Line" name="line">547 <property name="geometry">548 <rect>549 <x>10</x>550 <y>105</y>551 <width>431</width>552 <height>20</height>553 </rect>554 </property>555 <property name="orientation">556 <enum>Qt::Horizontal</enum>557 </property>558 </widget>559 <widget class="QCheckBox" name="check_restarts">560 <property name="geometry">561 <rect>562 <x>10</x>563 <y>120</y>564 <width>121</width>565 <height>23</height>566 </rect>567 </property>568 <property name="text">569 <string>Allow restarts</string>570 </property>571 </widget>572 <widget class="QCheckBox" name="check_delete_tmp_files">573 <property name="geometry">574 <rect>575 <x>10</x>576 <y>140</y>577 <width>281</width>578 <height>23</height>579 </rect>580 </property>581 <property name="text">582 <string>Do not delete temporary directory at end</string>583 </property>584 </widget>585 <widget class="QCheckBox" name="check_verbose">586 <property name="geometry">587 <rect>588 <x>10</x>589 <y>160</y>590 <width>261</width>591 <height>23</height>592 </rect>593 </property>594 <property name="text">595 <string>No prompt on confirmation (silent)</string>596 </property>597 </widget>598 <widget class="QLabel" name="label_restart">599 <property name="enabled">600 <bool>false</bool>601 </property>602 <property name="geometry">603 <rect>604 <x>130</x>605 <y>120</y>606 <width>291</width>607 <height>20</height>608 591 </rect> 609 592 </property> … … 615 598 </property> 616 599 <property name="text"> 617 <string/> 618 </property> 619 </widget> 620 <widget class="QCheckBox" name="check_cycfill"> 621 <property name="geometry"> 622 <rect> 623 <x>10</x> 600 <string>Selected job:</string> 601 </property> 602 <property name="scaledContents"> 603 <bool>false</bool> 604 </property> 605 <property name="alignment"> 606 <set>Qt::AlignBottom|Qt::AlignRight|Qt::AlignTrailing</set> 607 </property> 608 </widget> 609 <widget class="QLabel" name="palm_logo"> 610 <property name="geometry"> 611 <rect> 612 <x>330</x> 624 613 <y>180</y> 625 <width>261</width> 626 <height>21</height> 627 </rect> 628 </property> 629 <property name="text"> 630 <string>Use cyclic fill method</string> 631 </property> 632 </widget> 633 <widget class="QCheckBox" name="check_svf"> 634 <property name="geometry"> 635 <rect> 636 <x>10</x> 637 <y>200</y> 638 <width>261</width> 639 <height>21</height> 640 </rect> 641 </property> 642 <property name="text"> 643 <string>Read sky view factors from file</string> 614 <width>77</width> 615 <height>72</height> 616 </rect> 617 </property> 618 <property name="text"> 619 <string>TextLabel</string> 620 </property> 621 <property name="scaledContents"> 622 <bool>true</bool> 644 623 </property> 645 624 </widget> 646 625 </widget> 647 <widget class="QLabel" name=" palm_logo">626 <widget class="QLabel" name="label_9"> 648 627 <property name="geometry"> 649 628 <rect> 650 <x>4 90</x>651 <y>4 40</y>652 <width> 77</width>653 <height> 72</height>629 <x>460</x> 630 <y>40</y> 631 <width>145</width> 632 <height>16</height> 654 633 </rect> 655 634 </property> 656 635 <property name="text"> 657 <string>TextLabel</string> 658 </property> 659 <property name="scaledContents"> 636 <string>Browse at:</string> 637 </property> 638 </widget> 639 <widget class="QPushButton" name="push_create_set"> 640 <property name="geometry"> 641 <rect> 642 <x>560</x> 643 <y>630</y> 644 <width>131</width> 645 <height>24</height> 646 </rect> 647 </property> 648 <property name="text"> 649 <string>Create set from job</string> 650 </property> 651 </widget> 652 <widget class="QPushButton" name="push_copy"> 653 <property name="geometry"> 654 <rect> 655 <x>460</x> 656 <y>630</y> 657 <width>91</width> 658 <height>24</height> 659 </rect> 660 </property> 661 <property name="text"> 662 <string>Copy job</string> 663 </property> 664 </widget> 665 <widget class="QLineEdit" name="line_path"> 666 <property name="enabled"> 660 667 <bool>true</bool> 661 668 </property> 669 <property name="geometry"> 670 <rect> 671 <x>530</x> 672 <y>35</y> 673 <width>351</width> 674 <height>23</height> 675 </rect> 676 </property> 677 <property name="readOnly"> 678 <bool>true</bool> 679 </property> 662 680 </widget> 681 <widget class="QGroupBox" name="group_browser"> 682 <property name="geometry"> 683 <rect> 684 <x>450</x> 685 <y>5</y> 686 <width>721</width> 687 <height>656</height> 688 </rect> 689 </property> 690 <property name="title"> 691 <string>Browser</string> 692 </property> 693 <property name="alignment"> 694 <set>Qt::AlignCenter</set> 695 </property> 696 <widget class="QListWidget" name="list_jobs"> 697 <property name="geometry"> 698 <rect> 699 <x>10</x> 700 <y>85</y> 701 <width>231</width> 702 <height>531</height> 703 </rect> 704 </property> 705 <property name="contextMenuPolicy"> 706 <enum>Qt::NoContextMenu</enum> 707 </property> 708 <property name="alternatingRowColors"> 709 <bool>true</bool> 710 </property> 711 <property name="sortingEnabled"> 712 <bool>true</bool> 713 </property> 714 </widget> 715 <widget class="QListWidget" name="list_input"> 716 <property name="geometry"> 717 <rect> 718 <x>250</x> 719 <y>85</y> 720 <width>231</width> 721 <height>141</height> 722 </rect> 723 </property> 724 <property name="contextMenuPolicy"> 725 <enum>Qt::CustomContextMenu</enum> 726 </property> 727 <property name="alternatingRowColors"> 728 <bool>true</bool> 729 </property> 730 <property name="selectionMode"> 731 <enum>QAbstractItemView::MultiSelection</enum> 732 </property> 733 <property name="sortingEnabled"> 734 <bool>true</bool> 735 </property> 736 </widget> 737 <widget class="QListWidget" name="list_user"> 738 <property name="geometry"> 739 <rect> 740 <x>250</x> 741 <y>250</y> 742 <width>231</width> 743 <height>141</height> 744 </rect> 745 </property> 746 <property name="contextMenuPolicy"> 747 <enum>Qt::CustomContextMenu</enum> 748 </property> 749 <property name="alternatingRowColors"> 750 <bool>true</bool> 751 </property> 752 <property name="selectionMode"> 753 <enum>QAbstractItemView::MultiSelection</enum> 754 </property> 755 <property name="sortingEnabled"> 756 <bool>true</bool> 757 </property> 758 </widget> 759 <widget class="QLabel" name="label_11"> 760 <property name="geometry"> 761 <rect> 762 <x>10</x> 763 <y>65</y> 764 <width>121</width> 765 <height>16</height> 766 </rect> 767 </property> 768 <property name="text"> 769 <string>Available jobs:</string> 770 </property> 771 </widget> 772 <widget class="QLabel" name="label_10"> 773 <property name="geometry"> 774 <rect> 775 <x>250</x> 776 <y>65</y> 777 <width>74</width> 778 <height>16</height> 779 </rect> 780 </property> 781 <property name="text"> 782 <string>Input files:</string> 783 </property> 784 </widget> 785 <widget class="QLabel" name="label_12"> 786 <property name="geometry"> 787 <rect> 788 <x>250</x> 789 <y>230</y> 790 <width>156</width> 791 <height>16</height> 792 </rect> 793 </property> 794 <property name="text"> 795 <string>User code:</string> 796 </property> 797 </widget> 798 <widget class="QPushButton" name="push_update"> 799 <property name="geometry"> 800 <rect> 801 <x>440</x> 802 <y>30</y> 803 <width>121</width> 804 <height>24</height> 805 </rect> 806 </property> 807 <property name="text"> 808 <string>Update</string> 809 </property> 810 </widget> 811 <widget class="QListWidget" name="list_output"> 812 <property name="geometry"> 813 <rect> 814 <x>490</x> 815 <y>85</y> 816 <width>221</width> 817 <height>566</height> 818 </rect> 819 </property> 820 <property name="contextMenuPolicy"> 821 <enum>Qt::CustomContextMenu</enum> 822 </property> 823 <property name="alternatingRowColors"> 824 <bool>true</bool> 825 </property> 826 <property name="selectionMode"> 827 <enum>QAbstractItemView::MultiSelection</enum> 828 </property> 829 <property name="sortingEnabled"> 830 <bool>true</bool> 831 </property> 832 </widget> 833 <widget class="QLabel" name="label_14"> 834 <property name="geometry"> 835 <rect> 836 <x>490</x> 837 <y>65</y> 838 <width>74</width> 839 <height>16</height> 840 </rect> 841 </property> 842 <property name="text"> 843 <string>Output files:</string> 844 </property> 845 </widget> 846 <widget class="QListWidget" name="list_monitoring"> 847 <property name="geometry"> 848 <rect> 849 <x>250</x> 850 <y>415</y> 851 <width>231</width> 852 <height>236</height> 853 </rect> 854 </property> 855 <property name="contextMenuPolicy"> 856 <enum>Qt::CustomContextMenu</enum> 857 </property> 858 <property name="alternatingRowColors"> 859 <bool>true</bool> 860 </property> 861 <property name="selectionMode"> 862 <enum>QAbstractItemView::MultiSelection</enum> 863 </property> 864 <property name="sortingEnabled"> 865 <bool>true</bool> 866 </property> 867 </widget> 868 <widget class="QLabel" name="label_15"> 869 <property name="geometry"> 870 <rect> 871 <x>250</x> 872 <y>395</y> 873 <width>156</width> 874 <height>16</height> 875 </rect> 876 </property> 877 <property name="text"> 878 <string>Monitoring files:</string> 879 </property> 880 </widget> 881 </widget> 882 <widget class="QGroupBox" name="group_history"> 883 <property name="geometry"> 884 <rect> 885 <x>10</x> 886 <y>5</y> 887 <width>431</width> 888 <height>381</height> 889 </rect> 890 </property> 891 <property name="title"> 892 <string>History</string> 893 </property> 894 <property name="alignment"> 895 <set>Qt::AlignCenter</set> 896 </property> 897 <widget class="QListWidget" name="list_jobname"> 898 <property name="geometry"> 899 <rect> 900 <x>10</x> 901 <y>50</y> 902 <width>411</width> 903 <height>321</height> 904 </rect> 905 </property> 906 <property name="alternatingRowColors"> 907 <bool>true</bool> 908 </property> 909 </widget> 910 <widget class="QLabel" name="label"> 911 <property name="geometry"> 912 <rect> 913 <x>10</x> 914 <y>30</y> 915 <width>151</width> 916 <height>16</height> 917 </rect> 918 </property> 919 <property name="text"> 920 <string>Recently submitted jobs:</string> 921 </property> 922 </widget> 923 </widget> 924 <zorder>group_browser</zorder> 925 <zorder>group_execution</zorder> 926 <zorder>label_9</zorder> 927 <zorder>push_create_set</zorder> 928 <zorder>push_copy</zorder> 929 <zorder>line_path</zorder> 930 <zorder>group_history</zorder> 663 931 </widget> 664 932 <widget class="QWidget" name="tab_2"> … … 672 940 <property name="geometry"> 673 941 <rect> 674 <x> 0</x>942 <x>10</x> 675 943 <y>5</y> 676 <width>5 01</width>944 <width>511</width> 677 945 <height>401</height> 678 946 </rect> … … 680 948 <property name="title"> 681 949 <string>Advanced settings</string> 950 </property> 951 <property name="alignment"> 952 <set>Qt::AlignCenter</set> 682 953 </property> 683 954 <property name="flat"> … … 967 1238 <rect> 968 1239 <x>10</x> 969 <y>4 10</y>1240 <y>420</y> 970 1241 <width>401</width> 971 1242 <height>101</height> … … 973 1244 </property> 974 1245 <property name="title"> 975 <string/> 1246 <string>Processor distribution</string> 1247 </property> 1248 <property name="alignment"> 1249 <set>Qt::AlignCenter</set> 976 1250 </property> 977 1251 <widget class="QLineEdit" name="line_PE_ocean"> … … 1034 1308 <property name="alignment"> 1035 1309 <set>Qt::AlignBottom|Qt::AlignRight|Qt::AlignTrailing</set> 1036 </property>1037 </widget>1038 <widget class="QLabel" name="label_coupled1">1039 <property name="geometry">1040 <rect>1041 <x>10</x>1042 <y>1</y>1043 <width>181</width>1044 <height>21</height>1045 </rect>1046 </property>1047 <property name="autoFillBackground">1048 <bool>false</bool>1049 </property>1050 <property name="text">1051 <string>Processor distribution</string>1052 </property>1053 <property name="scaledContents">1054 <bool>false</bool>1055 </property>1056 <property name="alignment">1057 <set>Qt::AlignBottom|Qt::AlignJustify</set>1058 </property>1059 <property name="wordWrap">1060 <bool>true</bool>1061 1310 </property> 1062 1311 </widget> … … 1119 1368 <x>0</x> 1120 1369 <y>0</y> 1121 <width> 600</width>1122 <height> 30</height>1370 <width>1185</width> 1371 <height>19</height> 1123 1372 </rect> 1124 1373 </property> … … 1126 1375 <property name="geometry"> 1127 1376 <rect> 1128 <x> 341</x>1129 <y> 82</y>1130 <width>1 29</width>1131 <height>1 89</height>1377 <x>261</x> 1378 <y>103</y> 1379 <width>147</width> 1380 <height>156</height> 1132 1381 </rect> 1133 1382 </property> … … 1157 1406 </property> 1158 1407 <addaction name="action_start_watchdog"/> 1159 <addaction name="action_start_jobmanager"/>1160 1408 </widget> 1161 1409 <addaction name="menuStart"/> … … 1235 1483 <layoutdefault spacing="1" margin="11"/> 1236 1484 <tabstops> 1237 <tabstop>pushButton</tabstop>1238 1485 <tabstop>drop_job</tabstop> 1239 1486 <tabstop>line_host</tabstop> … … 1279 1526 <hint type="sourcelabel"> 1280 1527 <x>160</x> 1281 <y> 652</y>1528 <y>756</y> 1282 1529 </hint> 1283 1530 <hint type="destinationlabel"> … … 1295 1542 <hint type="sourcelabel"> 1296 1543 <x>73</x> 1297 <y> 652</y>1544 <y>756</y> 1298 1545 </hint> 1299 1546 <hint type="destinationlabel"> … … 1310 1557 <hints> 1311 1558 <hint type="sourcelabel"> 1312 <x>2 26</x>1313 <y> 361</y>1559 <x>238</x> 1560 <y>406</y> 1314 1561 </hint> 1315 1562 <hint type="destinationlabel"> … … 1320 1567 </connection> 1321 1568 <connection> 1322 <sender>pushButton</sender> 1569 <sender>drop_job</sender> 1570 <signal>currentIndexChanged(QString)</signal> 1571 <receiver>MainWindow</receiver> 1572 <slot>change_rc_list()</slot> 1573 <hints> 1574 <hint type="sourcelabel"> 1575 <x>276</x> 1576 <y>406</y> 1577 </hint> 1578 <hint type="destinationlabel"> 1579 <x>334</x> 1580 <y>356</y> 1581 </hint> 1582 </hints> 1583 </connection> 1584 <connection> 1585 <sender>check_restarts</sender> 1586 <signal>stateChanged(int)</signal> 1587 <receiver>MainWindow</receiver> 1588 <slot>change_rc_list()</slot> 1589 <hints> 1590 <hint type="sourcelabel"> 1591 <x>78</x> 1592 <y>514</y> 1593 </hint> 1594 <hint type="destinationlabel"> 1595 <x>1</x> 1596 <y>530</y> 1597 </hint> 1598 </hints> 1599 </connection> 1600 <connection> 1601 <sender>check_delete_tmp_files</sender> 1602 <signal>stateChanged(int)</signal> 1603 <receiver>MainWindow</receiver> 1604 <slot>check_flags()</slot> 1605 <hints> 1606 <hint type="sourcelabel"> 1607 <x>82</x> 1608 <y>534</y> 1609 </hint> 1610 <hint type="destinationlabel"> 1611 <x>3</x> 1612 <y>562</y> 1613 </hint> 1614 </hints> 1615 </connection> 1616 <connection> 1617 <sender>check_verbose</sender> 1618 <signal>stateChanged(int)</signal> 1619 <receiver>MainWindow</receiver> 1620 <slot>check_flags()</slot> 1621 <hints> 1622 <hint type="sourcelabel"> 1623 <x>63</x> 1624 <y>554</y> 1625 </hint> 1626 <hint type="destinationlabel"> 1627 <x>5</x> 1628 <y>623</y> 1629 </hint> 1630 </hints> 1631 </connection> 1632 <connection> 1633 <sender>check_b</sender> 1634 <signal>stateChanged(int)</signal> 1635 <receiver>MainWindow</receiver> 1636 <slot>check_flags()</slot> 1637 <hints> 1638 <hint type="sourcelabel"> 1639 <x>434</x> 1640 <y>134</y> 1641 </hint> 1642 <hint type="destinationlabel"> 1643 <x>599</x> 1644 <y>67</y> 1645 </hint> 1646 </hints> 1647 </connection> 1648 <connection> 1649 <sender>check_F</sender> 1650 <signal>stateChanged(int)</signal> 1651 <receiver>MainWindow</receiver> 1652 <slot>check_flags()</slot> 1653 <hints> 1654 <hint type="sourcelabel"> 1655 <x>434</x> 1656 <y>159</y> 1657 </hint> 1658 <hint type="destinationlabel"> 1659 <x>599</x> 1660 <y>103</y> 1661 </hint> 1662 </hints> 1663 </connection> 1664 <connection> 1665 <sender>check_I</sender> 1666 <signal>stateChanged(int)</signal> 1667 <receiver>MainWindow</receiver> 1668 <slot>check_flags()</slot> 1669 <hints> 1670 <hint type="sourcelabel"> 1671 <x>454</x> 1672 <y>184</y> 1673 </hint> 1674 <hint type="destinationlabel"> 1675 <x>599</x> 1676 <y>129</y> 1677 </hint> 1678 </hints> 1679 </connection> 1680 <connection> 1681 <sender>check_k</sender> 1682 <signal>stateChanged(int)</signal> 1683 <receiver>MainWindow</receiver> 1684 <slot>check_flags()</slot> 1685 <hints> 1686 <hint type="sourcelabel"> 1687 <x>434</x> 1688 <y>209</y> 1689 </hint> 1690 <hint type="destinationlabel"> 1691 <x>599</x> 1692 <y>158</y> 1693 </hint> 1694 </hints> 1695 </connection> 1696 <connection> 1697 <sender>check_O</sender> 1698 <signal>stateChanged(int)</signal> 1699 <receiver>MainWindow</receiver> 1700 <slot>check_flags()</slot> 1701 <hints> 1702 <hint type="sourcelabel"> 1703 <x>434</x> 1704 <y>234</y> 1705 </hint> 1706 <hint type="destinationlabel"> 1707 <x>599</x> 1708 <y>188</y> 1709 </hint> 1710 </hints> 1711 </connection> 1712 <connection> 1713 <sender>check_x</sender> 1714 <signal>stateChanged(int)</signal> 1715 <receiver>MainWindow</receiver> 1716 <slot>check_flags()</slot> 1717 <hints> 1718 <hint type="sourcelabel"> 1719 <x>434</x> 1720 <y>259</y> 1721 </hint> 1722 <hint type="destinationlabel"> 1723 <x>599</x> 1724 <y>255</y> 1725 </hint> 1726 </hints> 1727 </connection> 1728 <connection> 1729 <sender>line_host</sender> 1730 <signal>textEdited(QString)</signal> 1731 <receiver>MainWindow</receiver> 1732 <slot>change_lineinput()</slot> 1733 <hints> 1734 <hint type="sourcelabel"> 1735 <x>169</x> 1736 <y>421</y> 1737 </hint> 1738 <hint type="destinationlabel"> 1739 <x>26</x> 1740 <y>362</y> 1741 </hint> 1742 </hints> 1743 </connection> 1744 <connection> 1745 <sender>line_pe</sender> 1746 <signal>textEdited(QString)</signal> 1747 <receiver>MainWindow</receiver> 1748 <slot>change_lineinput()</slot> 1749 <hints> 1750 <hint type="sourcelabel"> 1751 <x>166</x> 1752 <y>446</y> 1753 </hint> 1754 <hint type="destinationlabel"> 1755 <x>5</x> 1756 <y>440</y> 1757 </hint> 1758 </hints> 1759 </connection> 1760 <connection> 1761 <sender>line_time</sender> 1762 <signal>textEdited(QString)</signal> 1763 <receiver>MainWindow</receiver> 1764 <slot>change_lineinput()</slot> 1765 <hints> 1766 <hint type="sourcelabel"> 1767 <x>189</x> 1768 <y>471</y> 1769 </hint> 1770 <hint type="destinationlabel"> 1771 <x>4</x> 1772 <y>480</y> 1773 </hint> 1774 </hints> 1775 </connection> 1776 <connection> 1777 <sender>line_q</sender> 1778 <signal>textEdited(QString)</signal> 1779 <receiver>MainWindow</receiver> 1780 <slot>change_lineinput()</slot> 1781 <hints> 1782 <hint type="sourcelabel"> 1783 <x>398</x> 1784 <y>422</y> 1785 </hint> 1786 <hint type="destinationlabel"> 1787 <x>507</x> 1788 <y>387</y> 1789 </hint> 1790 </hints> 1791 </connection> 1792 <connection> 1793 <sender>line_account</sender> 1794 <signal>textEdited(QString)</signal> 1795 <receiver>MainWindow</receiver> 1796 <slot>change_lineinput()</slot> 1797 <hints> 1798 <hint type="sourcelabel"> 1799 <x>421</x> 1800 <y>471</y> 1801 </hint> 1802 <hint type="destinationlabel"> 1803 <x>506</x> 1804 <y>416</y> 1805 </hint> 1806 </hints> 1807 </connection> 1808 <connection> 1809 <sender>line_tpn</sender> 1810 <signal>textEdited(QString)</signal> 1811 <receiver>MainWindow</receiver> 1812 <slot>change_lineinput()</slot> 1813 <hints> 1814 <hint type="sourcelabel"> 1815 <x>396</x> 1816 <y>447</y> 1817 </hint> 1818 <hint type="destinationlabel"> 1819 <x>505</x> 1820 <y>447</y> 1821 </hint> 1822 </hints> 1823 </connection> 1824 <connection> 1825 <sender>line_m</sender> 1826 <signal>textEdited(QString)</signal> 1827 <receiver>MainWindow</receiver> 1828 <slot>change_lineinput()</slot> 1829 <hints> 1830 <hint type="sourcelabel"> 1831 <x>304</x> 1832 <y>331</y> 1833 </hint> 1834 <hint type="destinationlabel"> 1835 <x>599</x> 1836 <y>328</y> 1837 </hint> 1838 </hints> 1839 </connection> 1840 <connection> 1841 <sender>line_D</sender> 1842 <signal>textEdited(QString)</signal> 1843 <receiver>MainWindow</receiver> 1844 <slot>change_lineinput()</slot> 1845 <hints> 1846 <hint type="sourcelabel"> 1847 <x>414</x> 1848 <y>381</y> 1849 </hint> 1850 <hint type="destinationlabel"> 1851 <x>599</x> 1852 <y>396</y> 1853 </hint> 1854 </hints> 1855 </connection> 1856 <connection> 1857 <sender>line_s</sender> 1858 <signal>textEdited(QString)</signal> 1859 <receiver>MainWindow</receiver> 1860 <slot>change_lineinput()</slot> 1861 <hints> 1862 <hint type="sourcelabel"> 1863 <x>414</x> 1864 <y>406</y> 1865 </hint> 1866 <hint type="destinationlabel"> 1867 <x>599</x> 1868 <y>522</y> 1869 </hint> 1870 </hints> 1871 </connection> 1872 <connection> 1873 <sender>line_w</sender> 1874 <signal>textEdited(QString)</signal> 1875 <receiver>MainWindow</receiver> 1876 <slot>change_lineinput()</slot> 1877 <hints> 1878 <hint type="sourcelabel"> 1879 <x>414</x> 1880 <y>431</y> 1881 </hint> 1882 <hint type="destinationlabel"> 1883 <x>599</x> 1884 <y>612</y> 1885 </hint> 1886 </hints> 1887 </connection> 1888 <connection> 1889 <sender>line_user</sender> 1890 <signal>textChanged(QString)</signal> 1891 <receiver>MainWindow</receiver> 1892 <slot>change_lineinput()</slot> 1893 <hints> 1894 <hint type="sourcelabel"> 1895 <x>414</x> 1896 <y>456</y> 1897 </hint> 1898 <hint type="destinationlabel"> 1899 <x>599</x> 1900 <y>650</y> 1901 </hint> 1902 </hints> 1903 </connection> 1904 <connection> 1905 <sender>button_clear</sender> 1323 1906 <signal>clicked()</signal> 1324 1907 <receiver>MainWindow</receiver> 1325 <slot>choosejob()</slot> 1326 <hints> 1327 <hint type="sourcelabel"> 1328 <x>57</x> 1329 <y>120</y> 1330 </hint> 1331 <hint type="destinationlabel"> 1332 <x>535</x> 1333 <y>0</y> 1908 <slot>reset_window()</slot> 1909 <hints> 1910 <hint type="sourcelabel"> 1911 <x>299</x> 1912 <y>756</y> 1913 </hint> 1914 <hint type="destinationlabel"> 1915 <x>599</x> 1916 <y>689</y> 1917 </hint> 1918 </hints> 1919 </connection> 1920 <connection> 1921 <sender>line_M</sender> 1922 <signal>textChanged(QString)</signal> 1923 <receiver>MainWindow</receiver> 1924 <slot>change_lineinput()</slot> 1925 <hints> 1926 <hint type="sourcelabel"> 1927 <x>414</x> 1928 <y>356</y> 1929 </hint> 1930 <hint type="destinationlabel"> 1931 <x>599</x> 1932 <y>287</y> 1933 </hint> 1934 </hints> 1935 </connection> 1936 <connection> 1937 <sender>action_quit</sender> 1938 <signal>triggered()</signal> 1939 <receiver>MainWindow</receiver> 1940 <slot>close()</slot> 1941 <hints> 1942 <hint type="sourcelabel"> 1943 <x>-1</x> 1944 <y>-1</y> 1945 </hint> 1946 <hint type="destinationlabel"> 1947 <x>479</x> 1948 <y>366</y> 1949 </hint> 1950 </hints> 1951 </connection> 1952 <connection> 1953 <sender>action_save</sender> 1954 <signal>triggered()</signal> 1955 <receiver>MainWindow</receiver> 1956 <slot>save_to_file()</slot> 1957 <hints> 1958 <hint type="sourcelabel"> 1959 <x>-1</x> 1960 <y>-1</y> 1961 </hint> 1962 <hint type="destinationlabel"> 1963 <x>479</x> 1964 <y>366</y> 1965 </hint> 1966 </hints> 1967 </connection> 1968 <connection> 1969 <sender>action_last</sender> 1970 <signal>triggered()</signal> 1971 <receiver>MainWindow</receiver> 1972 <slot>open_last()</slot> 1973 <hints> 1974 <hint type="sourcelabel"> 1975 <x>-1</x> 1976 <y>-1</y> 1977 </hint> 1978 <hint type="destinationlabel"> 1979 <x>479</x> 1980 <y>366</y> 1981 </hint> 1982 </hints> 1983 </connection> 1984 <connection> 1985 <sender>action_open</sender> 1986 <signal>triggered()</signal> 1987 <receiver>MainWindow</receiver> 1988 <slot>open_from_file()</slot> 1989 <hints> 1990 <hint type="sourcelabel"> 1991 <x>-1</x> 1992 <y>-1</y> 1993 </hint> 1994 <hint type="destinationlabel"> 1995 <x>479</x> 1996 <y>366</y> 1997 </hint> 1998 </hints> 1999 </connection> 2000 <connection> 2001 <sender>action_help</sender> 2002 <signal>triggered()</signal> 2003 <receiver>MainWindow</receiver> 2004 <slot>help()</slot> 2005 <hints> 2006 <hint type="sourcelabel"> 2007 <x>-1</x> 2008 <y>-1</y> 2009 </hint> 2010 <hint type="destinationlabel"> 2011 <x>479</x> 2012 <y>366</y> 2013 </hint> 2014 </hints> 2015 </connection> 2016 <connection> 2017 <sender>action_about</sender> 2018 <signal>triggered()</signal> 2019 <receiver>MainWindow</receiver> 2020 <slot>about_gui()</slot> 2021 <hints> 2022 <hint type="sourcelabel"> 2023 <x>-1</x> 2024 <y>-1</y> 2025 </hint> 2026 <hint type="destinationlabel"> 2027 <x>479</x> 2028 <y>366</y> 2029 </hint> 2030 </hints> 2031 </connection> 2032 <connection> 2033 <sender>action_default</sender> 2034 <signal>triggered()</signal> 2035 <receiver>MainWindow</receiver> 2036 <slot>save_default()</slot> 2037 <hints> 2038 <hint type="sourcelabel"> 2039 <x>-1</x> 2040 <y>-1</y> 2041 </hint> 2042 <hint type="destinationlabel"> 2043 <x>479</x> 2044 <y>366</y> 2045 </hint> 2046 </hints> 2047 </connection> 2048 <connection> 2049 <sender>line_jobname</sender> 2050 <signal>textChanged(QString)</signal> 2051 <receiver>MainWindow</receiver> 2052 <slot>change_lineinput()</slot> 2053 <hints> 2054 <hint type="sourcelabel"> 2055 <x>181</x> 2056 <y>352</y> 2057 </hint> 2058 <hint type="destinationlabel"> 2059 <x>4</x> 2060 <y>122</y> 2061 </hint> 2062 </hints> 2063 </connection> 2064 <connection> 2065 <sender>check_Z</sender> 2066 <signal>stateChanged(int)</signal> 2067 <receiver>MainWindow</receiver> 2068 <slot>check_flags()</slot> 2069 <hints> 2070 <hint type="sourcelabel"> 2071 <x>434</x> 2072 <y>284</y> 2073 </hint> 2074 <hint type="destinationlabel"> 2075 <x>458</x> 2076 <y>344</y> 2077 </hint> 2078 </hints> 2079 </connection> 2080 <connection> 2081 <sender>check_cycfill</sender> 2082 <signal>stateChanged(int)</signal> 2083 <receiver>MainWindow</receiver> 2084 <slot>change_rc_list()</slot> 2085 <hints> 2086 <hint type="sourcelabel"> 2087 <x>272</x> 2088 <y>572</y> 2089 </hint> 2090 <hint type="destinationlabel"> 2091 <x>4</x> 2092 <y>510</y> 2093 </hint> 2094 </hints> 2095 </connection> 2096 <connection> 2097 <sender>action_start_watchdog</sender> 2098 <signal>triggered()</signal> 2099 <receiver>MainWindow</receiver> 2100 <slot>start_watchdog()</slot> 2101 <hints> 2102 <hint type="sourcelabel"> 2103 <x>-1</x> 2104 <y>-1</y> 2105 </hint> 2106 <hint type="destinationlabel"> 2107 <x>458</x> 2108 <y>344</y> 2109 </hint> 2110 </hints> 2111 </connection> 2112 <connection> 2113 <sender>check_svf</sender> 2114 <signal>stateChanged(int)</signal> 2115 <receiver>MainWindow</receiver> 2116 <slot>change_rc_list()</slot> 2117 <hints> 2118 <hint type="sourcelabel"> 2119 <x>174</x> 2120 <y>592</y> 2121 </hint> 2122 <hint type="destinationlabel"> 2123 <x>596</x> 2124 <y>494</y> 2125 </hint> 2126 </hints> 2127 </connection> 2128 <connection> 2129 <sender>push_update</sender> 2130 <signal>clicked()</signal> 2131 <receiver>MainWindow</receiver> 2132 <slot>update_all()</slot> 2133 <hints> 2134 <hint type="sourcelabel"> 2135 <x>982</x> 2136 <y>115</y> 2137 </hint> 2138 <hint type="destinationlabel"> 2139 <x>798</x> 2140 <y>44</y> 2141 </hint> 2142 </hints> 2143 </connection> 2144 <connection> 2145 <sender>push_create_set</sender> 2146 <signal>clicked()</signal> 2147 <receiver>MainWindow</receiver> 2148 <slot>create_set()</slot> 2149 <hints> 2150 <hint type="sourcelabel"> 2151 <x>762</x> 2152 <y>687</y> 2153 </hint> 2154 <hint type="destinationlabel"> 2155 <x>863</x> 2156 <y>634</y> 2157 </hint> 2158 </hints> 2159 </connection> 2160 <connection> 2161 <sender>push_copy</sender> 2162 <signal>clicked()</signal> 2163 <receiver>MainWindow</receiver> 2164 <slot>copy_job()</slot> 2165 <hints> 2166 <hint type="sourcelabel"> 2167 <x>622</x> 2168 <y>687</y> 2169 </hint> 2170 <hint type="destinationlabel"> 2171 <x>985</x> 2172 <y>650</y> 2173 </hint> 2174 </hints> 2175 </connection> 2176 <connection> 2177 <sender>list_user</sender> 2178 <signal>customContextMenuRequested(QPoint)</signal> 2179 <receiver>MainWindow</receiver> 2180 <slot>openmenuuser()</slot> 2181 <hints> 2182 <hint type="sourcelabel"> 2183 <x>962</x> 2184 <y>412</y> 2185 </hint> 2186 <hint type="destinationlabel"> 2187 <x>1110</x> 2188 <y>642</y> 2189 </hint> 2190 </hints> 2191 </connection> 2192 <connection> 2193 <sender>list_jobs</sender> 2194 <signal>itemActivated(QListWidgetItem*)</signal> 2195 <receiver>MainWindow</receiver> 2196 <slot>update_input()</slot> 2197 <hints> 2198 <hint type="sourcelabel"> 2199 <x>681</x> 2200 <y>318</y> 2201 </hint> 2202 <hint type="destinationlabel"> 2203 <x>918</x> 2204 <y>667</y> 2205 </hint> 2206 </hints> 2207 </connection> 2208 <connection> 2209 <sender>list_input</sender> 2210 <signal>customContextMenuRequested(QPoint)</signal> 2211 <receiver>MainWindow</receiver> 2212 <slot>openmenuinput()</slot> 2213 <hints> 2214 <hint type="sourcelabel"> 2215 <x>850</x> 2216 <y>256</y> 2217 </hint> 2218 <hint type="destinationlabel"> 2219 <x>1072</x> 2220 <y>657</y> 1334 2221 </hint> 1335 2222 </hints> … … 1352 2239 </connection> 1353 2240 <connection> 1354 <sender>drop_job</sender> 1355 <signal>currentIndexChanged(QString)</signal> 1356 <receiver>MainWindow</receiver> 1357 <slot>change_rc_list()</slot> 1358 <hints> 1359 <hint type="sourcelabel"> 1360 <x>264</x> 1361 <y>361</y> 1362 </hint> 1363 <hint type="destinationlabel"> 1364 <x>334</x> 1365 <y>356</y> 1366 </hint> 1367 </hints> 1368 </connection> 1369 <connection> 1370 <sender>check_restarts</sender> 1371 <signal>stateChanged(int)</signal> 1372 <receiver>MainWindow</receiver> 1373 <slot>change_rc_list()</slot> 1374 <hints> 1375 <hint type="sourcelabel"> 1376 <x>76</x> 1377 <y>527</y> 1378 </hint> 1379 <hint type="destinationlabel"> 1380 <x>1</x> 1381 <y>530</y> 1382 </hint> 1383 </hints> 1384 </connection> 1385 <connection> 1386 <sender>check_delete_tmp_files</sender> 1387 <signal>stateChanged(int)</signal> 1388 <receiver>MainWindow</receiver> 1389 <slot>check_flags()</slot> 1390 <hints> 1391 <hint type="sourcelabel"> 1392 <x>80</x> 1393 <y>547</y> 1394 </hint> 1395 <hint type="destinationlabel"> 1396 <x>3</x> 1397 <y>562</y> 1398 </hint> 1399 </hints> 1400 </connection> 1401 <connection> 1402 <sender>check_verbose</sender> 1403 <signal>stateChanged(int)</signal> 1404 <receiver>MainWindow</receiver> 1405 <slot>check_flags()</slot> 1406 <hints> 1407 <hint type="sourcelabel"> 1408 <x>61</x> 1409 <y>567</y> 1410 </hint> 1411 <hint type="destinationlabel"> 1412 <x>5</x> 1413 <y>623</y> 1414 </hint> 1415 </hints> 1416 </connection> 1417 <connection> 1418 <sender>check_b</sender> 1419 <signal>stateChanged(int)</signal> 1420 <receiver>MainWindow</receiver> 1421 <slot>check_flags()</slot> 1422 <hints> 1423 <hint type="sourcelabel"> 1424 <x>434</x> 1425 <y>139</y> 1426 </hint> 1427 <hint type="destinationlabel"> 1428 <x>599</x> 1429 <y>67</y> 1430 </hint> 1431 </hints> 1432 </connection> 1433 <connection> 1434 <sender>check_F</sender> 1435 <signal>stateChanged(int)</signal> 1436 <receiver>MainWindow</receiver> 1437 <slot>check_flags()</slot> 1438 <hints> 1439 <hint type="sourcelabel"> 1440 <x>434</x> 1441 <y>164</y> 1442 </hint> 1443 <hint type="destinationlabel"> 1444 <x>599</x> 1445 <y>103</y> 1446 </hint> 1447 </hints> 1448 </connection> 1449 <connection> 1450 <sender>check_I</sender> 1451 <signal>stateChanged(int)</signal> 1452 <receiver>MainWindow</receiver> 1453 <slot>check_flags()</slot> 1454 <hints> 1455 <hint type="sourcelabel"> 1456 <x>454</x> 1457 <y>189</y> 1458 </hint> 1459 <hint type="destinationlabel"> 1460 <x>599</x> 1461 <y>129</y> 1462 </hint> 1463 </hints> 1464 </connection> 1465 <connection> 1466 <sender>check_k</sender> 1467 <signal>stateChanged(int)</signal> 1468 <receiver>MainWindow</receiver> 1469 <slot>check_flags()</slot> 1470 <hints> 1471 <hint type="sourcelabel"> 1472 <x>434</x> 1473 <y>214</y> 1474 </hint> 1475 <hint type="destinationlabel"> 1476 <x>599</x> 1477 <y>158</y> 1478 </hint> 1479 </hints> 1480 </connection> 1481 <connection> 1482 <sender>check_O</sender> 1483 <signal>stateChanged(int)</signal> 1484 <receiver>MainWindow</receiver> 1485 <slot>check_flags()</slot> 1486 <hints> 1487 <hint type="sourcelabel"> 1488 <x>434</x> 1489 <y>239</y> 1490 </hint> 1491 <hint type="destinationlabel"> 1492 <x>599</x> 1493 <y>188</y> 1494 </hint> 1495 </hints> 1496 </connection> 1497 <connection> 1498 <sender>check_x</sender> 1499 <signal>stateChanged(int)</signal> 1500 <receiver>MainWindow</receiver> 1501 <slot>check_flags()</slot> 1502 <hints> 1503 <hint type="sourcelabel"> 1504 <x>434</x> 1505 <y>282</y> 1506 </hint> 1507 <hint type="destinationlabel"> 1508 <x>599</x> 1509 <y>255</y> 1510 </hint> 1511 </hints> 1512 </connection> 1513 <connection> 1514 <sender>line_host</sender> 1515 <signal>textEdited(QString)</signal> 1516 <receiver>MainWindow</receiver> 1517 <slot>change_lineinput()</slot> 1518 <hints> 1519 <hint type="sourcelabel"> 1520 <x>127</x> 1521 <y>434</y> 1522 </hint> 1523 <hint type="destinationlabel"> 1524 <x>26</x> 1525 <y>362</y> 1526 </hint> 1527 </hints> 1528 </connection> 1529 <connection> 1530 <sender>line_pe</sender> 1531 <signal>textEdited(QString)</signal> 1532 <receiver>MainWindow</receiver> 1533 <slot>change_lineinput()</slot> 1534 <hints> 1535 <hint type="sourcelabel"> 1536 <x>124</x> 1537 <y>459</y> 1538 </hint> 1539 <hint type="destinationlabel"> 1540 <x>5</x> 1541 <y>440</y> 1542 </hint> 1543 </hints> 1544 </connection> 1545 <connection> 1546 <sender>line_time</sender> 1547 <signal>textEdited(QString)</signal> 1548 <receiver>MainWindow</receiver> 1549 <slot>change_lineinput()</slot> 1550 <hints> 1551 <hint type="sourcelabel"> 1552 <x>187</x> 1553 <y>484</y> 1554 </hint> 1555 <hint type="destinationlabel"> 1556 <x>4</x> 1557 <y>480</y> 1558 </hint> 1559 </hints> 1560 </connection> 1561 <connection> 1562 <sender>line_q</sender> 1563 <signal>textEdited(QString)</signal> 1564 <receiver>MainWindow</receiver> 1565 <slot>change_lineinput()</slot> 1566 <hints> 1567 <hint type="sourcelabel"> 1568 <x>346</x> 1569 <y>435</y> 1570 </hint> 1571 <hint type="destinationlabel"> 1572 <x>507</x> 1573 <y>387</y> 1574 </hint> 1575 </hints> 1576 </connection> 1577 <connection> 1578 <sender>line_account</sender> 1579 <signal>textEdited(QString)</signal> 1580 <receiver>MainWindow</receiver> 1581 <slot>change_lineinput()</slot> 1582 <hints> 1583 <hint type="sourcelabel"> 1584 <x>369</x> 1585 <y>484</y> 1586 </hint> 1587 <hint type="destinationlabel"> 1588 <x>506</x> 1589 <y>416</y> 1590 </hint> 1591 </hints> 1592 </connection> 1593 <connection> 1594 <sender>line_tpn</sender> 1595 <signal>textEdited(QString)</signal> 1596 <receiver>MainWindow</receiver> 1597 <slot>change_lineinput()</slot> 1598 <hints> 1599 <hint type="sourcelabel"> 1600 <x>344</x> 1601 <y>460</y> 1602 </hint> 1603 <hint type="destinationlabel"> 1604 <x>505</x> 1605 <y>447</y> 1606 </hint> 1607 </hints> 1608 </connection> 1609 <connection> 1610 <sender>line_m</sender> 1611 <signal>textEdited(QString)</signal> 1612 <receiver>MainWindow</receiver> 1613 <slot>change_lineinput()</slot> 1614 <hints> 1615 <hint type="sourcelabel"> 1616 <x>304</x> 1617 <y>330</y> 1618 </hint> 1619 <hint type="destinationlabel"> 1620 <x>599</x> 1621 <y>328</y> 1622 </hint> 1623 </hints> 1624 </connection> 1625 <connection> 1626 <sender>line_D</sender> 1627 <signal>textEdited(QString)</signal> 1628 <receiver>MainWindow</receiver> 1629 <slot>change_lineinput()</slot> 1630 <hints> 1631 <hint type="sourcelabel"> 1632 <x>414</x> 1633 <y>380</y> 1634 </hint> 1635 <hint type="destinationlabel"> 1636 <x>599</x> 1637 <y>396</y> 1638 </hint> 1639 </hints> 1640 </connection> 1641 <connection> 1642 <sender>line_s</sender> 1643 <signal>textEdited(QString)</signal> 1644 <receiver>MainWindow</receiver> 1645 <slot>change_lineinput()</slot> 1646 <hints> 1647 <hint type="sourcelabel"> 1648 <x>414</x> 1649 <y>405</y> 1650 </hint> 1651 <hint type="destinationlabel"> 1652 <x>599</x> 1653 <y>522</y> 1654 </hint> 1655 </hints> 1656 </connection> 1657 <connection> 1658 <sender>line_w</sender> 1659 <signal>textEdited(QString)</signal> 1660 <receiver>MainWindow</receiver> 1661 <slot>change_lineinput()</slot> 1662 <hints> 1663 <hint type="sourcelabel"> 1664 <x>414</x> 1665 <y>446</y> 1666 </hint> 1667 <hint type="destinationlabel"> 1668 <x>599</x> 1669 <y>612</y> 1670 </hint> 1671 </hints> 1672 </connection> 1673 <connection> 1674 <sender>line_user</sender> 1675 <signal>textChanged(QString)</signal> 1676 <receiver>MainWindow</receiver> 1677 <slot>change_lineinput()</slot> 1678 <hints> 1679 <hint type="sourcelabel"> 1680 <x>414</x> 1681 <y>479</y> 1682 </hint> 1683 <hint type="destinationlabel"> 1684 <x>599</x> 1685 <y>650</y> 1686 </hint> 1687 </hints> 1688 </connection> 1689 <connection> 1690 <sender>button_clear</sender> 1691 <signal>clicked()</signal> 1692 <receiver>MainWindow</receiver> 1693 <slot>reset_window()</slot> 1694 <hints> 1695 <hint type="sourcelabel"> 1696 <x>299</x> 1697 <y>654</y> 1698 </hint> 1699 <hint type="destinationlabel"> 1700 <x>599</x> 1701 <y>689</y> 1702 </hint> 1703 </hints> 1704 </connection> 1705 <connection> 1706 <sender>line_M</sender> 1707 <signal>textChanged(QString)</signal> 1708 <receiver>MainWindow</receiver> 1709 <slot>change_lineinput()</slot> 1710 <hints> 1711 <hint type="sourcelabel"> 1712 <x>414</x> 1713 <y>355</y> 1714 </hint> 1715 <hint type="destinationlabel"> 1716 <x>599</x> 1717 <y>287</y> 1718 </hint> 1719 </hints> 1720 </connection> 1721 <connection> 1722 <sender>action_quit</sender> 1723 <signal>triggered()</signal> 1724 <receiver>MainWindow</receiver> 1725 <slot>close()</slot> 1726 <hints> 1727 <hint type="sourcelabel"> 1728 <x>-1</x> 1729 <y>-1</y> 1730 </hint> 1731 <hint type="destinationlabel"> 1732 <x>479</x> 1733 <y>366</y> 1734 </hint> 1735 </hints> 1736 </connection> 1737 <connection> 1738 <sender>action_save</sender> 1739 <signal>triggered()</signal> 1740 <receiver>MainWindow</receiver> 1741 <slot>save_to_file()</slot> 1742 <hints> 1743 <hint type="sourcelabel"> 1744 <x>-1</x> 1745 <y>-1</y> 1746 </hint> 1747 <hint type="destinationlabel"> 1748 <x>479</x> 1749 <y>366</y> 1750 </hint> 1751 </hints> 1752 </connection> 1753 <connection> 1754 <sender>action_last</sender> 1755 <signal>triggered()</signal> 1756 <receiver>MainWindow</receiver> 1757 <slot>open_last()</slot> 1758 <hints> 1759 <hint type="sourcelabel"> 1760 <x>-1</x> 1761 <y>-1</y> 1762 </hint> 1763 <hint type="destinationlabel"> 1764 <x>479</x> 1765 <y>366</y> 1766 </hint> 1767 </hints> 1768 </connection> 1769 <connection> 1770 <sender>action_open</sender> 1771 <signal>triggered()</signal> 1772 <receiver>MainWindow</receiver> 1773 <slot>open_from_file()</slot> 1774 <hints> 1775 <hint type="sourcelabel"> 1776 <x>-1</x> 1777 <y>-1</y> 1778 </hint> 1779 <hint type="destinationlabel"> 1780 <x>479</x> 1781 <y>366</y> 1782 </hint> 1783 </hints> 1784 </connection> 1785 <connection> 1786 <sender>action_help</sender> 1787 <signal>triggered()</signal> 1788 <receiver>MainWindow</receiver> 1789 <slot>help()</slot> 1790 <hints> 1791 <hint type="sourcelabel"> 1792 <x>-1</x> 1793 <y>-1</y> 1794 </hint> 1795 <hint type="destinationlabel"> 1796 <x>479</x> 1797 <y>366</y> 1798 </hint> 1799 </hints> 1800 </connection> 1801 <connection> 1802 <sender>action_about</sender> 1803 <signal>triggered()</signal> 1804 <receiver>MainWindow</receiver> 1805 <slot>about_gui()</slot> 1806 <hints> 1807 <hint type="sourcelabel"> 1808 <x>-1</x> 1809 <y>-1</y> 1810 </hint> 1811 <hint type="destinationlabel"> 1812 <x>479</x> 1813 <y>366</y> 1814 </hint> 1815 </hints> 1816 </connection> 1817 <connection> 1818 <sender>action_default</sender> 1819 <signal>triggered()</signal> 1820 <receiver>MainWindow</receiver> 1821 <slot>save_default()</slot> 1822 <hints> 1823 <hint type="sourcelabel"> 1824 <x>-1</x> 1825 <y>-1</y> 1826 </hint> 1827 <hint type="destinationlabel"> 1828 <x>479</x> 1829 <y>366</y> 1830 </hint> 1831 </hints> 1832 </connection> 1833 <connection> 1834 <sender>line_jobname</sender> 1835 <signal>textChanged(QString)</signal> 1836 <receiver>MainWindow</receiver> 1837 <slot>change_lineinput()</slot> 1838 <hints> 1839 <hint type="sourcelabel"> 1840 <x>179</x> 1841 <y>121</y> 1842 </hint> 1843 <hint type="destinationlabel"> 1844 <x>4</x> 1845 <y>122</y> 1846 </hint> 1847 </hints> 1848 </connection> 1849 <connection> 1850 <sender>check_Z</sender> 1851 <signal>stateChanged(int)</signal> 1852 <receiver>MainWindow</receiver> 1853 <slot>check_flags()</slot> 1854 <hints> 1855 <hint type="sourcelabel"> 1856 <x>434</x> 1857 <y>307</y> 1858 </hint> 1859 <hint type="destinationlabel"> 1860 <x>458</x> 1861 <y>344</y> 1862 </hint> 1863 </hints> 1864 </connection> 1865 <connection> 1866 <sender>check_cycfill</sender> 1867 <signal>stateChanged(int)</signal> 1868 <receiver>MainWindow</receiver> 1869 <slot>change_rc_list()</slot> 1870 <hints> 1871 <hint type="sourcelabel"> 1872 <x>274</x> 1873 <y>585</y> 1874 </hint> 1875 <hint type="destinationlabel"> 1876 <x>4</x> 1877 <y>510</y> 1878 </hint> 1879 </hints> 1880 </connection> 1881 <connection> 1882 <sender>action_start_jobmanager</sender> 1883 <signal>triggered()</signal> 1884 <receiver>MainWindow</receiver> 1885 <slot>start_jobmanager()</slot> 1886 <hints> 1887 <hint type="sourcelabel"> 1888 <x>-1</x> 1889 <y>-1</y> 1890 </hint> 1891 <hint type="destinationlabel"> 1892 <x>458</x> 1893 <y>344</y> 1894 </hint> 1895 </hints> 1896 </connection> 1897 <connection> 1898 <sender>action_start_watchdog</sender> 1899 <signal>triggered()</signal> 1900 <receiver>MainWindow</receiver> 1901 <slot>start_watchdog()</slot> 1902 <hints> 1903 <hint type="sourcelabel"> 1904 <x>-1</x> 1905 <y>-1</y> 1906 </hint> 1907 <hint type="destinationlabel"> 1908 <x>458</x> 1909 <y>344</y> 1910 </hint> 1911 </hints> 1912 </connection> 1913 <connection> 1914 <sender>check_svf</sender> 1915 <signal>stateChanged(int)</signal> 1916 <receiver>MainWindow</receiver> 1917 <slot>change_rc_list()</slot> 1918 <hints> 1919 <hint type="sourcelabel"> 1920 <x>172</x> 1921 <y>593</y> 1922 </hint> 1923 <hint type="destinationlabel"> 1924 <x>596</x> 1925 <y>494</y> 2241 <sender>list_output</sender> 2242 <signal>customContextMenuRequested(QPoint)</signal> 2243 <receiver>MainWindow</receiver> 2244 <slot>openmenuoutput()</slot> 2245 <hints> 2246 <hint type="sourcelabel"> 2247 <x>1035</x> 2248 <y>570</y> 2249 </hint> 2250 <hint type="destinationlabel"> 2251 <x>1183</x> 2252 <y>692</y> 2253 </hint> 2254 </hints> 2255 </connection> 2256 <connection> 2257 <sender>list_monitoring</sender> 2258 <signal>customContextMenuRequested(QPoint)</signal> 2259 <receiver>MainWindow</receiver> 2260 <slot>openmenumonitoring()</slot> 2261 <hints> 2262 <hint type="sourcelabel"> 2263 <x>891</x> 2264 <y>534</y> 2265 </hint> 2266 <hint type="destinationlabel"> 2267 <x>1182</x> 2268 <y>495</y> 1926 2269 </hint> 1927 2270 </hints> … … 1947 2290 <slot>start_watchdog()</slot> 1948 2291 <slot>start_jobmanager()</slot> 2292 <slot>update_all()</slot> 2293 <slot>create_set()</slot> 2294 <slot>copy_job()</slot> 2295 <slot>openmenuuser()</slot> 2296 <slot>update_input()</slot> 2297 <slot>openmenuinput()</slot> 2298 <slot>openmenuoutput()</slot> 2299 <slot>openmenumonitoring()</slot> 1949 2300 </slots> 1950 2301 </ui>
Note: See TracChangeset
for help on using the changeset viewer.