srcfilewin.ui 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682
  1. <!DOCTYPE UI><UI version="3.3" stdsetdef="1">
  2. <class>SourceFileWindow</class>
  3. <widget class="QMainWindow">
  4. <property name="name">
  5. <cstring>SourceFileWindow</cstring>
  6. </property>
  7. <property name="geometry">
  8. <rect>
  9. <x>0</x>
  10. <y>0</y>
  11. <width>794</width>
  12. <height>513</height>
  13. </rect>
  14. </property>
  15. <property name="caption">
  16. <string>TIGCC IDE for KDE</string>
  17. </property>
  18. <vbox>
  19. <property name="name">
  20. <cstring>unnamed</cstring>
  21. </property>
  22. </vbox>
  23. </widget>
  24. <menubar>
  25. <property name="name">
  26. <cstring>menubar</cstring>
  27. </property>
  28. <item text="&amp;File" name="fileMenu">
  29. <action name="fileSaveAction"/>
  30. <action name="fileSaveAsAction"/>
  31. <separator/>
  32. <action name="fileAddToProjectAction"/>
  33. <separator/>
  34. <action name="fileCompileAction"/>
  35. <separator/>
  36. <action name="filePrintAction"/>
  37. <separator/>
  38. <action name="fileCloseAction"/>
  39. </item>
  40. <item text="&amp;Edit" name="editMenu">
  41. <action name="editUndoAction"/>
  42. <action name="editRedoAction"/>
  43. <separator/>
  44. <action name="editClearAction"/>
  45. <action name="editCutAction"/>
  46. <action name="editCopyAction"/>
  47. <action name="editPasteAction"/>
  48. <separator/>
  49. <action name="editSelectAllAction"/>
  50. <separator/>
  51. <action name="editIncreaseIndentAction"/>
  52. <action name="editDecreaseIndentAction"/>
  53. </item>
  54. <item text="F&amp;ind" name="PopupMenu">
  55. <action name="findFindAction"/>
  56. <action name="findReplaceAction"/>
  57. <separator/>
  58. <action name="findFunctionsAction"/>
  59. <separator/>
  60. <action name="findOpenFileAtCursorAction"/>
  61. <action name="findFindSymbolDeclarationAction"/>
  62. </item>
  63. </menubar>
  64. <toolbars>
  65. <toolbar dock="2">
  66. <property name="name">
  67. <cstring>toolBar</cstring>
  68. </property>
  69. <property name="movingEnabled">
  70. <bool>false</bool>
  71. </property>
  72. <property name="label">
  73. <string>Tools</string>
  74. </property>
  75. <action name="fileSaveAction"/>
  76. <separator/>
  77. <action name="filePrintQuicklyAction"/>
  78. <separator/>
  79. <action name="editClearAction"/>
  80. <action name="editCutAction"/>
  81. <action name="editCopyAction"/>
  82. <action name="editPasteAction"/>
  83. <separator/>
  84. <action name="editUndoAction"/>
  85. <action name="editRedoAction"/>
  86. <separator/>
  87. <action name="findFindAction"/>
  88. <action name="findReplaceAction"/>
  89. <action name="findFunctionsAction"/>
  90. <separator/>
  91. <action name="fileAddToProjectAction"/>
  92. </toolbar>
  93. </toolbars>
  94. <actions>
  95. <action>
  96. <property name="name">
  97. <cstring>fileSaveAction</cstring>
  98. </property>
  99. <property name="iconSet">
  100. <iconset>02</iconset>
  101. </property>
  102. <property name="text">
  103. <string>Save</string>
  104. </property>
  105. <property name="menuText">
  106. <string>&amp;Save</string>
  107. </property>
  108. <property name="statusTip">
  109. <string>Save the file</string>
  110. </property>
  111. <property name="accel">
  112. <string>Ctrl+S</string>
  113. </property>
  114. </action>
  115. <action>
  116. <property name="name">
  117. <cstring>fileSaveAsAction</cstring>
  118. </property>
  119. <property name="text">
  120. <string>Save As...</string>
  121. </property>
  122. <property name="menuText">
  123. <string>Save &amp;As...</string>
  124. </property>
  125. <property name="statusTip">
  126. <string>Save the file with another name, or in another folder</string>
  127. </property>
  128. <property name="accel">
  129. <string></string>
  130. </property>
  131. </action>
  132. <action>
  133. <property name="name">
  134. <cstring>filePrintAction</cstring>
  135. </property>
  136. <property name="iconSet">
  137. <iconset>03</iconset>
  138. </property>
  139. <property name="text">
  140. <string>Print File</string>
  141. </property>
  142. <property name="menuText">
  143. <string>&amp;Print...</string>
  144. </property>
  145. <property name="statusTip">
  146. <string>Print this file</string>
  147. </property>
  148. <property name="accel">
  149. <string>Ctrl+P</string>
  150. </property>
  151. </action>
  152. <action>
  153. <property name="name">
  154. <cstring>fileCloseAction</cstring>
  155. </property>
  156. <property name="text">
  157. <string>Close</string>
  158. </property>
  159. <property name="menuText">
  160. <string>&amp;Close</string>
  161. </property>
  162. <property name="statusTip">
  163. <string>Close this window</string>
  164. </property>
  165. <property name="accel">
  166. <string></string>
  167. </property>
  168. </action>
  169. <action>
  170. <property name="name">
  171. <cstring>editUndoAction</cstring>
  172. </property>
  173. <property name="iconSet">
  174. <iconset>16</iconset>
  175. </property>
  176. <property name="text">
  177. <string>Undo</string>
  178. </property>
  179. <property name="menuText">
  180. <string>&amp;Undo</string>
  181. </property>
  182. <property name="statusTip">
  183. <string>Undo the last operation in the editor</string>
  184. </property>
  185. <property name="accel">
  186. <string>Ctrl+Z</string>
  187. </property>
  188. </action>
  189. <action>
  190. <property name="name">
  191. <cstring>editRedoAction</cstring>
  192. </property>
  193. <property name="iconSet">
  194. <iconset>17</iconset>
  195. </property>
  196. <property name="text">
  197. <string>Redo</string>
  198. </property>
  199. <property name="menuText">
  200. <string>&amp;Redo</string>
  201. </property>
  202. <property name="statusTip">
  203. <string>Redo the last undone operation in the editor</string>
  204. </property>
  205. <property name="accel">
  206. <string>Ctrl+Y</string>
  207. </property>
  208. </action>
  209. <action>
  210. <property name="name">
  211. <cstring>editCutAction</cstring>
  212. </property>
  213. <property name="iconSet">
  214. <iconset>05</iconset>
  215. </property>
  216. <property name="text">
  217. <string>Cut</string>
  218. </property>
  219. <property name="menuText">
  220. <string>Cu&amp;t</string>
  221. </property>
  222. <property name="statusTip">
  223. <string>Copy the selected text into the clipboard and delete it</string>
  224. </property>
  225. <property name="accel">
  226. <string>Ctrl+X</string>
  227. </property>
  228. </action>
  229. <action>
  230. <property name="name">
  231. <cstring>editCopyAction</cstring>
  232. </property>
  233. <property name="iconSet">
  234. <iconset>06</iconset>
  235. </property>
  236. <property name="text">
  237. <string>Copy</string>
  238. </property>
  239. <property name="menuText">
  240. <string>C&amp;opy</string>
  241. </property>
  242. <property name="statusTip">
  243. <string>Copy the selected text into the clipboard without deleting it</string>
  244. </property>
  245. <property name="accel">
  246. <string>Ctrl+C</string>
  247. </property>
  248. </action>
  249. <action>
  250. <property name="name">
  251. <cstring>editPasteAction</cstring>
  252. </property>
  253. <property name="iconSet">
  254. <iconset>07</iconset>
  255. </property>
  256. <property name="text">
  257. <string>Paste</string>
  258. </property>
  259. <property name="menuText">
  260. <string>&amp;Paste</string>
  261. </property>
  262. <property name="statusTip">
  263. <string>Paste text from the clipboard</string>
  264. </property>
  265. <property name="accel">
  266. <string>Ctrl+V</string>
  267. </property>
  268. </action>
  269. <action>
  270. <property name="name">
  271. <cstring>findFindAction</cstring>
  272. </property>
  273. <property name="iconSet">
  274. <iconset>13</iconset>
  275. </property>
  276. <property name="text">
  277. <string>Find</string>
  278. </property>
  279. <property name="menuText">
  280. <string>&amp;Find...</string>
  281. </property>
  282. <property name="toolTip">
  283. <string>Find Text</string>
  284. </property>
  285. <property name="statusTip">
  286. <string>Find the specified text in the current source file</string>
  287. </property>
  288. <property name="accel">
  289. <string>Ctrl+F</string>
  290. </property>
  291. </action>
  292. <action>
  293. <property name="name">
  294. <cstring>editClearAction</cstring>
  295. </property>
  296. <property name="iconSet">
  297. <iconset>04</iconset>
  298. </property>
  299. <property name="text">
  300. <string>Clear</string>
  301. </property>
  302. <property name="menuText">
  303. <string>&amp;Clear</string>
  304. </property>
  305. <property name="statusTip">
  306. <string>Delete the selected text in the editor</string>
  307. </property>
  308. </action>
  309. <action>
  310. <property name="name">
  311. <cstring>editSelectAllAction</cstring>
  312. </property>
  313. <property name="text">
  314. <string>Select All</string>
  315. </property>
  316. <property name="menuText">
  317. <string>&amp;Select All</string>
  318. </property>
  319. <property name="statusTip">
  320. <string>Select the whole text in the editor</string>
  321. </property>
  322. <property name="accel">
  323. <string>Ctrl+A</string>
  324. </property>
  325. </action>
  326. <action>
  327. <property name="name">
  328. <cstring>editIncreaseIndentAction</cstring>
  329. </property>
  330. <property name="iconSet">
  331. <iconset>19</iconset>
  332. </property>
  333. <property name="text">
  334. <string>Increase Indent</string>
  335. </property>
  336. <property name="menuText">
  337. <string>&amp;Increase Indent</string>
  338. </property>
  339. <property name="statusTip">
  340. <string>Insert tabs so that the text is moved to the right</string>
  341. </property>
  342. <property name="accel">
  343. <string>Ctrl+I</string>
  344. </property>
  345. </action>
  346. <action>
  347. <property name="name">
  348. <cstring>editDecreaseIndentAction</cstring>
  349. </property>
  350. <property name="iconSet">
  351. <iconset>20</iconset>
  352. </property>
  353. <property name="text">
  354. <string>Decrease Indent</string>
  355. </property>
  356. <property name="menuText">
  357. <string>&amp;Decrease Indent</string>
  358. </property>
  359. <property name="statusTip">
  360. <string>Remove tabs and spaces so that the text is moved to the left</string>
  361. </property>
  362. <property name="accel">
  363. <string>Ctrl+D</string>
  364. </property>
  365. </action>
  366. <action>
  367. <property name="name">
  368. <cstring>findReplaceAction</cstring>
  369. </property>
  370. <property name="iconSet">
  371. <iconset>14</iconset>
  372. </property>
  373. <property name="text">
  374. <string>Replace</string>
  375. </property>
  376. <property name="menuText">
  377. <string>&amp;Replace...</string>
  378. </property>
  379. <property name="toolTip">
  380. <string>Replace Text</string>
  381. </property>
  382. <property name="statusTip">
  383. <string>Find the specified text in the current source file and replace it with something else</string>
  384. </property>
  385. <property name="accel">
  386. <string>Ctrl+R</string>
  387. </property>
  388. </action>
  389. <action>
  390. <property name="name">
  391. <cstring>findFunctionsAction</cstring>
  392. </property>
  393. <property name="iconSet">
  394. <iconset>18</iconset>
  395. </property>
  396. <property name="text">
  397. <string>Functions...</string>
  398. </property>
  399. <property name="menuText">
  400. <string>F&amp;unctions...</string>
  401. </property>
  402. <property name="statusTip">
  403. <string>Display a list of all functions in the current file</string>
  404. </property>
  405. </action>
  406. <action>
  407. <property name="name">
  408. <cstring>findOpenFileAtCursorAction</cstring>
  409. </property>
  410. <property name="text">
  411. <string>Open File at Cursor</string>
  412. </property>
  413. <property name="menuText">
  414. <string>&amp;Open File at Cursor</string>
  415. </property>
  416. <property name="statusTip">
  417. <string>Open the file the cursor is on</string>
  418. </property>
  419. <property name="accel">
  420. <string>Ctrl+Enter</string>
  421. </property>
  422. </action>
  423. <action>
  424. <property name="name">
  425. <cstring>fileAddToProjectAction</cstring>
  426. </property>
  427. <property name="iconSet">
  428. <iconset>08</iconset>
  429. </property>
  430. <property name="text">
  431. <string>Add to Project</string>
  432. </property>
  433. <property name="menuText">
  434. <string>A&amp;dd to Project...</string>
  435. </property>
  436. <property name="statusTip">
  437. <string>Add this file to the current project</string>
  438. </property>
  439. </action>
  440. <action>
  441. <property name="name">
  442. <cstring>fileCompileAction</cstring>
  443. </property>
  444. <property name="iconSet">
  445. <iconset>09</iconset>
  446. </property>
  447. <property name="text">
  448. <string>Compile</string>
  449. </property>
  450. <property name="menuText">
  451. <string>C&amp;ompile</string>
  452. </property>
  453. <property name="statusTip">
  454. <string>Compile the file</string>
  455. </property>
  456. </action>
  457. <action>
  458. <property name="name">
  459. <cstring>findFindSymbolDeclarationAction</cstring>
  460. </property>
  461. <property name="text">
  462. <string>F&amp;ind symbol declaration</string>
  463. </property>
  464. <property name="menuText">
  465. <string>F&amp;ind symbol declaration</string>
  466. </property>
  467. <property name="statusTip">
  468. <string>Find symbol declaration</string>
  469. </property>
  470. </action>
  471. <action>
  472. <property name="name">
  473. <cstring>filePrintQuicklyAction</cstring>
  474. </property>
  475. <property name="iconSet">
  476. <iconset>03</iconset>
  477. </property>
  478. <property name="text">
  479. <string>Print File</string>
  480. </property>
  481. <property name="statusTip">
  482. <string>Print this file</string>
  483. </property>
  484. </action>
  485. </actions>
  486. <connections>
  487. <connection>
  488. <sender>editClearAction</sender>
  489. <signal>activated()</signal>
  490. <receiver>SourceFileWindow</receiver>
  491. <slot>editClear()</slot>
  492. </connection>
  493. <connection>
  494. <sender>editCopyAction</sender>
  495. <signal>activated()</signal>
  496. <receiver>SourceFileWindow</receiver>
  497. <slot>editCopy()</slot>
  498. </connection>
  499. <connection>
  500. <sender>editCutAction</sender>
  501. <signal>activated()</signal>
  502. <receiver>SourceFileWindow</receiver>
  503. <slot>editCut()</slot>
  504. </connection>
  505. <connection>
  506. <sender>editDecreaseIndentAction</sender>
  507. <signal>activated()</signal>
  508. <receiver>SourceFileWindow</receiver>
  509. <slot>editDecreaseIndent()</slot>
  510. </connection>
  511. <connection>
  512. <sender>editIncreaseIndentAction</sender>
  513. <signal>activated()</signal>
  514. <receiver>SourceFileWindow</receiver>
  515. <slot>editIncreaseIndent()</slot>
  516. </connection>
  517. <connection>
  518. <sender>editPasteAction</sender>
  519. <signal>activated()</signal>
  520. <receiver>SourceFileWindow</receiver>
  521. <slot>editPaste()</slot>
  522. </connection>
  523. <connection>
  524. <sender>editRedoAction</sender>
  525. <signal>activated()</signal>
  526. <receiver>SourceFileWindow</receiver>
  527. <slot>editRedo()</slot>
  528. </connection>
  529. <connection>
  530. <sender>editSelectAllAction</sender>
  531. <signal>activated()</signal>
  532. <receiver>SourceFileWindow</receiver>
  533. <slot>editSelectAll()</slot>
  534. </connection>
  535. <connection>
  536. <sender>editUndoAction</sender>
  537. <signal>activated()</signal>
  538. <receiver>SourceFileWindow</receiver>
  539. <slot>editUndo()</slot>
  540. </connection>
  541. <connection>
  542. <sender>fileCloseAction</sender>
  543. <signal>activated()</signal>
  544. <receiver>SourceFileWindow</receiver>
  545. <slot>close()</slot>
  546. </connection>
  547. <connection>
  548. <sender>filePrintAction</sender>
  549. <signal>activated()</signal>
  550. <receiver>SourceFileWindow</receiver>
  551. <slot>filePrint()</slot>
  552. </connection>
  553. <connection>
  554. <sender>fileSaveAction</sender>
  555. <signal>activated()</signal>
  556. <receiver>SourceFileWindow</receiver>
  557. <slot>fileSave()</slot>
  558. </connection>
  559. <connection>
  560. <sender>fileSaveAsAction</sender>
  561. <signal>activated()</signal>
  562. <receiver>SourceFileWindow</receiver>
  563. <slot>fileSaveAs()</slot>
  564. </connection>
  565. <connection>
  566. <sender>findFindAction</sender>
  567. <signal>activated()</signal>
  568. <receiver>SourceFileWindow</receiver>
  569. <slot>findFind()</slot>
  570. </connection>
  571. <connection>
  572. <sender>findFindSymbolDeclarationAction</sender>
  573. <signal>activated()</signal>
  574. <receiver>SourceFileWindow</receiver>
  575. <slot>findFindSymbolDeclaration()</slot>
  576. </connection>
  577. <connection>
  578. <sender>findFunctionsAction</sender>
  579. <signal>activated()</signal>
  580. <receiver>SourceFileWindow</receiver>
  581. <slot>findFunctions()</slot>
  582. </connection>
  583. <connection>
  584. <sender>findOpenFileAtCursorAction</sender>
  585. <signal>activated()</signal>
  586. <receiver>SourceFileWindow</receiver>
  587. <slot>findOpenFileAtCursor()</slot>
  588. </connection>
  589. <connection>
  590. <sender>findReplaceAction</sender>
  591. <signal>activated()</signal>
  592. <receiver>SourceFileWindow</receiver>
  593. <slot>findReplace()</slot>
  594. </connection>
  595. <connection>
  596. <sender>fileAddToProjectAction</sender>
  597. <signal>activated()</signal>
  598. <receiver>SourceFileWindow</receiver>
  599. <slot>fileAddToProject()</slot>
  600. </connection>
  601. <connection>
  602. <sender>fileCompileAction</sender>
  603. <signal>activated()</signal>
  604. <receiver>SourceFileWindow</receiver>
  605. <slot>fileCompile()</slot>
  606. </connection>
  607. <connection>
  608. <sender>filePrintQuicklyAction</sender>
  609. <signal>activated()</signal>
  610. <receiver>SourceFileWindow</receiver>
  611. <slot>filePrintQuickly()</slot>
  612. </connection>
  613. </connections>
  614. <includes>
  615. <include location="local" impldecl="in implementation">srcfilewin.ui.h</include>
  616. </includes>
  617. <slots>
  618. <slot>destroy()</slot>
  619. <slot>te_popup_aboutToShow()</slot>
  620. <slot>te_popup_activated( int index )</slot>
  621. <slot>accel_activated( int index )</slot>
  622. <slot>fileSave()</slot>
  623. <slot>fileSaveAs()</slot>
  624. <slot>fileAddToProject()</slot>
  625. <slot>fileCompile()</slot>
  626. <slot>filePrint()</slot>
  627. <slot>filePrintQuickly()</slot>
  628. <slot>editUndo()</slot>
  629. <slot>editRedo()</slot>
  630. <slot>editClear()</slot>
  631. <slot>editCut()</slot>
  632. <slot>editCopy()</slot>
  633. <slot>editPaste()</slot>
  634. <slot>editSelectAll()</slot>
  635. <slot>editIncreaseIndent()</slot>
  636. <slot>editDecreaseIndent()</slot>
  637. <slot>findFind()</slot>
  638. <slot>findFind_next()</slot>
  639. <slot>findFind_highlight( const QString &amp; unused_text, int matchingindex, int matchedlength )</slot>
  640. <slot>findFind_stop()</slot>
  641. <slot>findReplace()</slot>
  642. <slot>findReplace_next()</slot>
  643. <slot>findReplace_highlight( const QString &amp; unused_text, int matchingindex, int matchedlength )</slot>
  644. <slot>findReplace_replace( const QString &amp; text, int replacementIndex, int replacedLength, int matchedLength )</slot>
  645. <slot>findReplace_stop()</slot>
  646. <slot>findFunctions()</slot>
  647. <slot>findFunctions_functionListBox_highlighted( int index )</slot>
  648. <slot>findFunctions_functionListBox_selected( int index )</slot>
  649. <slot>findFunctions_prototypeButton_clicked()</slot>
  650. <slot>findFunctions_implementationButton_clicked()</slot>
  651. <slot>findFunctionsPopup_aboutToShow()</slot>
  652. <slot>findFunctionsPopup_aboutToHide()</slot>
  653. <slot>findFunctionsPopup_aboutToHide_async()</slot>
  654. <slot>findFunctionsPopup_activated( int id )</slot>
  655. <slot>findOpenFileAtCursor()</slot>
  656. <slot>findFindSymbolDeclaration()</slot>
  657. <slot>resizeEvent( QResizeEvent * event )</slot>
  658. <slot>statusBar_messageChanged( const QString &amp; message )</slot>
  659. <slot>current_view_cursorPositionChanged()</slot>
  660. <slot>current_view_textChanged()</slot>
  661. <slot>current_view_undoChanged()</slot>
  662. <slot>current_view_selectionChanged()</slot>
  663. <slot>current_view_charactersInteractivelyInserted( int line, int col, const QString &amp; characters )</slot>
  664. <slot>clipboard_dataChanged()</slot>
  665. <slot>KDirWatch_dirty( const QString &amp; fileName )</slot>
  666. <slot>completionPopup_closed()</slot>
  667. </slots>
  668. <functions>
  669. <function>initBase()</function>
  670. <function specifier="non virtual" returnType="void *">createView( const QString &amp; fileName, const QString &amp; fileText, const QString &amp; hlModeName, unsigned tabWidth )</function>
  671. <function returnType="int">savePrompt( void )</function>
  672. <function access="private" specifier="non virtual">removeTrailingSpacesFromView( void * view )</function>
  673. <function>applyPreferences()</function>
  674. <function access="private" specifier="non virtual">findReplace_next( bool firstTime )</function>
  675. <function access="private" specifier="non virtual">updateSizes()</function>
  676. <function access="private" specifier="non virtual">updateRightStatusLabel()</function>
  677. <function access="private" specifier="non virtual">current_view_newLineHook()</function>
  678. <function access="protected">closeEvent( QCloseEvent * e )</function>
  679. </functions>
  680. <pixmapinproject/>
  681. <layoutdefaults spacing="0" margin="0"/>
  682. </UI>