【正文】
building graphical user interfaces from Qt widgets. Users can pose and customize widgets or dialogs and test those using different styles and resolutions. Widgets and forms created with Qt Designer are integrated seamlessly with programmed code, using the Qt signals and slots mechanism, which lets users easily assign behavior to graphical elements. All properties set in Qt Designer can be changed dynamically within the code. Furthermore, features such as widget promotion and custom plugins allow users to use their own widgets with Qt Designer. Qt Designer is used for editing user interface files. It presents users with an intuitive draganddrop interface for posing new user interfaces. The user interfaces that are designed with Qt Designer are fully functional and can be previewed immediately to ensure that the design is as intended. There is no need to repile the entire project to test out a new design. Coding Writing, editing and navigating in source code are core tasks in application development. Therefore, the code editor is one of the key ponents of Qt Creator. The code editor can be used in the Edit mode to write code. he code editor offers a number of features that help developers maintain readability and coding style: ? Syntax highlighting for keywords, symbols, and macros in C++ files. In addition, generic highlighting is supported for other types of files. ? Code pletion for elements, properties, ids and code snippets. This is also supported for developers’ own classes in the current project. ? Checking code syntax and marking errors (with wavy underlining in red) while editing, making it unnecessary to use pilation simply as a way to find typos and syntax errors. ? Autoindentation for source code layout. ? The ability to collapse and expand functions in the source code (code folding). ? The Locator navigation tool for quick access to files, symbols, hierarchy, and other information. ? Support for refactoring code to improve the internal quality or your application, its performance and extendibility, and code readability and maintainability, as well as to simplify code structure. In addition to these features, the code editor has other useful features, such as: ? Incremental search that highlights the matching strings in the window while typing. Advanced search allows you to search from currently open projects or files on the file system. In addition, you can search for symbols when you want to refactor code. 6 ? Line numbering and current line highlighting. ? Easy menting and unmenting of code. ? Quick switching between method definition and function declaration. ? Bookmarks for easier navigation in the code. The code editor supports different keyboard shortcuts for faster editing. It is possible to work without using the mouse at all, allowing developers to keep their hands on the keyboard and work more productively. Building for Multiple Targets Qt Creator provides support for building and running Qt applications for desktop environments (Windows, Linux, and Mac OS) and mobile devices (Symbian, MeeGo, Maemo). Qt Creator allows developers to specify separate build settings for each development platform and to quickly switch between build targets. By default, shadow builds are used to keep the build specific files separate from the source. Developers can create separate versions of project files to keep platformdependent code separate. They can use qmake scopes to select the file to process depending on which platform qmake is run on. As well as providing support for qmake, Qt’s own build tool, Qt Creator also es with support for CMake [], a popular alternative. CMake is a crosspl