VariableConfigurationWidget.ui 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>VariableConfigurationWidget</class>
  4. <widget class="QWidget" name="VariableConfigurationWidget">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>294</width>
  10. <height>265</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Pick slot name/type</string>
  15. </property>
  16. <property name="floating" stdset="0">
  17. <bool>false</bool>
  18. </property>
  19. <layout class="QGridLayout" name="gridLayout">
  20. <item row="0" column="0">
  21. <layout class="QVBoxLayout" name="verticalLayout_4">
  22. <property name="spacing">
  23. <number>0</number>
  24. </property>
  25. <property name="sizeConstraint">
  26. <enum>QLayout::SetMaximumSize</enum>
  27. </property>
  28. <property name="leftMargin">
  29. <number>10</number>
  30. </property>
  31. <property name="topMargin">
  32. <number>0</number>
  33. </property>
  34. <property name="rightMargin">
  35. <number>10</number>
  36. </property>
  37. <property name="bottomMargin">
  38. <number>0</number>
  39. </property>
  40. <item>
  41. <widget class="QLabel" name="label">
  42. <property name="text">
  43. <string>Slot Name</string>
  44. </property>
  45. </widget>
  46. </item>
  47. <item>
  48. <widget class="QLineEdit" name="slotName">
  49. <property name="sizePolicy">
  50. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
  51. <horstretch>0</horstretch>
  52. <verstretch>0</verstretch>
  53. </sizepolicy>
  54. </property>
  55. <property name="placeholderText">
  56. <string>Type the name for your slot here...</string>
  57. </property>
  58. </widget>
  59. </item>
  60. <item>
  61. <widget class="QLabel" name="label_2">
  62. <property name="text">
  63. <string>Slot Type</string>
  64. </property>
  65. </widget>
  66. </item>
  67. <item>
  68. <widget class="AzQtComponents::SearchLineEdit" name="searchFilter">
  69. <property name="sizePolicy">
  70. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
  71. <horstretch>0</horstretch>
  72. <verstretch>0</verstretch>
  73. </sizepolicy>
  74. </property>
  75. <property name="inputMask">
  76. <string/>
  77. </property>
  78. <property name="placeholderText">
  79. <string>Search...</string>
  80. </property>
  81. </widget>
  82. </item>
  83. <item>
  84. <widget class="ScriptCanvasEditor::VariablePaletteTableView" name="variablePalette">
  85. <property name="alternatingRowColors">
  86. <bool>true</bool>
  87. </property>
  88. <property name="selectionMode">
  89. <enum>QAbstractItemView::SingleSelection</enum>
  90. </property>
  91. <property name="selectionBehavior">
  92. <enum>QAbstractItemView::SelectRows</enum>
  93. </property>
  94. <attribute name="horizontalHeaderVisible">
  95. <bool>false</bool>
  96. </attribute>
  97. <attribute name="verticalHeaderVisible">
  98. <bool>false</bool>
  99. </attribute>
  100. </widget>
  101. </item>
  102. <item>
  103. <widget class="Line" name="line">
  104. <property name="orientation">
  105. <enum>Qt::Horizontal</enum>
  106. </property>
  107. </widget>
  108. </item>
  109. <item>
  110. <layout class="QVBoxLayout" name="verticalLayout_2"/>
  111. </item>
  112. <item>
  113. <widget class="QDialogButtonBox" name="buttonBox">
  114. <property name="focusPolicy">
  115. <enum>Qt::StrongFocus</enum>
  116. </property>
  117. <property name="standardButtons">
  118. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  119. </property>
  120. </widget>
  121. </item>
  122. </layout>
  123. </item>
  124. </layout>
  125. </widget>
  126. <customwidgets>
  127. <customwidget>
  128. <class>AzQtComponents::SearchLineEdit</class>
  129. <extends>QLineEdit</extends>
  130. <header location="global">AzQtComponents/Components/SearchLineEdit.h</header>
  131. </customwidget>
  132. <customwidget>
  133. <class>ScriptCanvasEditor::VariablePaletteTableView</class>
  134. <extends>QTableView</extends>
  135. <header location="global">Editor/View/Widgets/VariablePanel/VariablePaletteTableView.h</header>
  136. </customwidget>
  137. </customwidgets>
  138. <resources/>
  139. <connections>
  140. <connection>
  141. <sender>buttonBox</sender>
  142. <signal>accepted()</signal>
  143. <receiver>VariableConfigurationWidget</receiver>
  144. <slot>accept()</slot>
  145. <hints>
  146. <hint type="sourcelabel">
  147. <x>77</x>
  148. <y>294</y>
  149. </hint>
  150. <hint type="destinationlabel">
  151. <x>7</x>
  152. <y>296</y>
  153. </hint>
  154. </hints>
  155. </connection>
  156. <connection>
  157. <sender>buttonBox</sender>
  158. <signal>rejected()</signal>
  159. <receiver>VariableConfigurationWidget</receiver>
  160. <slot>reject()</slot>
  161. <hints>
  162. <hint type="sourcelabel">
  163. <x>316</x>
  164. <y>260</y>
  165. </hint>
  166. <hint type="destinationlabel">
  167. <x>286</x>
  168. <y>274</y>
  169. </hint>
  170. </hints>
  171. </connection>
  172. </connections>
  173. </ui>