LUAEditorFindDialog.ui 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>LUAEditorFindDialog</class>
  4. <widget class="QDialog" name="LUAEditorFindDialog">
  5. <property name="windowModality">
  6. <enum>Qt::NonModal</enum>
  7. </property>
  8. <property name="geometry">
  9. <rect>
  10. <x>0</x>
  11. <y>0</y>
  12. <width>691</width>
  13. <height>394</height>
  14. </rect>
  15. </property>
  16. <property name="sizePolicy">
  17. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  18. <horstretch>0</horstretch>
  19. <verstretch>0</verstretch>
  20. </sizepolicy>
  21. </property>
  22. <property name="windowTitle">
  23. <string>Block Ops</string>
  24. </property>
  25. <widget class="QGroupBox" name="textSearchGroupBox">
  26. <property name="geometry">
  27. <rect>
  28. <x>10</x>
  29. <y>10</y>
  30. <width>671</width>
  31. <height>251</height>
  32. </rect>
  33. </property>
  34. <property name="title">
  35. <string>Text Search</string>
  36. </property>
  37. <widget class="QPushButton" name="cancelButton">
  38. <property name="enabled">
  39. <bool>false</bool>
  40. </property>
  41. <property name="geometry">
  42. <rect>
  43. <x>550</x>
  44. <y>140</y>
  45. <width>111</width>
  46. <height>28</height>
  47. </rect>
  48. </property>
  49. <property name="font">
  50. <font>
  51. <weight>75</weight>
  52. <bold>true</bold>
  53. </font>
  54. </property>
  55. <property name="text">
  56. <string>Stop!</string>
  57. </property>
  58. </widget>
  59. <widget class="QLabel" name="textToFindLabel">
  60. <property name="geometry">
  61. <rect>
  62. <x>20</x>
  63. <y>30</y>
  64. <width>101</width>
  65. <height>20</height>
  66. </rect>
  67. </property>
  68. <property name="text">
  69. <string>Text to Find:</string>
  70. </property>
  71. <property name="alignment">
  72. <set>Qt::AlignRight|Qt::AlignTop|Qt::AlignTrailing</set>
  73. </property>
  74. <property name="wordWrap">
  75. <bool>true</bool>
  76. </property>
  77. <property name="LUAEditorFindDialogLabel" stdset="0">
  78. <bool>true</bool>
  79. </property>
  80. </widget>
  81. <widget class="QLineEdit" name="txtFind">
  82. <property name="geometry">
  83. <rect>
  84. <x>130</x>
  85. <y>30</y>
  86. <width>401</width>
  87. <height>20</height>
  88. </rect>
  89. </property>
  90. </widget>
  91. <widget class="QPushButton" name="findNextButton">
  92. <property name="geometry">
  93. <rect>
  94. <x>550</x>
  95. <y>100</y>
  96. <width>111</width>
  97. <height>28</height>
  98. </rect>
  99. </property>
  100. <property name="text">
  101. <string>Find &amp;Next</string>
  102. </property>
  103. <property name="shortcut">
  104. <string>F3</string>
  105. </property>
  106. <property name="autoRepeat">
  107. <bool>true</bool>
  108. </property>
  109. <property name="autoRepeatDelay">
  110. <number>500</number>
  111. </property>
  112. <property name="autoRepeatInterval">
  113. <number>200</number>
  114. </property>
  115. <property name="autoDefault">
  116. <bool>true</bool>
  117. </property>
  118. <property name="default">
  119. <bool>true</bool>
  120. </property>
  121. </widget>
  122. <widget class="QPushButton" name="findAllButton">
  123. <property name="geometry">
  124. <rect>
  125. <x>550</x>
  126. <y>60</y>
  127. <width>111</width>
  128. <height>28</height>
  129. </rect>
  130. </property>
  131. <property name="text">
  132. <string>Find &amp;All</string>
  133. </property>
  134. <property name="autoDefault">
  135. <bool>false</bool>
  136. </property>
  137. <property name="default">
  138. <bool>false</bool>
  139. </property>
  140. </widget>
  141. <widget class="QComboBox" name="searchWhereComboBox">
  142. <property name="geometry">
  143. <rect>
  144. <x>130</x>
  145. <y>60</y>
  146. <width>401</width>
  147. <height>22</height>
  148. </rect>
  149. </property>
  150. <item>
  151. <property name="text">
  152. <string>Current File</string>
  153. </property>
  154. </item>
  155. <item>
  156. <property name="text">
  157. <string>All Open Files</string>
  158. </property>
  159. </item>
  160. </widget>
  161. <widget class="QLabel" name="busyLabel">
  162. <property name="geometry">
  163. <rect>
  164. <x>550</x>
  165. <y>190</y>
  166. <width>111</width>
  167. <height>31</height>
  168. </rect>
  169. </property>
  170. <property name="font">
  171. <font>
  172. <pointsize>14</pointsize>
  173. <weight>75</weight>
  174. <bold>true</bold>
  175. </font>
  176. </property>
  177. <property name="frameShape">
  178. <enum>QFrame::StyledPanel</enum>
  179. </property>
  180. <property name="frameShadow">
  181. <enum>QFrame::Sunken</enum>
  182. </property>
  183. <property name="lineWidth">
  184. <number>2</number>
  185. </property>
  186. <property name="midLineWidth">
  187. <number>0</number>
  188. </property>
  189. <property name="text">
  190. <string>Idle</string>
  191. </property>
  192. <property name="alignment">
  193. <set>Qt::AlignCenter</set>
  194. </property>
  195. <property name="IdleLabel" stdset="0">
  196. <bool>true</bool>
  197. </property>
  198. </widget>
  199. <widget class="QGroupBox" name="groupBox">
  200. <property name="geometry">
  201. <rect>
  202. <x>10</x>
  203. <y>90</y>
  204. <width>161</width>
  205. <height>91</height>
  206. </rect>
  207. </property>
  208. <property name="title">
  209. <string>Search Direction</string>
  210. </property>
  211. <widget class="QRadioButton" name="searchUpRadioButton">
  212. <property name="geometry">
  213. <rect>
  214. <x>10</x>
  215. <y>60</y>
  216. <width>140</width>
  217. <height>20</height>
  218. </rect>
  219. </property>
  220. <property name="text">
  221. <string>Search Up</string>
  222. </property>
  223. </widget>
  224. <widget class="QRadioButton" name="searchDownRadioButton">
  225. <property name="geometry">
  226. <rect>
  227. <x>10</x>
  228. <y>30</y>
  229. <width>140</width>
  230. <height>20</height>
  231. </rect>
  232. </property>
  233. <property name="text">
  234. <string>Search Down</string>
  235. </property>
  236. </widget>
  237. </widget>
  238. <widget class="QGroupBox" name="groupBox_2">
  239. <property name="geometry">
  240. <rect>
  241. <x>190</x>
  242. <y>90</y>
  243. <width>181</width>
  244. <height>151</height>
  245. </rect>
  246. </property>
  247. <property name="title">
  248. <string>Options</string>
  249. </property>
  250. <widget class="QCheckBox" name="caseSensitiveCheckBox">
  251. <property name="geometry">
  252. <rect>
  253. <x>10</x>
  254. <y>30</y>
  255. <width>135</width>
  256. <height>20</height>
  257. </rect>
  258. </property>
  259. <property name="text">
  260. <string>Case Sensitive</string>
  261. </property>
  262. </widget>
  263. <widget class="QCheckBox" name="wholeWordsCheckBox">
  264. <property name="geometry">
  265. <rect>
  266. <x>10</x>
  267. <y>60</y>
  268. <width>135</width>
  269. <height>20</height>
  270. </rect>
  271. </property>
  272. <property name="text">
  273. <string>Whole Word</string>
  274. </property>
  275. </widget>
  276. <widget class="QCheckBox" name="wrapCheckBox">
  277. <property name="geometry">
  278. <rect>
  279. <x>10</x>
  280. <y>90</y>
  281. <width>135</width>
  282. <height>20</height>
  283. </rect>
  284. </property>
  285. <property name="text">
  286. <string>Wrap</string>
  287. </property>
  288. </widget>
  289. <widget class="QCheckBox" name="regularExpressionCheckBox">
  290. <property name="geometry">
  291. <rect>
  292. <x>10</x>
  293. <y>120</y>
  294. <width>200</width>
  295. <height>20</height>
  296. </rect>
  297. </property>
  298. <property name="text">
  299. <string>Regular Expression</string>
  300. </property>
  301. </widget>
  302. </widget>
  303. <widget class="QGroupBox" name="groupBox_3">
  304. <property name="geometry">
  305. <rect>
  306. <x>390</x>
  307. <y>90</y>
  308. <width>141</width>
  309. <height>151</height>
  310. </rect>
  311. </property>
  312. <property name="title">
  313. <string>Results Window</string>
  314. </property>
  315. <widget class="QRadioButton" name="m_find1RadioButton">
  316. <property name="geometry">
  317. <rect>
  318. <x>10</x>
  319. <y>30</y>
  320. <width>82</width>
  321. <height>20</height>
  322. </rect>
  323. </property>
  324. <property name="text">
  325. <string>Find 1</string>
  326. </property>
  327. <property name="checked">
  328. <bool>true</bool>
  329. </property>
  330. </widget>
  331. <widget class="QRadioButton" name="m_find2RadioButton">
  332. <property name="geometry">
  333. <rect>
  334. <x>10</x>
  335. <y>60</y>
  336. <width>82</width>
  337. <height>20</height>
  338. </rect>
  339. </property>
  340. <property name="text">
  341. <string>Find 2</string>
  342. </property>
  343. </widget>
  344. <widget class="QRadioButton" name="m_find3RadioButton">
  345. <property name="geometry">
  346. <rect>
  347. <x>10</x>
  348. <y>90</y>
  349. <width>82</width>
  350. <height>20</height>
  351. </rect>
  352. </property>
  353. <property name="text">
  354. <string>Find 3</string>
  355. </property>
  356. </widget>
  357. <widget class="QRadioButton" name="m_find4RadioButton">
  358. <property name="geometry">
  359. <rect>
  360. <x>10</x>
  361. <y>120</y>
  362. <width>82</width>
  363. <height>20</height>
  364. </rect>
  365. </property>
  366. <property name="text">
  367. <string>Find 4</string>
  368. </property>
  369. </widget>
  370. </widget>
  371. </widget>
  372. <widget class="QGroupBox" name="searchAndReplaceGroupBox">
  373. <property name="geometry">
  374. <rect>
  375. <x>10</x>
  376. <y>270</y>
  377. <width>671</width>
  378. <height>111</height>
  379. </rect>
  380. </property>
  381. <property name="title">
  382. <string>Search &amp;&amp; Replace</string>
  383. </property>
  384. <property name="checkable">
  385. <bool>false</bool>
  386. </property>
  387. <widget class="QPushButton" name="replaceAllButton">
  388. <property name="enabled">
  389. <bool>true</bool>
  390. </property>
  391. <property name="geometry">
  392. <rect>
  393. <x>550</x>
  394. <y>70</y>
  395. <width>111</width>
  396. <height>28</height>
  397. </rect>
  398. </property>
  399. <property name="text">
  400. <string>Replace All</string>
  401. </property>
  402. </widget>
  403. <widget class="QLabel" name="replaceWithLabel">
  404. <property name="enabled">
  405. <bool>true</bool>
  406. </property>
  407. <property name="geometry">
  408. <rect>
  409. <x>0</x>
  410. <y>30</y>
  411. <width>121</width>
  412. <height>21</height>
  413. </rect>
  414. </property>
  415. <property name="text">
  416. <string>Replace With:</string>
  417. </property>
  418. <property name="alignment">
  419. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  420. </property>
  421. <property name="wordWrap">
  422. <bool>true</bool>
  423. </property>
  424. <property name="LUAEditorFindDialogLabel" stdset="0">
  425. <bool>true</bool>
  426. </property>
  427. </widget>
  428. <widget class="QLineEdit" name="txtReplaceWith">
  429. <property name="enabled">
  430. <bool>true</bool>
  431. </property>
  432. <property name="geometry">
  433. <rect>
  434. <x>130</x>
  435. <y>30</y>
  436. <width>401</width>
  437. <height>20</height>
  438. </rect>
  439. </property>
  440. </widget>
  441. <widget class="QPushButton" name="replaceButton">
  442. <property name="geometry">
  443. <rect>
  444. <x>550</x>
  445. <y>30</y>
  446. <width>111</width>
  447. <height>28</height>
  448. </rect>
  449. </property>
  450. <property name="text">
  451. <string>Replace</string>
  452. </property>
  453. </widget>
  454. </widget>
  455. </widget>
  456. <tabstops>
  457. <tabstop>txtFind</tabstop>
  458. <tabstop>searchWhereComboBox</tabstop>
  459. <tabstop>searchDownRadioButton</tabstop>
  460. <tabstop>searchUpRadioButton</tabstop>
  461. <tabstop>caseSensitiveCheckBox</tabstop>
  462. <tabstop>wholeWordsCheckBox</tabstop>
  463. <tabstop>wrapCheckBox</tabstop>
  464. <tabstop>regularExpressionCheckBox</tabstop>
  465. <tabstop>findAllButton</tabstop>
  466. <tabstop>findNextButton</tabstop>
  467. <tabstop>cancelButton</tabstop>
  468. <tabstop>txtReplaceWith</tabstop>
  469. <tabstop>replaceButton</tabstop>
  470. <tabstop>replaceAllButton</tabstop>
  471. </tabstops>
  472. <resources/>
  473. <connections>
  474. <connection>
  475. <sender>findNextButton</sender>
  476. <signal>clicked()</signal>
  477. <receiver>LUAEditorFindDialog</receiver>
  478. <slot>OnFindNext()</slot>
  479. <hints>
  480. <hint type="sourcelabel">
  481. <x>303</x>
  482. <y>42</y>
  483. </hint>
  484. <hint type="destinationlabel">
  485. <x>187</x>
  486. <y>102</y>
  487. </hint>
  488. </hints>
  489. </connection>
  490. <connection>
  491. <sender>cancelButton</sender>
  492. <signal>clicked()</signal>
  493. <receiver>LUAEditorFindDialog</receiver>
  494. <slot>OnCancel()</slot>
  495. <hints>
  496. <hint type="sourcelabel">
  497. <x>368</x>
  498. <y>132</y>
  499. </hint>
  500. <hint type="destinationlabel">
  501. <x>187</x>
  502. <y>102</y>
  503. </hint>
  504. </hints>
  505. </connection>
  506. <connection>
  507. <sender>replaceAllButton</sender>
  508. <signal>clicked()</signal>
  509. <receiver>LUAEditorFindDialog</receiver>
  510. <slot>OnReplaceAll()</slot>
  511. <hints>
  512. <hint type="sourcelabel">
  513. <x>323</x>
  514. <y>181</y>
  515. </hint>
  516. <hint type="destinationlabel">
  517. <x>187</x>
  518. <y>102</y>
  519. </hint>
  520. </hints>
  521. </connection>
  522. <connection>
  523. <sender>replaceButton</sender>
  524. <signal>clicked()</signal>
  525. <receiver>LUAEditorFindDialog</receiver>
  526. <slot>OnReplace()</slot>
  527. <hints>
  528. <hint type="sourcelabel">
  529. <x>425</x>
  530. <y>161</y>
  531. </hint>
  532. <hint type="destinationlabel">
  533. <x>249</x>
  534. <y>109</y>
  535. </hint>
  536. </hints>
  537. </connection>
  538. <connection>
  539. <sender>findAllButton</sender>
  540. <signal>clicked()</signal>
  541. <receiver>LUAEditorFindDialog</receiver>
  542. <slot>OnFindAll()</slot>
  543. <hints>
  544. <hint type="sourcelabel">
  545. <x>423</x>
  546. <y>66</y>
  547. </hint>
  548. <hint type="destinationlabel">
  549. <x>249</x>
  550. <y>124</y>
  551. </hint>
  552. </hints>
  553. </connection>
  554. </connections>
  555. <slots>
  556. <slot>OnReplaceAll()</slot>
  557. <slot>OnReplace()</slot>
  558. <slot>OnCancel()</slot>
  559. <slot>OnFindNext()</slot>
  560. <slot>OnFindAll()</slot>
  561. </slots>
  562. </ui>