AzAssetBrowserWindow.ui 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632
  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. <spacer name="horizontalSpacerPreCreate">
  103. <property name="orientation">
  104. <enum>Qt::Horizontal</enum>
  105. </property>
  106. <property name="sizeType">
  107. <enum>QSizePolicy::Fixed</enum>
  108. </property>
  109. <property name="sizeHint" stdset="0">
  110. <size>
  111. <width>4</width>
  112. <height>20</height>
  113. </size>
  114. </property>
  115. </spacer>
  116. </item>
  117. <item>
  118. <widget class="QFrame" name="framePreCreate">
  119. <property name="minimumSize">
  120. <size>
  121. <width>1</width>
  122. <height>22</height>
  123. </size>
  124. </property>
  125. <property name="maximumSize">
  126. <size>
  127. <width>1</width>
  128. <height>22</height>
  129. </size>
  130. </property>
  131. <property name="styleSheet">
  132. <string notr="true">QFrame { color : rgb(34, 34, 34);}</string>
  133. </property>
  134. <property name="frameShape">
  135. <enum>QFrame::Box</enum>
  136. </property>
  137. <property name="frameShadow">
  138. <enum>QFrame::Plain</enum>
  139. </property>
  140. <property name="lineWidth">
  141. <number>1</number>
  142. </property>
  143. <property name="midLineWidth">
  144. <number>0</number>
  145. </property>
  146. </widget>
  147. </item>
  148. <item>
  149. <spacer name="horizontalSpacer2">
  150. <property name="orientation">
  151. <enum>Qt::Horizontal</enum>
  152. </property>
  153. <property name="sizeType">
  154. <enum>QSizePolicy::Fixed</enum>
  155. </property>
  156. <property name="sizeHint" stdset="0">
  157. <size>
  158. <width>4</width>
  159. <height>20</height>
  160. </size>
  161. </property>
  162. </spacer>
  163. </item>
  164. <item>
  165. <widget class="QToolButton" name="m_createButton">
  166. <property name="text">
  167. <string>...</string>
  168. </property>
  169. <property name="icon">
  170. <iconset resource="../../Framework/AzQtComponents/AzQtComponents/Components/resources.qrc">
  171. <normaloff>:/Gallery/Add.svg</normaloff>:/Gallery/Add.svg</iconset>
  172. </property>
  173. </widget>
  174. </item>
  175. <item>
  176. <spacer name="horizontalSpacer3">
  177. <property name="orientation">
  178. <enum>Qt::Horizontal</enum>
  179. </property>
  180. <property name="sizeType">
  181. <enum>QSizePolicy::Fixed</enum>
  182. </property>
  183. <property name="sizeHint" stdset="0">
  184. <size>
  185. <width>4</width>
  186. <height>20</height>
  187. </size>
  188. </property>
  189. </spacer>
  190. </item>
  191. <item>
  192. <widget class="QFrame" name="framePostCreate">
  193. <property name="minimumSize">
  194. <size>
  195. <width>1</width>
  196. <height>22</height>
  197. </size>
  198. </property>
  199. <property name="maximumSize">
  200. <size>
  201. <width>1</width>
  202. <height>22</height>
  203. </size>
  204. </property>
  205. <property name="styleSheet">
  206. <string notr="true">QFrame { color : rgb(34, 34, 34);}</string>
  207. </property>
  208. <property name="frameShape">
  209. <enum>QFrame::Box</enum>
  210. </property>
  211. <property name="frameShadow">
  212. <enum>QFrame::Plain</enum>
  213. </property>
  214. <property name="lineWidth">
  215. <number>1</number>
  216. </property>
  217. <property name="midLineWidth">
  218. <number>0</number>
  219. </property>
  220. </widget>
  221. </item>
  222. <item>
  223. <spacer name="horizontalSpacer4">
  224. <property name="orientation">
  225. <enum>Qt::Horizontal</enum>
  226. </property>
  227. <property name="sizeType">
  228. <enum>QSizePolicy::Fixed</enum>
  229. </property>
  230. <property name="sizeHint" stdset="0">
  231. <size>
  232. <width>4</width>
  233. <height>20</height>
  234. </size>
  235. </property>
  236. </spacer>
  237. </item>
  238. <item>
  239. <widget class="QWidget" name="m_breadcrumbsWrapper" native="true">
  240. <property name="sizePolicy">
  241. <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
  242. <horstretch>0</horstretch>
  243. <verstretch>0</verstretch>
  244. </sizepolicy>
  245. </property>
  246. <layout class="QHBoxLayout" name="m_breadcrumbsLayout">
  247. <property name="leftMargin">
  248. <number>0</number>
  249. </property>
  250. <property name="topMargin">
  251. <number>0</number>
  252. </property>
  253. <property name="rightMargin">
  254. <number>5</number>
  255. </property>
  256. <property name="bottomMargin">
  257. <number>0</number>
  258. </property>
  259. <item>
  260. <widget class="AzQtComponents::BreadCrumbs" name="m_pathBreadCrumbs" native="true">
  261. <property name="sizePolicy">
  262. <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
  263. <horstretch>0</horstretch>
  264. <verstretch>0</verstretch>
  265. </sizepolicy>
  266. </property>
  267. <property name="editable" stdset="0">
  268. <bool>true</bool>
  269. </property>
  270. </widget>
  271. </item>
  272. </layout>
  273. </widget>
  274. </item>
  275. <item>
  276. <widget class="QToolButton" name="m_treeViewButton">
  277. <property name="text">
  278. <string>...</string>
  279. </property>
  280. <property name="icon">
  281. <iconset resource="../../Framework/AzQtComponents/AzQtComponents/Components/resources.qrc">
  282. <normaloff>:/stylesheet/img/UI20/browse-edit-select-files.svg</normaloff>:/stylesheet/img/UI20/browse-edit-select-files.svg</iconset>
  283. </property>
  284. <property name="checkable">
  285. <bool>true</bool>
  286. </property>
  287. <attribute name="buttonGroup">
  288. <string notr="true">m_viewSelectButtonGroup</string>
  289. </attribute>
  290. </widget>
  291. </item>
  292. <item>
  293. <widget class="QToolButton" name="m_thumbnailViewButton">
  294. <property name="icon">
  295. <iconset resource="../../Framework/AzQtComponents/AzQtComponents/Components/resources.qrc">
  296. <normaloff>:/Gallery/Grid-small.svg</normaloff>:/Gallery/Grid-small.svg</iconset>
  297. </property>
  298. <property name="checkable">
  299. <bool>true</bool>
  300. </property>
  301. <property name="checked">
  302. <bool>true</bool>
  303. </property>
  304. <attribute name="buttonGroup">
  305. <string notr="true">m_viewSelectButtonGroup</string>
  306. </attribute>
  307. </widget>
  308. </item>
  309. <item>
  310. <widget class="QToolButton" name="m_tableViewButton">
  311. <property name="text">
  312. <string>...</string>
  313. </property>
  314. <property name="icon">
  315. <iconset resource="../../Framework/AzQtComponents/AzQtComponents/Components/resources.qrc">
  316. <normaloff>:/Breadcrumb/img/UI20/Breadcrumb/List_View.svg</normaloff>:/Breadcrumb/img/UI20/Breadcrumb/List_View.svg</iconset>
  317. </property>
  318. <property name="checkable">
  319. <bool>true</bool>
  320. </property>
  321. <attribute name="buttonGroup">
  322. <string notr="true">m_viewSelectButtonGroup</string>
  323. </attribute>
  324. </widget>
  325. </item>
  326. <item>
  327. <spacer name="horizontalSpacer">
  328. <property name="orientation">
  329. <enum>Qt::Horizontal</enum>
  330. </property>
  331. <property name="sizeType">
  332. <enum>QSizePolicy::Fixed</enum>
  333. </property>
  334. <property name="sizeHint" stdset="0">
  335. <size>
  336. <width>4</width>
  337. <height>20</height>
  338. </size>
  339. </property>
  340. </spacer>
  341. </item>
  342. <item>
  343. <widget class="QFrame" name="frame">
  344. <property name="minimumSize">
  345. <size>
  346. <width>1</width>
  347. <height>22</height>
  348. </size>
  349. </property>
  350. <property name="maximumSize">
  351. <size>
  352. <width>1</width>
  353. <height>22</height>
  354. </size>
  355. </property>
  356. <property name="styleSheet">
  357. <string notr="true">QFrame { color : white;}</string>
  358. </property>
  359. <property name="frameShape">
  360. <enum>QFrame::Box</enum>
  361. </property>
  362. <property name="frameShadow">
  363. <enum>QFrame::Plain</enum>
  364. </property>
  365. <property name="lineWidth">
  366. <number>1</number>
  367. </property>
  368. <property name="midLineWidth">
  369. <number>0</number>
  370. </property>
  371. </widget>
  372. </item>
  373. <item>
  374. <widget class="QToolButton" name="m_toolsMenuButton">
  375. <property name="toolTip">
  376. <string extracomment="Asset Browser menu">Asset Browser menu</string>
  377. </property>
  378. <property name="text">
  379. <string>...</string>
  380. </property>
  381. </widget>
  382. </item>
  383. </layout>
  384. </item>
  385. <item>
  386. <widget class="QFrame" name="searchButtonContainer" native="true">
  387. <layout class="QHBoxLayout" name="horizontalLayout2">
  388. <property name="spacing">
  389. <number>0</number>
  390. </property>
  391. <property name="leftMargin">
  392. <number>0</number>
  393. </property>
  394. <property name="topMargin">
  395. <number>0</number>
  396. </property>
  397. <property name="rightMargin">
  398. <number>0</number>
  399. </property>
  400. <property name="bottomMargin">
  401. <number>0</number>
  402. </property>
  403. <item>
  404. <widget class="QFrame" name="containerLayout" native="true">
  405. <property name="minimumHeight">
  406. <number>35</number>
  407. </property>
  408. <property name="sizePolicy">
  409. <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
  410. <horstretch>0</horstretch>
  411. <verstretch>0</verstretch>
  412. </sizepolicy>
  413. </property>
  414. </widget>
  415. </item>
  416. </layout>
  417. </widget>
  418. </item>
  419. <item>
  420. <widget class="QWidget" name="m_separator" native="true">
  421. <property name="sizePolicy">
  422. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  423. <horstretch>0</horstretch>
  424. <verstretch>0</verstretch>
  425. </sizepolicy>
  426. </property>
  427. <property name="minimumSize">
  428. <size>
  429. <width>0</width>
  430. <height>1</height>
  431. </size>
  432. </property>
  433. </widget>
  434. </item>
  435. <item>
  436. <widget class="QSplitter" name="m_splitter">
  437. <property name="sizePolicy">
  438. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  439. <horstretch>0</horstretch>
  440. <verstretch>0</verstretch>
  441. </sizepolicy>
  442. </property>
  443. <property name="orientation">
  444. <enum>Qt::Horizontal</enum>
  445. </property>
  446. <property name="childrenCollapsible">
  447. <bool>false</bool>
  448. </property>
  449. <widget class="QWidget" name="m_leftLayout" native="true">
  450. <property name="sizePolicy">
  451. <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
  452. <horstretch>0</horstretch>
  453. <verstretch>0</verstretch>
  454. </sizepolicy>
  455. </property>
  456. <property name="styleSheet">
  457. <string notr="true">vertical-align: top</string>
  458. </property>
  459. <layout class="QVBoxLayout" name="verticalLayout_4">
  460. <property name="spacing">
  461. <number>0</number>
  462. </property>
  463. <property name="leftMargin">
  464. <number>0</number>
  465. </property>
  466. <property name="topMargin">
  467. <number>0</number>
  468. </property>
  469. <property name="rightMargin">
  470. <number>0</number>
  471. </property>
  472. <property name="bottomMargin">
  473. <number>0</number>
  474. </property>
  475. <item>
  476. <widget class="AzToolsFramework::AssetBrowser::AssetBrowserListView" name="m_assetBrowserListViewWidget">
  477. <property name="sizePolicy">
  478. <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
  479. <horstretch>0</horstretch>
  480. <verstretch>0</verstretch>
  481. </sizepolicy>
  482. </property>
  483. <property name="editTriggers">
  484. <set>QAbstractItemView::DoubleClicked|QAbstractItemView::EditKeyPressed</set>
  485. </property>
  486. <property name="dragDropOverwriteMode">
  487. <bool>false</bool>
  488. </property>
  489. <property name="dragDropMode">
  490. <enum>QAbstractItemView::DragOnly</enum>
  491. </property>
  492. <property name="selectionMode">
  493. <enum>QAbstractItemView::SingleSelection</enum>
  494. </property>
  495. <property name="selectionBehavior">
  496. <enum>QAbstractItemView::SelectRows</enum>
  497. </property>
  498. <property name="horizontalScrollMode">
  499. <enum>QAbstractItemView::ScrollPerPixel</enum>
  500. </property>
  501. <property name="sortingEnabled">
  502. <bool>true</bool>
  503. </property>
  504. </widget>
  505. </item>
  506. <item>
  507. <widget class="QSplitter" name="m_leftsplitter">
  508. <property name="sizePolicy">
  509. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  510. <horstretch>0</horstretch>
  511. <verstretch>0</verstretch>
  512. </sizepolicy>
  513. </property>
  514. <property name="orientation">
  515. <enum>Qt::Vertical</enum>
  516. </property>
  517. <property name="childrenCollapsible">
  518. <bool>false</bool>
  519. </property>
  520. <widget class="AzToolsFramework::AssetBrowser::AssetBrowserFavoritesView" name="m_assetBrowserFavoritesWidget">
  521. <property name="sizePolicy">
  522. <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
  523. <horstretch>1</horstretch>
  524. <verstretch>0</verstretch>
  525. </sizepolicy>
  526. </property>
  527. <property name="editTriggers">
  528. <set>QAbstractItemView::EditKeyPressed</set>
  529. </property>
  530. <property name="selectionMode">
  531. <enum>QAbstractItemView::SingleSelection</enum>
  532. </property>
  533. </widget>
  534. <widget class="AzToolsFramework::AssetBrowser::AssetBrowserTreeView" name="m_assetBrowserTreeViewWidget">
  535. <property name="sizePolicy">
  536. <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
  537. <horstretch>1</horstretch>
  538. <verstretch>0</verstretch>
  539. </sizepolicy>
  540. </property>
  541. <property name="editTriggers">
  542. <set>QAbstractItemView::EditKeyPressed</set>
  543. </property>
  544. <property name="selectionMode">
  545. <enum>QAbstractItemView::ExtendedSelection</enum>
  546. </property>
  547. </widget>
  548. </widget>
  549. </item>
  550. </layout>
  551. </widget>
  552. <widget class="QStackedWidget" name="m_middleStackWidget">
  553. <property name="sizePolicy">
  554. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
  555. <horstretch>1</horstretch>
  556. <verstretch>0</verstretch>
  557. </sizepolicy>
  558. </property>
  559. <property name="minimumSize">
  560. <size>
  561. <width>50</width>
  562. <height>0</height>
  563. </size>
  564. </property>
  565. <widget class="AzToolsFramework::AssetBrowser::AssetBrowserThumbnailView" name="m_thumbnailView">
  566. <property name="styleSheet">
  567. <string notr="true">background-color: #333333</string>
  568. </property>
  569. </widget>
  570. <widget class="AzToolsFramework::AssetBrowser::AssetBrowserTableView" name="m_tableView">
  571. <layout class="QVBoxLayout" name="m_tableViewLayout">
  572. <property name="spacing">
  573. <number>0</number>
  574. </property>
  575. </layout>
  576. </widget>
  577. </widget>
  578. </widget>
  579. </item>
  580. </layout>
  581. </widget>
  582. </widget>
  583. </item>
  584. </layout>
  585. </widget>
  586. <customwidgets>
  587. <customwidget>
  588. <class>AzToolsFramework::AssetBrowser::SearchWidget</class>
  589. <extends>QWidget</extends>
  590. <header>AzToolsFramework/AssetBrowser/Search/SearchWidget.h</header>
  591. <container>1</container>
  592. </customwidget>
  593. <customwidget>
  594. <class>AzToolsFramework::AssetBrowser::AssetBrowserTreeView</class>
  595. <extends>QTreeView</extends>
  596. <header>AzToolsFramework/AssetBrowser/Views/AssetBrowserTreeView.h</header>
  597. </customwidget>
  598. <customwidget>
  599. <class>AzToolsFramework::AssetBrowser::AssetBrowserFavoritesView</class>
  600. <extends>QTreeView</extends>
  601. <header>AzToolsFramework/AssetBrowser/Favorites/AssetBrowserFavoritesView.h</header>
  602. </customwidget>
  603. <customwidget>
  604. <class>AzToolsFramework::AssetBrowser::AssetBrowserListView</class>
  605. <extends>QTableView</extends>
  606. <header>AzToolsFramework/AssetBrowser/Views/AssetBrowserListView.h</header>
  607. </customwidget>
  608. <customwidget>
  609. <class>AzToolsFramework::AssetBrowser::AssetBrowserTableView</class>
  610. <extends>AzQtComponents::TableView</extends>
  611. <header>AzToolsFramework/AssetBrowser/Views/AssetBrowserTableView.h</header>
  612. </customwidget>
  613. <customwidget>
  614. <class>AzQtComponents::BreadCrumbs</class>
  615. <extends>QWidget</extends>
  616. <header>AzQtComponents/Components/Widgets/BreadCrumbs.h</header>
  617. </customwidget>
  618. <customwidget>
  619. <class>AzToolsFramework::AssetBrowser::AssetBrowserThumbnailView</class>
  620. <extends>QWidget</extends>
  621. <header>AzToolsFramework/AssetBrowser/Views/AssetBrowserThumbnailView.h</header>
  622. </customwidget>
  623. </customwidgets>
  624. <resources>
  625. <include location="../../Framework/AzQtComponents/AzQtComponents/Components/resources.qrc"/>
  626. </resources>
  627. <connections/>
  628. <buttongroups>
  629. <buttongroup name="m_viewSelectButtonGroup"/>
  630. </buttongroups>
  631. </ui>