productinfo.ui 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>ProductInfoClass</class>
  4. <widget class="QDialog" name="ProductInfoClass">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>296</width>
  10. <height>295</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>ProductInfo</string>
  15. </property>
  16. <layout class="QHBoxLayout" name="horizontalLayout_2">
  17. <item>
  18. <layout class="QVBoxLayout" name="verticalLayout_2">
  19. <item>
  20. <widget class="QGroupBox" name="groupBox">
  21. <property name="title">
  22. <string>Title</string>
  23. </property>
  24. <layout class="QVBoxLayout" name="verticalLayout">
  25. <item>
  26. <widget class="QTextBrowser" name="textBrowser"/>
  27. </item>
  28. <item>
  29. <widget class="QLabel" name="priceLabel">
  30. <property name="text">
  31. <string>Price:</string>
  32. </property>
  33. <property name="alignment">
  34. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  35. </property>
  36. </widget>
  37. </item>
  38. </layout>
  39. </widget>
  40. </item>
  41. <item>
  42. <layout class="QHBoxLayout" name="horizontalLayout">
  43. <item>
  44. <widget class="QPushButton" name="buyButton">
  45. <property name="text">
  46. <string>Buy</string>
  47. </property>
  48. </widget>
  49. </item>
  50. <item>
  51. <widget class="QPushButton" name="closeButton">
  52. <property name="text">
  53. <string>Close</string>
  54. </property>
  55. </widget>
  56. </item>
  57. </layout>
  58. </item>
  59. </layout>
  60. </item>
  61. </layout>
  62. </widget>
  63. <layoutdefault spacing="6" margin="11"/>
  64. <resources/>
  65. <connections>
  66. <connection>
  67. <sender>closeButton</sender>
  68. <signal>clicked()</signal>
  69. <receiver>ProductInfoClass</receiver>
  70. <slot>reject()</slot>
  71. <hints>
  72. <hint type="sourcelabel">
  73. <x>242</x>
  74. <y>270</y>
  75. </hint>
  76. <hint type="destinationlabel">
  77. <x>292</x>
  78. <y>264</y>
  79. </hint>
  80. </hints>
  81. </connection>
  82. <connection>
  83. <sender>buyButton</sender>
  84. <signal>clicked()</signal>
  85. <receiver>ProductInfoClass</receiver>
  86. <slot>accept()</slot>
  87. <hints>
  88. <hint type="sourcelabel">
  89. <x>122</x>
  90. <y>268</y>
  91. </hint>
  92. <hint type="destinationlabel">
  93. <x>147</x>
  94. <y>274</y>
  95. </hint>
  96. </hints>
  97. </connection>
  98. </connections>
  99. </ui>