Qt 4.0: Qt Designer Manual

|  | Home · All Classes · Main Classes · Grouped Classes · Modules · Functions |

[Next: Getting Started with Qt Designer]

# Qt Designer Manual

Qt Designer is Trolltech's tool for designing and building graphical user interfaces (GUIs) from Qt components. It allows you to design and build widgets and dialogs using on-screen forms using the same widgets that will be used in your application. Components created with Qt Designer can also take advantage of Qt's signals and slots, and they can be previewed so that you can ensure that they will look and feel exactly as you intended.

## Using Qt Designer

- Getting Started with Qt Designer
  - Launching Designer
  - The User Interface
- Designing a Component with Qt Designer
  - Creating a Dialog
  - Composing the Dialog
  - Creating a Layout
  - Signal and Slot Connections
- Qt Designer's Form Editing Mode
  - Managing Forms
  - Editing a Form
  - The Property Editor
  - The Object Inspector
  - Layouts
  - Applying and Breaking Layouts
  - Horizontal and Vertical Layouts
  - The Grid Layout
  - Previewing Forms
- Using Containers in Qt Designer
  - General Features
  - Frames
  - Group Boxes
  - Stacked Widgets
  - Tab Widgets
  - Toolbox Widgets
- Editing Signals and Slots
  - Connecting Objects
  - Editing and Deleting Connections
- Qt Designer's Buddy Editing Mode
  - Linking Labels to Buddy Widgets
  - Removing Buddy Connections
- Qt Designer's Tab Order Mode
  - Setting the Tab Order
- Editing Resources with Qt Designer
  - The Resource Editor
- Using Custom Widgets with Qt Designer
  - Handling Custom Widgets
  - Promoting Widgets
  - User Defined Custom Widgets

## Using Forms and Components

- Using a Component in Your Application
  - The Direct Approach
  - The Single Inheritance Approach
  - The Multiple Inheritance Approach
  - Automatic Connections
  - A Dialog Without Auto-Connect
  - A Dialog With Auto-Connect
- Creating Custom Widgets for Qt Designer
  - Getting Started
  - Providing an Interface Description
  - Building The Plugin
  - Related Examples

## Figures and Hints

- Qt Designer's main window
- Qt Designer's widget box
- Choosing a form
- Editing modes
- Adding widgets to a form
- The Property Editor
- Placing widgets in layouts
- Connecting widgets
- Previewing a form
- Selecting objects
- Drag and drop
- Editing properties
- The Object Inspector
- Inserting objects into a layout
- Highlighted objects
- Making a connection
- Choosing signals and slots
- Connecting to a form
- Deleting connections
- Making Buddies

[Next: Getting Started with Qt Designer]