roleChoiceDlg.ui 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>RoleChoiceDialog</class>
  4. <widget class="QDialog" name="RoleChoiceDialog">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>350</width>
  10. <height>120</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Choose role</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout">
  17. <item>
  18. <layout class="QGridLayout" name="gridLayout">
  19. <item row="0" column="0">
  20. <widget class="QToolButton" name="firstColorButton">
  21. <property name="enabled">
  22. <bool>false</bool>
  23. </property>
  24. </widget>
  25. </item>
  26. <item row="0" column="1">
  27. <widget class="QLabel" name="firstlabel">
  28. <property name="text">
  29. <string>Compared</string>
  30. </property>
  31. </widget>
  32. </item>
  33. <item row="0" column="2">
  34. <widget class="QLineEdit" name="firstLineEdit">
  35. <property name="readOnly">
  36. <bool>true</bool>
  37. </property>
  38. </widget>
  39. </item>
  40. <item row="1" column="0">
  41. <widget class="QToolButton" name="secondColorButton">
  42. <property name="enabled">
  43. <bool>false</bool>
  44. </property>
  45. </widget>
  46. </item>
  47. <item row="1" column="1">
  48. <widget class="QLabel" name="secondlabel">
  49. <property name="text">
  50. <string>Reference</string>
  51. </property>
  52. </widget>
  53. </item>
  54. <item row="1" column="2">
  55. <widget class="QLineEdit" name="secondLineEdit">
  56. <property name="readOnly">
  57. <bool>true</bool>
  58. </property>
  59. </widget>
  60. </item>
  61. </layout>
  62. </item>
  63. <item>
  64. <spacer name="verticalSpacer">
  65. <property name="orientation">
  66. <enum>Qt::Vertical</enum>
  67. </property>
  68. <property name="sizeHint" stdset="0">
  69. <size>
  70. <width>20</width>
  71. <height>40</height>
  72. </size>
  73. </property>
  74. </spacer>
  75. </item>
  76. <item>
  77. <layout class="QHBoxLayout">
  78. <item>
  79. <spacer>
  80. <property name="orientation">
  81. <enum>Qt::Horizontal</enum>
  82. </property>
  83. <property name="sizeHint" stdset="0">
  84. <size>
  85. <width>40</width>
  86. <height>20</height>
  87. </size>
  88. </property>
  89. </spacer>
  90. </item>
  91. <item>
  92. <widget class="QPushButton" name="swapButton">
  93. <property name="text">
  94. <string>Swap</string>
  95. </property>
  96. </widget>
  97. </item>
  98. <item>
  99. <widget class="QDialogButtonBox" name="buttonBox">
  100. <property name="orientation">
  101. <enum>Qt::Horizontal</enum>
  102. </property>
  103. <property name="standardButtons">
  104. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  105. </property>
  106. </widget>
  107. </item>
  108. </layout>
  109. </item>
  110. </layout>
  111. </widget>
  112. <resources/>
  113. <connections>
  114. <connection>
  115. <sender>buttonBox</sender>
  116. <signal>accepted()</signal>
  117. <receiver>RoleChoiceDialog</receiver>
  118. <slot>accept()</slot>
  119. <hints>
  120. <hint type="sourcelabel">
  121. <x>248</x>
  122. <y>254</y>
  123. </hint>
  124. <hint type="destinationlabel">
  125. <x>157</x>
  126. <y>274</y>
  127. </hint>
  128. </hints>
  129. </connection>
  130. <connection>
  131. <sender>buttonBox</sender>
  132. <signal>rejected()</signal>
  133. <receiver>RoleChoiceDialog</receiver>
  134. <slot>reject()</slot>
  135. <hints>
  136. <hint type="sourcelabel">
  137. <x>316</x>
  138. <y>260</y>
  139. </hint>
  140. <hint type="destinationlabel">
  141. <x>286</x>
  142. <y>274</y>
  143. </hint>
  144. </hints>
  145. </connection>
  146. </connections>
  147. </ui>