~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to doc/html/designer-whats-new.html

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2009-11-02 18:30:08 UTC
  • mfrom: (1.2.2 upstream)
  • mto: (15.2.5 experimental)
  • mto: This revision was merged to the branch mainline in revision 88.
  • Revision ID: james.westby@ubuntu.com-20091102183008-b6a4gcs128mvfb3m
Tags: upstream-4.6.0~beta1
ImportĀ upstreamĀ versionĀ 4.6.0~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="iso-8859-1"?>
2
 
<!DOCTYPE html
3
 
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
4
 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
 
<!-- /fasttmp/mkdist-qt-4.5.2-1245473805/qt-x11-opensource-src-4.5.2/doc/src/designer-manual.qdoc -->
6
 
<head>
7
 
  <title>Qt 4.5: What's New in Qt Designer 4.5</title>
8
 
  <link rel="contents" href="designer-manual.html" />
9
 
  <link href="classic.css" rel="stylesheet" type="text/css" />
10
 
</head>
11
 
<body>
12
 
<table border="0" cellpadding="0" cellspacing="0" width="100%">
13
 
<tr>
14
 
<td align="left" valign="top" width="32"><a href="http://qtsoftware.com/products/qt"><img src="images/qt-logo.png" align="left" border="0" /></a></td>
15
 
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="namespaces.html"><font color="#004faf">All&nbsp;Namespaces</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="mainclasses.html"><font color="#004faf">Main&nbsp;Classes</font></a>&nbsp;&middot; <a href="groups.html"><font color="#004faf">Grouped&nbsp;Classes</font></a>&nbsp;&middot; <a href="modules.html"><font color="#004faf">Modules</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td>
16
 
<td align="right" valign="top" width="230"></td></tr></table><p>
17
 
[<a href="designer-manual.html">Contents</a>]
18
 
</p>
19
 
<h1 class="title">What's New in Qt Designer 4.5<br /><span class="subtitle"></span>
20
 
</h1>
21
 
<a name="general-changes"></a>
22
 
<h2>General Changes</h2>
23
 
<p><table align="center" cellpadding="2" cellspacing="1" border="0">
24
 
<thead><tr valign="top" class="qt-style"><th>Widget Filter Box</th><th>Widget Morphing</th><th>Disambiguation Field</th></tr></thead>
25
 
<tr valign="top" class="odd"><td><img src="images/designer-widget-filter.png" /></td><td><img src="images/designer-widget-morph.png" /></td><td><img src="images/designer-disambiguation.png" /></td></tr>
26
 
</table></p>
27
 
<ol type="1">
28
 
<li>Displaying only icons in the <b>Widget Box</b>: It is now possible for the <b>Widget Box</b> to display icons only. Simply select <b>Icon View</b> from the context menu.</li>
29
 
<li>Filter for <b>Widget Box</b>: A filter is now provided to quickly locate the widget you need. If you use a particular widget frequently, you can always add it to the <a href="designer-to-know.html#widgetbox">scratch pad</a>.</li>
30
 
<li>Support for <a href="qbuttongroup.html">QButtonGroup</a>: It is available via the context menu of a selection of <a href="qabstractbutton.html">QAbstractButton</a> objects.</li>
31
 
<li>Improved support for item widgets: The item widgets' (e.g&#x2e;, <a href="qlistwidget.html">QListWidget</a>, <a href="qtablewidget.html">QTableWidget</a>, and <a href="qtreewidget.html">QTreeWidget</a>) contents dialogs have been improved. You can now add translation comments and also modify the header properties.</li>
32
 
<li>Widget morphing: A widget can now be morphed from one type to another with its layout and properties preserved. To begin, click on your widget and select <b>Morph into</b> from the context menu.</li>
33
 
<li>Disambiguation field: The property editor now shows this extra field under the <b>accessibleDescription</b> property. This field has been introduced to aid translators in the case of two source texts being the same but used for different purposes. For example, a dialog could have two <b>Add</b> buttons for two different reasons. <b>Note:</b> To maintain compatibility, comments in <tt>.ui</tt> files created prior to Qt 4.5 will be listed in the <b>Disambiguation</b> field.</li>
34
 
</ol>
35
 
<a name="improved-shortcuts-for-the-editing-mode"></a>
36
 
<h2>Improved Shortcuts for the Editing Mode</h2>
37
 
<ul>
38
 
<li>The <b>Shift+Click</b> key combination now selects the ancestor for nested layouts. This iterates from one ancestor to the other.</li>
39
 
<li>The <b>Ctrl</b> key is now used to toggle and copy drag. Previously this was done with the <b>Shift</b> key but is now changed to conform to standards.</li>
40
 
<li>The left mouse button does rubber band selection for form windows; the middle mouse button does rubber band selection everywhere.</li>
41
 
</ul>
42
 
<a name="layouts"></a>
43
 
<h2>Layouts</h2>
44
 
<ul>
45
 
<li>It is now possible to switch a widget's layout without breaking it first. Simply select the existing layout and change it to another type using the context menu or the layout buttons on the toolbar.</li>
46
 
<li>To quickly populate a <b>Form Layout</b>, you can now use the <b>Add form layout row..&#x2e;</b> item available in the context menu or double-click on the red layout.</li>
47
 
</ul>
48
 
<a name="support-for-embedded-design"></a>
49
 
<h2>Support for Embedded Design</h2>
50
 
<p><table align="center" cellpadding="2" cellspacing="1" border="0">
51
 
<thead><tr valign="top" class="qt-style"><th>Comboboxes to Select a Device Profile</th></tr></thead>
52
 
<tr valign="top" class="odd"><td><img src="images/designer-embedded-preview.png" /></td></tr>
53
 
</table></p>
54
 
<p>It is now possible to specify embedded device profiles, e.g&#x2e;, Style, Font, Screen DPI, resolution, default font, etc., in <b>Preferences</b>. These settings will affect the <b>Form Editor</b>. The profiles will also be visible with <b>Preview</b>.</p>
55
 
<a name="related-classes"></a>
56
 
<h2>Related Classes</h2>
57
 
<ul>
58
 
<li><a href="quiloader.html">QUiLoader</a> &mdash; forms loaded with this class will now react to <a href="qevent.html#Type-enum">QEvent::LanguageChange</a> if <a href="quiloader.html#setLanguageChangeEnabled">QUiLoader::setLanguageChangeEnabled</a>() or <a href="quiloader.html#isLanguageChangeEnabled">QUiLoader::isLanguageChangeEnabled</a>() is set to true.</li>
59
 
<li><a href="qdesignercustomwidgetinterface.html">QDesignerCustomWidgetInterface</a> &mdash; the <a href="qdesignercustomwidgetinterface.html#domXml">domXml()</a> function now has new attributes for its <tt>&lt;ui&gt;</tt> element. These attributes are <tt>language</tt> and <tt>displayname</tt>. The <tt>language</tt> element can be one of the following &quot;&quot;, &quot;c++&quot;, &quot;jambi&quot;. If this element is specified, it must match the language in which Designer is running. Otherwise, this element will not be available. The <tt>displayname</tt> element represents the name that will be displayed in the <b>Widget Box</b>. Previously this was hardcoded to be the class name.</li>
60
 
<li><a href="qwizard.html">QWizard</a> &mdash; <a href="qwizard.html">QWizard</a>'s page now has a string <tt>id</tt> attribute that can be used to fill in enumeration values to be used by the <tt>uic</tt>. However, this attribute has no effect on <a href="quiloader.html">QUiLoader</a>.</li>
61
 
</ul>
62
 
<p>
63
 
[<a href="designer-manual.html">Contents</a>]
64
 
</p>
65
 
<p /><address><hr /><div align="center">
66
 
<table width="100%" cellspacing="0" border="0"><tr class="address">
67
 
<td width="30%" align="left">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies)</td>
68
 
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
69
 
<td width="30%" align="right"><div align="right">Qt 4.5.2</div></td>
70
 
</tr></table></div></address></body>
71
 
</html>