findcmpwin.ui 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>FindCmpWin</class>
  4. <widget class="QMainWindow" name="FindCmpWin">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>507</width>
  10. <height>279</height>
  11. </rect>
  12. </property>
  13. <property name="maximumSize">
  14. <size>
  15. <width>610</width>
  16. <height>360</height>
  17. </size>
  18. </property>
  19. <property name="windowTitle">
  20. <string>Find text window</string>
  21. </property>
  22. <property name="windowIcon">
  23. <iconset resource="RealCompare.qrc">
  24. <normaloff>:/Resources/img/main.png</normaloff>:/Resources/img/main.png</iconset>
  25. </property>
  26. <widget class="QWidget" name="centralwidget">
  27. <layout class="QGridLayout" name="gridLayout_2">
  28. <property name="leftMargin">
  29. <number>4</number>
  30. </property>
  31. <property name="topMargin">
  32. <number>0</number>
  33. </property>
  34. <property name="rightMargin">
  35. <number>2</number>
  36. </property>
  37. <property name="bottomMargin">
  38. <number>0</number>
  39. </property>
  40. <property name="spacing">
  41. <number>1</number>
  42. </property>
  43. <item row="0" column="0">
  44. <widget class="QTabWidget" name="findinfilesTab">
  45. <property name="currentIndex">
  46. <number>0</number>
  47. </property>
  48. <widget class="QWidget" name="tab_find">
  49. <attribute name="title">
  50. <string>find</string>
  51. </attribute>
  52. <layout class="QHBoxLayout" name="horizontalLayout_3">
  53. <property name="bottomMargin">
  54. <number>0</number>
  55. </property>
  56. <item>
  57. <layout class="QVBoxLayout" name="verticalLayout_3">
  58. <item>
  59. <layout class="QHBoxLayout" name="horizontalLayout">
  60. <item>
  61. <widget class="QLabel" name="label">
  62. <property name="text">
  63. <string>Find what :</string>
  64. </property>
  65. </widget>
  66. </item>
  67. <item>
  68. <widget class="QComboBox" name="findComboBox">
  69. <property name="minimumSize">
  70. <size>
  71. <width>250</width>
  72. <height>0</height>
  73. </size>
  74. </property>
  75. <property name="editable">
  76. <bool>true</bool>
  77. </property>
  78. <property name="maxCount">
  79. <number>512</number>
  80. </property>
  81. </widget>
  82. </item>
  83. </layout>
  84. </item>
  85. <item>
  86. <widget class="QGroupBox" name="groupBox_2">
  87. <property name="title">
  88. <string>Options</string>
  89. </property>
  90. <layout class="QVBoxLayout" name="verticalLayout_2">
  91. <item>
  92. <widget class="QCheckBox" name="findBackwardBox">
  93. <property name="text">
  94. <string>Backward direction</string>
  95. </property>
  96. </widget>
  97. </item>
  98. <item>
  99. <widget class="QCheckBox" name="findMatchWholeBox">
  100. <property name="text">
  101. <string>Match whole word only</string>
  102. </property>
  103. </widget>
  104. </item>
  105. <item>
  106. <widget class="QCheckBox" name="findMatchCaseBox">
  107. <property name="text">
  108. <string>Match case</string>
  109. </property>
  110. </widget>
  111. </item>
  112. <item>
  113. <widget class="QCheckBox" name="findWrapBox">
  114. <property name="text">
  115. <string>Wrap around</string>
  116. </property>
  117. <property name="checked">
  118. <bool>true</bool>
  119. </property>
  120. </widget>
  121. </item>
  122. </layout>
  123. </widget>
  124. </item>
  125. <item>
  126. <widget class="QGroupBox" name="groupBox">
  127. <property name="title">
  128. <string>Search Mode</string>
  129. </property>
  130. <layout class="QGridLayout" name="gridLayout">
  131. <item row="1" column="0">
  132. <layout class="QHBoxLayout" name="horizontalLayout_2">
  133. <item>
  134. <widget class="QRadioButton" name="findModeRegularBt">
  135. <property name="text">
  136. <string>Regular expression</string>
  137. </property>
  138. </widget>
  139. </item>
  140. </layout>
  141. </item>
  142. <item row="0" column="0">
  143. <widget class="QRadioButton" name="findModeNormalBt">
  144. <property name="text">
  145. <string>Normal</string>
  146. </property>
  147. <property name="checked">
  148. <bool>true</bool>
  149. </property>
  150. </widget>
  151. </item>
  152. </layout>
  153. </widget>
  154. </item>
  155. </layout>
  156. </item>
  157. <item>
  158. <layout class="QVBoxLayout" name="verticalLayout_4">
  159. <item>
  160. <widget class="QPushButton" name="findTextNext">
  161. <property name="text">
  162. <string>Find Next</string>
  163. </property>
  164. </widget>
  165. </item>
  166. <item>
  167. <widget class="QPushButton" name="findCloseBt">
  168. <property name="sizePolicy">
  169. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  170. <horstretch>0</horstretch>
  171. <verstretch>0</verstretch>
  172. </sizepolicy>
  173. </property>
  174. <property name="text">
  175. <string>Close</string>
  176. </property>
  177. </widget>
  178. </item>
  179. <item>
  180. <widget class="QGroupBox" name="groupBox_3">
  181. <property name="title">
  182. <string>Diretion</string>
  183. </property>
  184. <layout class="QVBoxLayout" name="verticalLayout">
  185. <item>
  186. <widget class="QRadioButton" name="leftSearch">
  187. <property name="text">
  188. <string>Search In Left</string>
  189. </property>
  190. <property name="checked">
  191. <bool>true</bool>
  192. </property>
  193. </widget>
  194. </item>
  195. <item>
  196. <widget class="QRadioButton" name="rightSearch">
  197. <property name="text">
  198. <string>Search In Right</string>
  199. </property>
  200. </widget>
  201. </item>
  202. </layout>
  203. </widget>
  204. </item>
  205. <item>
  206. <spacer name="verticalSpacer">
  207. <property name="orientation">
  208. <enum>Qt::Vertical</enum>
  209. </property>
  210. <property name="sizeHint" stdset="0">
  211. <size>
  212. <width>20</width>
  213. <height>40</height>
  214. </size>
  215. </property>
  216. </spacer>
  217. </item>
  218. </layout>
  219. </item>
  220. </layout>
  221. </widget>
  222. </widget>
  223. </item>
  224. </layout>
  225. </widget>
  226. <widget class="QStatusBar" name="statusbar"/>
  227. </widget>
  228. <resources>
  229. <include location="RealCompare.qrc"/>
  230. </resources>
  231. <connections>
  232. <connection>
  233. <sender>findTextNext</sender>
  234. <signal>clicked()</signal>
  235. <receiver>FindCmpWin</receiver>
  236. <slot>slot_findNext()</slot>
  237. <hints>
  238. <hint type="sourcelabel">
  239. <x>457</x>
  240. <y>51</y>
  241. </hint>
  242. <hint type="destinationlabel">
  243. <x>422</x>
  244. <y>329</y>
  245. </hint>
  246. </hints>
  247. </connection>
  248. <connection>
  249. <sender>findCloseBt</sender>
  250. <signal>clicked()</signal>
  251. <receiver>FindCmpWin</receiver>
  252. <slot>close()</slot>
  253. <hints>
  254. <hint type="sourcelabel">
  255. <x>407</x>
  256. <y>161</y>
  257. </hint>
  258. <hint type="destinationlabel">
  259. <x>169</x>
  260. <y>327</y>
  261. </hint>
  262. </hints>
  263. </connection>
  264. </connections>
  265. <slots>
  266. <slot>slot_findNext()</slot>
  267. <slot>slot_findCount()</slot>
  268. <slot>slot_findAllInCurDoc()</slot>
  269. <slot>slot_findAllInOpenDoc()</slot>
  270. <slot>slot_replace()</slot>
  271. <slot>slot_replaceFindNext()</slot>
  272. <slot>slot_replaceAll()</slot>
  273. <slot>slot_replaceAllInOpenDoc()</slot>
  274. </slots>
  275. </ui>