22#include <qstringlist.h>
23#include <qxmlstream.h>
28#define QDESIGNER_UILIB_EXTERN Q_DECL_EXPORT
29#define QDESIGNER_UILIB_IMPORT Q_DECL_IMPORT
31#if defined(QT_DESIGNER_STATIC) || defined(QT_UIC) || defined(QT_UIC3)
32# define QDESIGNER_UILIB_EXPORT
33#elif defined(QDESIGNER_UILIB_LIBRARY)
34# define QDESIGNER_UILIB_EXPORT QDESIGNER_UILIB_EXTERN
40# define QDESIGNER_UILIB_EXPORT
43#ifdef QFORMINTERNAL_NAMESPACE
44namespace QFormInternal
50
51
63class DomCustomWidgets;
66class DomLayoutDefault;
67class DomLayoutFunction;
93class DomResourcePixmap;
104class DomConnectionHints;
105class DomConnectionHint;
106class DomDesignerData;
108class DomPropertySpecifications;
109class DomPropertyToolTip;
110class DomStringPropertySpecification;
113
114
117 Q_DISABLE_COPY_MOVE(DomUI)
122 void read(QXmlStreamReader &reader);
123 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
260 QString m_attr_version;
261 bool m_has_attr_version =
false;
263 QString m_attr_language;
264 bool m_has_attr_language =
false;
266 QString m_attr_displayname;
267 bool m_has_attr_displayname =
false;
269 bool m_attr_idbasedtr =
false;
270 bool m_has_attr_idbasedtr =
false;
272 QString m_attr_label;
273 bool m_has_attr_label =
false;
275 bool m_attr_connectslotsbyname =
false;
276 bool m_has_attr_connectslotsbyname =
false;
278 int m_attr_stdsetdef = 0;
279 bool m_has_attr_stdsetdef =
false;
281 int m_attr_stdSetDef = 0;
282 bool m_has_attr_stdSetDef =
false;
288 QString m_exportMacro;
290 DomWidget *m_widget =
nullptr;
291 DomLayoutDefault *m_layoutDefault =
nullptr;
292 DomLayoutFunction *m_layoutFunction =
nullptr;
293 QString m_pixmapFunction;
294 DomCustomWidgets *m_customWidgets =
nullptr;
295 DomTabStops *m_tabStops =
nullptr;
296 DomIncludes *m_includes =
nullptr;
297 DomResources *m_resources =
nullptr;
298 DomConnections *m_connections =
nullptr;
299 DomDesignerData *m_designerdata =
nullptr;
300 DomSlots *m_slots =
nullptr;
301 DomButtonGroups *m_buttonGroups =
nullptr;
311 PixmapFunction = 128,
324 Q_DISABLE_COPY_MOVE(DomIncludes)
326 DomIncludes() =
default;
329 void read(QXmlStreamReader &reader);
330 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
340 QList<DomInclude *> m_include;
348 Q_DISABLE_COPY_MOVE(DomInclude)
350 DomInclude() =
default;
353 void read(QXmlStreamReader &reader);
354 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
356 inline QString
text()
const {
return m_text; }
357 inline void setText(
const QString &s) { m_text = s; }
374 QString m_attr_location;
375 bool m_has_attr_location =
false;
377 QString m_attr_impldecl;
378 bool m_has_attr_impldecl =
false;
382 Q_DISABLE_COPY_MOVE(DomResources)
384 DomResources() =
default;
387 void read(QXmlStreamReader &reader);
388 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
393 inline void setAttributeName(
const QString &a) { m_attr_name = a; m_has_attr_name =
true; }
403 bool m_has_attr_name =
false;
407 QList<DomResource *> m_include;
415 Q_DISABLE_COPY_MOVE(DomResource)
417 DomResource() =
default;
420 void read(QXmlStreamReader &reader);
421 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
431 QString m_attr_location;
432 bool m_has_attr_location =
false;
436 Q_DISABLE_COPY_MOVE(DomActionGroup)
438 DomActionGroup() =
default;
441 void read(QXmlStreamReader &reader);
442 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
447 inline void setAttributeName(
const QString &a) { m_attr_name = a; m_has_attr_name =
true; }
466 bool m_has_attr_name =
false;
470 QList<DomAction *> m_action;
471 QList<DomActionGroup *> m_actionGroup;
472 QList<DomProperty *> m_property;
473 QList<DomProperty *> m_attribute;
484 Q_DISABLE_COPY_MOVE(DomAction)
486 DomAction() =
default;
489 void read(QXmlStreamReader &reader);
490 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
495 inline void setAttributeName(
const QString &a) { m_attr_name = a; m_has_attr_name =
true; }
500 inline void setAttributeMenu(
const QString &a) { m_attr_menu = a; m_has_attr_menu =
true; }
513 bool m_has_attr_name =
false;
516 bool m_has_attr_menu =
false;
520 QList<DomProperty *> m_property;
521 QList<DomProperty *> m_attribute;
530 Q_DISABLE_COPY_MOVE(DomActionRef)
532 DomActionRef() =
default;
535 void read(QXmlStreamReader &reader);
536 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
541 inline void setAttributeName(
const QString &a) { m_attr_name = a; m_has_attr_name =
true; }
547 bool m_has_attr_name =
false;
551 Q_DISABLE_COPY_MOVE(DomButtonGroup)
553 DomButtonGroup() =
default;
556 void read(QXmlStreamReader &reader);
557 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
562 inline void setAttributeName(
const QString &a) { m_attr_name = a; m_has_attr_name =
true; }
575 bool m_has_attr_name =
false;
579 QList<DomProperty *> m_property;
580 QList<DomProperty *> m_attribute;
589 Q_DISABLE_COPY_MOVE(DomButtonGroups)
591 DomButtonGroups() =
default;
594 void read(QXmlStreamReader &reader);
595 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
605 QList<DomButtonGroup *> m_buttonGroup;
613 Q_DISABLE_COPY_MOVE(DomCustomWidgets)
615 DomCustomWidgets() =
default;
618 void read(QXmlStreamReader &reader);
619 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
629 QList<DomCustomWidget *> m_customWidget;
637 Q_DISABLE_COPY_MOVE(DomHeader)
639 DomHeader() =
default;
642 void read(QXmlStreamReader &reader);
643 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
645 inline QString
text()
const {
return m_text; }
646 inline void setText(
const QString &s) { m_text = s; }
658 QString m_attr_location;
659 bool m_has_attr_location =
false;
663 Q_DISABLE_COPY_MOVE(DomCustomWidget)
665 DomCustomWidget() =
default;
668 void read(QXmlStreamReader &reader);
669 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
727 DomHeader *m_header =
nullptr;
728 DomSize *m_sizeHint =
nullptr;
729 QString m_addPageMethod;
732 DomSlots *m_slots =
nullptr;
733 DomPropertySpecifications *m_propertyspecifications =
nullptr;
744 Propertyspecifications = 256
749 Q_DISABLE_COPY_MOVE(DomLayoutDefault)
751 DomLayoutDefault() =
default;
754 void read(QXmlStreamReader &reader);
755 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
770 int m_attr_spacing = 0;
771 bool m_has_attr_spacing =
false;
773 int m_attr_margin = 0;
774 bool m_has_attr_margin =
false;
778 Q_DISABLE_COPY_MOVE(DomLayoutFunction)
780 DomLayoutFunction() =
default;
783 void read(QXmlStreamReader &reader);
784 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
799 QString m_attr_spacing;
800 bool m_has_attr_spacing =
false;
802 QString m_attr_margin;
803 bool m_has_attr_margin =
false;
807 Q_DISABLE_COPY_MOVE(DomTabStops)
809 DomTabStops() =
default;
812 void read(QXmlStreamReader &reader);
813 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
823 QStringList m_tabStop;
831 Q_DISABLE_COPY_MOVE(DomLayout)
833 DomLayout() =
default;
836 void read(QXmlStreamReader &reader);
837 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
847 inline void setAttributeName(
const QString &a) { m_attr_name = a; m_has_attr_name =
true; }
887 QString m_attr_class;
888 bool m_has_attr_class =
false;
891 bool m_has_attr_name =
false;
893 QString m_attr_stretch;
894 bool m_has_attr_stretch =
false;
896 QString m_attr_rowStretch;
897 bool m_has_attr_rowStretch =
false;
899 QString m_attr_columnStretch;
900 bool m_has_attr_columnStretch =
false;
902 QString m_attr_rowMinimumHeight;
903 bool m_has_attr_rowMinimumHeight =
false;
905 QString m_attr_columnMinimumWidth;
906 bool m_has_attr_columnMinimumWidth =
false;
910 QList<DomProperty *> m_property;
911 QList<DomProperty *> m_attribute;
912 QList<DomLayoutItem *> m_item;
922 Q_DISABLE_COPY_MOVE(DomLayoutItem)
924 DomLayoutItem() =
default;
927 void read(QXmlStreamReader &reader);
928 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
977 bool m_has_attr_row =
false;
979 int m_attr_column = 0;
980 bool m_has_attr_column =
false;
982 int m_attr_rowSpan = 0;
983 bool m_has_attr_rowSpan =
false;
985 int m_attr_colSpan = 0;
986 bool m_has_attr_colSpan =
false;
988 QString m_attr_alignment;
989 bool m_has_attr_alignment =
false;
993 DomWidget *m_widget =
nullptr;
994 DomLayout *m_layout =
nullptr;
995 DomSpacer *m_spacer =
nullptr;
999 Q_DISABLE_COPY_MOVE(DomRow)
1004 void read(QXmlStreamReader &reader);
1005 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
1014 uint m_children = 0;
1015 QList<DomProperty *> m_property;
1023 Q_DISABLE_COPY_MOVE(DomColumn)
1025 DomColumn() =
default;
1028 void read(QXmlStreamReader &reader);
1029 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
1038 uint m_children = 0;
1039 QList<DomProperty *> m_property;
1047 Q_DISABLE_COPY_MOVE(DomItem)
1049 DomItem() =
default;
1052 void read(QXmlStreamReader &reader);
1053 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
1076 bool m_has_attr_row =
false;
1078 int m_attr_column = 0;
1079 bool m_has_attr_column =
false;
1082 uint m_children = 0;
1083 QList<DomProperty *> m_property;
1084 QList<DomItem *> m_item;
1093 Q_DISABLE_COPY_MOVE(DomWidget)
1095 DomWidget() =
default;
1098 void read(QXmlStreamReader &reader);
1099 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
1156 QString m_attr_class;
1157 bool m_has_attr_class =
false;
1159 QString m_attr_name;
1160 bool m_has_attr_name =
false;
1162 bool m_attr_native =
false;
1163 bool m_has_attr_native =
false;
1166 uint m_children = 0;
1167 QStringList m_class;
1168 QList<DomProperty *> m_property;
1169 QList<DomProperty *> m_attribute;
1170 QList<DomRow *> m_row;
1171 QList<DomColumn *> m_column;
1172 QList<DomItem *> m_item;
1173 QList<DomLayout *> m_layout;
1174 QList<DomWidget *> m_widget;
1175 QList<DomAction *> m_action;
1176 QList<DomActionGroup *> m_actionGroup;
1177 QList<DomActionRef *> m_addAction;
1178 QStringList m_zOrder;
1197 Q_DISABLE_COPY_MOVE(DomSpacer)
1199 DomSpacer() =
default;
1202 void read(QXmlStreamReader &reader);
1203 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
1217 QString m_attr_name;
1218 bool m_has_attr_name =
false;
1221 uint m_children = 0;
1222 QList<DomProperty *> m_property;
1230 Q_DISABLE_COPY_MOVE(DomColor)
1232 DomColor() =
default;
1235 void read(QXmlStreamReader &reader);
1236 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
1262 int m_attr_alpha = 0;
1263 bool m_has_attr_alpha =
false;
1266 uint m_children = 0;
1279 Q_DISABLE_COPY_MOVE(DomGradientStop)
1281 DomGradientStop() =
default;
1284 void read(QXmlStreamReader &reader);
1285 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
1302 double m_attr_position = 0.0;
1303 bool m_has_attr_position =
false;
1306 uint m_children = 0;
1307 DomColor *m_color =
nullptr;
1315 Q_DISABLE_COPY_MOVE(DomGradient)
1317 DomGradient() =
default;
1320 void read(QXmlStreamReader &reader);
1321 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
1395 double m_attr_startX = 0.0;
1396 bool m_has_attr_startX =
false;
1398 double m_attr_startY = 0.0;
1399 bool m_has_attr_startY =
false;
1401 double m_attr_endX = 0.0;
1402 bool m_has_attr_endX =
false;
1404 double m_attr_endY = 0.0;
1405 bool m_has_attr_endY =
false;
1407 double m_attr_centralX = 0.0;
1408 bool m_has_attr_centralX =
false;
1410 double m_attr_centralY = 0.0;
1411 bool m_has_attr_centralY =
false;
1413 double m_attr_focalX = 0.0;
1414 bool m_has_attr_focalX =
false;
1416 double m_attr_focalY = 0.0;
1417 bool m_has_attr_focalY =
false;
1419 double m_attr_radius = 0.0;
1420 bool m_has_attr_radius =
false;
1422 double m_attr_angle = 0.0;
1423 bool m_has_attr_angle =
false;
1425 QString m_attr_type;
1426 bool m_has_attr_type =
false;
1428 QString m_attr_spread;
1429 bool m_has_attr_spread =
false;
1431 QString m_attr_coordinateMode;
1432 bool m_has_attr_coordinateMode =
false;
1435 uint m_children = 0;
1436 QList<DomGradientStop *> m_gradientStop;
1444 Q_DISABLE_COPY_MOVE(DomBrush)
1446 DomBrush() =
default;
1449 void read(QXmlStreamReader &reader);
1450 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
1459 enum Kind { Unknown = 0, Color, Texture, Gradient };
1478 QString m_attr_brushStyle;
1479 bool m_has_attr_brushStyle =
false;
1483 DomColor *m_color =
nullptr;
1484 DomProperty *m_texture =
nullptr;
1485 DomGradient *m_gradient =
nullptr;
1489 Q_DISABLE_COPY_MOVE(DomColorRole)
1491 DomColorRole() =
default;
1494 void read(QXmlStreamReader &reader);
1495 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
1512 QString m_attr_role;
1513 bool m_has_attr_role =
false;
1516 uint m_children = 0;
1517 DomBrush *m_brush =
nullptr;
1525 Q_DISABLE_COPY_MOVE(DomColorGroup)
1527 DomColorGroup() =
default;
1530 void read(QXmlStreamReader &reader);
1531 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
1543 uint m_children = 0;
1544 QList<DomColorRole *> m_colorRole;
1545 QList<DomColor *> m_color;
1554 Q_DISABLE_COPY_MOVE(DomPalette)
1556 DomPalette() =
default;
1559 void read(QXmlStreamReader &reader);
1560 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
1584 uint m_children = 0;
1585 DomColorGroup *m_active =
nullptr;
1586 DomColorGroup *m_inactive =
nullptr;
1587 DomColorGroup *m_disabled =
nullptr;
1597 Q_DISABLE_COPY_MOVE(DomFont)
1599 DomFont() =
default;
1602 void read(QXmlStreamReader &reader);
1603 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
1669 uint m_children = 0;
1671 int m_pointSize = 0;
1673 bool m_italic =
false;
1674 bool m_bold =
false;
1675 bool m_underline =
false;
1676 bool m_strikeOut =
false;
1677 bool m_antialiasing =
false;
1678 QString m_styleStrategy;
1679 bool m_kerning =
false;
1680 QString m_hintingPreference;
1681 QString m_fontWeight;
1692 StyleStrategy = 256,
1694 HintingPreference = 1024,
1700 Q_DISABLE_COPY_MOVE(DomPoint)
1702 DomPoint() =
default;
1705 void read(QXmlStreamReader &reader);
1706 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
1722 uint m_children = 0;
1733 Q_DISABLE_COPY_MOVE(DomRect)
1735 DomRect() =
default;
1738 void read(QXmlStreamReader &reader);
1739 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
1765 uint m_children = 0;
1780 Q_DISABLE_COPY_MOVE(DomLocale)
1782 DomLocale() =
default;
1785 void read(QXmlStreamReader &reader);
1786 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
1801 QString m_attr_language;
1802 bool m_has_attr_language =
false;
1804 QString m_attr_country;
1805 bool m_has_attr_country =
false;
1809 Q_DISABLE_COPY_MOVE(DomSizePolicy)
1811 DomSizePolicy() =
default;
1814 void read(QXmlStreamReader &reader);
1815 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
1851 QString m_attr_hSizeType;
1852 bool m_has_attr_hSizeType =
false;
1854 QString m_attr_vSizeType;
1855 bool m_has_attr_vSizeType =
false;
1858 uint m_children = 0;
1859 int m_hSizeType = 0;
1860 int m_vSizeType = 0;
1861 int m_horStretch = 0;
1862 int m_verStretch = 0;
1873 Q_DISABLE_COPY_MOVE(DomSize)
1875 DomSize() =
default;
1878 void read(QXmlStreamReader &reader);
1879 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
1895 uint m_children = 0;
1906 Q_DISABLE_COPY_MOVE(DomDate)
1908 DomDate() =
default;
1911 void read(QXmlStreamReader &reader);
1912 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
1933 uint m_children = 0;
1946 Q_DISABLE_COPY_MOVE(DomTime)
1948 DomTime() =
default;
1951 void read(QXmlStreamReader &reader);
1952 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
1973 uint m_children = 0;
1986 Q_DISABLE_COPY_MOVE(DomDateTime)
1988 DomDateTime() =
default;
1991 void read(QXmlStreamReader &reader);
1992 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
2028 uint m_children = 0;
2047 Q_DISABLE_COPY_MOVE(DomStringList)
2049 DomStringList() =
default;
2052 void read(QXmlStreamReader &reader);
2053 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
2073 inline void setAttributeId(
const QString &a) { m_attr_id = a; m_has_attr_id =
true; }
2082 QString m_attr_notr;
2083 bool m_has_attr_notr =
false;
2085 QString m_attr_comment;
2086 bool m_has_attr_comment =
false;
2088 QString m_attr_extraComment;
2089 bool m_has_attr_extraComment =
false;
2092 bool m_has_attr_id =
false;
2095 uint m_children = 0;
2096 QStringList m_string;
2104 Q_DISABLE_COPY_MOVE(DomResourcePixmap)
2106 DomResourcePixmap() =
default;
2109 void read(QXmlStreamReader &reader);
2110 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
2112 inline QString
text()
const {
return m_text; }
2113 inline void setText(
const QString &s) { m_text = s; }
2130 QString m_attr_resource;
2131 bool m_has_attr_resource =
false;
2133 QString m_attr_alias;
2134 bool m_has_attr_alias =
false;
2138 Q_DISABLE_COPY_MOVE(DomResourceIcon)
2140 DomResourceIcon() =
default;
2143 void read(QXmlStreamReader &reader);
2144 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
2146 inline QString
text()
const {
return m_text; }
2147 inline void setText(
const QString &s) { m_text = s; }
2213 QString m_attr_theme;
2214 bool m_has_attr_theme =
false;
2216 QString m_attr_resource;
2217 bool m_has_attr_resource =
false;
2220 uint m_children = 0;
2221 DomResourcePixmap *m_normalOff =
nullptr;
2222 DomResourcePixmap *m_normalOn =
nullptr;
2223 DomResourcePixmap *m_disabledOff =
nullptr;
2224 DomResourcePixmap *m_disabledOn =
nullptr;
2225 DomResourcePixmap *m_activeOff =
nullptr;
2226 DomResourcePixmap *m_activeOn =
nullptr;
2227 DomResourcePixmap *m_selectedOff =
nullptr;
2228 DomResourcePixmap *m_selectedOn =
nullptr;
2243 Q_DISABLE_COPY_MOVE(DomString)
2245 DomString() =
default;
2248 void read(QXmlStreamReader &reader);
2249 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
2251 inline QString
text()
const {
return m_text; }
2252 inline void setText(
const QString &s) { m_text = s; }
2272 inline void setAttributeId(
const QString &a) { m_attr_id = a; m_has_attr_id =
true; }
2279 QString m_attr_notr;
2280 bool m_has_attr_notr =
false;
2282 QString m_attr_comment;
2283 bool m_has_attr_comment =
false;
2285 QString m_attr_extraComment;
2286 bool m_has_attr_extraComment =
false;
2289 bool m_has_attr_id =
false;
2293 Q_DISABLE_COPY_MOVE(DomPointF)
2295 DomPointF() =
default;
2298 void read(QXmlStreamReader &reader);
2299 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
2315 uint m_children = 0;
2326 Q_DISABLE_COPY_MOVE(DomRectF)
2328 DomRectF() =
default;
2331 void read(QXmlStreamReader &reader);
2332 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
2358 uint m_children = 0;
2361 double m_width = 0.0;
2362 double m_height = 0.0;
2373 Q_DISABLE_COPY_MOVE(DomSizeF)
2375 DomSizeF() =
default;
2378 void read(QXmlStreamReader &reader);
2379 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
2395 uint m_children = 0;
2396 double m_width = 0.0;
2397 double m_height = 0.0;
2406 Q_DISABLE_COPY_MOVE(DomChar)
2408 DomChar() =
default;
2411 void read(QXmlStreamReader &reader);
2412 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
2423 uint m_children = 0;
2432 Q_DISABLE_COPY_MOVE(DomUrl)
2437 void read(QXmlStreamReader &reader);
2438 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
2450 uint m_children = 0;
2451 DomString *m_string =
nullptr;
2459 Q_DISABLE_COPY_MOVE(DomProperty)
2461 DomProperty() =
default;
2464 void read(QXmlStreamReader &reader);
2465 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
2479 enum Kind { Unknown = 0, Bool, Color, Cstring, Cursor, CursorShape, Enum, Font, IconSet, Pixmap, Palette, Point, Rect, Set, Locale, SizePolicy, Size, String, StringList, Number, Float, Double, Date, Time, DateTime, PointF, RectF, SizeF, LongLong, Char, Url, UInt, ULongLong, Brush };
2606 QString m_attr_name;
2607 bool m_has_attr_name =
false;
2609 int m_attr_stdset = 0;
2610 bool m_has_attr_stdset =
false;
2615 DomColor *m_color =
nullptr;
2618 QString m_cursorShape;
2620 DomFont *m_font =
nullptr;
2621 DomResourceIcon *m_iconSet =
nullptr;
2622 DomResourcePixmap *m_pixmap =
nullptr;
2623 DomPalette *m_palette =
nullptr;
2624 DomPoint *m_point =
nullptr;
2625 DomRect *m_rect =
nullptr;
2627 DomLocale *m_locale =
nullptr;
2628 DomSizePolicy *m_sizePolicy =
nullptr;
2629 DomSize *m_size =
nullptr;
2630 DomString *m_string =
nullptr;
2631 DomStringList *m_stringList =
nullptr;
2633 float m_float = 0.0;
2634 double m_double = 0.0;
2635 DomDate *m_date =
nullptr;
2636 DomTime *m_time =
nullptr;
2637 DomDateTime *m_dateTime =
nullptr;
2638 DomPointF *m_pointF =
nullptr;
2639 DomRectF *m_rectF =
nullptr;
2640 DomSizeF *m_sizeF =
nullptr;
2641 qlonglong m_longLong = 0;
2642 DomChar *m_char =
nullptr;
2643 DomUrl *m_url =
nullptr;
2645 qulonglong m_uLongLong = 0;
2646 DomBrush *m_brush =
nullptr;
2650 Q_DISABLE_COPY_MOVE(DomConnections)
2652 DomConnections() =
default;
2655 void read(QXmlStreamReader &reader);
2656 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
2665 uint m_children = 0;
2666 QList<DomConnection *> m_connection;
2674 Q_DISABLE_COPY_MOVE(DomConnection)
2676 DomConnection() =
default;
2679 void read(QXmlStreamReader &reader);
2680 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
2712 uint m_children = 0;
2717 DomConnectionHints *m_hints =
nullptr;
2729 Q_DISABLE_COPY_MOVE(DomConnectionHints)
2731 DomConnectionHints() =
default;
2734 void read(QXmlStreamReader &reader);
2735 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
2744 uint m_children = 0;
2745 QList<DomConnectionHint *> m_hint;
2753 Q_DISABLE_COPY_MOVE(DomConnectionHint)
2755 DomConnectionHint() =
default;
2758 void read(QXmlStreamReader &reader);
2759 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
2780 QString m_attr_type;
2781 bool m_has_attr_type =
false;
2784 uint m_children = 0;
2795 Q_DISABLE_COPY_MOVE(DomDesignerData)
2797 DomDesignerData() =
default;
2800 void read(QXmlStreamReader &reader);
2801 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
2810 uint m_children = 0;
2811 QList<DomProperty *> m_property;
2819 Q_DISABLE_COPY_MOVE(DomSlots)
2821 DomSlots() =
default;
2824 void read(QXmlStreamReader &reader);
2825 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
2837 uint m_children = 0;
2838 QStringList m_signal;
2848 Q_DISABLE_COPY_MOVE(DomPropertySpecifications)
2850 DomPropertySpecifications() =
default;
2853 void read(QXmlStreamReader &reader);
2854 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
2866 uint m_children = 0;
2867 QList<DomPropertyToolTip *> m_tooltip;
2868 QList<DomStringPropertySpecification *> m_stringpropertyspecification;
2872 Stringpropertyspecification = 2
2877 Q_DISABLE_COPY_MOVE(DomPropertyToolTip)
2879 DomPropertyToolTip() =
default;
2882 void read(QXmlStreamReader &reader);
2883 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
2893 QString m_attr_name;
2894 bool m_has_attr_name =
false;
2898 Q_DISABLE_COPY_MOVE(DomStringPropertySpecification)
2900 DomStringPropertySpecification() =
default;
2903 void read(QXmlStreamReader &reader);
2904 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
2924 QString m_attr_name;
2925 bool m_has_attr_name =
false;
2927 QString m_attr_type;
2928 bool m_has_attr_type =
false;
2930 QString m_attr_notr;
2931 bool m_has_attr_notr =
false;
2935#ifdef QFORMINTERNAL_NAMESPACE
FontHandle(const DomFont *domFont)
int compare(const FontHandle &) const
int compare(const IconHandle &) const
IconHandle(const DomResourceIcon *domIcon)
SizePolicyHandle(const DomSizePolicy *domSizePolicy)
int compare(const SizePolicyHandle &) const
QList< DomProperty * > elementProperty() const
QList< DomActionGroup * > elementActionGroup() const
void setElementProperty(const QList< DomProperty * > &a)
void setElementAttribute(const QList< DomProperty * > &a)
void setElementActionGroup(const QList< DomActionGroup * > &a)
void setElementAction(const QList< DomAction * > &a)
QList< DomAction * > elementAction() const
QList< DomProperty * > elementAttribute() const
QString attributeMenu() const
void clearAttributeMenu()
bool hasAttributeMenu() const
void setAttributeMenu(const QString &a)
void clearAttributeBrushStyle()
DomProperty * takeElementTexture()
bool hasAttributeBrushStyle() const
void setElementTexture(DomProperty *a)
QString attributeBrushStyle() const
DomProperty * elementTexture() const
DomGradient * elementGradient() const
DomGradient * takeElementGradient()
void setAttributeBrushStyle(const QString &a)
void setElementGradient(DomGradient *a)
void setElementUnicode(int a)
bool hasElementUnicode() const
void clearElementUnicode()
int elementUnicode() const
void setElementColor(const QList< DomColor * > &a)
QList< DomColorRole * > elementColorRole() const
void setElementColorRole(const QList< DomColorRole * > &a)
QString attributeRole() const
bool hasAttributeRole() const
DomBrush * elementBrush() const
void setElementBrush(DomBrush *a)
DomBrush * takeElementBrush()
void clearAttributeRole()
bool hasElementBrush() const
void setAttributeRole(const QString &a)
bool hasElementBlue() const
int attributeAlpha() const
void setAttributeAlpha(int a)
bool hasAttributeAlpha() const
bool hasElementRed() const
void setElementBlue(int a)
bool hasElementGreen() const
void setElementRed(int a)
void setElementGreen(int a)
void clearAttributeAlpha()
QList< DomConnectionHint * > elementHint() const
void setElementHint(const QList< DomConnectionHint * > &a)
QString elementSender() const
void setElementSignal(const QString &a)
QString elementSlot() const
bool hasElementSignal() const
QString elementSignal() const
DomConnectionHints * takeElementHints()
void setElementSlot(const QString &a)
void setElementReceiver(const QString &a)
bool hasElementSender() const
void setElementHints(DomConnectionHints *a)
bool hasElementSlot() const
QString elementReceiver() const
bool hasElementReceiver() const
void clearElementSender()
void clearElementReceiver()
void clearElementSignal()
void setElementSender(const QString &a)
bool hasElementHints() const
DomConnectionHints * elementHints() const
QList< DomConnection * > elementConnection() const
void setElementConnection(const QList< DomConnection * > &a)
bool hasElementYear() const
void setElementYear(int a)
void setElementDay(int a)
bool hasElementDay() const
void setElementMonth(int a)
bool hasElementMonth() const
void setElementAntialiasing(bool a)
void clearElementFamily()
void clearElementWeight()
QString elementFontWeight() const
void clearElementHintingPreference()
bool hasElementStrikeOut() const
void setElementKerning(bool a)
void clearElementPointSize()
bool hasElementItalic() const
bool elementKerning() const
void setElementPointSize(int a)
bool elementUnderline() const
void setElementFontWeight(const QString &a)
bool hasElementStyleStrategy() const
void setElementUnderline(bool a)
QString elementStyleStrategy() const
void clearElementUnderline()
int elementPointSize() const
bool hasElementFamily() const
void clearElementKerning()
void setElementStrikeOut(bool a)
void setElementStyleStrategy(const QString &a)
void clearElementAntialiasing()
void clearElementFontWeight()
void setElementItalic(bool a)
void setElementBold(bool a)
void clearElementStrikeOut()
QString elementFamily() const
void setElementWeight(int a)
bool hasElementAntialiasing() const
bool hasElementUnderline() const
void setElementHintingPreference(const QString &a)
void clearElementStyleStrategy()
bool elementAntialiasing() const
int elementWeight() const
bool hasElementFontWeight() const
void setElementFamily(const QString &a)
bool elementStrikeOut() const
QString elementHintingPreference() const
bool hasElementKerning() const
void clearElementItalic()
bool elementItalic() const
bool hasElementPointSize() const
bool hasElementHintingPreference() const
bool hasElementBold() const
bool hasElementWeight() const
DomColor * takeElementColor()
bool hasAttributePosition() const
bool hasElementColor() const
void setElementColor(DomColor *a)
void clearAttributePosition()
DomColor * elementColor() const
double attributePosition() const
void setAttributePosition(double a)
QString attributeSpread() const
void clearAttributeFocalY()
bool hasAttributeStartX() const
QString attributeType() const
double attributeCentralX() const
void setAttributeEndX(double a)
bool hasAttributeEndX() const
bool hasAttributeAngle() const
void clearAttributeSpread()
void clearAttributeStartY()
bool hasAttributeEndY() const
double attributeFocalY() const
void clearAttributeStartX()
void setAttributeAngle(double a)
void clearAttributeEndX()
void setAttributeEndY(double a)
void setAttributeFocalX(double a)
void setAttributeSpread(const QString &a)
void clearAttributeType()
bool hasAttributeFocalX() const
void clearAttributeAngle()
bool hasAttributeCentralY() const
void setAttributeRadius(double a)
void clearAttributeCentralY()
bool hasAttributeStartY() const
double attributeEndY() const
double attributeFocalX() const
QList< DomGradientStop * > elementGradientStop() const
void setAttributeType(const QString &a)
bool hasAttributeFocalY() const
double attributeAngle() const
void setAttributeCentralY(double a)
bool hasAttributeSpread() const
double attributeStartY() const
double attributeRadius() const
double attributeStartX() const
void clearAttributeRadius()
bool hasAttributeRadius() const
bool hasAttributeCoordinateMode() const
void setElementGradientStop(const QList< DomGradientStop * > &a)
void setAttributeFocalY(double a)
void setAttributeCoordinateMode(const QString &a)
void setAttributeStartX(double a)
bool hasAttributeType() const
double attributeEndX() const
void clearAttributeCentralX()
QString attributeCoordinateMode() const
void setAttributeStartY(double a)
void setAttributeCentralX(double a)
void clearAttributeEndY()
void clearAttributeCoordinateMode()
void clearAttributeFocalX()
bool hasAttributeCentralX() const
double attributeCentralY() const
QString attributeLocation() const
QString attributeImpldecl() const
bool hasAttributeImpldecl() const
bool hasAttributeLocation() const
void clearAttributeLocation()
void clearAttributeImpldecl()
void setAttributeImpldecl(const QString &a)
void setAttributeLocation(const QString &a)
void setText(const QString &s)
void setElementInclude(const QList< DomInclude * > &a)
QList< DomInclude * > elementInclude() const
void setElementItem(const QList< DomItem * > &a)
int attributeMargin() const
void clearAttributeMargin()
bool hasAttributeMargin() const
bool hasAttributeSpacing() const
int attributeSpacing() const
void setAttributeSpacing(int a)
void setAttributeMargin(int a)
void clearAttributeSpacing()
void setAttributeSpacing(const QString &a)
void setAttributeMargin(const QString &a)
bool hasAttributeRowSpan() const
int attributeRowSpan() const
void clearAttributeColumn()
void setAttributeColSpan(int a)
QString attributeAlignment() const
bool hasAttributeColSpan() const
void clearAttributeColSpan()
void setAttributeColumn(int a)
bool hasAttributeColumn() const
int attributeColumn() const
int attributeColSpan() const
void setAttributeRowSpan(int a)
bool hasAttributeAlignment() const
DomLayout * takeElementLayout()
DomSpacer * takeElementSpacer()
bool hasAttributeRow() const
void clearAttributeRowSpan()
void setElementLayout(DomLayout *a)
void setElementSpacer(DomSpacer *a)
DomLayout * elementLayout() const
void setAttributeAlignment(const QString &a)
void clearAttributeAlignment()
DomSpacer * elementSpacer() const
void setAttributeRow(int a)
QString attributeStretch() const
bool hasAttributeColumnMinimumWidth() const
void clearAttributeRowStretch()
bool hasAttributeColumnStretch() const
void setElementItem(const QList< DomLayoutItem * > &a)
QList< DomLayoutItem * > elementItem() const
QString attributeColumnMinimumWidth() const
bool hasAttributeRowStretch() const
void setAttributeColumnStretch(const QString &a)
void clearAttributeColumnStretch()
QString attributeRowStretch() const
void setAttributeRowMinimumHeight(const QString &a)
void clearAttributeClass()
void setAttributeStretch(const QString &a)
void setAttributeRowStretch(const QString &a)
void clearAttributeColumnMinimumWidth()
void setAttributeColumnMinimumWidth(const QString &a)
void clearAttributeStretch()
bool hasAttributeClass() const
void clearAttributeRowMinimumHeight()
bool hasAttributeRowMinimumHeight() const
void setAttributeClass(const QString &a)
QString attributeClass() const
bool hasAttributeStretch() const
QString attributeRowMinimumHeight() const
QString attributeColumnStretch() const
QString attributeCountry() const
void setAttributeCountry(const QString &a)
bool hasAttributeCountry() const
void clearAttributeCountry()
void setElementDisabled(DomColorGroup *a)
DomColorGroup * takeElementDisabled()
DomColorGroup * elementDisabled() const
bool hasElementInactive() const
void setElementActive(DomColorGroup *a)
bool hasElementDisabled() const
void clearElementInactive()
DomColorGroup * takeElementInactive()
void clearElementDisabled()
bool hasElementActive() const
DomColorGroup * elementInactive() const
DomColorGroup * takeElementActive()
void setElementInactive(DomColorGroup *a)
DomColorGroup * elementActive() const
void clearElementActive()
void setElementY(double a)
void setElementX(double a)
QList< DomStringPropertySpecification * > elementStringpropertyspecification() const
QList< DomPropertyToolTip * > elementTooltip() const
void setElementTooltip(const QList< DomPropertyToolTip * > &a)
~DomPropertySpecifications()
void setElementStringpropertyspecification(const QList< DomStringPropertySpecification * > &a)
DomRect * elementRect() const
DomPoint * takeElementPoint()
void setElementDate(DomDate *a)
DomDate * elementDate() const
void setElementPoint(DomPoint *a)
DomPalette * elementPalette() const
QString elementEnum() const
void setElementPixmap(DomResourcePixmap *a)
DomSizeF * elementSizeF() const
DomDateTime * elementDateTime() const
void setElementBool(const QString &a)
void setAttributeStdset(int a)
DomPointF * elementPointF() const
DomSizePolicy * takeElementSizePolicy()
int elementCursor() const
void setElementNumber(int a)
QString elementBool() const
DomLocale * elementLocale() const
DomChar * takeElementChar()
DomRect * takeElementRect()
void setElementFont(DomFont *a)
void setElementUrl(DomUrl *a)
DomSize * elementSize() const
QString elementSet() const
void setElementPointF(DomPointF *a)
DomUrl * takeElementUrl()
void setElementUInt(uint a)
DomSize * takeElementSize()
void clearAttributeStdset()
DomPalette * takeElementPalette()
DomLocale * takeElementLocale()
bool hasAttributeStdset() const
void setElementSizePolicy(DomSizePolicy *a)
void setElementIconSet(DomResourceIcon *a)
QString elementCursorShape() const
DomChar * elementChar() const
DomTime * takeElementTime()
DomSizePolicy * elementSizePolicy() const
DomFont * takeElementFont()
float elementFloat() const
void setElementPalette(DomPalette *a)
void setElementRectF(DomRectF *a)
void setElementSize(DomSize *a)
DomSizeF * takeElementSizeF()
DomUrl * elementUrl() const
void setElementULongLong(qulonglong a)
double elementDouble() const
void setElementDateTime(DomDateTime *a)
DomResourcePixmap * takeElementPixmap()
DomRectF * takeElementRectF()
DomStringList * elementStringList() const
DomDateTime * takeElementDateTime()
DomPointF * takeElementPointF()
DomDate * takeElementDate()
QString elementCstring() const
DomRectF * elementRectF() const
void setElementSet(const QString &a)
void setElementDouble(double a)
qlonglong elementLongLong() const
void setElementCursorShape(const QString &a)
DomResourceIcon * elementIconSet() const
int elementNumber() const
void setElementLongLong(qlonglong a)
DomResourceIcon * takeElementIconSet()
void setElementEnum(const QString &a)
DomTime * elementTime() const
void setElementCstring(const QString &a)
qulonglong elementULongLong() const
void setElementStringList(DomStringList *a)
void setElementSizeF(DomSizeF *a)
DomPoint * elementPoint() const
void setElementFloat(float a)
DomStringList * takeElementStringList()
DomFont * elementFont() const
void setElementChar(DomChar *a)
void setElementTime(DomTime *a)
void setElementCursor(int a)
void setElementLocale(DomLocale *a)
int attributeStdset() const
void setElementRect(DomRect *a)
void setElementHeight(double a)
void setElementWidth(double a)
void clearElementHeight()
int elementHeight() const
bool hasElementWidth() const
void setElementHeight(int a)
bool hasElementHeight() const
void setElementWidth(int a)
bool hasElementSelectedOn() const
void setElementNormalOff(DomResourcePixmap *a)
DomResourcePixmap * elementActiveOff() const
void clearElementActiveOn()
DomResourcePixmap * takeElementNormalOff()
DomResourcePixmap * elementSelectedOn() const
bool hasElementActiveOff() const
void clearElementNormalOn()
DomResourcePixmap * elementDisabledOn() const
void setElementActiveOn(DomResourcePixmap *a)
DomResourcePixmap * elementSelectedOff() const
bool hasElementDisabledOn() const
void setElementDisabledOff(DomResourcePixmap *a)
void clearElementSelectedOn()
DomResourcePixmap * takeElementDisabledOn()
QString attributeTheme() const
void setAttributeTheme(const QString &a)
bool hasAttributeTheme() const
DomResourcePixmap * elementDisabledOff() const
void setElementDisabledOn(DomResourcePixmap *a)
void setElementSelectedOff(DomResourcePixmap *a)
void setElementActiveOff(DomResourcePixmap *a)
DomResourcePixmap * takeElementDisabledOff()
bool hasElementSelectedOff() const
bool hasElementDisabledOff() const
DomResourcePixmap * takeElementSelectedOn()
void clearElementActiveOff()
bool hasElementNormalOff() const
DomResourcePixmap * elementNormalOff() const
DomResourcePixmap * takeElementNormalOn()
void clearElementDisabledOn()
DomResourcePixmap * elementNormalOn() const
DomResourcePixmap * takeElementActiveOff()
void clearElementSelectedOff()
DomResourcePixmap * takeElementActiveOn()
DomResourcePixmap * elementActiveOn() const
void clearElementDisabledOff()
DomResourcePixmap * takeElementSelectedOff()
bool hasElementNormalOn() const
void setElementSelectedOn(DomResourcePixmap *a)
void clearElementNormalOff()
void setElementNormalOn(DomResourcePixmap *a)
bool hasElementActiveOn() const
void clearAttributeTheme()
void clearAttributeAlias()
bool hasAttributeResource() const
void setAttributeAlias(const QString &a)
void setAttributeResource(const QString &a)
void clearAttributeResource()
QString attributeResource() const
bool hasAttributeAlias() const
QString attributeAlias() const
QString attributeName() const
void clearAttributeName()
bool hasAttributeName() const
void setElementInclude(const QList< DomResource * > &a)
void setAttributeName(const QString &a)
void clearElementHorStretch()
QString attributeVSizeType() const
int elementHSizeType() const
void setElementHSizeType(int a)
void setElementHorStretch(int a)
int elementVerStretch() const
bool hasElementHSizeType() const
void setElementVerStretch(int a)
void clearElementHSizeType()
bool hasElementVerStretch() const
int elementVSizeType() const
void setAttributeHSizeType(const QString &a)
void setAttributeVSizeType(const QString &a)
bool hasElementVSizeType() const
void clearAttributeHSizeType()
void clearElementVerStretch()
void setElementVSizeType(int a)
bool hasAttributeHSizeType() const
int elementHorStretch() const
bool hasElementHorStretch() const
void clearAttributeVSizeType()
QString attributeHSizeType() const
void clearElementVSizeType()
bool hasAttributeVSizeType() const
void setElementSignal(const QStringList &a)
void setElementSlot(const QStringList &a)
QString attributeNotr() const
void clearAttributeComment()
void setElementString(const QStringList &a)
void setAttributeComment(const QString &a)
QString attributeExtraComment() const
bool hasAttributeExtraComment() const
void clearAttributeNotr()
QStringList elementString() const
bool hasAttributeId() const
bool hasAttributeComment() const
void setAttributeNotr(const QString &a)
QString attributeId() const
void setAttributeId(const QString &a)
QString attributeComment() const
void clearAttributeExtraComment()
void setAttributeExtraComment(const QString &a)
bool hasAttributeNotr() const
~DomStringPropertySpecification()
QStringList elementTabStop() const
void setElementTabStop(const QStringList &a)
void setElementMinute(int a)
void clearElementMinute()
int elementMinute() const
void setElementSecond(int a)
bool hasElementMinute() const
void setElementHour(int a)
int elementSecond() const
bool hasElementSecond() const
bool hasElementHour() const
void clearElementSecond()
bool hasAttributeStdSetDef() const
DomButtonGroups * takeElementButtonGroups()
bool hasElementWidget() const
void setElementSlots(DomSlots *a)
void setElementCustomWidgets(DomCustomWidgets *a)
void write(QXmlStreamWriter &writer, const QString &tagName=QString()) const
void clearAttributeLanguage()
QString attributeVersion() const
DomSlots * elementSlots() const
bool hasAttributeDisplayname() const
bool hasElementSlots() const
DomTabStops * takeElementTabStops()
QString attributeLanguage() const
void setElementTabStops(DomTabStops *a)
bool hasElementConnections() const
DomLayoutFunction * elementLayoutFunction() const
void clearElementDesignerdata()
int attributeStdSetDef() const
bool hasElementClass() const
void clearElementCustomWidgets()
void setElementClass(const QString &a)
DomWidget * elementWidget() const
void clearAttributeStdSetDef()
void setElementButtonGroups(DomButtonGroups *a)
void setElementConnections(DomConnections *a)
bool hasElementLayoutDefault() const
QString elementPixmapFunction() const
bool hasElementPixmapFunction() const
QString elementClass() const
DomResources * takeElementResources()
DomDesignerData * elementDesignerdata() const
bool hasAttributeLanguage() const
void setElementComment(const QString &a)
void clearElementPixmapFunction()
QString elementExportMacro() const
QString elementAuthor() const
bool hasElementTabStops() const
DomDesignerData * takeElementDesignerdata()
bool hasElementLayoutFunction() const
bool hasElementDesignerdata() const
void clearAttributeStdsetdef()
bool hasElementExportMacro() const
void clearElementComment()
DomWidget * takeElementWidget()
DomSlots * takeElementSlots()
void clearAttributeVersion()
void clearElementIncludes()
bool hasElementIncludes() const
DomLayoutDefault * takeElementLayoutDefault()
DomLayoutDefault * elementLayoutDefault() const
void setElementWidget(DomWidget *a)
void clearAttributeIdbasedtr()
void setElementIncludes(DomIncludes *a)
void clearElementLayoutFunction()
void setAttributeVersion(const QString &a)
DomCustomWidgets * takeElementCustomWidgets()
bool attributeConnectslotsbyname() const
void clearAttributeLabel()
void setElementExportMacro(const QString &a)
void setElementLayoutFunction(DomLayoutFunction *a)
bool hasAttributeVersion() const
void clearElementAuthor()
DomConnections * takeElementConnections()
void clearElementExportMacro()
QString elementComment() const
bool hasElementCustomWidgets() const
void read(QXmlStreamReader &reader)
DomIncludes * takeElementIncludes()
bool hasAttributeStdsetdef() const
bool attributeIdbasedtr() const
void clearAttributeDisplayname()
DomResources * elementResources() const
QString attributeLabel() const
void setElementResources(DomResources *a)
void setAttributeConnectslotsbyname(bool a)
void setAttributeIdbasedtr(bool a)
bool hasElementButtonGroups() const
void clearElementWidget()
bool hasElementResources() const
bool hasAttributeIdbasedtr() const
DomCustomWidgets * elementCustomWidgets() const
void setAttributeStdSetDef(int a)
bool hasElementAuthor() const
void setAttributeLabel(const QString &a)
void setElementPixmapFunction(const QString &a)
DomLayoutFunction * takeElementLayoutFunction()
bool hasElementComment() const
void setElementDesignerdata(DomDesignerData *a)
void setAttributeStdsetdef(int a)
DomIncludes * elementIncludes() const
DomTabStops * elementTabStops() const
void clearElementConnections()
void setElementLayoutDefault(DomLayoutDefault *a)
void clearElementLayoutDefault()
void setElementAuthor(const QString &a)
bool hasAttributeConnectslotsbyname() const
void setAttributeDisplayname(const QString &a)
void clearElementResources()
bool hasAttributeLabel() const
QString attributeDisplayname() const
void clearAttributeConnectslotsbyname()
void clearElementButtonGroups()
void setAttributeLanguage(const QString &a)
int attributeStdsetdef() const
DomConnections * elementConnections() const
DomButtonGroups * elementButtonGroups() const
void clearElementTabStops()
bool hasElementString() const
void setElementString(DomString *a)
DomString * takeElementString()
void clearElementString()
QString findOrInsertButtonGroup(const DomButtonGroup *ui_group)
QString findOrInsertWidget(const DomWidget *ui_widget)
QString findOrInsertActionGroup(const DomActionGroup *ui_group)
QString findOrInsertAction(const DomAction *ui_action)
QString findOrInsertLayout(const DomLayout *ui_layout)
QString findOrInsertSpacer(const DomSpacer *ui_spacer)
const DatabaseInfo * databaseInfo() const
const Option & option() const
Q_DECLARE_TYPEINFO(CPP::WriteInitialization::Buddy, Q_RELOCATABLE_TYPE)
bool operator<(const FontHandle &f1, const FontHandle &f2)
bool operator<(const SizePolicyHandle &f1, const SizePolicyHandle &f2)
bool operator==(const SizePolicyHandle &f1, const SizePolicyHandle &f2)
bool operator==(const IconHandle &i1, const IconHandle &i2)
bool operator<(const IconHandle &i1, const IconHandle &i2)
bool operator==(const FontHandle &f1, const FontHandle &f2)
void acceptWidget(DomWidget *node) override
void acceptAction(DomAction *node) override
void acceptUI(DomUI *node) override
void acceptButtonGroup(const DomButtonGroup *buttonGroup) override
void acceptActionGroup(DomActionGroup *node) override
void acceptLayout(DomLayout *node) override
void acceptSpacer(DomSpacer *node) override
WriteDeclaration(Uic *uic)
QMultiMap< QString, QString > setters
TemporaryVariableGeneratorPolicy
@ GenerateWithMultiDirective
void acceptCustomWidgets(DomCustomWidgets *node) override
void acceptActionGroup(DomActionGroup *node) override
void acceptSpacer(DomSpacer *node) override
void acceptLayoutItem(DomLayoutItem *node) override
void acceptTabStops(DomTabStops *tabStops) override
void acceptUI(DomUI *node) override
QList< DomProperty * > DomPropertyList
void acceptLayoutDefault(DomLayoutDefault *node) override
void acceptLayout(DomLayout *node) override
void acceptAction(DomAction *node) override
void acceptCustomWidget(DomCustomWidget *node) override
void acceptLayoutFunction(DomLayoutFunction *node) override
void acceptActionRef(DomActionRef *node) override
WriteInitialization(Uic *uic)
void acceptConnection(DomConnection *connection) override
QHash< QString, DomProperty * > DomPropertyMap
void acceptWidget(DomWidget *node) override
unsigned int generateNamespace
virtual void acceptAction(DomAction *action)
virtual void acceptActionGroup(DomActionGroup *actionGroup)
virtual void acceptButtonGroup(const DomButtonGroup *buttonGroup)
virtual void acceptSpacer(DomSpacer *spacer)
virtual void acceptWidget(DomWidget *widget)
virtual void acceptButtonGroups(const DomButtonGroups *buttonGroups)
virtual void acceptLayout(DomLayout *layout)
#define QDESIGNER_UILIB_IMPORT
#define QDESIGNER_UILIB_EXPORT