main_window.ui 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <author>ADanilov</author>
  4. <class>MainWindow</class>
  5. <widget class="QMainWindow" name="MainWindow">
  6. <property name="geometry">
  7. <rect>
  8. <x>0</x>
  9. <y>0</y>
  10. <width>1347</width>
  11. <height>563</height>
  12. </rect>
  13. </property>
  14. <property name="sizePolicy">
  15. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  16. <horstretch>0</horstretch>
  17. <verstretch>0</verstretch>
  18. </sizepolicy>
  19. </property>
  20. <property name="windowTitle">
  21. <string>getquakes</string>
  22. </property>
  23. <widget class="QWidget" name="centralwidget">
  24. <property name="layoutDirection">
  25. <enum>Qt::LeftToRight</enum>
  26. </property>
  27. <layout class="QVBoxLayout" name="verticalLayout">
  28. <item>
  29. <layout class="QVBoxLayout" name="verticalLayout_5">
  30. <item>
  31. <widget class="QGroupBox" name="groupBox">
  32. <property name="title">
  33. <string/>
  34. </property>
  35. <property name="alignment">
  36. <set>Qt::AlignCenter</set>
  37. </property>
  38. <layout class="QHBoxLayout" name="horizontalLayout_7">
  39. <item>
  40. <layout class="QHBoxLayout" name="horizontalLayout_5">
  41. <item>
  42. <layout class="QVBoxLayout" name="verticalLayout_3">
  43. <item>
  44. <widget class="QLabel" name="label">
  45. <property name="text">
  46. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;Date time&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  47. </property>
  48. </widget>
  49. </item>
  50. <item>
  51. <layout class="QHBoxLayout" name="horizontalLayout_2">
  52. <item>
  53. <widget class="QDateTimeEdit" name="from_dateTime">
  54. <property name="maximumSize">
  55. <size>
  56. <width>194</width>
  57. <height>16777215</height>
  58. </size>
  59. </property>
  60. <property name="date">
  61. <date>
  62. <year>2020</year>
  63. <month>2</month>
  64. <day>1</day>
  65. </date>
  66. </property>
  67. <property name="time">
  68. <time>
  69. <hour>0</hour>
  70. <minute>0</minute>
  71. <second>0</second>
  72. </time>
  73. </property>
  74. <property name="minimumDateTime">
  75. <datetime>
  76. <hour>0</hour>
  77. <minute>0</minute>
  78. <second>0</second>
  79. <year>1752</year>
  80. <month>9</month>
  81. <day>14</day>
  82. </datetime>
  83. </property>
  84. <property name="displayFormat">
  85. <string>yyyy-MM-dd HH:mm:ss</string>
  86. </property>
  87. <property name="calendarPopup">
  88. <bool>false</bool>
  89. </property>
  90. </widget>
  91. </item>
  92. <item>
  93. <widget class="QDateTimeEdit" name="to_dateTime">
  94. <property name="maximumSize">
  95. <size>
  96. <width>194</width>
  97. <height>16777215</height>
  98. </size>
  99. </property>
  100. <property name="date">
  101. <date>
  102. <year>2020</year>
  103. <month>10</month>
  104. <day>20</day>
  105. </date>
  106. </property>
  107. <property name="time">
  108. <time>
  109. <hour>0</hour>
  110. <minute>0</minute>
  111. <second>0</second>
  112. </time>
  113. </property>
  114. <property name="displayFormat">
  115. <string>yyyy-MM-dd HH:mm:ss</string>
  116. </property>
  117. <property name="calendarPopup">
  118. <bool>false</bool>
  119. </property>
  120. </widget>
  121. </item>
  122. </layout>
  123. </item>
  124. </layout>
  125. </item>
  126. <item>
  127. <layout class="QVBoxLayout" name="verticalLayout_2">
  128. <item>
  129. <widget class="QLabel" name="label_4">
  130. <property name="text">
  131. <string>Magnitude</string>
  132. </property>
  133. <property name="alignment">
  134. <set>Qt::AlignCenter</set>
  135. </property>
  136. </widget>
  137. </item>
  138. <item>
  139. <layout class="QHBoxLayout" name="horizontalLayout_3">
  140. <item>
  141. <widget class="QDoubleSpinBox" name="from_Mag">
  142. <property name="frame">
  143. <bool>true</bool>
  144. </property>
  145. <property name="decimals">
  146. <number>1</number>
  147. </property>
  148. <property name="stepType">
  149. <enum>QAbstractSpinBox::AdaptiveDecimalStepType</enum>
  150. </property>
  151. <property name="value">
  152. <double>0.000000000000000</double>
  153. </property>
  154. </widget>
  155. </item>
  156. <item>
  157. <widget class="QDoubleSpinBox" name="to_Mag">
  158. <property name="frame">
  159. <bool>true</bool>
  160. </property>
  161. <property name="decimals">
  162. <number>1</number>
  163. </property>
  164. <property name="stepType">
  165. <enum>QAbstractSpinBox::DefaultStepType</enum>
  166. </property>
  167. <property name="value">
  168. <double>9.000000000000000</double>
  169. </property>
  170. </widget>
  171. </item>
  172. </layout>
  173. </item>
  174. </layout>
  175. </item>
  176. <item>
  177. <layout class="QGridLayout" name="gridLayout_3">
  178. <item row="0" column="0">
  179. <layout class="QGridLayout" name="gridLayout">
  180. <item row="0" column="0">
  181. <widget class="QLabel" name="label_7">
  182. <property name="text">
  183. <string>Comment</string>
  184. </property>
  185. <property name="alignment">
  186. <set>Qt::AlignCenter</set>
  187. </property>
  188. </widget>
  189. </item>
  190. <item row="1" column="0">
  191. <widget class="QLabel" name="label_8">
  192. <property name="text">
  193. <string>STA</string>
  194. </property>
  195. <property name="alignment">
  196. <set>Qt::AlignCenter</set>
  197. </property>
  198. </widget>
  199. </item>
  200. </layout>
  201. </item>
  202. <item row="0" column="1">
  203. <layout class="QGridLayout" name="gridLayout_2">
  204. <item row="0" column="0">
  205. <widget class="QLineEdit" name="comment_line"/>
  206. </item>
  207. <item row="1" column="0">
  208. <layout class="QHBoxLayout" name="horizontalLayout_4">
  209. <item>
  210. <widget class="QLineEdit" name="sta_line">
  211. <property name="maximumSize">
  212. <size>
  213. <width>45</width>
  214. <height>16777215</height>
  215. </size>
  216. </property>
  217. <property name="text">
  218. <string>ALL</string>
  219. </property>
  220. </widget>
  221. </item>
  222. <item>
  223. <spacer name="horizontalSpacer">
  224. <property name="orientation">
  225. <enum>Qt::Horizontal</enum>
  226. </property>
  227. <property name="sizeHint" stdset="0">
  228. <size>
  229. <width>138</width>
  230. <height>20</height>
  231. </size>
  232. </property>
  233. </spacer>
  234. </item>
  235. </layout>
  236. </item>
  237. </layout>
  238. </item>
  239. </layout>
  240. </item>
  241. <item>
  242. <layout class="QVBoxLayout" name="verticalLayout_4">
  243. <item>
  244. <layout class="QHBoxLayout" name="horizontalLayout">
  245. <item>
  246. <widget class="QPushButton" name="search_events_button">
  247. <property name="text">
  248. <string>Search for events</string>
  249. </property>
  250. </widget>
  251. </item>
  252. <item>
  253. <widget class="QPushButton" name="select_all_button">
  254. <property name="text">
  255. <string>Select all</string>
  256. </property>
  257. </widget>
  258. </item>
  259. <item>
  260. <widget class="QPushButton" name="save_as_button">
  261. <property name="text">
  262. <string>Save as...</string>
  263. </property>
  264. </widget>
  265. </item>
  266. </layout>
  267. </item>
  268. <item>
  269. <widget class="QProgressBar" name="progressBar">
  270. <property name="value">
  271. <number>24</number>
  272. </property>
  273. </widget>
  274. </item>
  275. </layout>
  276. </item>
  277. </layout>
  278. </item>
  279. </layout>
  280. </widget>
  281. </item>
  282. <item>
  283. <widget class="QTableWidget" name="tableWidget">
  284. <property name="sizePolicy">
  285. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  286. <horstretch>5</horstretch>
  287. <verstretch>0</verstretch>
  288. </sizepolicy>
  289. </property>
  290. <property name="minimumSize">
  291. <size>
  292. <width>150</width>
  293. <height>0</height>
  294. </size>
  295. </property>
  296. <property name="baseSize">
  297. <size>
  298. <width>0</width>
  299. <height>0</height>
  300. </size>
  301. </property>
  302. <property name="sizeAdjustPolicy">
  303. <enum>QAbstractScrollArea::AdjustToContentsOnFirstShow</enum>
  304. </property>
  305. <property name="sortingEnabled">
  306. <bool>true</bool>
  307. </property>
  308. <attribute name="horizontalHeaderCascadingSectionResizes">
  309. <bool>true</bool>
  310. </attribute>
  311. <attribute name="horizontalHeaderMinimumSectionSize">
  312. <number>50</number>
  313. </attribute>
  314. <attribute name="horizontalHeaderDefaultSectionSize">
  315. <number>120</number>
  316. </attribute>
  317. <attribute name="horizontalHeaderShowSortIndicator" stdset="0">
  318. <bool>true</bool>
  319. </attribute>
  320. <attribute name="horizontalHeaderStretchLastSection">
  321. <bool>true</bool>
  322. </attribute>
  323. <attribute name="verticalHeaderCascadingSectionResizes">
  324. <bool>false</bool>
  325. </attribute>
  326. <attribute name="verticalHeaderShowSortIndicator" stdset="0">
  327. <bool>false</bool>
  328. </attribute>
  329. <column>
  330. <property name="text">
  331. <string>ID</string>
  332. </property>
  333. </column>
  334. <column>
  335. <property name="text">
  336. <string>Origin Time</string>
  337. </property>
  338. </column>
  339. <column>
  340. <property name="text">
  341. <string>Lat</string>
  342. </property>
  343. </column>
  344. <column>
  345. <property name="text">
  346. <string>Lon</string>
  347. </property>
  348. </column>
  349. <column>
  350. <property name="text">
  351. <string>Depth</string>
  352. </property>
  353. </column>
  354. <column>
  355. <property name="text">
  356. <string>ML</string>
  357. </property>
  358. </column>
  359. <column>
  360. <property name="text">
  361. <string>MPSP</string>
  362. </property>
  363. </column>
  364. <column>
  365. <property name="text">
  366. <string>Region</string>
  367. </property>
  368. </column>
  369. <column>
  370. <property name="text">
  371. <string>STA, Ph, time</string>
  372. </property>
  373. </column>
  374. </widget>
  375. </item>
  376. </layout>
  377. </item>
  378. </layout>
  379. </widget>
  380. <widget class="QMenuBar" name="menubar">
  381. <property name="geometry">
  382. <rect>
  383. <x>0</x>
  384. <y>0</y>
  385. <width>1347</width>
  386. <height>30</height>
  387. </rect>
  388. </property>
  389. <widget class="QMenu" name="menuFile">
  390. <property name="title">
  391. <string>File</string>
  392. </property>
  393. <widget class="QMenu" name="menuSettings">
  394. <property name="title">
  395. <string>Settings</string>
  396. </property>
  397. <addaction name="actionConnection"/>
  398. </widget>
  399. <widget class="QMenu" name="menu_Save_as">
  400. <property name="title">
  401. <string>&amp;Save as...</string>
  402. </property>
  403. <addaction name="actionBulletin"/>
  404. <addaction name="actionCatalog"/>
  405. <addaction name="action_NAS_bulletin"/>
  406. <addaction name="action_ArcGIS"/>
  407. </widget>
  408. <addaction name="separator"/>
  409. <addaction name="menu_Save_as"/>
  410. <addaction name="separator"/>
  411. <addaction name="actionOpen_Bulletin"/>
  412. <addaction name="separator"/>
  413. <addaction name="menuSettings"/>
  414. <addaction name="separator"/>
  415. <addaction name="action_Quit"/>
  416. </widget>
  417. <widget class="QMenu" name="menuHelp">
  418. <property name="title">
  419. <string>Help</string>
  420. </property>
  421. <addaction name="actionAbout"/>
  422. </widget>
  423. <addaction name="menuFile"/>
  424. <addaction name="menuHelp"/>
  425. </widget>
  426. <widget class="QStatusBar" name="statusbar">
  427. <property name="enabled">
  428. <bool>true</bool>
  429. </property>
  430. <property name="mouseTracking">
  431. <bool>false</bool>
  432. </property>
  433. <property name="autoFillBackground">
  434. <bool>false</bool>
  435. </property>
  436. </widget>
  437. <action name="actionOpen_Bulletin">
  438. <property name="icon">
  439. <iconset>
  440. <normaloff>resources/file-open.png</normaloff>resources/file-open.png</iconset>
  441. </property>
  442. <property name="text">
  443. <string>&amp;Open Bulletin...</string>
  444. </property>
  445. <property name="shortcut">
  446. <string>Ctrl+O</string>
  447. </property>
  448. <property name="visible">
  449. <bool>false</bool>
  450. </property>
  451. </action>
  452. <action name="actionAbout">
  453. <property name="icon">
  454. <iconset>
  455. <normaloff>resources/help-content.png</normaloff>resources/help-content.png</iconset>
  456. </property>
  457. <property name="text">
  458. <string>About...</string>
  459. </property>
  460. </action>
  461. <action name="action_Quit">
  462. <property name="icon">
  463. <iconset>
  464. <normaloff>resources/file-exit.png</normaloff>resources/file-exit.png</iconset>
  465. </property>
  466. <property name="text">
  467. <string>&amp;Quit</string>
  468. </property>
  469. <property name="shortcut">
  470. <string>Ctrl+Q</string>
  471. </property>
  472. </action>
  473. <action name="actionConnection">
  474. <property name="text">
  475. <string>Connection</string>
  476. </property>
  477. </action>
  478. <action name="actionBulletin">
  479. <property name="text">
  480. <string>&amp;Bulletin (*.txt)</string>
  481. </property>
  482. </action>
  483. <action name="actionCatalog">
  484. <property name="text">
  485. <string>&amp;Catalog (*.xlsx)</string>
  486. </property>
  487. </action>
  488. <action name="action_NAS_bulletin">
  489. <property name="text">
  490. <string>&amp;NAS bulletin (*.bltn)</string>
  491. </property>
  492. </action>
  493. <action name="action_ArcGIS">
  494. <property name="text">
  495. <string>Arc&amp;GIS (*.txt)</string>
  496. </property>
  497. </action>
  498. </widget>
  499. <tabstops>
  500. <tabstop>from_dateTime</tabstop>
  501. <tabstop>to_dateTime</tabstop>
  502. <tabstop>from_Mag</tabstop>
  503. <tabstop>to_Mag</tabstop>
  504. <tabstop>comment_line</tabstop>
  505. <tabstop>sta_line</tabstop>
  506. <tabstop>search_events_button</tabstop>
  507. <tabstop>select_all_button</tabstop>
  508. <tabstop>save_as_button</tabstop>
  509. <tabstop>tableWidget</tabstop>
  510. </tabstops>
  511. <resources/>
  512. <connections>
  513. <connection>
  514. <sender>select_all_button</sender>
  515. <signal>clicked()</signal>
  516. <receiver>tableWidget</receiver>
  517. <slot>selectAll()</slot>
  518. <hints>
  519. <hint type="sourcelabel">
  520. <x>995</x>
  521. <y>67</y>
  522. </hint>
  523. <hint type="destinationlabel">
  524. <x>820</x>
  525. <y>466</y>
  526. </hint>
  527. </hints>
  528. </connection>
  529. <connection>
  530. <sender>action_Quit</sender>
  531. <signal>triggered()</signal>
  532. <receiver>MainWindow</receiver>
  533. <slot>close()</slot>
  534. <hints>
  535. <hint type="sourcelabel">
  536. <x>-1</x>
  537. <y>-1</y>
  538. </hint>
  539. <hint type="destinationlabel">
  540. <x>538</x>
  541. <y>371</y>
  542. </hint>
  543. </hints>
  544. </connection>
  545. </connections>
  546. </ui>