DialogCreateMaterial.ui 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>DialogCreateMaterial</class>
  4. <widget class="QDialog" name="DialogCreateMaterial">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>317</width>
  10. <height>112</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Create Material</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout">
  17. <item>
  18. <layout class="QGridLayout" name="gridLayout">
  19. <item row="0" column="0">
  20. <layout class="QVBoxLayout" name="nameLayout">
  21. <item>
  22. <widget class="QLabel" name="label">
  23. <property name="text">
  24. <string>Name:</string>
  25. </property>
  26. </widget>
  27. </item>
  28. <item>
  29. <widget class="QLabel" name="label_2">
  30. <property name="text">
  31. <string>Type:</string>
  32. </property>
  33. </widget>
  34. </item>
  35. </layout>
  36. </item>
  37. <item row="0" column="1">
  38. <layout class="QVBoxLayout" name="controlLayout">
  39. <item>
  40. <widget class="QLineEdit" name="materialName"/>
  41. </item>
  42. <item>
  43. <widget class="QComboBox" name="comboBox"/>
  44. </item>
  45. </layout>
  46. </item>
  47. </layout>
  48. </item>
  49. <item>
  50. <layout class="QHBoxLayout" name="horizontalLayout_2">
  51. <item>
  52. <spacer name="horizontalSpacer">
  53. <property name="orientation">
  54. <enum>Qt::Horizontal</enum>
  55. </property>
  56. <property name="sizeHint" stdset="0">
  57. <size>
  58. <width>40</width>
  59. <height>20</height>
  60. </size>
  61. </property>
  62. </spacer>
  63. </item>
  64. <item>
  65. <widget class="QDialogButtonBox" name="buttonBox">
  66. <property name="orientation">
  67. <enum>Qt::Horizontal</enum>
  68. </property>
  69. <property name="standardButtons">
  70. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  71. </property>
  72. </widget>
  73. </item>
  74. </layout>
  75. </item>
  76. </layout>
  77. </widget>
  78. <resources/>
  79. <connections>
  80. <connection>
  81. <sender>buttonBox</sender>
  82. <signal>accepted()</signal>
  83. <receiver>DialogCreateMaterial</receiver>
  84. <slot>accept()</slot>
  85. <hints>
  86. <hint type="sourcelabel">
  87. <x>248</x>
  88. <y>254</y>
  89. </hint>
  90. <hint type="destinationlabel">
  91. <x>157</x>
  92. <y>274</y>
  93. </hint>
  94. </hints>
  95. </connection>
  96. <connection>
  97. <sender>buttonBox</sender>
  98. <signal>rejected()</signal>
  99. <receiver>DialogCreateMaterial</receiver>
  100. <slot>reject()</slot>
  101. <hints>
  102. <hint type="sourcelabel">
  103. <x>316</x>
  104. <y>260</y>
  105. </hint>
  106. <hint type="destinationlabel">
  107. <x>286</x>
  108. <y>274</y>
  109. </hint>
  110. </hints>
  111. </connection>
  112. </connections>
  113. </ui>