buycatalog.ui 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>BuyCatalogClass</class>
  4. <widget class="QDialog" name="BuyCatalogClass">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>357</width>
  10. <height>514</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>BuyCatalog</string>
  15. </property>
  16. <layout class="QHBoxLayout" name="horizontalLayout_3">
  17. <item>
  18. <layout class="QVBoxLayout" name="verticalLayout_2">
  19. <item>
  20. <layout class="QVBoxLayout" name="verticalLayout">
  21. <item>
  22. <widget class="QLabel" name="label">
  23. <property name="text">
  24. <string>Available products:</string>
  25. </property>
  26. <property name="buddy">
  27. <cstring>listWidget</cstring>
  28. </property>
  29. </widget>
  30. </item>
  31. <item>
  32. <widget class="QListWidget" name="listWidget"/>
  33. </item>
  34. </layout>
  35. </item>
  36. <item>
  37. <widget class="QProgressBar" name="progressBar">
  38. <property name="maximumSize">
  39. <size>
  40. <width>16777215</width>
  41. <height>15</height>
  42. </size>
  43. </property>
  44. <property name="styleSheet">
  45. <string notr="true">QProgressBar:horizontal {
  46. border: 1px solid gray;
  47. border-radius: 3px;
  48. background: white;
  49. padding: 1px;
  50. text-align: center;
  51. }
  52. QProgressBar::chunk:horizontal {
  53. background: blue;
  54. }</string>
  55. </property>
  56. <property name="value">
  57. <number>24</number>
  58. </property>
  59. </widget>
  60. </item>
  61. <item>
  62. <layout class="QHBoxLayout" name="horizontalLayout_2">
  63. <item>
  64. <widget class="QPushButton" name="restoreButton">
  65. <property name="text">
  66. <string>Restore</string>
  67. </property>
  68. </widget>
  69. </item>
  70. <item>
  71. <spacer name="horizontalSpacer_2">
  72. <property name="orientation">
  73. <enum>Qt::Horizontal</enum>
  74. </property>
  75. <property name="sizeHint" stdset="0">
  76. <size>
  77. <width>98</width>
  78. <height>20</height>
  79. </size>
  80. </property>
  81. </spacer>
  82. </item>
  83. </layout>
  84. </item>
  85. <item>
  86. <layout class="QHBoxLayout" name="horizontalLayout">
  87. <item>
  88. <spacer name="horizontalSpacer">
  89. <property name="orientation">
  90. <enum>Qt::Horizontal</enum>
  91. </property>
  92. <property name="sizeHint" stdset="0">
  93. <size>
  94. <width>168</width>
  95. <height>20</height>
  96. </size>
  97. </property>
  98. </spacer>
  99. </item>
  100. <item>
  101. <widget class="QPushButton" name="backButton">
  102. <property name="text">
  103. <string>Back</string>
  104. </property>
  105. </widget>
  106. </item>
  107. </layout>
  108. </item>
  109. </layout>
  110. </item>
  111. </layout>
  112. </widget>
  113. <layoutdefault spacing="6" margin="11"/>
  114. <resources/>
  115. <connections>
  116. <connection>
  117. <sender>backButton</sender>
  118. <signal>clicked()</signal>
  119. <receiver>BuyCatalogClass</receiver>
  120. <slot>hide()</slot>
  121. <hints>
  122. <hint type="sourcelabel">
  123. <x>321</x>
  124. <y>490</y>
  125. </hint>
  126. <hint type="destinationlabel">
  127. <x>204</x>
  128. <y>489</y>
  129. </hint>
  130. </hints>
  131. </connection>
  132. </connections>
  133. </ui>