AzAssetBrowserWindow.ui 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>AzAssetBrowserWindowClass</class>
  4. <widget class="QWidget" name="AzAssetBrowserWindowClass">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>691</width>
  10. <height>554</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Asset Browser</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout">
  17. <property name="spacing">
  18. <number>0</number>
  19. </property>
  20. <property name="leftMargin">
  21. <number>0</number>
  22. </property>
  23. <property name="topMargin">
  24. <number>0</number>
  25. </property>
  26. <property name="rightMargin">
  27. <number>0</number>
  28. </property>
  29. <property name="bottomMargin">
  30. <number>0</number>
  31. </property>
  32. <item>
  33. <widget class="QScrollArea" name="scrollArea">
  34. <property name="minimumSize">
  35. <size>
  36. <width>1</width>
  37. <height>1</height>
  38. </size>
  39. </property>
  40. <property name="frameShape">
  41. <enum>QFrame::NoFrame</enum>
  42. </property>
  43. <property name="widgetResizable">
  44. <bool>true</bool>
  45. </property>
  46. <widget class="QWidget" name="scrollAreaWidgetContents">
  47. <property name="geometry">
  48. <rect>
  49. <x>0</x>
  50. <y>0</y>
  51. <width>691</width>
  52. <height>554</height>
  53. </rect>
  54. </property>
  55. <layout class="QVBoxLayout" name="scrollAreaVerticalLayout">
  56. <property name="spacing">
  57. <number>0</number>
  58. </property>
  59. <property name="leftMargin">
  60. <number>0</number>
  61. </property>
  62. <property name="topMargin">
  63. <number>0</number>
  64. </property>
  65. <property name="rightMargin">
  66. <number>0</number>
  67. </property>
  68. <property name="bottomMargin">
  69. <number>0</number>
  70. </property>
  71. <item>
  72. <layout class="QHBoxLayout" name="horizontalLayout">
  73. <property name="leftMargin">
  74. <number>5</number>
  75. </property>
  76. <property name="topMargin">
  77. <number>5</number>
  78. </property>
  79. <property name="rightMargin">
  80. <number>5</number>
  81. </property>
  82. <property name="bottomMargin">
  83. <number>5</number>
  84. </property>
  85. <item>
  86. <widget class="AzToolsFramework::AssetBrowser::SearchWidget" name="m_searchWidget" native="true">
  87. <property name="sizePolicy">
  88. <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
  89. <horstretch>0</horstretch>
  90. <verstretch>0</verstretch>
  91. </sizepolicy>
  92. </property>
  93. <property name="minimumSize">
  94. <size>
  95. <width>150</width>
  96. <height>0</height>
  97. </size>
  98. </property>
  99. </widget>
  100. </item>
  101. <item>
  102. <widget class="Line" name="line">
  103. <property name="orientation">
  104. <enum>Qt::Vertical</enum>
  105. </property>
  106. </widget>
  107. </item>
  108. <item>
  109. <widget class="QToolButton" name="m_createButton">
  110. <property name="text">
  111. <string>...</string>
  112. </property>
  113. <property name="icon">
  114. <iconset resource="../../Framework/AzQtComponents/AzQtComponents/Components/resources.qrc">
  115. <normaloff>:/Gallery/Add.svg</normaloff>:/Gallery/Add.svg</iconset>
  116. </property>
  117. </widget>
  118. </item>
  119. <item>
  120. <widget class="Line" name="line_2">
  121. <property name="orientation">
  122. <enum>Qt::Vertical</enum>
  123. </property>
  124. </widget>
  125. </item>
  126. <item>
  127. <widget class="QWidget" name="m_breadcrumbsWrapper" native="true">
  128. <property name="sizePolicy">
  129. <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
  130. <horstretch>0</horstretch>
  131. <verstretch>0</verstretch>
  132. </sizepolicy>
  133. </property>
  134. <layout class="QHBoxLayout" name="m_breadcrumbsLayout">
  135. <property name="leftMargin">
  136. <number>0</number>
  137. </property>
  138. <property name="topMargin">
  139. <number>0</number>
  140. </property>
  141. <property name="rightMargin">
  142. <number>5</number>
  143. </property>
  144. <property name="bottomMargin">
  145. <number>0</number>
  146. </property>
  147. <item>
  148. <widget class="AzQtComponents::BreadCrumbs" name="m_pathBreadCrumbs" native="true">
  149. <property name="sizePolicy">
  150. <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
  151. <horstretch>0</horstretch>
  152. <verstretch>0</verstretch>
  153. </sizepolicy>
  154. </property>
  155. <property name="editable" stdset="0">
  156. <bool>true</bool>
  157. </property>
  158. </widget>
  159. </item>
  160. </layout>
  161. </widget>
  162. </item>
  163. <item>
  164. <widget class="QToolButton" name="m_treeViewButton">
  165. <property name="text">
  166. <string>...</string>
  167. </property>
  168. <property name="icon">
  169. <iconset resource="../../Framework/AzQtComponents/AzQtComponents/Components/resources.qrc">
  170. <normaloff>:/stylesheet/img/UI20/browse-edit-select-files.svg</normaloff>:/stylesheet/img/UI20/browse-edit-select-files.svg</iconset>
  171. </property>
  172. <property name="checkable">
  173. <bool>true</bool>
  174. </property>
  175. <attribute name="buttonGroup">
  176. <string notr="true">m_viewSelectButtonGroup</string>
  177. </attribute>
  178. </widget>
  179. </item>
  180. <item>
  181. <widget class="QToolButton" name="m_thumbnailViewButton">
  182. <property name="icon">
  183. <iconset resource="../../Framework/AzQtComponents/AzQtComponents/Components/resources.qrc">
  184. <normaloff>:/Gallery/Grid-small.svg</normaloff>:/Gallery/Grid-small.svg</iconset>
  185. </property>
  186. <property name="checkable">
  187. <bool>true</bool>
  188. </property>
  189. <property name="checked">
  190. <bool>true</bool>
  191. </property>
  192. <attribute name="buttonGroup">
  193. <string notr="true">m_viewSelectButtonGroup</string>
  194. </attribute>
  195. </widget>
  196. </item>
  197. <item>
  198. <widget class="QToolButton" name="m_tableViewButton">
  199. <property name="text">
  200. <string>...</string>
  201. </property>
  202. <property name="icon">
  203. <iconset resource="../../Framework/AzQtComponents/AzQtComponents/Components/resources.qrc">
  204. <normaloff>:/Breadcrumb/img/UI20/Breadcrumb/List_View.svg</normaloff>:/Breadcrumb/img/UI20/Breadcrumb/List_View.svg</iconset>
  205. </property>
  206. <property name="checkable">
  207. <bool>true</bool>
  208. </property>
  209. <attribute name="buttonGroup">
  210. <string notr="true">m_viewSelectButtonGroup</string>
  211. </attribute>
  212. </widget>
  213. </item>
  214. <item>
  215. <spacer name="horizontalSpacer">
  216. <property name="orientation">
  217. <enum>Qt::Horizontal</enum>
  218. </property>
  219. <property name="sizeType">
  220. <enum>QSizePolicy::Fixed</enum>
  221. </property>
  222. <property name="sizeHint" stdset="0">
  223. <size>
  224. <width>4</width>
  225. <height>20</height>
  226. </size>
  227. </property>
  228. </spacer>
  229. </item>
  230. <item>
  231. <widget class="QFrame" name="frame">
  232. <property name="minimumSize">
  233. <size>
  234. <width>1</width>
  235. <height>0</height>
  236. </size>
  237. </property>
  238. <property name="styleSheet">
  239. <string notr="true">QFrame { color : white;}</string>
  240. </property>
  241. <property name="frameShape">
  242. <enum>QFrame::Box</enum>
  243. </property>
  244. <property name="frameShadow">
  245. <enum>QFrame::Plain</enum>
  246. </property>
  247. <property name="lineWidth">
  248. <number>1</number>
  249. </property>
  250. <property name="midLineWidth">
  251. <number>0</number>
  252. </property>
  253. </widget>
  254. </item>
  255. <item>
  256. <widget class="QToolButton" name="m_toolsMenuButton">
  257. <property name="toolTip">
  258. <string extracomment="Asset Browser menu">Asset Browser menu</string>
  259. </property>
  260. <property name="text">
  261. <string>...</string>
  262. </property>
  263. </widget>
  264. </item>
  265. </layout>
  266. </item>
  267. <item>
  268. <widget class="QWidget" name="m_separator" native="true">
  269. <property name="sizePolicy">
  270. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  271. <horstretch>0</horstretch>
  272. <verstretch>0</verstretch>
  273. </sizepolicy>
  274. </property>
  275. <property name="minimumSize">
  276. <size>
  277. <width>0</width>
  278. <height>1</height>
  279. </size>
  280. </property>
  281. </widget>
  282. </item>
  283. <item>
  284. <widget class="QSplitter" name="m_splitter">
  285. <property name="sizePolicy">
  286. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  287. <horstretch>0</horstretch>
  288. <verstretch>0</verstretch>
  289. </sizepolicy>
  290. </property>
  291. <property name="orientation">
  292. <enum>Qt::Horizontal</enum>
  293. </property>
  294. <property name="childrenCollapsible">
  295. <bool>false</bool>
  296. </property>
  297. <widget class="QWidget" name="m_leftLayout" native="true">
  298. <property name="sizePolicy">
  299. <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
  300. <horstretch>0</horstretch>
  301. <verstretch>0</verstretch>
  302. </sizepolicy>
  303. </property>
  304. <property name="styleSheet">
  305. <string notr="true">vertical-align: top</string>
  306. </property>
  307. <layout class="QVBoxLayout" name="verticalLayout_4">
  308. <property name="spacing">
  309. <number>0</number>
  310. </property>
  311. <property name="leftMargin">
  312. <number>0</number>
  313. </property>
  314. <property name="topMargin">
  315. <number>0</number>
  316. </property>
  317. <property name="rightMargin">
  318. <number>0</number>
  319. </property>
  320. <property name="bottomMargin">
  321. <number>0</number>
  322. </property>
  323. <item>
  324. <widget class="AzToolsFramework::AssetBrowser::AssetBrowserListView" name="m_assetBrowserListViewWidget">
  325. <property name="sizePolicy">
  326. <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
  327. <horstretch>0</horstretch>
  328. <verstretch>0</verstretch>
  329. </sizepolicy>
  330. </property>
  331. <property name="editTriggers">
  332. <set>QAbstractItemView::DoubleClicked|QAbstractItemView::EditKeyPressed</set>
  333. </property>
  334. <property name="dragDropOverwriteMode">
  335. <bool>false</bool>
  336. </property>
  337. <property name="dragDropMode">
  338. <enum>QAbstractItemView::DragOnly</enum>
  339. </property>
  340. <property name="selectionMode">
  341. <enum>QAbstractItemView::SingleSelection</enum>
  342. </property>
  343. <property name="selectionBehavior">
  344. <enum>QAbstractItemView::SelectRows</enum>
  345. </property>
  346. <property name="horizontalScrollMode">
  347. <enum>QAbstractItemView::ScrollPerPixel</enum>
  348. </property>
  349. <property name="sortingEnabled">
  350. <bool>true</bool>
  351. </property>
  352. </widget>
  353. </item>
  354. <item>
  355. <widget class="AzToolsFramework::AssetBrowser::AssetBrowserTreeView" name="m_assetBrowserTreeViewWidget">
  356. <property name="sizePolicy">
  357. <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
  358. <horstretch>1</horstretch>
  359. <verstretch>0</verstretch>
  360. </sizepolicy>
  361. </property>
  362. <property name="editTriggers">
  363. <set>QAbstractItemView::EditKeyPressed</set>
  364. </property>
  365. <property name="selectionMode">
  366. <enum>QAbstractItemView::ExtendedSelection</enum>
  367. </property>
  368. </widget>
  369. </item>
  370. </layout>
  371. </widget>
  372. <widget class="QStackedWidget" name="m_middleStackWidget">
  373. <property name="sizePolicy">
  374. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
  375. <horstretch>1</horstretch>
  376. <verstretch>0</verstretch>
  377. </sizepolicy>
  378. </property>
  379. <property name="minimumSize">
  380. <size>
  381. <width>50</width>
  382. <height>0</height>
  383. </size>
  384. </property>
  385. <widget class="AzToolsFramework::AssetBrowser::AssetBrowserThumbnailView" name="m_thumbnailView"/>
  386. <widget class="AzToolsFramework::AssetBrowser::AssetBrowserTableView" name="m_tableView">
  387. <layout class="QVBoxLayout" name="m_tableViewLayout">
  388. <property name="spacing">
  389. <number>0</number>
  390. </property>
  391. </layout>
  392. </widget>
  393. </widget>
  394. </widget>
  395. </item>
  396. </layout>
  397. </widget>
  398. </widget>
  399. </item>
  400. </layout>
  401. </widget>
  402. <customwidgets>
  403. <customwidget>
  404. <class>AzToolsFramework::AssetBrowser::SearchWidget</class>
  405. <extends>QWidget</extends>
  406. <header>AzToolsFramework/AssetBrowser/Search/SearchWidget.h</header>
  407. <container>1</container>
  408. </customwidget>
  409. <customwidget>
  410. <class>AzToolsFramework::AssetBrowser::AssetBrowserTreeView</class>
  411. <extends>QTreeView</extends>
  412. <header>AzToolsFramework/AssetBrowser/Views/AssetBrowserTreeView.h</header>
  413. </customwidget>
  414. <customwidget>
  415. <class>AzToolsFramework::AssetBrowser::AssetBrowserListView</class>
  416. <extends>QTableView</extends>
  417. <header>AzToolsFramework/AssetBrowser/Views/AssetBrowserListView.h</header>
  418. </customwidget>
  419. <customwidget>
  420. <class>AzToolsFramework::AssetBrowser::AssetBrowserTableView</class>
  421. <extends>AzQtComponents::TableView</extends>
  422. <header>AzToolsFramework/AssetBrowser/Views/AssetBrowserTableView.h</header>
  423. </customwidget>
  424. <customwidget>
  425. <class>AzQtComponents::BreadCrumbs</class>
  426. <extends>QWidget</extends>
  427. <header>AzQtComponents/Components/Widgets/BreadCrumbs.h</header>
  428. </customwidget>
  429. <customwidget>
  430. <class>AzToolsFramework::AssetBrowser::AssetBrowserThumbnailView</class>
  431. <extends>QWidget</extends>
  432. <header>AzToolsFramework/AssetBrowser/Views/AssetBrowserThumbnailView.h</header>
  433. </customwidget>
  434. </customwidgets>
  435. <resources>
  436. <include location="../../Framework/AzQtComponents/AzQtComponents/Components/resources.qrc"/>
  437. </resources>
  438. <connections/>
  439. <buttongroups>
  440. <buttongroup name="m_viewSelectButtonGroup"/>
  441. </buttongroups>
  442. </ui>