qt from editor tools vs2005

taiyang902 2009-12-22 03:52:26
qt from editor tools 中有QSplitter ,如何重载和使用。例如:mySplitter::public QSplitter ,后,如何在使用qsplitter的地方使用mySplitter类?
...全文
139 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
xiejhzwrgcky 2009-12-24
  • 打赏
  • 举报
回复
ip
msdn2009_2010 2009-12-24
  • 打赏
  • 举报
回复
up
gemfield 2009-12-24
  • 打赏
  • 举报
回复
[Quote=引用楼主 taiyang902 的回复:]
例如:mySplitter::public QSplitter ,后
[/Quote]
什么用法?
yhf365 2009-12-23
  • 打赏
  • 举报
回复
跟QSplitter一样的用嘛,
只需要包含头文件就行
QSplitter举例:

QSplitter *page = new QSplitter(this);
QTextEdit *text1 = new QTextEdit(this);
QTextEdit *text2 = new QTextEdit(this);
page->addWidget(text1);
page->addWidget(text2);
ui->horizontalLayout->addWidget(page);
page->show();
text1->show();
text2->show();
README for the eric5 IDE Installation Installing eric5 is a simple process. Just execute the install.py script (type python install.py -h for some help). Please note that the installation has to be performed using the administrators account (i.e. root on linux). This installs a wrapper script in the standard executable directory (default: /usr/local/bin on linux) called eric5. If you want to uninstall the package just execute the uninstall script. This gets rid of all installed files. In this case please send an email to the below mentioned address and tell me your reason. This might give me a hint on how to improve eric5. If the required packages (Qt4, QScintilla2, sip and PyQt4) are not installed, please get them and install them in the following order (order is important). 1. Install Qt4 (from Nokia) 2. Build and install QScintilla2 (from Riverbank Computing) 3. Build and install sip (from Riverbank Computing) 4. Build and install PyQt4 (from Riverbank Computing) 5. Build and install QScintilla2 Python bindings (part of the QScintilla2 package) 6. Install eric5 If you want to use the interfaces to other supported software packages, you may install them in any order and at any time. Please note, that the QScintilla2 Python bindings have to be rebuild, if the PyQt4 package gets updated. If this step is omitted, a bunch of strange errors will occur. Installation of translations Translations of the eric5 IDE are available as separate downloads. There are two ways to install them. The first possibility is to install them together with eric5. In order to do that, simply extract the downloaded archives into the same place as the eric5 archive and follow the installation instructions above. The second possibility is to install them separately. Extract the downloaded archives and execute the install-i18n.py script (type python install-i18n.py -h for some help). This way you can make the translations available to everybody or just to the user executing the installation command (if using the -p switch). Running Just call up eric5, which will start the IDE. Use the "what is"-help (arrow with ?) to get some help. Sorry, there is no documentation yet. To start the unit test module in a standalone variant simply call up eric5-unittest. This will show the same dialog (though with a little bit less functionality) as if started from within eric5. The helpviewer can be started as a standalone program by executing the eric5-webbrowser script. Please note, the first time you start eric5 it will recognize, that it hasn't been configured yet and will show the configuration dialog. Please take your time and go through all the configuration items. However, every configuration option has a meaningful default value. Running from the sources If you want to run eric5 from within the source tree you have to execute the compileUiFiles.py script once after a fresh checkout from the source repository or when new dialogs have been added. Thereafter just execute the eric5.py script. Tray starter eric5 comes with a little utility called "eric5-tray". This embeds an icon in the system tray, which contains a context menu to start eric5 and all it's utilities. Double clicking this icon starts the eric5 IDE. Autocompletion/Calltips eric5 provides an interface to the QScintilla auto-completion and calltips functionality. QScintilla2 comes with API files for Python and itself. PyQt4 contains an API file as well. These are installed by default, if the correct installation order (see above) is followed. An API file for eric5 is installed in the same place. In order to use autocompletion and calltips in eric5 please configure these functions in the "Preferences Dialog" on the "Editor -> APIs", "Editor -> Autocompletion" and "Editor -> Calltips" pages. Remote Debugger In order to enable the remote debugger start eric5, open the preferences dialog and configure the settings on the debugger pages. The remote login must be possible without any further interaction (i.e. no password prompt). If the remote setup differs from the local one you must configure the Python interpreter and the Debug Client to be used in the Preferences dialog. eric5 includes two different versions of the debug client. DebugClient.py is the traditional debugger and DebugClientThreads is a multithreading variant of the debug client. Please copy all needed files to a place accessible through the Python path of the remote machine and set the entries of the a.m. configuration tab accordingly. Passive Debugging Passive debugging mode allows the startup of the debugger from outside of the IDE. The IDE waits for a connection attempt. For further details see the file README-passive-debugging.txt Plugin System eric5 contains a plugin system, that is used to extend eric5's functionality. Some plugins are part of eric5. Additional plugins are available via the Internet. Please use the built in plug-in repository dialog to get a list of available (official) plugins and to download them. For more details about the plug-in system please see the documentation area. Interfaces to additional software packages At the moment eric5 provides interfaces to the following software packages. Qt-Designer This is part of the Qt distribution and is used to generate user interfaces. Qt-Linguist This is part of the Qt distribution and is used to generate translations. Qt-Assistant This is part of the Qt distribution and may be used to display help files. Mercurial This is a distributed version control system available from . It is the one used by eric5 itself. Subversion This is a version control system available from . eric5 supports two different Subversion interfaces. One is using the svn command line tool, the other is using the PySvn Python interface . The selection is done automatically depending on the installed software. The PySvn interface is prefered. This automatism can be overridden an a per project basis using the "User Properties" dialog. coverage.py This is a tool to check Python code coverage. A slightly modified version is part of the eric5 distribution. The original version is available from tabnanny This is a tool to check Python code for white-space related problems. It is part of the standard Python installation. profile This is part of the standard Python distribution and is used to profile Python source code. cyclops This is a tool to detect variable cycles which can cause the garbage collector being unable to do his job. Interfaces to additional software packages via plugins Some of the interfaces provided as plugins are as follows. pylint This is a tool to check the source code according to various rules. It is available from . cx_Freeze This is a tool for packaging Python programs. It is available from Internationalization eric5 and it's tools are prepared to show the UI in different languages, which can be configured via the preferences dialog. The Qt and QScintilla translations are searched in the translations directory given in the preferences dialog (Qt page). If the translations cannot be found, some part of the MMI might show English texts even if you have selected something else. If you are missing eric5 translations for your language and are willing to volunteer for this work please send me an email naming the country code and I will send you the respective Qt-Linguist file. Window Layout eric5 provides different window layouts. In these layouts, the shell window and the file browser may be embedded or be separat windows. Source code documentation eric5 has a built in source code documentation generator, which is usable via the commandline as well. For further details please see the file README-eric5-doc.txt License eric5 (and the others) is released under the conditions of the GPL. See separate license file for more details. Third party software included in eric5 is released under their respective license and contained in the eric5 distribution for convenience. Bugs and other reports Please send bug reports, feature requests or contributions to eric bugs address. After the IDE is installed you can use the "Report Bug..." entry of the Help menu. This will send a message to
This book introduces programmers to 64 bit Intel assembly language using the Microsoft Windows operating system. The book also discusses how to use the free integrated development environment, ebe, designed by the author specifically to meet the needs of assembly language programmers. Ebe is a C++ program which uses the Qt library to implement a GUI environment consisting of a source window, a data window, a register window, a floating point register window, a backtrace window, a console window, a terminal window, a project window and a pair of teaching tools called the "Toy Box" and the "Bit Bucket". The source window includes a full-featured text editor with convenient controls for assembling, linking and debugging a program. The project facility allows a program to be built from C source code files and assembly source files. Assembly is performed automatically using the yasm assembler and linking is performed with ld or gcc. Debugging operates by transparently sending commands into the gdb debugger while automatically displaying registers and variables after each debugging step. The Toy Box allows the use to enter variable definitions and expressions in either C++ or Fortran and it builds a program to evaluate the expressions. Then the user can inspect the format of each expression. The Bit Bucket allows the user to explore how the computer stores and manipulates integers and floating point numbers. Additional information about ebe can be found at http://www.rayseyfarth.com. The book is intended as a first assembly language book for programmers experienced in high level programming in a language like C or C++. The assembly programming is performed using the yasm assembler automatically from the ebe IDE under the Linux operating system. The book primarily teaches how to write assembly code compatible with C programs. The reader will learn to call C functions from assembly language and to call assembly functions from C in addition to writing complete programs in assembly language. The gcc compiler is used internally to compile C programs. The book starts early emphasizing using ebe to debug programs. Being able to single-step assembly programs is critical in learning assembly programming. Ebe makes this far easier than using gdb directly. Highlights of the book include doing input/output programming using Windows API functions and the C library, implementing data structures in assembly language and high performance assembly language programming. Early chapters of the book rely on using the debugger to observe program behavior. After a chapter on functions, the user is prepared to use printf and scanf from the C library to perform I/O. The chapter on data structures covers singly linked lists, doubly linked circular lists, hash tables and binary trees. Test programs are presented for all these data structures. There is a chapter on optimization techniques and 3 chapters on specific optimizations. One chapter covers how to efficiently count the 1 bits in an array with the most efficient version using the recently-introduced popcnt instruction. Another chapter covers using SSE instructions to create an efficient implementation of the Sobel filtering algorithm. The final high performance programming chapter discusses computing correlation between data in 2 arrays. There is an AVX implementation which achieves 20.5 GFLOPs on a single core of a Core i7 CPU. A companion web site, http://www.rayseyfarth.com, has a collection of PDF slides which instructors can use for in-class presentations and source code for sample programs.
FastReport.v4.15 for.Delphi.BCB.Full.Source企业版含ClientServer中文修正版支持Delphi 4-XE5 and C++Builder 6-XE5. D2010以上版本(D14_D19)安装必读 delphi2010以上版本(D14_D19)使用者安装时,请将res\frccD14_D19.exe更名名为frcc.exe frccD14_D19.exe是专门的delphi2010以上版本(D14_D19)编码器。其他低delphi版本,请使用frcc.exe FastReport® VCL is an add-on component that allows your application to generate reports quickly and efficiently. FastReport® provides all the tools necessary for developing reports, including a visual report designer, a reporting core, and a preview window. It can be used in Embarcadero (ex Borland and CodeGear) Delphi 4-XE5 and C++Builder 6-XE5. version 4.15 --------------- + Added Embarcadero RAD Studio XE5 support + Added Internal components for FireDac database engine + fixed bug with images in PDF export for OSX viewers + Added ability to set font charset to default in Style Editor - fixed duplex problem when printing several copies of the report - fixed problem with PNG images - fixed problem with TfrxPictureView transparent version 4.14 --------------- + Added Embarcadero RAD Studio XE4 support - [Lazarus] fixed bug with text output - [Lazarus] fixed bug with some visual controls in designer - [Lazarus] improved interface of the report preview and designer - [Lazarus] fixed bug with boolean propertyes in script code and expressions - fixed bug with endless loop in TfrxRichView - fixed bug with Unicode in TfrxMemoView appeared in previous release - improved MAPI interface in TfrxExportMail export - fixed some problems with allpication styles XE2/XE3 - improved compatibility with Fast Report FMX version 4.13 --------------- + Added Lazarus Beta support starts from Fast Report Professionnal edition. Current version allows preview, print and design report template under Windows and Linux platform (qt). + Added Embarcadero RAD Studio XE3 support - fixed compatibility with Fast Report FMX installed in the same IDE. This version can co exist with Fast Report FMX version at the same time. + published "Quality" property of TfrxPDFExport object + published "UseMAPI" property of TfrxExportMail object + published "PictureType" property to ODF export - fixed bug with expressions in RichEdit - fixed bug in multi-column reports - fixed exception in the report designer - fixed bug with URLs in Open Document Text and Open Document Spreadsheet exports - fixed format string in XLS OLE export - fixed format string in XLS BIFF8 export - fixed output of the check boxes on the highlighted lines in PDF export - fixed bug with PDF anchors - fixed bug when using two or more macroses in memo version 4.12 --------------- + added support of Embarcadero Rad Studio EX2 (x32/x64) + added export of Excel formulas in the BIFF export + added export of external URLs in the PDF export + added converter from Rave Reports ConverterRR2FR.pas + added Cross.KeepRowsTogether property + optimised merging cells in the BIFF export + added property DataOnly to exports + pictures format in all exports switched to PNG + improved number formats processing in the BIFF export + added property DataOnly to exports + added property TfrxODFExport.SingleSheet + added property TfrxSimpleTextExport.DeleteEmptyColumns + added property TfrxBIFFExport.DeleteEmptyRows + added progress bar to the BIFF export - fixed bug with frame for some barcode types - fixed wrong metafiles size in the EMF export - fixed processing of negative numbers in the OLE export - fixed bug in handling exceptions in the OLE export - fixed bug in creation of the progress bar (applicable to many exports) - fixed bug in the ODF export in strings processing - fixed bug in the OLE export in numbers formatting - fixed bug in the PDF export in rotating texts 90, 180 and 270 degrees - fixed bug in the ODF export in processing of headers and footers - fixed bug in the Text export in computing object bounds - fixed bug in the ODF export in UTF8 encoding - fixed hiding gridlines around nonempty cells in the BIFF export - fixed images bluring when exporting - fixed word wrapping in the Excel XML export version 4.11 --------------- + added BIFF8 XLS export filter + added to ODF export the Language property + [enterprise] added "scripts" folder for additional units ("uses" directive in report script) + [enterprise] added logs for scheduler (add info in scheduler.log) + [enterprise] added property "Reports" - "Scripts" in server configuration - set the path for "uses" directive in report script + [enterprise] added property "Http" - "MaxSessions" in server configuration - set the limit of maximum session threads, set 0 for unlimit + [enterprise] added property "Reports" - "MaxReports" in server configuration - set the limit of maximum report threads, set 0 for unlimit + [enterprise] added property "Logs" - "SchedulerLog" in server configuration - set the scheduler log file name + [enterprise] added property "Scheduler" - "Active" in server configuration - enable of scheduler + [enterprise] added property "Scheduler" - "Debug" in server configuration - enable writing of debug info in scheduler log + [enterprise] added property "Scheduler" - "StudioPath" in server configuration - set the path to FastReport Studio, leave blank for default - [enterprise] fixed bug with MIME types in http header (content-type) - [enterprise] fixed bug with default configuration (with missed config.xml) - [enterprise] fixed bug with error pages - fixed bug in XML export with the ShowProgress property - fixed bug in RTF export with font size in empty cells - fixed bug in ODF export with UTF8 encoding of the Creator field - fixed bug in XML export with processing special characters in strings - fixed bug in ODF export with properties table:number-columns-spanned, table:number-rows-spanned - fixed bug in ODF export with the background clNone color - fixed bug in ODF export with a style of table:covered-table-cell - fixed bug in ODF export with table:covered-table-cell duplicates - fixed bug in ODF export with excessive text:p inside table:covered-table-cell - fixed bug in ODF export with language styles - fixed bug in ODF export with spaces and tab symbols - fixed bug in ODF export with styles of number cells - fixed bug in ODF export with the background picture - fixed bug in ODF export with charspacing - fixed bug in ODF export with number formatting - fixed bug in ODF export with table-row tag - fixed bug in XLS(OLE) export with numbers formatting - fixed bug in RTF export with processing RTF fields - fixed bug with processing special symbols in HTML Export - fixed bug with UTF8 encoding in ODF export - fixed bug in PDF export with underlined, struck-out and rotated texts version 4.10 --------------- + added support of Embarcadero Rad Studio XE (Delphi EX/C++Builder EX) + added support of TeeChart 2010 packages (new series type aren't support in this release) + added a property TruncateLongTexts to the XLS OLE export that allows to disable truncating texts longer than a specified limit + added option EmbedProt which allows to disable embedding fonts into an encrypted PDF file + added TfrxDateEditControl.WeekNumbers property - fixed bug in XML and PDF exports with Korean charmap - fixed bug in the XLS XML export about striked-out texts - fixed bug about exporting an empty page via the XLS OLE export - fixed bug in the PDF export about coloring the background of pages - fixed bug in embedded designer when using break point in script - fixed bug with lost of focus in font size combo-box in designer - fixed bug with truncate of font size combo-box in Windows Vista/7 in designer (lost of vertical scroll bar) - fixed bug when lost file name in inherited report - fixed bug in multi-page report with EndlessHeight/EndlessWidth - fixed bug wit TfrxHeader.ReprintOnNewpage and KeepTogether - fixed bug in multi-column report with child bands - improved split mechanism (added TfrxStretcheable.HasNextDataPart for complicated data like RTF tables) - improved crosstab speed when using repeat band with crosstab object version 4.9 --------------- + added outline to PDF export + added anchors to PDF export - fixed bug with embedded TTC fonts in PDF export + added an ability to create multiimage TIFF files + added export headers/footers in ODF export + added ability to print/export transparent pictures (properties TfrxPictureView.Transparent and TfrxPictureView.TransparentColor) (PDF export isn't supported) + added new "split to sheet" modes for TfrxXMLExport + added support of /PAGE tag in TfrxRichView, engine automatically break report pages when find /PAGE tag + added ability to hide Null values in TfrxChartView (TfrxChartView.IgnoreNulls = True) + added ability to set any custom page order for printing (i.e. 3,2,1,5,4 ) + [enterprise] added variables "AUTHLOGIN" and "AUTHGROUP" inside the any report + [enterprise] now any report file can be matched with any (one and more) group, these reports are accessible only in matched groups + [enterprise] now you can set-up cache delays for each report file (reports.xml) + [enterprise] added new properties editor for reports in Configuration utility (see Reports tab) + [enterprise] added property "Xml" - "SplitType" in server configuration - allow to select split on pages type between none/pages/printonprev/rowscount + [enterprise] added property "Xml" - "SplitRowsCount" in server configuration - sets the count of rows for "rowscount" split type + [enterprise] added property "Xml" - "Extension" in server configuration - allow select between ".xml" and ".xls" extension for output file + [enterprise] added property "Html" - "URLTarget" in server configuration - allow select the target attribute for report URLs + [enterprise] added property "ReportsFile" - path to file with reports to groups associations and cache delays + [enterprise] added property "ReportsListRenewTimeout" in server configuration + [enterprise] added property "ConfigRenewTimeout" in server configuration + [enterprise] added property "MimeType" for each output format in server configuration + [enterprise] added property "BrowserPrint" in server configuration - allow printing by browser, added new template nav_print_browser.html + [enterprise] added dynamic file name generation of resulting formats (report_name_date_time) * [enterprise] SERVER_REPORTS_LIST and SERVER_REPORTS_HTML variables (list of available reports) depend from user group (for internal authentification) + added drawing shapes in PDF export (not bitmap) + added rotated text in PDF export (not bitmap) + added EngineOptions.IgnoreDevByZero property allow to ignore division by zero exception in expressions + added properties TfrxDBLookupComboBox.DropDownWidth, TfrxDBLookupComboBox.DropDownRows + added event TfrxCustomExportFilter.OnBeginExport + added ability to decrease font size in barcode object + added ability to inseret FNC1 to "code 128" barcode + added event TfrxPreview.OnMouseDown + added support of new unicode-PDF export in D4-D6 and BCB4-BCB6 * improved AddFrom method - anchor coping - fixed bug with WordWrap in PDF export - fixed bug with underlines in PDF export - fixed bug with rounded rectangles in PDF export - fixed CSV export to fit to the RFC 4180 specification - fixed bug with strikeout text in PDF export - fixed bug with incorrect export of TfrxRichView object in RTF format (wrong line spacing) - [enterprise] added critical section in TfrxServerLog.Write - fixed bug with setting up of the Protection Flags in the PDF export dialog window - fixed bug in PDF export (file structure) - fixed bug with pictures in Open Office Writer (odt) export - [enterprise] fixed bug with TfrxReportServer component in Delphi 2010 - fixed minor errors in Embarcedero RAD Studio 2010 - fixed bug with endless loop with using vertical bands together with page header and header with ReprintOnNewPage - fixed bug when using "Keeping" and Cross tables (incorrect cross transfer) - fixed bug with [CopyName#] macros when use "Join small pages" print mode - fixed bug when try to split page with endless height to several pages (NewPage, StartNewPage) - fixed bug with empty line TfrxRichView when adding text via expression - fixed bug when Footer prints even if main band is invisible (FooterAfterEach = True) - fixed resetting of Page variable in double-pass report with TfrxCrossView - fixed bug with loosing of aligning when split TfrxRichView - fixed buzz in reports with TfrxRichView when using RTF 4.1 version 4.8 --------------- + added support of Embarcadero Rad Studio 2010 (Delphi/C++Builder) + added TfrxDBDataset.BCDToCurrency property + added TfrxReportOptions.HiddenPassword property to set password silently from code + added TfrxADOConnection.OnAfterDisconnect event + added TfrxDesigner.MemoParentFont property + added new TfrxDesignerRestriction: drDontEditReportScript and drDontEditInternalDatasets + adedd checksum calculating for 2 5 interleaved barcode + added TfrxGroupHeader.ShowChildIfDrillDown property + added TfrxMailExport.OnSendMail event + added RTF 4.1 support for TfrxRichText object + [enterprise] added Windows Authentification mode + added confirmation reading for TfrxMailExport + added TimeOut field to TfrxMailExport form + added ability to use keeping(KeepTogether/KeepChild/KeepHeader) in multi-column report + added ability to split big bands(biggest than page height) by default * [enterprise] improved CGI for IIS/Apache server * changed PDF export (D7 and upper): added full unicode support, improved performance, decreased memory requirements old PDF export engine saved in file frxExportPDF_old.pas - changed inheritance mechanism, correct inherits of linked objects (fixups) - fixed bug with Mirror Mrgins in RTF, HTML, XLS, XML, OpenOffice exports - fixed bug when cross tab cut the text in corner, when corner height greater than column height - [fs] improved script compilation - improved WatchForm TListBox changet to TCheckListBox - improved AddFrom method - copy outline - Improved functional of vertical bands, shows memos placed on H-band which doesn't across VBand, also calculate expression inside it and call events (like in FR2) - Improved unsorted mode in crosstab(join same columns correctly) - Improved converter from Report Builder - Improved TfrxDesigner.OnInsertObject, should call when drag&drop field from data tree - improved DrillDownd mechanism, should work correct with master-detail-subtetail nesting - fixed bug with DownThenAcross in Cross Tab - fixed several bugs under CodeGear RAD Studio (Delphi/C++Builder) 2009 - fixed bug with emf in ODT export - fixed bug with outline when build several composite reports in double pass mode - fixed bug when group doesn't fit on the whole page - fixed "Page" and "Line" variables inside vertical bands - fixed bug with using KeepHeader in some cases - fixed bug with displacement of subreport when use PrintOnParent property in some cases - fixed small memory leak in subreports - fixed problem with PageFooter and ReportSymmary when use PrintOnPreviousPage property - fixed bug when designer shows commented functions in object inspector - fixed bug when designer place function in commented text block - fixed bug when Engine try to split non-stretcheable view and gone to endless loop - fixed bug with HTML tags in memo when use shot text and WordWrap - [enterprise] fixed bug with variables lost on refresh/export - fixed bug whih PDF,ODT export in Delphi4 and CBuilder4 - fixed bug with some codepage which use two bytes for special symbols (Japanese ans Chinese codepages) - fixed bug when engine delete first space from text in split Memo - fixed bug in multi-column page when band overlap stretched PageHeader - fixed bug with using ReprintOnNewPage version 4.7 --------------- + CodeGear RAD Studio (Delphi/C++Builder) 2009 support + [enterprise] enchanced error description in logs + added properties TfrxHTMLExport.HTMLDocumentBegin: TStrings, TfrxHTMLExport.HTMLDocumentBody: TStrings, TfrxHTMLExport.HTMLDocumentEnd: TStrings + improved RTF export (with line spacing, vertical gap etc) + added support of Enhanced Metafile (EMF) images in Rich Text (RTF), Open Office (ODS), Excel (XLS) exports + added OnAfterScriptCompile event + added onLoadRecentFile Event + added C++ Builder demos + added hot-key Ctrl + mouseWheel - Change scale in designer + added TfrxMemoView.AnsiText property - fixed bug in RTF export with EMF pictures in OpenOffice Writer - fixed some multi-thread isuues in engine, PDF, ODF exports - [enterprise] fixed integrated template of report navigator - [enterprise] fixed bug with export in Internet Explorer browser - fixed bug with font size of dot-matix reports in Excel and XML exports - fixed bug in e-mail export with many addresses - fixed bug in XLS export (with fast export unchecked and image object is null) - [enterprise] fixed bug in TfrxReportServer.OnGetVariables event - fixed bug in Calcl function - fixed memory leak in Cross editor - fixed progress bar and find dialog bug in DualView - fixed bug in PostNET and ean13 barcodes - fixed bug with TruncOutboundText in Dot Matrix report - fixed bugs with break points in syntaxis memo - improved BeforeConnect event in ADO - fixed bug in inhehited report with internal dataset - fixed bug in TfrxPanelControl with background color(Delphi 2005 and above) version 4.6 --------------- + added & , < , > to XML reader + added tag, the text concluded in tag is not broken by WordWrap, it move entirely + added ability to move band without objects (Alt + Move) + added ability to output pages in the preview from right to left ("many pages" mode), for RTL languages(PreviewOptions.RTLPreview) + added ability to storing picture cache in "temp" file (PreviewOptions.PictureCacheInFile) + added EngineOptions.UseGlobalDataSetList (added for multi-thread applications) - set it to False if you don't want use Global DataSet list(use Report.EnabledDataSet.Add() to add dataset in local list) + added new property Hint for all printed objects, hints at the dialog objects now shows in StatusBar + added new property TfrxDBLookupComboBox.AutoOpenDataSet (automatically opens the attached dataset after onActivate event) + added new property TfrxReportPage.PageCount like TfrxDataBand.RowCount + added new property WordWrap for dialog buttons (Delphi 7 and above). + added sort by name to data tree + added TfrxDesigner.TemplatesExt property + added TfrxStyles class in script rtti + changes in the Chart editor: ability to change the name of the series, ability to move created series, other small changes + [enterprise] added configurations values refresh in run-time + [enterprise] added new demo \Demos\ClientServer\ISAPI + [enterprise] added output to server printers from user browser (see config.xml "AllowPrint", set to "no" by default), note: experimental feature + [enterprise] added reports list refresh in run-time + [enterprise] added templates feature + [enterprise] improved speed and stability + [fs] added TfsScript.IncludePath property + [fs] added TfsScript.UseClassLateBinding property + [fs] fixed type casting from variant(string) to integer/float - changes in report inherit: FR get relative path from current loaded report(old reports based on application path works too) - corrected module for converting reports from Report Builder - fixed bug in CrossTab when set charset different from DEFAULT_CHARSET - fixed bug in RTF export with some TfrxRichView objects - fixed bug when print on landscape orientation with custom paper size - fixed bug when use network path for parent report - fixed bug with Band.Allowslit = True and ColumnFooter - fixed bug with drawing subreport on stretched band - fixed bug with embedded fonts in PDF export - fixed bug with long ReportTitle + Header + MaterData.KeepHeader = true - fixed bug with minimizing of Modal designer in BDS2005 and above - fixed bug with paths in HTML export - fixed bug with RTL in PDF export - fixed bug with SubReport in multi column page - fixed bug with Subreport.PrintOnParent = true in inherited report - fixed bug with SYMBOL_CHARSET in PDF export - fixed bug with the addition of datasets by inheritance report - fixed bug with width calculation when use HTML tags in memo - fixed compatibility with WideStrings module in BDS2006/2007 - fixed flicking in preview when use OnClickObject event - fixed free space calculation when use PrintOnPreviousPage - fixed preview bug with winXP themes and in last update - fixed subreports inherit - Thumbnail and Outline shows at right side for RTL languages - [fs] fixed bug with late binding version 4.5 --------------- + added ConverterRB2FR.pas unit for converting reports from Report Builder to Fast Report + added ConverterQR2FR.pas unit for converting reports from QuickReport to FastReport + added support of multiple attachments in e-mail export (html with images as example) + added support of unicode (UTF-8) in e-mail export + added ability to change templates path in designer + added OnReportPrint script event + added PNG support in all version (start from Basic) + added TfrxDMPMemoView.TruncOutboundText property - truncate outbound text in matrix report when WordWrap=false + added new frames styles fsAltDot and fsSquare + added new event OnPreviewDblClick in all TfrxView components + added ability to call dialogs event after report run when set DestroyForms = false + added ability to change AllowExpressions and HideZeros properties in cross Cells (default=false) + added IgnoreDupParams property to DB components + added auto open dataset in TfrxDBLookupComboBox + added new property TfrxADOQuery.LockType + added define DB_CAT (frx.inc) for grouping DB components + added TfrxPictureView.HightQuality property(draw picture in preview with hight quality, but slow down drawing procedure) + [FRViewer] added comandline options "/print filename" and "/silent_print filename" + added unicode input support in RichEditor + added new define HOOK_WNDPROC_FOR_UNICODE (frx.inc) - set hook on GetMessage function for unicode input support in D4-D7/BCB4-BCB6 + added ability chose path to FIB packages in "Recompile Wizard" + added new function TfrxPreview.GetTopPosition, return a position on current preview page + added new hot-keys to Code Editor - Ctrl+Del delete the word before cursor, Ctrl+BackSpace delete the word after cursor(as in Delhi IDE) + added "MDI Designer" example - all language resources moved to UTF8, XML - fixed bug with html tags [sup] and [sub] - fixed width calculation in TfrxMemoView when use HTML tags - fixed bug with suppressRepeated in Vertical bands - fixed bug when designer not restore scrollbars position after undo/redo - fixed visual bug in toolbars when use Windows Vista + XPManifest + Delphi 2006 - fixed bug in CalcHeight when use negative LineSpace - fixed bug in frx2xto30 when import query/table components, added import for TfrDBLookupControl component - fixed bug with Cross and TfrxHeader.ReprintOnNewPage = true - fixed converting from unicode in TfrxMemoView when use non default charset - [fs] fixed bug with "in" operator - fixed bug with aggregate function SUM - fixed bug when use unicode string with [TotalPages#] in TfrxMemoView - fixed bug with TSQLTimeStampField field type - fixed designer dock-panels("Object Inspector", "Report Tree", "Data Tree") when use designer as MDI or use several non-modal designer windows - fixed bug with hide/show dock-panels("Object Inspector", "Report Tree", "Data Tree"), now it restore size after hiding - fixed bug in XML/XLS export - wrong encode numbers in memo after CR/LF - fiexd bug in RTF export - fixed bug with undo/redo commands in previewPages designer - fixed bug with SuppressRepeated when use KeepTogether in group - fixed bug with SuppressRepeated on new page all events fired twice(use Engine.SecondScriptcall to determinate it) version 4.4 --------------- + added support for CodeGear RAD Studio 2007 + improved speed of PDF, HTML, RTF, XML, ODS, ODT exports + added TfrxReportPage.BackPictureVisible, BackPicturePrintable properties + added rtti for the TfrxCrossView.CellFunctions property + added properties TfrxPDFExport.Keywords, TfrxPDFExport.Producer, TfrxPDFExport.HideToolbar, TfrxPDFExport.HideMenubar, TfrxPDFExport.HideWindowUI, TfrxPDFExport.FitWindow, TfrxPDFExport.CenterWindow, TfrxPDFExport.PrintScaling + added ability recompile frxFIB packages in "recompile wizard" + added ability to set color property for all teechart series which support it + added, setting frame style for each frame line in style editor + added TfrxPreview.Locked property and TfrxPreview.DblClick event + added 'invalid password' exception when load report without crypt + added new parameter to InheritFromTemplate (by default = imDefault) imDefault - show Error dialog, imDelete - delete duplicates, imRename - rename duplicates + added property TfrxRTFExport.AutoSize (default is "False") for set vertical autosize in table cells * redesigned dialog window of PDF export * improved WYSIWYG in PDF export - fixed bug, the PageFooter band overlap the ReportSummary band when use EndlessHeight - fixed bug with lage paper height in preview - fixed bug with outline and encryption in PDF export - fixed bug with solid arrows in PDF export - fixed bug when print TfrxHeader on a new page if ReprintOnNewPage = true and KeepFooter = True - fixed bug when used AllowSplit and TfrxGroupHeader.KeepTogether - fixed page numbers when print dotMatrix report without dialog - fixed bug with EndlessHeight in multi-columns report - fixed font dialog in rich editor - [fs] fixed bug when create TWideStrings in script code - fixed bug with dialog form when set TfrxButtonControl.Default property to True - fixed twice duplicate name error in PreviewPages designer when copy - past object - fixed bug with Preview.Clear and ZmWholePage mode - fixed bug with using "outline" together "embedded fonts" options in PDF export - fixed multi-thread bug in PDF export - fixed bug with solid fill of transparent rectangle shape in PDF export - fixed bug with export OEM_CODEPAGE in RTF, Excel exports - fixed bug with vertical size of single page in RTF export - fixed bug with vertical arrows in PDF export - fixed memory leak with inherited reports version 4.3 --------------- + added support for C++Builder 2007 + added encryption in PDF export + added TeeChart Pro 8 support + added support of OEM code page in PDF export + added TfrxReport.CaseSensitiveExpressions property + added "OverwritePrompt" property in all export components + improved RTF export (WYSIWYG) + added support of thai and vietnamese charsets in PDF export + added support of arrows in PDF export * at inheritance of the report the script from the report of an ancestor is added to the current report (as comments) * some changes in PDF export core - fixed bug with number formats in Open Document Spreadsheet export - fixed bug when input text in number property(Object Inspector) and close Designer(without apply changes) - fixed bug in TfrxDBDataset with reCurrent - fixed bug with memory leak in export of empty outline in PDF format - line# fix (bug with subreports) - fixed bug with edit prepared report with rich object - fixed bug with shadows in PDF export - fixed bug with arrows in designer - fixed bug with margins in HTML, RTF, XLS, XML exports - fixed bug with arrows in exports - fixed bug with printers enumeration in designer (list index of bound) - fixed papersize bug in inherited reports version 4.2 --------------- + added support for CodeGear Delphi 2007 + added export of html tags in RTF format + improved split of the rich object + improved split of the memo object + added TfrxReportPage.ResetPageNumbers property + added support of underlines property in PDF export * export of the memos formatted as fkNumeric to float in ODS export - fixed bug keeptogether with aggregates - fixed bug with double-line draw in RTF export - fix multi-thread problem in PDF export - fixed bug with the shading of the paragraph in RTF export when external rich-text was inserted - fixed bug with unicode in xml/xls export - fixed bug in the crop of page in BMP, TIFF, Jpeg, Gif - "scale" printmode fixed - group & userdataset bugfix - fixed cross-tab pagination error - fixed bug with round brackets in PDF export - fixed bug with gray to black colors in RTF export - fixed outline with page.endlessheight - fixed SuppressRepeated & new page - fixed bug with long time export in text format - fixed bug with page range and outline in PDF export - fixed undo in code window - fixed error when call DesignReport twice - fixed unicode in the cross object - fixed designreportinpanel with dialog forms - fixed paste of DMPCommand object - fixed bug with the export of null images - fixed code completion bug - fixed column footer & report summary problem version 4.1 --------------- + added ability to show designer inside panel (TfrxReport.DesignReportInPanel method). See new demo Demos\EmbedDesigner + added TeeChart7 Std support + [server] added "User" parameter in TfrxReportServer.OnGetReport, TfrxReportServer.OnGetVariables and TfrxReportServer.OnAfterBuildReport events + added Cross.KeepTogether property + added TfrxReport.PreviewOptions.PagesInCache property - barcode fix (export w/o preview bug) - fixed bug in preview (AV with zoommode = zmWholePage) - fixed bug with outline + drilldown - fixed datasets in inherited report - [install] fixed bug with library path set up in BDS/Turbo C++ Builder installation - fixed pagefooter position if page.EndlessWidth is true - fixed shift bug - fixed design-time inheritance (folder issues) - fixed chm help file path - fixed embedded fonts in PDF - fixed preview buttons - fixed bug with syntax highlight - fixed bug with print scale mode - fixed bug with control.Hint - fixed edit preview page - fixed memory leak in cross-tab version 4.0 initial release --------------------- Report Designer: - new XP-style interface - the "Data" tab with all report datasets - ability to draw diagrams in the "Data" tab - code completion (Ctrl+Space) - breakpoints - watches - report templates - local guidelines (appears when you move or resize an object) - ability to work in non-modal mode, mdi child mode Report Preview: - thumbnails Print: - split a big page to several small pages - print several small pages on one big - print a page on a specified sheet (with scale) - duplex handling from print dialogue - print copy name on each printed copy (for example, "First copy", "Second copy") Report Core: - "endless page" mode - images handling, increased speed - the "Reset page numbers" mode for groups - reports crypting (Rijndael algorithm) - report inheritance (both file-based and dfm-based) - drill-down groups - frxGlobalVariables object - "cross-tab" object enhancements: - improved cells appearance - cross elements visible in the designer - fill corner (ShowCorner property) - side-by-side crosstabs (NextCross property) - join cells with the same value (JoinEqualCells property) - join the same string values in a cell (AllowDuplicates property) - ability to put an external object inside cross-tab - AddWidth, AddHeight properties to increase width&height of the cell - AutoSize property, ability to resize cells manually - line object can have arrows - added TfrxPictureView.FileLink property (can contain variable or a file name) - separate settings for each frame line (properties Frame.LeftLine, TopLine, RightLine, BottomLine can be set in the object inspector) - PNG images support (uncomment {$DEFINE PNG} in the frx.inc file) - Open Document Format for Office Applications (OASIS) exports, spreadsheet (ods) and text (odt) Enterprise components: - Users/Groups security support (see a demo application Demos\ClientServer\UserManager) - Templates support - Dynamically refresh of configuration, users/groups D2010以上版本(D14_D19)安装必读 delphi2010以上版本(D14_D19)使用者安装时,请将res\frccD14_D19.exe更名名为frcc.exe frccD14_D19.exe是专门的delphi2010以上版本(D14_D19)编码器。其他低delphi版本,请使用frcc.exe
KDevelop User Manual

1 WhatThis ManualContains
2 Getting Startedwith KDevelop — a GuidedTour 3
2.1 AVeryFirstLook at KDevelop . . . . . . . . . . . . . . . . . . . 4
2.1.1 OntheSurface . . . . . . . . . . . . . . . . . . . . . . . . 4
2.1.2 HowtoGetSomeHelp . . . . . . . . . . . . . . . . . . . 5
2.1.3 Whatis inthemenus? . . . . . . . . . . . . . . . . . . . . 6
2.1.4 Whatarethosetool viewsfor? . . . . . . . . . . . . . . . 8
2.2 ABit of Configuration . . . . . . . . . . . . . . . . . . . . . . . . 10
2.2.1 SomeGeneralSettings . . . . . . . . . . . . . . . . . . . . 10
2.2.2 InitializingDocumentation Search Indexes . . . . . . . . 12
2.3 StartingaNewProject . . . . . . . . . . . . . . . . . . . . . . . . 14
2.3.1 HowtoCreatea New Project . . . . . . . . . . . . . . . . 15
2.3.2 Initial ProjectFiles . . . . . . . . . . . . . . . . . . . . . . 17
2.3.2.1 CopyrightIssues . . . . . . . . . . . . . . . . . . 18
2.3.2.2 InitialSource Files . . . . . . . . . . . . . . . . . 19
2.3.2.3 InitialApplication Documentation . . . . . . . 20
2.3.2.4 Projectand Auxiliary Files . . . . . . . . . . . . 20
2.3.3 Additional Tool Views . . . . . . . . . . . . . . . . . . . . 21
2.3.3.1 Navigation andSelection Tools(leftside) . . . . 22
2.3.3.2 Messages(bottom) . . . . . . . . . . . . . . . . . 22
2.3.3.3 SourceManagement(rightside) . . . . . . . . . 22
2.4 SomeTipsAboutDealingWithDocuments . . . . . . . . . . . . 23
2.4.1 SwitchingBetween HeaderandImplementation Files . . 23
2.4.2 HowtoAccess Declarationsand Definitions . . . . . . . 24

KDevelopUserManual
2.4.2.1 ExternalDeclarations and Definitions . . . . . . 25
2.4.2.2 ProjectInternal Declarations andDefinitions . . 26
2.4.3 ArrangingEditor Windows . . . . . . . . . . . . . . . . . 29
2.4.3.1 CleaninguptheTabsRow . . . . . . . . . . . . 29
2.4.3.2 HowtoRearrange EditWindowTabs . . . . . . 30
2.4.3.3 ViewingSeveral FilesSimultaneously . . . . . . 31
2.4.3.4 EditC++SourceandHeaderFilesSimultaneously 32
2.4.3.5 GroupingSourceFilesIntoDevelopmentSessions 34
2.4.4 Keeping anEye onCommonProblems . . . . . . . . . . 36
2.5 How toCompileaProject . . . . . . . . . . . . . . . . . . . . . . 38
2.5.1 The BasicBuild Cycle . . . . . . . . . . . . . . . . . . . . 39
2.5.1.1 Initialize the Projectfor theBuild . . . . . . . . 39
2.5.1.2 InitialHello Configuration . . . . . . . . . . . . 41
2.5.1.3 Build the Project . . . . . . . . . . . . . . . . . . 43
2.5.1.4 RuntheApplication . . . . . . . . . . . . . . . . 44
2.5.2 Configuring the Project . . . . . . . . . . . . . . . . . . . 45
2.5.2.1 Build Configurations . . . . . . . . . . . . . . . 45
2.5.2.2 ProjectConfigureOptions . . . . . . . . . . . . 47
2.5.2.2.1 General ConfigurationSettings . . . . 49
2.5.2.2.2 Compiler Specific Settings . . . . . . . 49
2.5.2.3 HowMake ShouldBuild the Program . . . . . 51
2.5.2.4 HowtoRun the Executable . . . . . . . . . . . . 52
2.6 How toExtendaProject—the Automake Manager . . . . . . . 54
2.6.1 AShortLookat the AutomakeMachinery . . . . . . . . 55
2.6.2 HowtoPlace Icons inaSeparateDirectory . . . . . . . . 55
2.6.3 HowtoAdd New Classes . . . . . . . . . . . . . . . . . . 55
2.6.4 Whatis ina Subproject? . . . . . . . . . . . . . . . . . . . 55
2.6.4.1 Concentrate onYour Work — the Active Target 55
2.6.5 SomeSteps to Restructure aProject . . . . . . . . . . . . 55
2.7 How toDebug . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
2.8 ANoteonYourProject Documentation . . . . . . . . . . . . . . 55
2.9 LastBut NotLeast,KeyboardShortcuts . . . . . . . . . . . . . . 56
2.10 Wheretogofromhere . . . . . . . . . . . . . . . . . . . . . . . . 56
2.10.1 Frequently EncounteredProblems . . . . . . . . . . . . . 56
2.10.2 WorkingWithProjects . . . . . . . . . . . . . . . . . . . . 56
2.10.2.1 UsingExistingKDevelop Projects . . . . . . . . 56
2.10.2.2 Importing ExternalProjects . . . . . . . . . . . 57
4

KDevelopUserManual
3 OverviewofKDevelopFeatures 58
3.1 AvailableUserInterface Modes . . . . . . . . . . . . . . . . . . . 59
3.1.1 HowtoSwitch User Interface Modes . . . . . . . . . . . 60
3.1.2 HowtoMaximizetheWorkSpaceArea . . . . . . . . . . 60
3.2 ElementsoftheUser Interface . . . . . . . . . . . . . . . . . . . . 61
3.2.1 The Workarea . . . . . . . . . . . . . . . . . . . . . . . . . 61
3.2.2 The KDevelop Titlebar . . . . . . . . . . . . . . . . . . . . 61
3.2.3 The KDevelop Statusbar . . . . . . . . . . . . . . . . . . . 61
3.2.4 The menubar . . . . . . . . . . . . . . . . . . . . . . . . . 61
3.2.5 The Toolbars . . . . . . . . . . . . . . . . . . . . . . . . . . 61
3.2.6 The Tree Tool Views . . . . . . . . . . . . . . . . . . . . . 61
3.2.7 The OutputToolViews . . . . . . . . . . . . . . . . . . . 62
3.3 ProjectManagementSystems . . . . . . . . . . . . . . . . . . . . 62
3.3.1 AutomakeProjects . . . . . . . . . . . . . . . . . . . . . . 62
3.3.2 QMake Projects . . . . . . . . . . . . . . . . . . . . . . . . 62
3.3.3 CMake Projects . . . . . . . . . . . . . . . . . . . . . . . . 62
TM
3.3.4 ANT Projects (Java Projects) . . . . . . . . . . . . . . . 63
3.3.5 CustomProjects . . . . . . . . . . . . . . . . . . . . . . . . 63
3.3.6 HowtoDistributeYour Application . . . . . . . . . . . . 63
4 ConfiguringKDevelop 64
4.1 GeneralConfiguration . . . . . . . . . . . . . . . . . . . . . . . . 66
4.1.1 General Setup . . . . . . . . . . . . . . . . . . . . . . . . . 66
4.1.2 Selectingthe UserInterface . . . . . . . . . . . . . . . . . 70
4.1.3 File Templates . . . . . . . . . . . . . . . . . . . . . . . . . 75
4.1.4 Selectingan Editor . . . . . . . . . . . . . . . . . . . . . . 75
4.1.5 Abbreviations for the WordCompletion . . . . . . . . . . 77
4.1.6 Scripting . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
4.1.7 AddingKDEStandardApplications totheTools Menu . 77
4.1.8 AddingExternal Applicationsto Menus . . . . . . . . . . 77
4.1.8.1 Adding to the ToolsMenu . . . . . . . . . . . . 77
4.1.8.2 Adding to the File Context Menu . . . . . . . . 77
4.1.8.3 Adding to the Directory Context Menu . . . . . 77
4.1.9 SelectingaSourceFormat Style . . . . . . . . . . . . . . . 77
5

KDevelopUserManual
4.1.9.1 General Formatting Setup . . . . . . . . . . . . 78
4.1.9.2 IndentationStyleSetup . . . . . . . . . . . . . . 79
4.1.9.3 Other FormattingSetup . . . . . . . . . . . . . . 82
4.1.10 SettingUptheCode SnippetsTool . . . . . . . . . . . . . 84
4.1.11 File List . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
4.1.12 Configuring the File Selector . . . . . . . . . . . . . . . . 85
4.1.13 C++ ClassGenerator . . . . . . . . . . . . . . . . . . . . . 89
4.1.14 Formatting . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
4.1.15 C++ Parsing . . . . . . . . . . . . . . . . . . . . . . . . . . 89
4.2 ConfiguringtheDocumentation . . . . . . . . . . . . . . . . . . . 89
4.2.1 SettingUpDocumentation Collections . . . . . . . . . . 91
4.2.1.1 CommonDocumentation Setup Structure . . . 92
TM
4.2.1.2 Qt DocumentationCollections . . . . . . . . 93
4.2.1.3 SettingUptheCHMDocumentation Collection 95
4.2.1.4 Documentation Generatedby Doxygen . . . . . 95
4.2.1.5 Handling Structured Documentation (KDevel-
opTOC Files) . . . . . . . . . . . . . . . . . . . . 98
4.2.1.6 KDevelop TOC Files . . . . . . . . . . . . . . . . 100
4.2.1.7 DevHelpDocumentation . . . . . . . . . . . . . 101
4.2.1.8 SettingUpCustom DocumentationCollections 102
4.2.2 SettingUpTextSearch Indexes . . . . . . . . . . . . . . . 103
4.2.3 OtherDocumentationConfiguration Settings . . . . . . . 104
4.3 AdvancedConfiguration . . . . . . . . . . . . . . . . . . . . . . . 104
4.3.1 PluginTools . . . . . . . . . . . . . . . . . . . . . . . . . . 104
5 Getting Started—theApplicationWizard 105
5.1 New Projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
5.1.1 Initial Steps . . . . . . . . . . . . . . . . . . . . . . . . . . 106
5.1.1.1 SelectProgrammingLanguageandApplication
107
Type . . . . . . . . . . . . . . . . . . . . . . . . .
5.1.1.2 Provide General Information . . . . . . . . . . . 108
5.1.2 Supply Version SystemInformation . . . . . . . . . . . . 111
5.1.3 Supply Header/SourceTemplates . . . . . . . . . . . . . 115
5.1.3.1 HowtoEdit the Templates . . . . . . . . . . . . 116
5.1.4 Build the InitialProjectFiles . . . . . . . . . . . . . . . . . 118
5.2 ConfiguringProjects . . . . . . . . . . . . . . . . . . . . . . . . . 119
6

KDevelopUserManual
6 EditingTools 120
6.1 CodeSnippets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
6.2 KeyboardMapping . . . . . . . . . . . . . . . . . . . . . . . . . . 120
6.3 TheProblemReporter . . . . . . . . . . . . . . . . . . . . . . . . 121
6.4 SearchingandGrepping . . . . . . . . . . . . . . . . . . . . . . . 121
6.4.1 SearchingforText . . . . . . . . . . . . . . . . . . . . . . . 121
6.4.2 ISearch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
6.4.3 Grep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
6.5 CodeCompletion . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
6.6 Creating New Filesand Classes . . . . . . . . . . . . . . . . . . . 123
6.6.1 EditingtheTemplates . . . . . . . . . . . . . . . . . . . . 123
7 TheFile Browsers 124
8 TheClassBrowsers 126
8.1 Class View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
8.2 Class Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
8.3 Class Hierarchy . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
9 Documentation 129
9.1 TheDocumentation Browser . . . . . . . . . . . . . . . . . . . . 129
10 Buildingand ProjectManagement 131
10.1 Summary of Automake Manager . . . . . . . . . . . . . . . . . . 131
10.1.1 The Needfor an Automated BuildSystem . . . . . . . . 132
10.1.2 Tutorials on Autoconf/Automake/Libtool . . . . . . . . 133
10.1.3 WhatdoesAutomake ManagerDo? . . . . . . . . . . . . 133
10.1.4 SummaryofWhatAutomakeManagerDoes . . . . . . . 135
10.1.5 ContentsofAutomake Files . . . . . . . . . . . . . . . . . 135
10.2 AutomakeManagerOperation . . . . . . . . . . . . . . . . . . . 136
10.2.1 The Automake Manager Window . . . . . . . . . . . . . 137
10.2.2 The OverallViewWindow . . . . . . . . . . . . . . . . . 139
10.2.3 The Detail View Window . . . . . . . . . . . . . . . . . . 139
10.2.3.1 Targets . . . . . . . . . . . . . . . . . . . . . . . 140
10.2.4 Navigatingin the Automake Manager . . . . . . . . . . . 140
10.2.5 Popup Menusin the AutomakeManager . . . . . . . . . 141
7

KDevelopUserManual
10.2.5.1 The PopupMenuforaFile . . . . . . . . . . . . 141
10.2.5.2 The PopupMenuforaTarget . . . . . . . . . . 142
10.2.5.3 The PopupMenuforaSubproject . . . . . . . . 143
10.3 AutomakeProjects . . . . . . . . . . . . . . . . . . . . . . . . . . 145
10.3.1 Autoconf . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
10.3.2 Automake . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
10.3.3 KDevelop’sAutomakeManager . . . . . . . . . . . . . . 145
10.3.4 BuildingandInstalling Libraries . . . . . . . . . . . . . . 145
10.4 Custom Makefiles and Build Scripts . . . . . . . . . . . . . . . . 147
10.5 Compiler Options . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
10.6 MakeOptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
11 AdvancedBuild Management 148
11.1 MultipleBuildConfigurations . . . . . . . . . . . . . . . . . . . . 148
11.2 Cross-Compiling . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
11.3 Qt/Embedded . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
12 TheDebugger Interface 150
12.1 SettingBreakpoints . . . . . . . . . . . . . . . . . . . . . . . . . . 152
12.2 Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
13 UsingCVS 153
13.1 CVSBasics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
13.2 CVSCommandsinKDevelop . . . . . . . . . . . . . . . . . . . . 154
13.3 Behind the Scenes . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
13.3.1 WhatCVS Recordsin theWorkingDirectory . . . . . . . 154
14 Credits 155
14.1 Contributions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
A Installing KDevelop 156
A.1 How toObtain KDevelop . . . . . . . . . . . . . . . . . . . . . . 156
A.1.1 GetDailyKDevelop Snapshots from svn . . . . . . . . . 156
A.1.1.1 Initialsvn Checkout . . . . . . . . . . . . . . . . 157
A.1.1.2 KeepingYour svnCopyuptoDate . . . . . . . 157
A.2 KDevelop Requirements . . . . . . . . . . . . . . . . . . . . . . . 158
8

KDevelopUserManual
A.3 KDevelop CompilationandInstallation . . . . . . . . . . . . . . 159
A.3.1 Preliminary Steps . . . . . . . . . . . . . . . . . . . . . . . 160
A.3.1.1 SettingtheEnvironmentfor thebash Shell . . . 160
A.3.1.2 SettingtheEnvironmentfor thetcsh Shell . . . 160
A.3.2 CompileKDevelop . . . . . . . . . . . . . . . . . . . . . . 160
A.3.2.1 Special svn CompilationConsiderations . . . . 161
A.3.2.2 Basic makeCommand Sequence . . . . . . . . . 161
A.3.3 Some Notes onconfigureOptions . . . . . . . . . . . . . 163
A.3.3.1 Non-defaultInstallationDirectory . . . . . . . . 163
A.4 How toObtain aKDevelopAPIDocumentation . . . . . . . . . 164
B In aNutshell—TipsandTricks 165
C DevelopmentonUNIX 168
C.1 SomeHistoricalRemarks . . . . . . . . . . . . . . . . . . . . . . . 168
C.2 Contemporary Scripting Languages . . . . . . . . . . . . . . . . 169
C.2.1 Perl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
C.2.2 Python . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
C.2.3 PHP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
C.3 Higher-levelScripting . . . . . . . . . . . . . . . . . . . . . . . . 169
C.3.1 The CORBAProtocol . . . . . . . . . . . . . . . . . . . . . 170
C.3.2 The DCOPInterface . . . . . . . . . . . . . . . . . . . . . 170
C.4 BuildSystems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
C.4.1 The MakeProcess . . . . . . . . . . . . . . . . . . . . . . . 171
C.5 GUI Development . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
C.6 IntegratingConceptsandTools –the IDE . . . . . . . . . . . . . 172
C.6.1 BasicFeatures of KDevelop3.3.91 . . . . . . . . . . . . . 173
D ConfigurationFilesUsed byKDevelop 174
D.1 KDevelop Default Configuration . . . . . . . . . . . . . . . . . . 174
D.1.1 DefaultKDevelop Configuration . . . . . . . . . . . . . . 174
D.1.2 ApplicationSpecificDefaults . . . . . . . . . . . . . . . . 175
D.2 UserOrientedConfiguration . . . . . . . . . . . . . . . . . . . . 179
D.2.1 ApplicationSpecificConfiguration . . . . . . . . . . . . . 179
D.2.2 ResourceConfigurationFiles . . . . . . . . . . . . . . . . 181
D.3 ProjectDependentConfiguration . . . . . . . . . . . . . . . . . . 183
D.3.1 PersistentCode StoreFiles . . . . . . . . . . . . . . . . . . 183
9

KDevelopUserManual
E Plugin Tools 185
F KDevelopUserInterface Mode Examples 191
F.1 IDEAlMode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
F.2 ChildFrameWindows Mode . . . . . . . . . . . . . . . . . . . . 192
F.3 Tabbed PagesMode . . . . . . . . . . . . . . . . . . . . . . . . . . 193
F.4 ToplevelWindows Mode . . . . . . . . . . . . . . . . . . . . . . . 194
G CommandReference 196
G.1 TheMenubar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
G.1.1 The FileMenu . . . . . . . . . . . . . . . . . . . . . . . . . 196
G.1.2 The EditMenu . . . . . . . . . . . . . . . . . . . . . . . . 197
G.1.3 The ViewMenu . . . . . . . . . . . . . . . . . . . . . . . . 198
G.1.4 The ProjectMenu . . . . . . . . . . . . . . . . . . . . . . . 199
G.1.5 The ProjectMenu . . . . . . . . . . . . . . . . . . . . . . . 199
G.1.6 The ProjectMenu . . . . . . . . . . . . . . . . . . . . . . . 200
G.1.7 The Bookmarks Menu . . . . . . . . . . . . . . . . . . . . 200
G.1.8 The Window Menu . . . . . . . . . . . . . . . . . . . . . . 200
G.1.9 The ToolsMenu . . . . . . . . . . . . . . . . . . . . . . . . 201
G.1.10 The Settings Menu . . . . . . . . . . . . . . . . . . . . . . 202
G.1.11 The Help Menu . . . . . . . . . . . . . . . . . . . . . . . . 202
H FurtherInformation 203
H.1 GettingInformation . . . . . . . . . . . . . . . . . . . . . . . . . . 203
H.2 ReportingBugs . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
H.3 Licensing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
I Changes 204
I.1 ChangestoThis Document . . . . . . . . . . . . . . . . . . . . . 204
J Bibliography 205
J.0.0.0.0.1 Bibliography . . . . . . . . . . . 205
K Index 207

16,203

社区成员

发帖
与我相关
我的任务
社区描述
Qt 是一个跨平台应用程序框架。通过使用 Qt,您可以一次性开发应用程序和用户界面,然后将其部署到多个桌面和嵌入式操作系统,而无需重复编写源代码。
社区管理员
  • Qt
  • 亭台六七座
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧