ImageLabeler.ui 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>ImageLabelerGui</class>
  4. <widget class="QMainWindow" name="ImageLabelerGui">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>800</width>
  10. <height>593</height>
  11. </rect>
  12. </property>
  13. <property name="focusPolicy">
  14. <enum>Qt::StrongFocus</enum>
  15. </property>
  16. <property name="windowTitle">
  17. <string>ImageLabeler</string>
  18. </property>
  19. <widget class="QWidget" name="central_widget_">
  20. <layout class="QHBoxLayout" name="layout_main_" stretch="1,1,1">
  21. <item>
  22. <layout class="QVBoxLayout" name="layout_left_" stretch="0,0,0,0,0,0">
  23. <item>
  24. <widget class="QFrame" name="frame_toolbox_">
  25. <property name="frameShape">
  26. <enum>QFrame::StyledPanel</enum>
  27. </property>
  28. <property name="frameShadow">
  29. <enum>QFrame::Raised</enum>
  30. </property>
  31. <layout class="QVBoxLayout" name="layout_toolbox_">
  32. <item>
  33. <widget class="QLabel" name="label_toolbox_">
  34. <property name="text">
  35. <string>Tool Box</string>
  36. </property>
  37. </widget>
  38. </item>
  39. <item>
  40. <widget class="QPushButton" name="button_bound_box_tool_">
  41. <property name="enabled">
  42. <bool>false</bool>
  43. </property>
  44. <property name="text">
  45. <string>bbox</string>
  46. </property>
  47. <property name="checkable">
  48. <bool>true</bool>
  49. </property>
  50. </widget>
  51. </item>
  52. <item>
  53. <widget class="QPushButton" name="button_polygon_tool_">
  54. <property name="enabled">
  55. <bool>false</bool>
  56. </property>
  57. <property name="text">
  58. <string>poly tool</string>
  59. </property>
  60. <property name="checkable">
  61. <bool>true</bool>
  62. </property>
  63. <property name="checked">
  64. <bool>false</bool>
  65. </property>
  66. </widget>
  67. </item>
  68. <item>
  69. <spacer name="verticalSpacer">
  70. <property name="orientation">
  71. <enum>Qt::Vertical</enum>
  72. </property>
  73. <property name="sizeType">
  74. <enum>QSizePolicy::Fixed</enum>
  75. </property>
  76. <property name="sizeHint" stdset="0">
  77. <size>
  78. <width>20</width>
  79. <height>10</height>
  80. </size>
  81. </property>
  82. </spacer>
  83. </item>
  84. <item>
  85. <widget class="QPushButton" name="button_tagging_tool_">
  86. <property name="enabled">
  87. <bool>false</bool>
  88. </property>
  89. <property name="text">
  90. <string>tagging</string>
  91. </property>
  92. </widget>
  93. </item>
  94. <item>
  95. <spacer name="verticalSpacer_2">
  96. <property name="orientation">
  97. <enum>Qt::Vertical</enum>
  98. </property>
  99. <property name="sizeType">
  100. <enum>QSizePolicy::Fixed</enum>
  101. </property>
  102. <property name="sizeHint" stdset="0">
  103. <size>
  104. <width>20</width>
  105. <height>10</height>
  106. </size>
  107. </property>
  108. </spacer>
  109. </item>
  110. <item>
  111. <widget class="QPushButton" name="button_clear_selection_tool_">
  112. <property name="enabled">
  113. <bool>false</bool>
  114. </property>
  115. <property name="text">
  116. <string>clear selection</string>
  117. </property>
  118. </widget>
  119. </item>
  120. <item>
  121. <widget class="QPushButton" name="button_delete_all_labels_">
  122. <property name="enabled">
  123. <bool>false</bool>
  124. </property>
  125. <property name="text">
  126. <string>delete all labels</string>
  127. </property>
  128. </widget>
  129. </item>
  130. <item>
  131. <spacer name="verticalSpacer_3">
  132. <property name="orientation">
  133. <enum>Qt::Vertical</enum>
  134. </property>
  135. <property name="sizeType">
  136. <enum>QSizePolicy::Fixed</enum>
  137. </property>
  138. <property name="sizeHint" stdset="0">
  139. <size>
  140. <width>20</width>
  141. <height>10</height>
  142. </size>
  143. </property>
  144. </spacer>
  145. </item>
  146. <item>
  147. <widget class="QPushButton" name="button_generate_colors_">
  148. <property name="enabled">
  149. <bool>false</bool>
  150. </property>
  151. <property name="text">
  152. <string>generate label colors</string>
  153. </property>
  154. </widget>
  155. </item>
  156. </layout>
  157. </widget>
  158. </item>
  159. <item>
  160. <widget class="QLabel" name="label_list_images_">
  161. <property name="text">
  162. <string>Loaded Images:</string>
  163. </property>
  164. </widget>
  165. </item>
  166. <item>
  167. <layout class="QHBoxLayout" name="layout_imagelist_buttons_">
  168. <item>
  169. <widget class="QPushButton" name="button_add_image_">
  170. <property name="text">
  171. <string>Add</string>
  172. </property>
  173. </widget>
  174. </item>
  175. <item>
  176. <widget class="QPushButton" name="button_remove_image_">
  177. <property name="enabled">
  178. <bool>false</bool>
  179. </property>
  180. <property name="text">
  181. <string>Remove</string>
  182. </property>
  183. </widget>
  184. </item>
  185. </layout>
  186. </item>
  187. <item>
  188. <widget class="QListWidget" name="list_images_widget_">
  189. <property name="maximumSize">
  190. <size>
  191. <width>200</width>
  192. <height>16777215</height>
  193. </size>
  194. </property>
  195. </widget>
  196. </item>
  197. <item>
  198. <spacer name="horizontalSpacer">
  199. <property name="orientation">
  200. <enum>Qt::Horizontal</enum>
  201. </property>
  202. <property name="sizeType">
  203. <enum>QSizePolicy::Minimum</enum>
  204. </property>
  205. <property name="sizeHint" stdset="0">
  206. <size>
  207. <width>1</width>
  208. <height>20</height>
  209. </size>
  210. </property>
  211. </spacer>
  212. </item>
  213. <item>
  214. <widget class="QPushButton" name="button_confirm_selection_">
  215. <property name="enabled">
  216. <bool>false</bool>
  217. </property>
  218. <property name="text">
  219. <string>Confirm selection</string>
  220. </property>
  221. </widget>
  222. </item>
  223. </layout>
  224. </item>
  225. <item>
  226. <layout class="QVBoxLayout" name="layout_center_">
  227. <item>
  228. <widget class="QFrame" name="frame_center_">
  229. <property name="frameShape">
  230. <enum>QFrame::StyledPanel</enum>
  231. </property>
  232. <property name="frameShadow">
  233. <enum>QFrame::Raised</enum>
  234. </property>
  235. <layout class="QVBoxLayout" name="layout_frame_image_">
  236. <property name="margin">
  237. <number>0</number>
  238. </property>
  239. <item>
  240. <widget class="QScrollArea" name="frame_image_">
  241. <property name="lineWidth">
  242. <number>0</number>
  243. </property>
  244. <property name="widgetResizable">
  245. <bool>false</bool>
  246. </property>
  247. <property name="alignment">
  248. <set>Qt::AlignCenter</set>
  249. </property>
  250. <widget class="QWidget" name="scrollAreaWidgetContents">
  251. <property name="geometry">
  252. <rect>
  253. <x>0</x>
  254. <y>0</y>
  255. <width>250</width>
  256. <height>501</height>
  257. </rect>
  258. </property>
  259. </widget>
  260. </widget>
  261. </item>
  262. <item>
  263. <layout class="QHBoxLayout" name="layout_center_buttons_">
  264. <item>
  265. <widget class="QPushButton" name="button_prev_image_">
  266. <property name="text">
  267. <string>←</string>
  268. </property>
  269. <property name="autoRepeat">
  270. <bool>true</bool>
  271. </property>
  272. </widget>
  273. </item>
  274. <item>
  275. <widget class="QPushButton" name="button_next_image_">
  276. <property name="text">
  277. <string>→</string>
  278. </property>
  279. <property name="autoRepeat">
  280. <bool>true</bool>
  281. </property>
  282. </widget>
  283. </item>
  284. </layout>
  285. </item>
  286. </layout>
  287. </widget>
  288. </item>
  289. </layout>
  290. </item>
  291. <item>
  292. <layout class="QVBoxLayout" name="layout_right_">
  293. <item>
  294. <widget class="QFrame" name="frame_labelbox_">
  295. <property name="maximumSize">
  296. <size>
  297. <width>200</width>
  298. <height>16777215</height>
  299. </size>
  300. </property>
  301. <property name="frameShape">
  302. <enum>QFrame::StyledPanel</enum>
  303. </property>
  304. <property name="frameShadow">
  305. <enum>QFrame::Raised</enum>
  306. </property>
  307. <layout class="QVBoxLayout" name="layout_labelbox_">
  308. <item>
  309. <widget class="QLabel" name="label_list_label_">
  310. <property name="text">
  311. <string>Object labels:</string>
  312. </property>
  313. </widget>
  314. </item>
  315. <item>
  316. <layout class="QHBoxLayout" name="layout_labelbox_buttons_">
  317. <item>
  318. <widget class="QPushButton" name="button_add_label_">
  319. <property name="enabled">
  320. <bool>false</bool>
  321. </property>
  322. <property name="text">
  323. <string>Add label</string>
  324. </property>
  325. </widget>
  326. </item>
  327. <item>
  328. <widget class="QPushButton" name="button_remove_label_">
  329. <property name="enabled">
  330. <bool>false</bool>
  331. </property>
  332. <property name="text">
  333. <string>Remove label</string>
  334. </property>
  335. </widget>
  336. </item>
  337. </layout>
  338. </item>
  339. <item>
  340. <widget class="QListWidget" name="list_label_"/>
  341. </item>
  342. <item>
  343. <widget class="QLabel" name="label_list_areas_">
  344. <property name="text">
  345. <string>Selected areas:</string>
  346. </property>
  347. </widget>
  348. </item>
  349. <item>
  350. <layout class="QVBoxLayout" name="layout_areabox_buttons_">
  351. <property name="spacing">
  352. <number>0</number>
  353. </property>
  354. <item>
  355. <widget class="QPushButton" name="button_delete_area_">
  356. <property name="enabled">
  357. <bool>false</bool>
  358. </property>
  359. <property name="text">
  360. <string>Delete area</string>
  361. </property>
  362. </widget>
  363. </item>
  364. <item>
  365. <widget class="QPushButton" name="button_change_area_">
  366. <property name="enabled">
  367. <bool>false</bool>
  368. </property>
  369. <property name="text">
  370. <string>Change area</string>
  371. </property>
  372. </widget>
  373. </item>
  374. <item>
  375. <widget class="QPushButton" name="button_change_area_text_">
  376. <property name="enabled">
  377. <bool>false</bool>
  378. </property>
  379. <property name="text">
  380. <string>Change area text</string>
  381. </property>
  382. </widget>
  383. </item>
  384. </layout>
  385. </item>
  386. <item>
  387. <widget class="QListWidget" name="list_areas_"/>
  388. </item>
  389. </layout>
  390. </widget>
  391. </item>
  392. </layout>
  393. </item>
  394. </layout>
  395. </widget>
  396. <widget class="QMenuBar" name="menu_bar_">
  397. <property name="geometry">
  398. <rect>
  399. <x>0</x>
  400. <y>0</y>
  401. <width>800</width>
  402. <height>29</height>
  403. </rect>
  404. </property>
  405. <widget class="QMenu" name="menu_file_">
  406. <property name="title">
  407. <string>&amp;File</string>
  408. </property>
  409. <widget class="QMenu" name="menu_load_">
  410. <property name="title">
  411. <string>&amp;Load</string>
  412. </property>
  413. <addaction name="action_open_image_"/>
  414. <addaction name="action_open_images_"/>
  415. <addaction name="action_open_labeled_image_"/>
  416. <addaction name="action_load_legend_"/>
  417. </widget>
  418. <widget class="QMenu" name="menu_save_">
  419. <property name="title">
  420. <string>&amp;Save</string>
  421. </property>
  422. <addaction name="action_save_segmented_"/>
  423. <addaction name="action_save_legend_"/>
  424. <addaction name="action_save_all_"/>
  425. </widget>
  426. <widget class="QMenu" name="menu_pascal_">
  427. <property name="title">
  428. <string>&amp;Pascal</string>
  429. </property>
  430. <addaction name="action_load_pascal_file_"/>
  431. <addaction name="action_load_pascal_poly_"/>
  432. </widget>
  433. <addaction name="menu_load_"/>
  434. <addaction name="menu_save_"/>
  435. <addaction name="menu_pascal_"/>
  436. <addaction name="separator"/>
  437. <addaction name="action_quit_"/>
  438. </widget>
  439. <widget class="QMenu" name="menu_view_">
  440. <property name="title">
  441. <string>&amp;View</string>
  442. </property>
  443. <addaction name="action_view_normal_"/>
  444. <addaction name="action_view_segmented_"/>
  445. </widget>
  446. <widget class="QMenu" name="menu_edit_">
  447. <property name="title">
  448. <string>&amp;Edit</string>
  449. </property>
  450. <addaction name="action_undo_"/>
  451. <addaction name="action_redo_"/>
  452. <addaction name="separator"/>
  453. <addaction name="action_bound_box_tool_"/>
  454. <addaction name="action_polygon_tool_"/>
  455. <addaction name="action_tagging_tool_"/>
  456. <addaction name="separator"/>
  457. <addaction name="action_add_description_"/>
  458. <addaction name="action_options_"/>
  459. </widget>
  460. <widget class="QMenu" name="menu_help_">
  461. <property name="title">
  462. <string>&amp;Help</string>
  463. </property>
  464. <addaction name="action_help_content_"/>
  465. <addaction name="action_about_"/>
  466. </widget>
  467. <addaction name="menu_file_"/>
  468. <addaction name="menu_view_"/>
  469. <addaction name="menu_edit_"/>
  470. <addaction name="menu_help_"/>
  471. </widget>
  472. <action name="action_quit_">
  473. <property name="text">
  474. <string>&amp;Quit</string>
  475. </property>
  476. </action>
  477. <action name="action_view_normal_">
  478. <property name="text">
  479. <string>&amp;Normal</string>
  480. </property>
  481. </action>
  482. <action name="action_view_segmented_">
  483. <property name="text">
  484. <string>&amp;Segmented</string>
  485. </property>
  486. </action>
  487. <action name="action_open_image_">
  488. <property name="text">
  489. <string>Load image</string>
  490. </property>
  491. </action>
  492. <action name="action_open_images_">
  493. <property name="text">
  494. <string>Load images (recursively)</string>
  495. </property>
  496. </action>
  497. <action name="action_open_labeled_image_">
  498. <property name="text">
  499. <string>Load labeled image</string>
  500. </property>
  501. </action>
  502. <action name="action_load_legend_">
  503. <property name="text">
  504. <string>Load legend</string>
  505. </property>
  506. </action>
  507. <action name="action_save_segmented_">
  508. <property name="text">
  509. <string>Save segmented &amp;picture</string>
  510. </property>
  511. </action>
  512. <action name="action_save_legend_">
  513. <property name="text">
  514. <string>Save &amp;legend</string>
  515. </property>
  516. </action>
  517. <action name="action_save_all_">
  518. <property name="text">
  519. <string>&amp;Save all info</string>
  520. </property>
  521. </action>
  522. <action name="action_load_pascal_file_">
  523. <property name="text">
  524. <string>&amp;Load pascal file</string>
  525. </property>
  526. </action>
  527. <action name="action_load_pascal_poly_">
  528. <property name="text">
  529. <string>&amp;Load poly info</string>
  530. </property>
  531. </action>
  532. <action name="action_help_content_">
  533. <property name="text">
  534. <string>&amp;Help content</string>
  535. </property>
  536. </action>
  537. <action name="action_about_">
  538. <property name="text">
  539. <string>&amp;About</string>
  540. </property>
  541. </action>
  542. <action name="action_undo_">
  543. <property name="text">
  544. <string>&amp;Undo</string>
  545. </property>
  546. </action>
  547. <action name="action_redo_">
  548. <property name="text">
  549. <string>&amp;Redo</string>
  550. </property>
  551. </action>
  552. <action name="action_bound_box_tool_">
  553. <property name="text">
  554. <string>Bounding box tool</string>
  555. </property>
  556. </action>
  557. <action name="action_polygon_tool_">
  558. <property name="text">
  559. <string>&amp;Polygon tool</string>
  560. </property>
  561. </action>
  562. <action name="action_tagging_tool_">
  563. <property name="text">
  564. <string>&amp;Tagging tool</string>
  565. </property>
  566. </action>
  567. <action name="action_add_description_">
  568. <property name="text">
  569. <string>&amp;Add Image Description</string>
  570. </property>
  571. </action>
  572. <action name="action_options_">
  573. <property name="text">
  574. <string>&amp;Options</string>
  575. </property>
  576. </action>
  577. </widget>
  578. <resources/>
  579. <connections/>
  580. </ui>