settingsdialog.ui 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. <ui version="4.0" >
  2. <class>SettingsDialog</class>
  3. <widget class="QDialog" name="SettingsDialog" >
  4. <property name="geometry" >
  5. <rect>
  6. <x>0</x>
  7. <y>0</y>
  8. <width>354</width>
  9. <height>295</height>
  10. </rect>
  11. </property>
  12. <property name="windowTitle" >
  13. <string>Web plugin settings</string>
  14. </property>
  15. <layout class="QGridLayout" >
  16. <item row="2" column="0" >
  17. <widget class="QDialogButtonBox" name="buttonBox" >
  18. <property name="orientation" >
  19. <enum>Qt::Horizontal</enum>
  20. </property>
  21. <property name="standardButtons" >
  22. <set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set>
  23. </property>
  24. </widget>
  25. </item>
  26. <item row="1" column="0" >
  27. <widget class="QGroupBox" name="dictsBox" >
  28. <property name="title" >
  29. <string>Dictionaries</string>
  30. </property>
  31. <layout class="QGridLayout" >
  32. <property name="leftMargin" >
  33. <number>9</number>
  34. </property>
  35. <property name="topMargin" >
  36. <number>9</number>
  37. </property>
  38. <property name="rightMargin" >
  39. <number>9</number>
  40. </property>
  41. <property name="bottomMargin" >
  42. <number>9</number>
  43. </property>
  44. <property name="horizontalSpacing" >
  45. <number>6</number>
  46. </property>
  47. <property name="verticalSpacing" >
  48. <number>6</number>
  49. </property>
  50. <item row="0" column="0" >
  51. <widget class="QListWidget" name="dictsList" />
  52. </item>
  53. <item row="1" column="0" >
  54. <layout class="QHBoxLayout" >
  55. <property name="spacing" >
  56. <number>6</number>
  57. </property>
  58. <property name="leftMargin" >
  59. <number>0</number>
  60. </property>
  61. <property name="topMargin" >
  62. <number>0</number>
  63. </property>
  64. <property name="rightMargin" >
  65. <number>0</number>
  66. </property>
  67. <property name="bottomMargin" >
  68. <number>0</number>
  69. </property>
  70. <item>
  71. <widget class="QToolButton" name="editDictButton" >
  72. <property name="toolTip" >
  73. <string>Edit dictionary</string>
  74. </property>
  75. <property name="text" >
  76. <string>Edit</string>
  77. </property>
  78. <property name="icon" >
  79. <iconset resource="pixmaps/pixmaps.qrc" >:/icons/edit.png</iconset>
  80. </property>
  81. </widget>
  82. </item>
  83. <item>
  84. <widget class="QToolButton" name="addDictButton" >
  85. <property name="toolTip" >
  86. <string>Add dictionary</string>
  87. </property>
  88. <property name="text" >
  89. <string>Add</string>
  90. </property>
  91. <property name="icon" >
  92. <iconset resource="pixmaps/pixmaps.qrc" >:/icons/list-add.png</iconset>
  93. </property>
  94. </widget>
  95. </item>
  96. <item>
  97. <widget class="QToolButton" name="removeDictButton" >
  98. <property name="toolTip" >
  99. <string>Remove dictionary</string>
  100. </property>
  101. <property name="text" >
  102. <string>Remove</string>
  103. </property>
  104. <property name="icon" >
  105. <iconset resource="pixmaps/pixmaps.qrc" >:/icons/list-remove.png</iconset>
  106. </property>
  107. </widget>
  108. </item>
  109. <item>
  110. <spacer>
  111. <property name="orientation" >
  112. <enum>Qt::Horizontal</enum>
  113. </property>
  114. <property name="sizeHint" >
  115. <size>
  116. <width>342</width>
  117. <height>26</height>
  118. </size>
  119. </property>
  120. </spacer>
  121. </item>
  122. </layout>
  123. </item>
  124. </layout>
  125. </widget>
  126. </item>
  127. </layout>
  128. </widget>
  129. <resources>
  130. <include location="pixmaps/pixmaps.qrc" />
  131. </resources>
  132. <connections>
  133. <connection>
  134. <sender>buttonBox</sender>
  135. <signal>accepted()</signal>
  136. <receiver>SettingsDialog</receiver>
  137. <slot>accept()</slot>
  138. <hints>
  139. <hint type="sourcelabel" >
  140. <x>227</x>
  141. <y>311</y>
  142. </hint>
  143. <hint type="destinationlabel" >
  144. <x>157</x>
  145. <y>274</y>
  146. </hint>
  147. </hints>
  148. </connection>
  149. <connection>
  150. <sender>buttonBox</sender>
  151. <signal>rejected()</signal>
  152. <receiver>SettingsDialog</receiver>
  153. <slot>reject()</slot>
  154. <hints>
  155. <hint type="sourcelabel" >
  156. <x>295</x>
  157. <y>317</y>
  158. </hint>
  159. <hint type="destinationlabel" >
  160. <x>286</x>
  161. <y>274</y>
  162. </hint>
  163. </hints>
  164. </connection>
  165. </connections>
  166. </ui>