Changeset 1611 for palm/trunk
- Timestamp:
- Jul 7, 2015 12:23:22 PM (9 years ago)
- Location:
- palm/trunk
- Files:
-
- 7 added
- 6 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/UTIL/mrungui/mainwindow.cpp
r1047 r1611 18 18 // Current revisions: 19 19 // ----------------- 20 // Added routine start_watchdog. 20 21 // 21 22 // Former revisions: … … 1263 1264 out << tmptime + " " + mrunline; 1264 1265 file.close(); 1266 1267 return 0; 1268 } 1269 1270 //****************************************************************************// 1271 // Start watchdog (palm_wd) 1272 int MainWindow::start_watchdog() 1273 { 1274 system("nohup palm_wd >> /dev/null 2>&1 &"); 1265 1275 1266 1276 return 0; -
palm/trunk/UTIL/mrungui/mainwindow.h
r794 r1611 2 2 // Current revisions: 3 3 // ----------------- 4 // Added slot start_watchdog 4 5 // 5 6 // Former revisions: … … 58 59 int save_to_file(); 59 60 int save_default(); 61 int start_watchdog(); 60 62 int open_from_file(); 61 63 int open_last(); -
palm/trunk/UTIL/mrungui/mainwindow.ui
r920 r1611 1359 1359 <property name="geometry"> 1360 1360 <rect> 1361 <x>21 90</x>1362 <y>9 9</y>1361 <x>2175</x> 1362 <y>98</y> 1363 1363 <width>133</width> 1364 <height> 182</height>1364 <height>206</height> 1365 1365 </rect> 1366 1366 </property> … … 1376 1376 <addaction name="action_save"/> 1377 1377 <addaction name="action_default"/> 1378 <addaction name="action_start_wd"/> 1378 1379 <addaction name="action_quit"/> 1379 1380 </widget> … … 1437 1438 </property> 1438 1439 </action> 1440 <action name="action_start_wd"> 1441 <property name="text"> 1442 <string>Start watchdog</string> 1443 </property> 1444 </action> 1439 1445 </widget> 1440 1446 <layoutdefault spacing="1" margin="11"/> … … 1502 1508 <hint type="sourcelabel"> 1503 1509 <x>160</x> 1504 <y>65 7</y>1510 <y>655</y> 1505 1511 </hint> 1506 1512 <hint type="destinationlabel"> … … 1518 1524 <hint type="sourcelabel"> 1519 1525 <x>73</x> 1520 <y>65 7</y>1526 <y>655</y> 1521 1527 </hint> 1522 1528 <hint type="destinationlabel"> … … 1710 1716 <hint type="sourcelabel"> 1711 1717 <x>429</x> 1712 <y>2 81</y>1718 <y>279</y> 1713 1719 </hint> 1714 1720 <hint type="destinationlabel"> … … 1726 1732 <hint type="sourcelabel"> 1727 1733 <x>431</x> 1728 <y>25 6</y>1734 <y>254</y> 1729 1735 </hint> 1730 1736 <hint type="destinationlabel"> … … 1742 1748 <hint type="sourcelabel"> 1743 1749 <x>415</x> 1744 <y>31 4</y>1750 <y>312</y> 1745 1751 </hint> 1746 1752 <hint type="destinationlabel"> … … 1774 1780 <hint type="sourcelabel"> 1775 1781 <x>72</x> 1776 <y>5 41</y>1782 <y>539</y> 1777 1783 </hint> 1778 1784 <hint type="destinationlabel"> … … 1790 1796 <hint type="sourcelabel"> 1791 1797 <x>76</x> 1792 <y>56 6</y>1798 <y>564</y> 1793 1799 </hint> 1794 1800 <hint type="destinationlabel"> … … 1806 1812 <hint type="sourcelabel"> 1807 1813 <x>53</x> 1808 <y>5 91</y>1814 <y>589</y> 1809 1815 </hint> 1810 1816 <hint type="destinationlabel"> … … 1950 1956 <hint type="sourcelabel"> 1951 1957 <x>119</x> 1952 <y>40 3</y>1958 <y>401</y> 1953 1959 </hint> 1954 1960 <hint type="destinationlabel"> … … 1966 1972 <hint type="sourcelabel"> 1967 1973 <x>149</x> 1968 <y>42 8</y>1974 <y>426</y> 1969 1975 </hint> 1970 1976 <hint type="destinationlabel"> … … 1998 2004 <hint type="sourcelabel"> 1999 2005 <x>179</x> 2000 <y>47 8</y>2006 <y>476</y> 2001 2007 </hint> 2002 2008 <hint type="destinationlabel"> … … 2030 2036 <hint type="sourcelabel"> 2031 2037 <x>361</x> 2032 <y>42 8</y>2038 <y>426</y> 2033 2039 </hint> 2034 2040 <hint type="destinationlabel"> … … 2046 2052 <hint type="sourcelabel"> 2047 2053 <x>328</x> 2048 <y>45 3</y>2054 <y>451</y> 2049 2055 </hint> 2050 2056 <hint type="destinationlabel"> … … 2062 2068 <hint type="sourcelabel"> 2063 2069 <x>262</x> 2064 <y>50 3</y>2070 <y>501</y> 2065 2071 </hint> 2066 2072 <hint type="destinationlabel"> … … 2078 2084 <hint type="sourcelabel"> 2079 2085 <x>324</x> 2080 <y>50 3</y>2086 <y>501</y> 2081 2087 </hint> 2082 2088 <hint type="destinationlabel"> … … 2110 2116 <hint type="sourcelabel"> 2111 2117 <x>796</x> 2112 <y>38 7</y>2118 <y>386</y> 2113 2119 </hint> 2114 2120 <hint type="destinationlabel"> … … 2142 2148 <hint type="sourcelabel"> 2143 2149 <x>850</x> 2144 <y>43 8</y>2150 <y>436</y> 2145 2151 </hint> 2146 2152 <hint type="destinationlabel"> … … 2174 2180 <hint type="sourcelabel"> 2175 2181 <x>885</x> 2176 <y>48 8</y>2182 <y>486</y> 2177 2183 </hint> 2178 2184 <hint type="destinationlabel"> … … 2190 2196 <hint type="sourcelabel"> 2191 2197 <x>900</x> 2192 <y>51 3</y>2198 <y>511</y> 2193 2199 </hint> 2194 2200 <hint type="destinationlabel"> … … 2206 2212 <hint type="sourcelabel"> 2207 2213 <x>900</x> 2208 <y>53 8</y>2214 <y>536</y> 2209 2215 </hint> 2210 2216 <hint type="destinationlabel"> … … 2222 2228 <hint type="sourcelabel"> 2223 2229 <x>900</x> 2224 <y>56 3</y>2230 <y>561</y> 2225 2231 </hint> 2226 2232 <hint type="destinationlabel"> … … 2270 2276 <hint type="sourcelabel"> 2271 2277 <x>307</x> 2272 <y>65 7</y>2278 <y>655</y> 2273 2279 </hint> 2274 2280 <hint type="destinationlabel"> … … 2447 2453 <x>730</x> 2448 2454 <y>295</y> 2455 </hint> 2456 <hint type="destinationlabel"> 2457 <x>458</x> 2458 <y>344</y> 2459 </hint> 2460 </hints> 2461 </connection> 2462 <connection> 2463 <sender>action_start_wd</sender> 2464 <signal>triggered()</signal> 2465 <receiver>MainWindow</receiver> 2466 <slot>start_watchdog()</slot> 2467 <hints> 2468 <hint type="sourcelabel"> 2469 <x>-1</x> 2470 <y>-1</y> 2449 2471 </hint> 2450 2472 <hint type="destinationlabel"> … … 2472 2494 <slot>save_default()</slot> 2473 2495 <slot>help()</slot> 2496 <slot>start_watchdog()</slot> 2474 2497 </slots> 2475 2498 </ui>
Note: See TracChangeset
for help on using the changeset viewer.