802 lines
50 KiB
HTML
802 lines
50 KiB
HTML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<!-- designer-manual.qdoc -->
|
|
<title>Qt 4.8: Qt Designer's UI File Format</title>
|
|
<link rel="stylesheet" type="text/css" href="style/style.css" />
|
|
<script src="scripts/jquery.js" type="text/javascript"></script>
|
|
<script src="scripts/functions.js" type="text/javascript"></script>
|
|
<link rel="stylesheet" type="text/css" href="style/superfish.css" />
|
|
<link rel="stylesheet" type="text/css" href="style/narrow.css" />
|
|
<!--[if IE]>
|
|
<meta name="MSSmartTagsPreventParsing" content="true">
|
|
<meta http-equiv="imagetoolbar" content="no">
|
|
<![endif]-->
|
|
<!--[if lt IE 7]>
|
|
<link rel="stylesheet" type="text/css" href="style/style_ie6.css">
|
|
<![endif]-->
|
|
<!--[if IE 7]>
|
|
<link rel="stylesheet" type="text/css" href="style/style_ie7.css">
|
|
<![endif]-->
|
|
<!--[if IE 8]>
|
|
<link rel="stylesheet" type="text/css" href="style/style_ie8.css">
|
|
<![endif]-->
|
|
|
|
<script src="scripts/superfish.js" type="text/javascript"></script>
|
|
<script src="scripts/narrow.js" type="text/javascript"></script>
|
|
|
|
</head>
|
|
<body class="" onload="CheckEmptyAndLoadList();">
|
|
<div class="header" id="qtdocheader">
|
|
<div class="content">
|
|
<div id="nav-logo">
|
|
<a href="index.html">Home</a></div>
|
|
<a href="index.html" class="qtref"><span>Qt Reference Documentation</span></a>
|
|
<div id="narrowsearch"></div>
|
|
<div id="nav-topright">
|
|
<ul>
|
|
<li class="nav-topright-home"><a href="http://qt.digia.com/">Qt HOME</a></li>
|
|
<li class="nav-topright-dev"><a href="http://qt-project.org/">DEV</a></li>
|
|
<li class="nav-topright-doc nav-topright-doc-active"><a href="http://qt-project.org/doc/">
|
|
DOC</a></li>
|
|
<li class="nav-topright-blog"><a href="http://blog.qt.digia.com/">BLOG</a></li>
|
|
</ul>
|
|
</div>
|
|
<div id="shortCut">
|
|
<ul>
|
|
<li class="shortCut-topleft-inactive"><span><a href="index.html">Qt 4.8</a></span></li>
|
|
<li class="shortCut-topleft-active"><a href="http://qt-project.org/doc/">ALL VERSIONS </a></li>
|
|
</ul>
|
|
</div>
|
|
<ul class="sf-menu" id="narrowmenu">
|
|
<li><a href="#">API Lookup</a>
|
|
<ul>
|
|
<li><a href="classes.html">Class index</a></li>
|
|
<li><a href="functions.html">Function index</a></li>
|
|
<li><a href="modules.html">Modules</a></li>
|
|
<li><a href="namespaces.html">Namespaces</a></li>
|
|
<li><a href="qtglobal.html">Global Declarations</a></li>
|
|
<li><a href="qdeclarativeelements.html">QML elements</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#">Qt Topics</a>
|
|
<ul>
|
|
<li><a href="qt-basic-concepts.html">Programming with Qt</a></li>
|
|
<li><a href="qtquick.html">Device UIs & Qt Quick</a></li>
|
|
<li><a href="qt-gui-concepts.html">UI Design with Qt</a></li>
|
|
<li><a href="supported-platforms.html">Supported Platforms</a></li>
|
|
<li><a href="technology-apis.html">Qt and Key Technologies</a></li>
|
|
<li><a href="best-practices.html">How-To's and Best Practices</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#">Examples</a>
|
|
<ul>
|
|
<li><a href="all-examples.html">Examples</a></li>
|
|
<li><a href="tutorials.html">Tutorials</a></li>
|
|
<li><a href="demos.html">Demos</a></li>
|
|
<li><a href="qdeclarativeexamples.html">QML Examples</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="wrapper">
|
|
<div class="hd">
|
|
<span></span>
|
|
</div>
|
|
<div class="bd group">
|
|
<div class="sidebar">
|
|
<div class="searchlabel">
|
|
Search index:</div>
|
|
<div class="search" id="sidebarsearch">
|
|
<form id="qtdocsearch" action="" onsubmit="return false;">
|
|
<fieldset>
|
|
<input type="text" name="searchstring" id="pageType" value="" />
|
|
<div id="resultdialog">
|
|
<a href="#" id="resultclose">Close</a>
|
|
<p id="resultlinks" class="all"><a href="#" id="showallresults">All</a> | <a href="#" id="showapiresults">API</a> | <a href="#" id="showarticleresults">Articles</a> | <a href="#" id="showexampleresults">Examples</a></p>
|
|
<p id="searchcount" class="all"><span id="resultcount"></span><span id="apicount"></span><span id="articlecount"></span><span id="examplecount"></span> results:</p>
|
|
<ul id="resultlist" class="all">
|
|
</ul>
|
|
</div>
|
|
</fieldset>
|
|
</form>
|
|
</div>
|
|
<div class="box first bottombar" id="lookup">
|
|
<h2 title="API Lookup"><span></span>
|
|
API Lookup</h2>
|
|
<div id="list001" class="list">
|
|
<ul id="ul001" >
|
|
<li class="defaultLink"><a href="classes.html">Class index</a></li>
|
|
<li class="defaultLink"><a href="functions.html">Function index</a></li>
|
|
<li class="defaultLink"><a href="modules.html">Modules</a></li>
|
|
<li class="defaultLink"><a href="namespaces.html">Namespaces</a></li>
|
|
<li class="defaultLink"><a href="qtglobal.html">Global Declarations</a></li>
|
|
<li class="defaultLink"><a href="qdeclarativeelements.html">QML elements</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="box bottombar" id="topics">
|
|
<h2 title="Qt Topics"><span></span>
|
|
Qt Topics</h2>
|
|
<div id="list002" class="list">
|
|
<ul id="ul002" >
|
|
<li class="defaultLink"><a href="qt-basic-concepts.html">Programming with Qt</a></li>
|
|
<li class="defaultLink"><a href="qtquick.html">Device UIs & Qt Quick</a></li>
|
|
<li class="defaultLink"><a href="qt-gui-concepts.html">UI Design with Qt</a></li>
|
|
<li class="defaultLink"><a href="supported-platforms.html">Supported Platforms</a></li>
|
|
<li class="defaultLink"><a href="technology-apis.html">Qt and Key Technologies</a></li>
|
|
<li class="defaultLink"><a href="best-practices.html">How-To's and Best Practices</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="box" id="examples">
|
|
<h2 title="Examples"><span></span>
|
|
Examples</h2>
|
|
<div id="list003" class="list">
|
|
<ul id="ul003">
|
|
<li class="defaultLink"><a href="all-examples.html">Examples</a></li>
|
|
<li class="defaultLink"><a href="tutorials.html">Tutorials</a></li>
|
|
<li class="defaultLink"><a href="demos.html">Demos</a></li>
|
|
<li class="defaultLink"><a href="qdeclarativeexamples.html">QML Examples</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="wrap">
|
|
<div class="toolbar">
|
|
<div class="breadcrumb toolblock">
|
|
<ul>
|
|
<li class="first"><a href="index.html">Home</a></li>
|
|
<!-- Breadcrumbs go here -->
|
|
<li>Qt Designer's UI File Format</li>
|
|
</ul>
|
|
</div>
|
|
<div class="toolbuttons toolblock">
|
|
<ul>
|
|
<li id="smallA" class="t_button">A</li>
|
|
<li id="medA" class="t_button active">A</li>
|
|
<li id="bigA" class="t_button">A</li>
|
|
<li id="print" class="t_button"><a href="javascript:this.print();">
|
|
<span>Print</span></a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="content mainContent">
|
|
<link rel="prev" href="designer-creating-custom-widgets-extensions.html" />
|
|
<p class="naviNextPrevious headerNavi">
|
|
<a class="prevPage" href="designer-creating-custom-widgets-extensions.html">Creating Custom Widget Extensions</a>
|
|
</p><p/>
|
|
<h1 class="title">Qt Designer's UI File Format</h1>
|
|
<span class="subtitle"></span>
|
|
<!-- $$$designer-ui-file-format.html-description -->
|
|
<div class="descr"> <a name="details"></a>
|
|
<p>The <tt>UI</tt> file format used by <i>Qt Designer</i> is described by the <a href="http://www.w3.org/XML/Schema">XML schema</a> presented below, which we include for your convenience. Be aware that the format may change in future Qt releases.</p>
|
|
<pre class="cpp"> <?xml version="1.0" encoding="utf-8" ?>
|
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
|
|
|
<xs:element name="ui" type="UI"/>
|
|
|
|
<xs:complexType name="UI">
|
|
<xs:all>
|
|
<xs:element name="author" type="xs:string" minOccurs="0" />
|
|
<xs:element name="comment" type="xs:string" minOccurs="0" />
|
|
<xs:element name="exportmacro" type="xs:string" minOccurs="0" />
|
|
<xs:element name="class" type="xs:string" />
|
|
<xs:element name="widget" type="Widget" />
|
|
<xs:element name="layoutdefault" type="LayoutDefault" minOccurs="0" />
|
|
<xs:element name="layoutfunction" type="LayoutFunction" minOccurs="0" />
|
|
<xs:element name="pixmapfunction" type="xs:string" minOccurs="0" />
|
|
<xs:element name="customwidgets" type="CustomWidgets" minOccurs="0" />
|
|
<xs:element name="tabstops" type="TabStops" minOccurs="0" />
|
|
<xs:element name="images" type="Images" minOccurs="0" />
|
|
<xs:element name="includes" type="Includes" minOccurs="0" />
|
|
<xs:element name="resources" type="Resources" minOccurs="0" />
|
|
<xs:element name="connections" type="Connections" minOccurs="0" />
|
|
<xs:element name="designerdata" type="DesignerData" minOccurs="0" />
|
|
<xs:element name="slots" type="Slots" minOccurs="0" />
|
|
<xs:element name="buttongroups" type="ButtonGroups" minOccurs="0" />
|
|
</xs:all>
|
|
<xs:attribute name="version" type="xs:string" use="required" />
|
|
<xs:attribute name="language" type="xs:string" />
|
|
<xs:attribute name="displayname" type="xs:string" />
|
|
<!-- Legacy attribute generated by uic3 -->
|
|
<xs:attribute name="stdsetdef" type="xs:integer" />
|
|
<!-- Legacy attribute generated by the VS integration -->
|
|
<xs:attribute name="stdSetDef" type="xs:integer" />
|
|
</xs:complexType>
|
|
|
|
<!-- include begin -->
|
|
<xs:complexType name="Includes">
|
|
<xs:sequence>
|
|
<xs:element name="include" type="Include" maxOccurs="unbounded" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="Include" mixed="true" >
|
|
<xs:attribute name="location" type="xs:string" use="required" />
|
|
<xs:attribute name="impldecl" type="xs:string" />
|
|
</xs:complexType>
|
|
<!-- include end -->
|
|
|
|
<!-- resource begin -->
|
|
<xs:complexType name="Resources">
|
|
<xs:sequence>
|
|
<xs:element name="include" type="Resource" minOccurs="0" maxOccurs="unbounded" />
|
|
</xs:sequence>
|
|
<xs:attribute name="name" type="xs:string" />
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="Resource">
|
|
<xs:attribute name="location" type="xs:string" use="required" />
|
|
</xs:complexType>
|
|
<!-- resource end -->
|
|
|
|
<!-- actions begin -->
|
|
<xs:complexType name="ActionGroup">
|
|
<xs:sequence maxOccurs="unbounded">
|
|
<xs:element name="action" type="Action" minOccurs="0" maxOccurs="unbounded" />
|
|
<xs:element name="actiongroup" type="ActionGroup" minOccurs="0" maxOccurs="unbounded" />
|
|
<xs:element name="property" type="Property" minOccurs="0" maxOccurs="unbounded" />
|
|
<xs:element name="attribute" type="Property" minOccurs="0" maxOccurs="unbounded" />
|
|
</xs:sequence>
|
|
<xs:attribute name="name" type="xs:string" use="required" />
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="Action">
|
|
<xs:sequence maxOccurs="unbounded" >
|
|
<xs:element name="property" type="Property" minOccurs="0" maxOccurs="unbounded" />
|
|
<xs:element name="attribute" type="Property" minOccurs="0" maxOccurs="unbounded" />
|
|
</xs:sequence>
|
|
<xs:attribute name="name" type="xs:string" use="required" />
|
|
<xs:attribute name="menu" type="xs:string" />
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="ActionRef">
|
|
<xs:attribute name="name" type="xs:string" use="required" />
|
|
</xs:complexType>
|
|
<!-- actions end -->
|
|
|
|
<!-- button groups begin -->
|
|
<xs:complexType name="ButtonGroup">
|
|
<xs:sequence maxOccurs="unbounded">
|
|
<xs:element name="property" type="Property" minOccurs="0" maxOccurs="unbounded" />
|
|
<xs:element name="attribute" type="Property" minOccurs="0" maxOccurs="unbounded" />
|
|
</xs:sequence>
|
|
<xs:attribute name="name" type="xs:string" use="required" />
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="ButtonGroups">
|
|
<xs:sequence>
|
|
<xs:element name="buttongroup" type="ButtonGroup" maxOccurs="unbounded" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<!-- button groups end -->
|
|
|
|
<!-- images begin -->
|
|
<xs:complexType name="Images">
|
|
<xs:sequence>
|
|
<xs:element name="image" type="Image" maxOccurs="unbounded" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="Image">
|
|
<xs:sequence>
|
|
<xs:element name="data" type="ImageData" />
|
|
</xs:sequence>
|
|
<xs:attribute name="name" type="xs:string" use="required" />
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="ImageData" mixed="true" >
|
|
<xs:attribute name="format" type="xs:string" use="required" />
|
|
<xs:attribute name="length" type="xs:integer" use="required" />
|
|
</xs:complexType>
|
|
<!-- images end -->
|
|
|
|
<!-- custom widget support begin -->
|
|
<xs:complexType name="CustomWidgets">
|
|
<xs:sequence>
|
|
<xs:element name="customwidget" type="CustomWidget" maxOccurs="unbounded" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="Header" mixed="true" >
|
|
<xs:attribute name="location" type="xs:string" /> <!-- local or global -->
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="CustomWidget">
|
|
<xs:all>
|
|
<xs:element name="class" type="xs:string" />
|
|
<xs:element name="extends" type="xs:string" />
|
|
<xs:element name="header" type="Header" />
|
|
<xs:element name="sizehint" type="Size" minOccurs="0" />
|
|
<xs:element name="addpagemethod" type="xs:string" minOccurs="0" />
|
|
<xs:element name="container" type="xs:integer" minOccurs="0" />
|
|
<xs:element name="sizepolicy" type="SizePolicyData" minOccurs="0" />
|
|
<xs:element name="pixmap" type="xs:string" minOccurs="0" />
|
|
<xs:element name="script" type="Script" minOccurs="0" />
|
|
<xs:element name="properties" type="Properties" minOccurs="0" />
|
|
<xs:element name="slots" type="Slots" minOccurs="0" />
|
|
<xs:element name="propertyspecifications" type="PropertySpecifications" minOccurs="0" />
|
|
</xs:all>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="Properties">
|
|
<xs:sequence>
|
|
<xs:element name="property" type="PropertyData" maxOccurs="unbounded" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="PropertyData">
|
|
<xs:attribute name="type" type="xs:string" use="required" />
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="SizePolicyData">
|
|
<xs:all>
|
|
<xs:element name="hordata" type="xs:integer" />
|
|
<xs:element name="verdata" type="xs:integer" />
|
|
</xs:all>
|
|
</xs:complexType>
|
|
|
|
<!-- custom widget support end -->
|
|
|
|
<xs:complexType name="LayoutDefault">
|
|
<xs:attribute name="spacing" type="xs:integer" use="required" />
|
|
<xs:attribute name="margin" type="xs:integer" use="required" />
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="LayoutFunction">
|
|
<xs:attribute name="spacing" type="xs:string" use="required" />
|
|
<xs:attribute name="margin" type="xs:string" use="required" />
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="TabStops">
|
|
<xs:sequence>
|
|
<xs:element name="tabstop" type="xs:string" maxOccurs="unbounded" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="Layout">
|
|
<xs:sequence maxOccurs="unbounded" >
|
|
<xs:element name="property" type="Property" minOccurs="0" maxOccurs="unbounded" />
|
|
<xs:element name="attribute" type="Property" minOccurs="0" maxOccurs="unbounded" />
|
|
<xs:element name="item" type="LayoutItem" minOccurs="0" maxOccurs="unbounded" />
|
|
</xs:sequence>
|
|
<xs:attribute name="class" type="xs:string" use="required" />
|
|
<xs:attribute name="name" type="xs:string" />
|
|
<xs:attribute name="stretch" type="xs:string" />
|
|
<xs:attribute name="rowstretch" type="xs:string" />
|
|
<xs:attribute name="columnstretch" type="xs:string" />
|
|
<xs:attribute name="rowminimumheight" type="xs:string" />
|
|
<xs:attribute name="columnminimumwidth" type="xs:string" />
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="LayoutItem">
|
|
<xs:choice>
|
|
<xs:element name="widget" type="Widget" />
|
|
<xs:element name="layout" type="Layout" />
|
|
<xs:element name="spacer" type="Spacer" />
|
|
</xs:choice>
|
|
<xs:attribute name="row" type="xs:integer" />
|
|
<xs:attribute name="column" type="xs:integer" />
|
|
<xs:attribute name="rowspan" type="xs:integer" />
|
|
<xs:attribute name="colspan" type="xs:integer" />
|
|
<xs:attribute name="alignment" type="xs:string" />
|
|
</xs:complexType>
|
|
|
|
<!-- item view begin -->
|
|
<xs:complexType name="Row">
|
|
<xs:sequence>
|
|
<xs:element name="property" type="Property" minOccurs="0" maxOccurs="unbounded" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="Column">
|
|
<xs:sequence>
|
|
<xs:element name="property" type="Property" minOccurs="0" maxOccurs="unbounded" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="Item">
|
|
<xs:sequence maxOccurs="unbounded">
|
|
<xs:element name="property" type="Property" minOccurs="0" maxOccurs="unbounded" />
|
|
<xs:element name="item" type="Item" minOccurs="0" maxOccurs="unbounded" />
|
|
</xs:sequence>
|
|
<xs:attribute name="row" type="xs:integer" />
|
|
<xs:attribute name="column" type="xs:integer" />
|
|
</xs:complexType>
|
|
<!-- item view end -->
|
|
|
|
<xs:complexType name="Widget">
|
|
<!-- Order does not matter (cannot use xs:all here
|
|
because of unbounded row, column, item -->
|
|
<xs:sequence>
|
|
<xs:element name="class" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> <!-- unbounded kept for compatibility reasons -->
|
|
<xs:element name="property" type="Property" minOccurs="0" maxOccurs="unbounded" />
|
|
<xs:element name="script" type="Script" minOccurs="0" maxOccurs="unbounded" /> <!-- unbounded kept for compatibility reasons -->
|
|
<xs:element name="widgetdata" type="WidgetData" minOccurs="0" maxOccurs="unbounded" /> <!-- unbounded kept for compatibility reasons -->
|
|
<xs:element name="attribute" type="Property" minOccurs="0" maxOccurs="unbounded" />
|
|
<!-- item view begin -->
|
|
<xs:element name="row" type="Row" minOccurs="0" maxOccurs="unbounded" />
|
|
<xs:element name="column" type="Column" minOccurs="0" maxOccurs="unbounded" />
|
|
<xs:element name="item" type="Item" minOccurs="0" maxOccurs="unbounded" />
|
|
<!-- item view end -->
|
|
<xs:element name="layout" type="Layout" minOccurs="0" maxOccurs="unbounded" /> <!-- unbounded kept for compatibility reasons -->
|
|
<xs:element name="widget" type="Widget" minOccurs="0" maxOccurs="unbounded" />
|
|
<xs:element name="action" type="Action" minOccurs="0" maxOccurs="unbounded" />
|
|
<xs:element name="actiongroup" type="ActionGroup" minOccurs="0" maxOccurs="unbounded" />
|
|
<xs:element name="addaction" type="ActionRef" minOccurs="0" maxOccurs="unbounded" />
|
|
<xs:element name="zorder" type="xs:string" minOccurs="0" maxOccurs="unbounded" />
|
|
</xs:sequence>
|
|
<xs:attribute name="class" type="xs:string" use="required" />
|
|
<xs:attribute name="name" type="xs:string" />
|
|
<xs:attribute name="native" type="xs:boolean" />
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="Spacer">
|
|
<xs:sequence>
|
|
<xs:element name="property" type="Property" maxOccurs="unbounded" />
|
|
</xs:sequence>
|
|
<xs:attribute name="name" type="xs:string" />
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="Color">
|
|
<xs:all>
|
|
<xs:element name="red" type="xs:integer" />
|
|
<xs:element name="green" type="xs:integer" />
|
|
<xs:element name="blue" type="xs:integer" />
|
|
</xs:all>
|
|
<xs:attribute name="alpha" type="xs:integer" />
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="GradientStop">
|
|
<xs:sequence>
|
|
<xs:element name="color" type="Color" />
|
|
</xs:sequence>
|
|
<xs:attribute name="position" type="xs:double" use="required" />
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="Gradient">
|
|
<xs:sequence>
|
|
<xs:element name="gradientStop" type="GradientStop" maxOccurs="unbounded" />
|
|
</xs:sequence>
|
|
<xs:attribute name="startx" type="xs:double" use="required" />
|
|
<xs:attribute name="starty" type="xs:double" use="required" />
|
|
<xs:attribute name="endx" type="xs:double" use="required" />
|
|
<xs:attribute name="endy" type="xs:double" use="required" />
|
|
<xs:attribute name="centralx" type="xs:double" use="required" />
|
|
<xs:attribute name="centraly" type="xs:double" use="required" />
|
|
<xs:attribute name="focalx" type="xs:double" use="required" />
|
|
<xs:attribute name="focaly" type="xs:double" use="required" />
|
|
<xs:attribute name="radius" type="xs:double" use="required" />
|
|
<xs:attribute name="angle" type="xs:double" use="required" />
|
|
<xs:attribute name="type" type="xs:string" use="required" />
|
|
<xs:attribute name="spread" type="xs:string" use="required" />
|
|
<xs:attribute name="coordinatemode" type="xs:string" use="required" />
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="Brush">
|
|
<xs:choice>
|
|
<xs:element name="color" type="Color" />
|
|
<xs:element name="texture" type="Property" />
|
|
<xs:element name="gradient" type="Gradient" />
|
|
</xs:choice>
|
|
<xs:attribute name="brushstyle" type="xs:string" use="required" />
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="ColorRole">
|
|
<xs:sequence>
|
|
<xs:element name="brush" type="Brush" />
|
|
</xs:sequence>
|
|
<xs:attribute name="role" type="xs:string" use="required" />
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="ColorGroup">
|
|
<xs:sequence maxOccurs="unbounded">
|
|
<xs:element name="colorrole" type="ColorRole" minOccurs="0" maxOccurs="unbounded" />
|
|
<xs:element name="color" type="Color" minOccurs="0" maxOccurs="unbounded" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="Palette">
|
|
<xs:all>
|
|
<xs:element name="active" type="ColorGroup" />
|
|
<xs:element name="inactive" type="ColorGroup" />
|
|
<xs:element name="disabled" type="ColorGroup" />
|
|
</xs:all>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="Font">
|
|
<xs:all>
|
|
<xs:element name="family" type="xs:string" minOccurs="0" />
|
|
<xs:element name="pointsize" type="xs:integer" minOccurs="0" />
|
|
<xs:element name="weight" type="xs:integer" minOccurs="0" />
|
|
<xs:element name="italic" type="xs:boolean" minOccurs="0" />
|
|
<xs:element name="bold" type="xs:boolean" minOccurs="0" />
|
|
<xs:element name="underline" type="xs:boolean" minOccurs="0" />
|
|
<xs:element name="strikeout" type="xs:boolean" minOccurs="0" />
|
|
<xs:element name="antialiasing" type="xs:boolean" minOccurs="0" />
|
|
<xs:element name="stylestrategy" type="xs:string" minOccurs="0" />
|
|
<xs:element name="kerning" type="xs:boolean" minOccurs="0" />
|
|
</xs:all>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="Point">
|
|
<xs:all>
|
|
<xs:element name="x" type="xs:integer" />
|
|
<xs:element name="y" type="xs:integer" />
|
|
</xs:all>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="Rect">
|
|
<xs:all>
|
|
<xs:element name="x" type="xs:integer" />
|
|
<xs:element name="y" type="xs:integer" />
|
|
<xs:element name="width" type="xs:integer" />
|
|
<xs:element name="height" type="xs:integer" />
|
|
</xs:all>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="Locale">
|
|
<xs:attribute name="language" type="xs:string" use="required" />
|
|
<xs:attribute name="country" type="xs:string" use="required" />
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="SizePolicy">
|
|
<xs:all>
|
|
<xs:element name="hsizetype" type="xs:integer" minOccurs="0" />
|
|
<xs:element name="vsizetype" type="xs:integer" minOccurs="0" />
|
|
<xs:element name="horstretch" type="xs:integer" />
|
|
<xs:element name="verstretch" type="xs:integer" />
|
|
</xs:all>
|
|
<xs:attribute name="hsizetype" type="xs:string" />
|
|
<xs:attribute name="vsizetype" type="xs:string" />
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="Size">
|
|
<xs:all>
|
|
<xs:element name="width" type="xs:integer" />
|
|
<xs:element name="height" type="xs:integer" />
|
|
</xs:all>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="Date">
|
|
<xs:all>
|
|
<xs:element name="year" type="xs:integer" />
|
|
<xs:element name="month" type="xs:integer" />
|
|
<xs:element name="day" type="xs:integer" />
|
|
</xs:all>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="Time">
|
|
<xs:all>
|
|
<xs:element name="hour" type="xs:integer" />
|
|
<xs:element name="minute" type="xs:integer" />
|
|
<xs:element name="second" type="xs:integer" />
|
|
</xs:all>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="DateTime">
|
|
<xs:all>
|
|
<xs:element name="hour" type="xs:integer" />
|
|
<xs:element name="minute" type="xs:integer" />
|
|
<xs:element name="second" type="xs:integer" />
|
|
<xs:element name="year" type="xs:integer" />
|
|
<xs:element name="month" type="xs:integer" />
|
|
<xs:element name="day" type="xs:integer" />
|
|
</xs:all>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="StringList">
|
|
<xs:sequence>
|
|
<xs:element name="string" type="xs:string" minOccurs="0" maxOccurs="unbounded" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="ResourcePixmap" mixed="true">
|
|
<xs:attribute name="resource" type="xs:string" />
|
|
<xs:attribute name="alias" type="xs:string" />
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="ResourceIcon" mixed="true">
|
|
<xs:all>
|
|
<xs:element name="normaloff" type="ResourcePixmap" minOccurs="0" />
|
|
<xs:element name="normalon" type="ResourcePixmap" minOccurs="0" />
|
|
<xs:element name="disabledoff" type="ResourcePixmap" minOccurs="0" />
|
|
<xs:element name="disabledon" type="ResourcePixmap" minOccurs="0" />
|
|
<xs:element name="activeoff" type="ResourcePixmap" minOccurs="0" />
|
|
<xs:element name="activeon" type="ResourcePixmap" minOccurs="0" />
|
|
<xs:element name="selectedoff" type="ResourcePixmap" minOccurs="0" />
|
|
<xs:element name="selectedon" type="ResourcePixmap" minOccurs="0" />
|
|
</xs:all>
|
|
<xs:attribute name="theme" type="xs:string" />
|
|
<xs:attribute name="resource" type="xs:string" /> <!-- pre 4.4 legacy support -->
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="String" mixed="true">
|
|
<xs:attribute name="notr" type="xs:string" />
|
|
<xs:attribute name="comment" type="xs:string" />
|
|
<xs:attribute name="extracomment" type="xs:string" />
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="PointF">
|
|
<xs:all>
|
|
<xs:element name="x" type="xs:double" />
|
|
<xs:element name="y" type="xs:double" />
|
|
</xs:all>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="RectF">
|
|
<xs:all>
|
|
<xs:element name="x" type="xs:double" />
|
|
<xs:element name="y" type="xs:double" />
|
|
<xs:element name="width" type="xs:double" />
|
|
<xs:element name="height" type="xs:double" />
|
|
</xs:all>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="SizeF">
|
|
<xs:all>
|
|
<xs:element name="width" type="xs:double" />
|
|
<xs:element name="height" type="xs:double" />
|
|
</xs:all>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="Char">
|
|
<xs:sequence>
|
|
<xs:element name="unicode" type="xs:integer" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="Url">
|
|
<xs:sequence>
|
|
<xs:element name="string" type="String" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="Property">
|
|
<xs:choice>
|
|
<xs:element name="bool" type="xs:string" />
|
|
<xs:element name="color" type="Color" />
|
|
<xs:element name="cstring" type="xs:string" />
|
|
<xs:element name="cursor" type="xs:integer" />
|
|
<xs:element name="cursorshape" type="xs:string" />
|
|
<xs:element name="enum" type="xs:string" />
|
|
<xs:element name="font" type ="Font" />
|
|
<xs:element name="iconset" type="ResourceIcon"/>
|
|
<xs:element name="pixmap" type="ResourcePixmap" />
|
|
<xs:element name="palette" type="Palette" />
|
|
<xs:element name="point" type="Point" />
|
|
<xs:element name="rect" type="Rect" />
|
|
<xs:element name="set" type="xs:string" />
|
|
<xs:element name="locale" type="Locale" />
|
|
<xs:element name="sizepolicy" type="SizePolicy" />
|
|
<xs:element name="size" type="Size" />
|
|
<xs:element name="string" type="String" />
|
|
<xs:element name="stringlist" type="StringList" />
|
|
<xs:element name="number" type="xs:integer" />
|
|
<xs:element name="float" type="xs:float" />
|
|
<xs:element name="double" type="xs:double" />
|
|
<xs:element name="date" type="Date" />
|
|
<xs:element name="time" type="Time" />
|
|
<xs:element name="datetime" type="DateTime" />
|
|
<xs:element name="pointf" type="PointF" />
|
|
<xs:element name="rectf" type="RectF" />
|
|
<xs:element name="sizef" type="SizeF" />
|
|
<xs:element name="longlong" type="xs:long" />
|
|
<xs:element name="char" type="Char" />
|
|
<xs:element name="url" type="Url" />
|
|
<xs:element name="uint" type="xs:unsignedInt" />
|
|
<xs:element name="ulonglong" type="xs:unsignedLong" />
|
|
<xs:element name="brush" type="Brush" />
|
|
</xs:choice>
|
|
<xs:attribute name="name" type="xs:string" use="required" />
|
|
<xs:attribute name="stdset" type="xs:integer" />
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="Connections">
|
|
<xs:sequence>
|
|
<xs:element name="connection" type="Connection" minOccurs="0" maxOccurs="unbounded" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="Connection">
|
|
<xs:all>
|
|
<xs:element name="sender" type="xs:string" />
|
|
<xs:element name="signal" type="xs:string" />
|
|
<xs:element name="receiver" type="xs:string" />
|
|
<xs:element name="slot" type="xs:string" />
|
|
<xs:element name="hints" type="ConnectionHints" minOccurs="0" />
|
|
</xs:all>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="ConnectionHints">
|
|
<xs:sequence>
|
|
<xs:element name="hint" type="ConnectionHint" maxOccurs="unbounded" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="ConnectionHint">
|
|
<xs:all>
|
|
<xs:element name="x" type="xs:integer"/>
|
|
<xs:element name="y" type="xs:integer"/>
|
|
</xs:all>
|
|
<xs:attribute name="type" type="xs:string" use="required" />
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="Script">
|
|
<xs:attribute name="source" type="xs:string" use="required" />
|
|
<xs:attribute name="language" type="xs:string" use="required" />
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="WidgetData">
|
|
<xs:sequence>
|
|
<xs:element name="property" type="Property" maxOccurs="unbounded" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="DesignerData">
|
|
<xs:sequence>
|
|
<xs:element name="property" type="Property" maxOccurs="unbounded" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="Slots">
|
|
<xs:sequence maxOccurs="unbounded">
|
|
<xs:element name="signal" type="xs:string" minOccurs="0" maxOccurs="unbounded" />
|
|
<xs:element name="slot" type="xs:string" minOccurs="0" maxOccurs="unbounded" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="PropertySpecifications">
|
|
<xs:sequence maxOccurs="unbounded">
|
|
<xs:element name="stringpropertyspecification" type="StringPropertySpecification" minOccurs="0" maxOccurs="unbounded" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="StringPropertySpecification">
|
|
<xs:attribute name="name" type="xs:string" use="required" />
|
|
<xs:attribute name="type" type="xs:string" use="required" />
|
|
<xs:attribute name="notr" type="xs:string"/>
|
|
</xs:complexType>
|
|
|
|
</xs:schema></pre>
|
|
</div>
|
|
<!-- @@@designer-ui-file-format.html -->
|
|
<p class="naviNextPrevious footerNavi">
|
|
<a class="prevPage" href="designer-creating-custom-widgets-extensions.html">Creating Custom Widget Extensions</a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="ft">
|
|
<span></span>
|
|
</div>
|
|
</div>
|
|
<div class="footer">
|
|
<p>
|
|
<acronym title="Copyright">©</acronym> 2015 The Qt Company Ltd.
|
|
Documentation contributions included herein are the copyrights of
|
|
their respective owners.</p>
|
|
<br />
|
|
<p>
|
|
The documentation provided herein is licensed under the terms of the
|
|
<a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation
|
|
License version 1.3</a> as published by the Free Software Foundation.</p>
|
|
<p>
|
|
Documentation sources may be obtained from <a href="http://www.qt-project.org">
|
|
www.qt-project.org</a>.</p>
|
|
<br />
|
|
<p>
|
|
Qt and respective logos are trademarks of The Qt Company Ltd
|
|
in Finland and/or other countries worldwide. All other trademarks are property
|
|
of their respective owners. <a title="Privacy Policy"
|
|
href="http://en.gitorious.org/privacy_policy/">Privacy Policy</a></p>
|
|
</div>
|
|
|
|
<script src="scripts/functions.js" type="text/javascript"></script>
|
|
</body>
|
|
</html>
|