[556] | 1 | /****************************************************************************
|
---|
| 2 | **
|
---|
| 3 | ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
---|
| 4 | ** All rights reserved.
|
---|
| 5 | ** Contact: Nokia Corporation ([email protected])
|
---|
| 6 | **
|
---|
| 7 | ** This file is part of the documentation of the Qt Toolkit.
|
---|
| 8 | **
|
---|
| 9 | ** $QT_BEGIN_LICENSE:LGPL$
|
---|
| 10 | ** Commercial Usage
|
---|
| 11 | ** Licensees holding valid Qt Commercial licenses may use this file in
|
---|
| 12 | ** accordance with the Qt Commercial License Agreement provided with the
|
---|
| 13 | ** Software or, alternatively, in accordance with the terms contained in
|
---|
| 14 | ** a written agreement between you and Nokia.
|
---|
| 15 | **
|
---|
| 16 | ** GNU Lesser General Public License Usage
|
---|
| 17 | ** Alternatively, this file may be used under the terms of the GNU Lesser
|
---|
| 18 | ** General Public License version 2.1 as published by the Free Software
|
---|
| 19 | ** Foundation and appearing in the file LICENSE.LGPL included in the
|
---|
| 20 | ** packaging of this file. Please review the following information to
|
---|
| 21 | ** ensure the GNU Lesser General Public License version 2.1 requirements
|
---|
| 22 | ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
---|
| 23 | **
|
---|
| 24 | ** In addition, as a special exception, Nokia gives you certain additional
|
---|
| 25 | ** rights. These rights are described in the Nokia Qt LGPL Exception
|
---|
| 26 | ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
---|
| 27 | **
|
---|
| 28 | ** GNU General Public License Usage
|
---|
| 29 | ** Alternatively, this file may be used under the terms of the GNU
|
---|
| 30 | ** General Public License version 3.0 as published by the Free Software
|
---|
| 31 | ** Foundation and appearing in the file LICENSE.GPL included in the
|
---|
| 32 | ** packaging of this file. Please review the following information to
|
---|
| 33 | ** ensure the GNU General Public License version 3.0 requirements will be
|
---|
| 34 | ** met: http://www.gnu.org/copyleft/gpl.html.
|
---|
| 35 | **
|
---|
| 36 | ** If you have questions regarding the use of this file, please contact
|
---|
| 37 | ** Nokia at [email protected].
|
---|
| 38 | ** $QT_END_LICENSE$
|
---|
| 39 | **
|
---|
| 40 | ****************************************************************************/
|
---|
| 41 |
|
---|
| 42 | /*!
|
---|
| 43 | \page qt4-designer.html
|
---|
| 44 |
|
---|
| 45 | \title The New Qt Designer
|
---|
| 46 |
|
---|
| 47 | \contentspage {What's New in Qt 4}{Home}
|
---|
| 48 | \previouspage The Qt 4 Main Window Classes
|
---|
| 49 | \nextpage Cross-Platform Accessibility Support in Qt 4
|
---|
| 50 |
|
---|
| 51 | \QD has been completely re-written based on our experience with
|
---|
| 52 | the previous versions of the product for Qt 3. One of the main new
|
---|
| 53 | ideas behind this new version is to release the application as a
|
---|
| 54 | collection of interchangeable components that include the property
|
---|
| 55 | editor, the widget box, and other useful tools for creating
|
---|
| 56 | graphical user interfaces with Qt. These components can either be
|
---|
| 57 | used together in the \QD application, or independently integrated
|
---|
| 58 | into other systems. As a result, certain features such as the
|
---|
| 59 | project editor and code editor have been removed from the version
|
---|
| 60 | included with this release.
|
---|
| 61 |
|
---|
| 62 | The current version of \QD is near feature complete and can be used for
|
---|
| 63 | many tasks. However, it is still under continuous development. This
|
---|
| 64 | document will explain what is already in place.
|
---|
| 65 |
|
---|
| 66 | See also the \l{Qt Designer Manual}.
|
---|
| 67 |
|
---|
| 68 | \tableofcontents
|
---|
| 69 |
|
---|
| 70 | \section1 The Current State of Qt Designer
|
---|
| 71 |
|
---|
| 72 | When used as a standalone application, \QD includes a number of
|
---|
| 73 | components that work together to provide a flexible GUI design
|
---|
| 74 | tool. Widgets and dialog windows can be composed using a
|
---|
| 75 | form-based interface that fully supports drag and drop, clipboard
|
---|
| 76 | operations, and an undo/redo stack.
|
---|
| 77 |
|
---|
| 78 | This version of \QD introduces a number of editing modes to make
|
---|
| 79 | different types of editing more natural. Each editing mode
|
---|
| 80 | displays the form in an appropriate way for that mode, and
|
---|
| 81 | provides a specialized user interface for manipulating its
|
---|
| 82 | contents. The current editing modes are Widget Editing, Signals
|
---|
| 83 | and Slots Editing, Buddy Editing, and Tab Order Editing.
|
---|
| 84 |
|
---|
| 85 | \section2 User Interface Features
|
---|
| 86 |
|
---|
| 87 | \table
|
---|
| 88 | \row \i \inlineimage designer-main-window.png
|
---|
| 89 | \i \bold{Widget Box}
|
---|
| 90 |
|
---|
| 91 | The Widget Box displays a categorized list of widgets and other
|
---|
| 92 | objects that can be placed on a form using drag and drop.
|
---|
| 93 |
|
---|
| 94 | When \QD is in multi-window mode, the window containing the Widget
|
---|
| |
---|