- Timestamp:
- Nov 18, 2020 9:05:50 AM (4 years ago)
- Location:
- palm/trunk/SCRIPTS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/palmrungui
r4670 r4789 20 20 # Current revisions: 21 21 # ----------------- 22 # 23 # 22 # 23 # 24 24 # Former revisions: 25 25 # ----------------- 26 26 # $Id$ 27 # Bugfix: set check boxes for cyclic fill and svf I/O when loading job from history. 28 # Added support for option -W (wait for job; dependency mode) 29 # 30 # 31 # 4670 2020-09-09 17:27:45Z maronga 27 32 # Ported to PyQt5, removed support for user parameters. Added support for Option 28 33 # "-V" (do not re-build pre-built source code). Changed activation strings … … 691 696 tmptext = self.group_execution.findChild(QtWidgets.QLineEdit,"line_account").text() 692 697 self.change_commandline("A",tmptext) 693 698 699 elif ( self.sender() == self.group_execution.findChild(QtWidgets.QLineEdit,"line_wait")): 700 tmptext = self.group_execution.findChild(QtWidgets.QLineEdit,"line_wait").text() 701 self.change_commandline("W",tmptext) 702 694 703 elif ( self.sender() == self.group_execution.findChild(QtWidgets.QLineEdit,"line_pe")): 695 704 tmptext = self.group_execution.findChild(QtWidgets.QLineEdit,"line_pe").text() … … 786 795 self.deactivate_flag("B") 787 796 788 status = self.group _execution.findChild(QtWidgets.QCheckBox,"check_verbose" ).checkState()797 status = self.groupBox.findChild(QtWidgets.QCheckBox,"check_verbose" ).checkState() 789 798 if (status == 2): 790 799 self.activate_flag("v") … … 961 970 elif ( parameter == "A"): 962 971 self.group_execution.findChild(QtWidgets.QLineEdit,"line_account").setText(options) 963 972 973 elif ( parameter == "W"): 974 self.group_execution.findChild(QtWidgets.QLineEdit,"line_wait").setText(options) 975 964 976 elif ( parameter == "X"): 965 977 self.group_execution.findChild(QtWidgets.QLineEdit,"line_pe").setText(options) … … 975 987 976 988 elif ( parameter == "v"): 977 self.group _execution.findChild(QtWidgets.QCheckBox,"check_verbose").setChecked(True)989 self.groupBox.findChild(QtWidgets.QCheckBox,"check_verbose").setChecked(True) 978 990 979 991 elif ( parameter == "b"): … … 1073 1085 self.group_execution.findChild(QtWidgets.QCheckBox,"check_restarts").setChecked(True) 1074 1086 1087 if (options_all == "rec"): 1088 self.group_execution.findChild(QtWidgets.QCheckBox,"check_cycfill").setChecked(True) 1089 1090 if (options_all == "svfin"): 1091 self.group_execution.findChild(QtWidgets.QCheckBox,"check_svf").setChecked(True) 1092 1093 if (options_all == "svfout"): 1094 self.group_execution.findChild(QtWidgets.QCheckBox,"check_svf_2").setChecked(True) 1095 1075 1096 j = j+1 1076 1097 i = i-1 -
palm/trunk/SCRIPTS/palmrungui_files/mainwindow.ui
r4670 r4789 14 14 <y>0</y> 15 15 <width>1185</width> 16 <height>8 00</height>16 <height>850</height> 17 17 </rect> 18 18 </property> … … 26 26 <size> 27 27 <width>1185</width> 28 <height>8 00</height>28 <height>850</height> 29 29 </size> 30 30 </property> … … 32 32 <size> 33 33 <width>1185</width> 34 <height>8 00</height>34 <height>850</height> 35 35 </size> 36 36 </property> … … 67 67 <rect> 68 68 <x>0</x> 69 <y> 680</y>69 <y>720</y> 70 70 <width>1181</width> 71 71 <height>81</height> … … 84 84 <property name="geometry"> 85 85 <rect> 86 <x> 150</x>86 <x>350</x> 87 87 <y>15</y> 88 <width>9 0</width>88 <width>91</width> 89 89 <height>26</height> 90 90 </rect> … … 102 102 <x>10</x> 103 103 <y>15</y> 104 <width>1 31</width>104 <width>121</width> 105 105 <height>26</height> 106 106 </rect> … … 124 124 <x>250</x> 125 125 <y>15</y> 126 <width>9 0</width>126 <width>91</width> 127 127 <height>26</height> 128 128 </rect> … … 166 166 <property name="geometry"> 167 167 <rect> 168 <x> 470</x>168 <x>550</x> 169 169 <y>20</y> 170 <width> 701</width>170 <width>621</width> 171 171 <height>21</height> 172 172 </rect> … … 179 179 <property name="geometry"> 180 180 <rect> 181 <x> 370</x>181 <x>460</x> 182 182 <y>20</y> 183 183 <width>81</width> … … 205 205 </property> 206 206 </widget> 207 <widget class="QCheckBox" name="check_verbose"> 208 <property name="geometry"> 209 <rect> 210 <x>140</x> 211 <y>20</y> 212 <width>111</width> 213 <height>23</height> 214 </rect> 215 </property> 216 <property name="text"> 217 <string>Silent mode</string> 218 </property> 219 </widget> 207 220 </widget> 208 221 <widget class="QTabWidget" name="tabWidget"> … … 212 225 <y>-5</y> 213 226 <width>1181</width> 214 <height> 696</height>227 <height>731</height> 215 228 </rect> 216 229 </property> … … 248 261 <y>350</y> 249 262 <width>441</width> 250 <height>3 11</height>263 <height>351</height> 251 264 </rect> 252 265 </property> … … 264 277 <rect> 265 278 <x>330</x> 266 <y> 60</y>279 <y>180</y> 267 280 <width>101</width> 268 281 <height>21</height> … … 280 293 <rect> 281 294 <x>250</x> 282 <y> 61</y>295 <y>180</y> 283 296 <width>71</width> 284 297 <height>20</height> … … 297 310 <x>130</x> 298 311 <y>150</y> 299 <width> 91</width>312 <width>81</width> 300 313 <height>20</height> 301 314 </rect> … … 353 366 <property name="geometry"> 354 367 <rect> 355 <x> 330</x>356 <y> 180</y>368 <x>130</x> 369 <y>210</y> 357 370 <width>101</width> 358 371 <height>20</height> … … 366 379 <property name="geometry"> 367 380 <rect> 368 <x> 260</x>369 <y> 180</y>381 <x>60</x> 382 <y>210</y> 370 383 <width>61</width> 371 384 <height>16</height> … … 400 413 <x>130</x> 401 414 <y>180</y> 402 <width> 91</width>415 <width>101</width> 403 416 <height>20</height> 404 417 </rect> … … 411 424 <property name="geometry"> 412 425 <rect> 413 <x> 30</x>414 <y> 90</y>426 <x>10</x> 427 <y>60</y> 415 428 <width>91</width> 416 429 <height>21</height> … … 431 444 <rect> 432 445 <x>10</x> 433 <y>2 00</y>446 <y>230</y> 434 447 <width>411</width> 435 448 <height>20</height> … … 444 457 <rect> 445 458 <x>10</x> 446 <y>2 10</y>459 <y>280</y> 447 460 <width>121</width> 448 461 <height>23</height> … … 457 470 <rect> 458 471 <x>10</x> 459 <y> 230</y>460 <width> 281</width>472 <y>300</y> 473 <width>161</width> 461 474 <height>23</height> 462 475 </rect> 463 476 </property> 464 477 <property name="text"> 465 <string>Do not delete temporary directory at end</string> 466 </property> 467 </widget> 468 <widget class="QCheckBox" name="check_verbose"> 469 <property name="geometry"> 470 <rect> 471 <x>10</x> 472 <y>250</y> 473 <width>261</width> 474 <height>23</height> 475 </rect> 476 </property> 477 <property name="text"> 478 <string>No prompt on confirmation (silent)</string> 478 <string>Keep temporary data</string> 479 479 </property> 480 480 </widget> … … 482 482 <property name="geometry"> 483 483 <rect> 484 <x> 10</x>485 <y>2 70</y>486 <width>2 61</width>484 <x>220</x> 485 <y>280</y> 486 <width>201</width> 487 487 <height>21</height> 488 488 </rect> … … 495 495 <property name="geometry"> 496 496 <rect> 497 <x> 10</x>498 <y> 290</y>497 <x>220</x> 498 <y>300</y> 499 499 <width>261</width> 500 500 <height>21</height> … … 512 512 <rect> 513 513 <x>60</x> 514 <y> 60</y>514 <y>250</y> 515 515 <width>191</width> 516 516 <height>26</height> … … 577 577 <rect> 578 578 <x>10</x> 579 <y> 60</y>579 <y>250</y> 580 580 <width>41</width> 581 581 <height>21</height> … … 620 620 <property name="geometry"> 621 621 <rect> 622 <x>2 30</x>623 <y> 120</y>622 <x>210</x> 623 <y>90</y> 624 624 <width>91</width> 625 625 <height>21</height> … … 633 633 <property name="geometry"> 634 634 <rect> 635 <x>130</x> 635 <x>110</x> 636 <y>60</y> 637 <width>321</width> 638 <height>26</height> 639 </rect> 640 </property> 641 </widget> 642 <widget class="QCheckBox" name="check_rebuild"> 643 <property name="geometry"> 644 <rect> 645 <x>330</x> 636 646 <y>90</y> 637 <width>301</width>638 <height>26</height>639 </rect>640 </property>641 </widget>642 <widget class="QCheckBox" name="check_rebuild">643 <property name="geometry">644 <rect>645 <x>330</x>646 <y>120</y>647 647 <width>101</width> 648 648 <height>22</height> … … 656 656 <property name="geometry"> 657 657 <rect> 658 <x>1 30</x>659 <y> 120</y>658 <x>110</x> 659 <y>90</y> 660 660 <width>91</width> 661 661 <height>21</height> … … 669 669 <property name="geometry"> 670 670 <rect> 671 <x>110</x> 672 <y>120</y> 673 <width>191</width> 674 <height>23</height> 675 </rect> 676 </property> 677 <property name="text"> 678 <string>Use pre-built source code</string> 679 </property> 680 </widget> 681 <widget class="QCheckBox" name="check_svf_2"> 682 <property name="geometry"> 683 <rect> 684 <x>220</x> 685 <y>320</y> 686 <width>201</width> 687 <height>21</height> 688 </rect> 689 </property> 690 <property name="text"> 691 <string>Write sky view factors to file</string> 692 </property> 693 </widget> 694 <widget class="QLabel" name="label_20"> 695 <property name="geometry"> 696 <rect> 671 697 <x>240</x> 672 698 <y>210</y> 673 <width>191</width> 674 <height>23</height> 675 </rect> 676 </property> 677 <property name="text"> 678 <string>Use pre-built source code</string> 679 </property> 680 </widget> 681 <widget class="QCheckBox" name="check_svf_2"> 682 <property name="geometry"> 683 <rect> 684 <x>240</x> 685 <y>290</y> 686 <width>201</width> 699 <width>81</width> 700 <height>20</height> 701 </rect> 702 </property> 703 <property name="text"> 704 <string>Wait for job:</string> 705 </property> 706 <property name="alignment"> 707 <set>Qt::AlignBottom|Qt::AlignRight|Qt::AlignTrailing</set> 708 </property> 709 </widget> 710 <widget class="QLineEdit" name="line_wait"> 711 <property name="geometry"> 712 <rect> 713 <x>330</x> 714 <y>210</y> 715 <width>101</width> 687 716 <height>21</height> 688 717 </rect> 689 718 </property> 690 719 <property name="text"> 691 <string>Write sky view factors to file</string> 720 <string/> 721 </property> 722 <property name="alignment"> 723 <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set> 692 724 </property> 693 725 </widget> … … 728 760 <y>5</y> 729 761 <width>721</width> 730 <height>6 56</height>762 <height>691</height> 731 763 </rect> 732 764 </property> … … 743 775 <y>90</y> 744 776 <width>231</width> 745 <height>5 61</height>777 <height>591</height> 746 778 </rect> 747 779 </property> … … 762 794 <y>90</y> 763 795 <width>231</width> 764 <height>1 41</height>796 <height>171</height> 765 797 </rect> 766 798 </property> … … 782 814 <rect> 783 815 <x>250</x> 784 <y>2 50</y>816 <y>280</y> 785 817 <width>231</width> 786 818 <height>141</height> … … 830 862 <rect> 831 863 <x>250</x> 832 <y>2 30</y>864 <y>260</y> 833 865 <width>156</width> 834 866 <height>16</height> … … 858 890 <y>90</y> 859 891 <width>221</width> 860 <height>5 61</height>892 <height>591</height> 861 893 </rect> 862 894 </property> … … 891 923 <rect> 892 924 <x>250</x> 893 <y>4 20</y>925 <y>450</y> 894 926 <width>231</width> 895 927 <height>231</height> … … 913 945 <rect> 914 946 <x>250</x> 915 <y> 395</y>947 <y>430</y> 916 948 <width>156</width> 917 949 <height>16</height> … … 1403 1435 <property name="geometry"> 1404 1436 <rect> 1405 <x> 267</x>1406 <y> 152</y>1437 <x>195</x> 1438 <y>230</y> 1407 1439 <width>155</width> 1408 1440 <height>137</height> … … 1549 1581 <hints> 1550 1582 <hint type="sourcelabel"> 1551 <x> 160</x>1552 <y> 756</y>1583 <x>360</x> 1584 <y>804</y> 1553 1585 </hint> 1554 1586 <hint type="destinationlabel"> … … 1566 1598 <hint type="sourcelabel"> 1567 1599 <x>73</x> 1568 <y> 756</y>1600 <y>804</y> 1569 1601 </hint> 1570 1602 <hint type="destinationlabel"> … … 1581 1613 <hints> 1582 1614 <hint type="sourcelabel"> 1583 <x>21 4</x>1584 <y> 500</y>1615 <x>218</x> 1616 <y>695</y> 1585 1617 </hint> 1586 1618 <hint type="destinationlabel"> … … 1597 1629 <hints> 1598 1630 <hint type="sourcelabel"> 1599 <x>25 2</x>1600 <y> 500</y>1631 <x>254</x> 1632 <y>695</y> 1601 1633 </hint> 1602 1634 <hint type="destinationlabel"> … … 1613 1645 <hints> 1614 1646 <hint type="sourcelabel"> 1615 <x>8 2</x>1616 <y> 630</y>1647 <x>86</x> 1648 <y>722</y> 1617 1649 </hint> 1618 1650 <hint type="destinationlabel"> … … 1629 1661 <hints> 1630 1662 <hint type="sourcelabel"> 1631 <x> 86</x>1632 <y> 650</y>1663 <x>90</x> 1664 <y>742</y> 1633 1665 </hint> 1634 1666 <hint type="destinationlabel"> … … 1645 1677 <hints> 1646 1678 <hint type="sourcelabel"> 1647 <x> 67</x>1648 <y> 670</y>1679 <x>197</x> 1680 <y>806</y> 1649 1681 </hint> 1650 1682 <hint type="destinationlabel"> … … 1789 1821 <hints> 1790 1822 <hint type="sourcelabel"> 1791 <x>4 06</x>1792 <y> 495</y>1823 <x>410</x> 1824 <y>620</y> 1793 1825 </hint> 1794 1826 <hint type="destinationlabel"> … … 1805 1837 <hints> 1806 1838 <hint type="sourcelabel"> 1807 <x> 425</x>1808 <y>6 15</y>1839 <x>229</x> 1840 <y>649</y> 1809 1841 </hint> 1810 1842 <hint type="destinationlabel"> … … 1902 1934 <hint type="sourcelabel"> 1903 1935 <x>299</x> 1904 <y> 756</y>1936 <y>804</y> 1905 1937 </hint> 1906 1938 <hint type="destinationlabel"> … … 2077 2109 <hints> 2078 2110 <hint type="sourcelabel"> 2079 <x> 178</x>2080 <y>7 10</y>2111 <x>392</x> 2112 <y>740</y> 2081 2113 </hint> 2082 2114 <hint type="destinationlabel"> … … 2205 2237 <hints> 2206 2238 <hint type="sourcelabel"> 2207 <x>2 46</x>2208 <y>5 60</y>2239 <x>230</x> 2240 <y>530</y> 2209 2241 </hint> 2210 2242 <hint type="destinationlabel"> … … 2221 2253 <hints> 2222 2254 <hint type="sourcelabel"> 2223 <x>1 38</x>2224 <y>5 30</y>2255 <x>122</x> 2256 <y>505</y> 2225 2257 </hint> 2226 2258 <hint type="destinationlabel"> … … 2237 2269 <hints> 2238 2270 <hint type="sourcelabel"> 2239 <x>1 57</x>2240 <y>5 55</y>2271 <x>141</x> 2272 <y>530</y> 2241 2273 </hint> 2242 2274 <hint type="destinationlabel"> 2243 2275 <x>397</x> 2244 <y> -4</y>2276 <y>0</y> 2245 2277 </hint> 2246 2278 </hints> … … 2258 2290 <hint type="destinationlabel"> 2259 2291 <x>538</x> 2260 <y> -4</y>2292 <y>0</y> 2261 2293 </hint> 2262 2294 </hints> … … 2269 2301 <hints> 2270 2302 <hint type="sourcelabel"> 2271 <x> 333</x>2272 <y> 639</y>2303 <x>207</x> 2304 <y>562</y> 2273 2305 </hint> 2274 2306 <hint type="destinationlabel"> 2275 2307 <x>580</x> 2276 <y> -2</y>2308 <y>0</y> 2277 2309 </hint> 2278 2310 </hints> … … 2290 2322 <hint type="destinationlabel"> 2291 2323 <x>728</x> 2292 <y> -3</y>2324 <y>0</y> 2293 2325 </hint> 2294 2326 </hints> … … 2301 2333 <hints> 2302 2334 <hint type="sourcelabel"> 2303 <x>3 63</x>2304 <y>7 21</y>2335 <x>347</x> 2336 <y>760</y> 2305 2337 </hint> 2306 2338 <hint type="destinationlabel"> 2307 2339 <x>831</x> 2308 <y>-2</y> 2340 <y>0</y> 2341 </hint> 2342 </hints> 2343 </connection> 2344 <connection> 2345 <sender>line_wait</sender> 2346 <signal>textEdited(QString)</signal> 2347 <receiver>MainWindow</receiver> 2348 <slot>change_lineinput()</slot> 2349 <hints> 2350 <hint type="sourcelabel"> 2351 <x>371</x> 2352 <y>637</y> 2353 </hint> 2354 <hint type="destinationlabel"> 2355 <x>573</x> 2356 <y>-6</y> 2309 2357 </hint> 2310 2358 </hints>
Note: See TracChangeset
for help on using the changeset viewer.