Редактирование: Qt:Документация 4.3.2/designer-getting-started

Материал из Wiki.crossplatform.ru

Перейти к: навигация, поиск
Внимание: Вы не представились системе. Ваш IP-адрес будет записан в историю изменений этой страницы.
Правка может быть отменена. Пожалуйста, просмотрите сравнение версий, чтобы убедиться, что это именно те изменения, которые вас интересуют, и нажмите «Записать страницу», чтобы изменения вступили в силу.
Текущая версия Ваш текст
Строка 1: Строка 1:
{{Qt4.3.2_header}}
{{Qt4.3.2_header}}
-
[Previous: [[Qt:Документация 4.3.2/designer-manual | Qt Designer Manual]] ] [ [[Qt:Документация 4.3.2/designer-manual | Contents]] ] [Next: [[Qt:Документация 4.3.2/designer-designing-a-component | Designing a Component with Qt Designer]] ]  
+
[Previous: [[Qt:Документация 4.3.2/designer-manual | Qt Designer Manual]]] [ [[Qt:Документация 4.3.2/designer-manual | Contents]] ] [Next: [[Qt:Документация 4.3.2/designer-designing-a-component | Designing a Component with Qt Designer]]]
=Getting Started with Qt Designer<br />=
=Getting Started with Qt Designer<br />=
 +
__TOC__
This manual covers the fundamental steps that most users will take when creating graphical user interfaces with ''Qt Designer''. We will introduce the main features of the tool by creating a simple dialog that we can use in an example program.
This manual covers the fundamental steps that most users will take when creating graphical user interfaces with ''Qt Designer''. We will introduce the main features of the tool by creating a simple dialog that we can use in an example program.
[[Image:designer-getting-started.png|center]]
[[Image:designer-getting-started.png|center]]
-
<div id="launchingdesigner"></div><div id="launching-designer"></div>
+
 
==Launching Designer==
==Launching Designer==
The way that you launch ''Qt Designer'' depends on your platform:
The way that you launch ''Qt Designer'' depends on your platform:
Строка 14: Строка 15:
*On Unix or Linux, you may find a ''Qt Designer'' icon on the desktop background or in the desktop start menu under the ''Programming'' or ''Development'' submenus. You can launch ''Qt Designer'' from this icon. Alternatively, you can enter <tt>designer</tt> in a terminal window.
*On Unix or Linux, you may find a ''Qt Designer'' icon on the desktop background or in the desktop start menu under the ''Programming'' or ''Development'' submenus. You can launch ''Qt Designer'' from this icon. Alternatively, you can enter <tt>designer</tt> in a terminal window.
*On Mac OS X, double click on ''Qt Designer'' in the Finder.
*On Mac OS X, double click on ''Qt Designer'' in the Finder.
-
<div id="theuserinterface"></div><div id="the-user-interface"></div>
+
 
==The User Interface==
==The User Interface==
When used as a standalone application, ''Qt Designer'''s user interface can be configured to provide either a multi-window user interface (the default mode), or it can be used in workbench mode. When used from within an integrated development environment (IDE) only the multi-window user interface is available. To switch modes, open the ''Preferences'' dialog (''Edit'' menu).
When used as a standalone application, ''Qt Designer'''s user interface can be configured to provide either a multi-window user interface (the default mode), or it can be used in workbench mode. When used from within an integrated development environment (IDE) only the multi-window user interface is available. To switch modes, open the ''Preferences'' dialog (''Edit'' menu).
In multi-window mode, you can arrange each of the tool windows to suit your working style. The main window consists of a menu bar, a tool bar, and a widget box that contains the widgets you can use to create your user interface.
In multi-window mode, you can arrange each of the tool windows to suit your working style. The main window consists of a menu bar, a tool bar, and a widget box that contains the widgets you can use to create your user interface.
-
<div id="mainwindow"></div>
+
 
{|  align="center" cellpadding="2" cellspacing="1" border="0"
{|  align="center" cellpadding="2" cellspacing="1" border="0"
Строка 34: Строка 35:
Most features of ''Qt Designer'' are accessible via the menu bar, the tool bar, or the widget box. Some features are also available through context menus that can be opened over the form windows. On most platforms, the right mouse button is used to open context menus.
Most features of ''Qt Designer'' are accessible via the menu bar, the tool bar, or the widget box. Some features are also available through context menus that can be opened over the form windows. On most platforms, the right mouse button is used to open context menus.
-
<div id="widgetbox"></div>
+
 
{|  align="center" cellpadding="2" cellspacing="1" border="0"
{|  align="center" cellpadding="2" cellspacing="1" border="0"
Строка 45: Строка 46:
''Qt Designer'' provides a scratch pad feature that allows you to collect the most commonly used objects in a separate category. This category will be saved for later use when exiting ''Qt Designer''. The scratch pad category can be filled with any widget currently displayed in a form by simply dragging them from the form and dropping them onto the widget box. These widgets can be used in the same way as any other widgets, but in additon they can contain child widgets. Open a context menu over a widget to change its name or remove it from the scratch pad.
''Qt Designer'' provides a scratch pad feature that allows you to collect the most commonly used objects in a separate category. This category will be saved for later use when exiting ''Qt Designer''. The scratch pad category can be filled with any widget currently displayed in a form by simply dragging them from the form and dropping them onto the widget box. These widgets can be used in the same way as any other widgets, but in additon they can contain child widgets. Open a context menu over a widget to change its name or remove it from the scratch pad.
-
 
|}
|}
-
[Previous: [[Qt:Документация 4.3.2/designer-manual | Qt Designer Manual]] ] [ [[Qt:Документация 4.3.2/designer-manual | Contents]] ] [Next: [[Qt:Документация 4.3.2/designer-designing-a-component | Designing a Component with Qt Designer]] ]  
+
[Previous: [[Qt:Документация 4.3.2/designer-manual | Qt Designer Manual]]] [ [[Qt:Документация 4.3.2/designer-manual | Contents]] ] [Next: [[Qt:Документация 4.3.2/designer-designing-a-component | Designing a Component with Qt Designer]]]
{{Qt4.3.2_footer}}
{{Qt4.3.2_footer}}

Пожалуйста, обратите внимание, что все ваши добавления могут быть отредактированы или удалены другими участниками. Если вы не хотите, чтобы кто-либо изменял ваши тексты, не помещайте их сюда.
Вы также подтверждаете, что являетесь автором вносимых дополнений, или скопировали их из источника, допускающего свободное распространение и изменение своего содержимого (см. Wiki.crossplatform.ru:Авторское право). НЕ РАЗМЕЩАЙТЕ БЕЗ РАЗРЕШЕНИЯ ОХРАНЯЕМЫЕ АВТОРСКИМ ПРАВОМ МАТЕРИАЛЫ!


Шаблоны, использованные на текущей версии страницы: