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;
255 QString m_attr_version;
256 bool m_has_attr_version =
false;
258 QString m_attr_language;
259 bool m_has_attr_language =
false;
261 QString m_attr_displayname;
262 bool m_has_attr_displayname =
false;
264 bool m_attr_idbasedtr =
false;
265 bool m_has_attr_idbasedtr =
false;
267 bool m_attr_connectslotsbyname =
false;
268 bool m_has_attr_connectslotsbyname =
false;
270 int m_attr_stdsetdef = 0;
271 bool m_has_attr_stdsetdef =
false;
273 int m_attr_stdSetDef = 0;
274 bool m_has_attr_stdSetDef =
false;
280 QString m_exportMacro;
282 DomWidget *m_widget =
nullptr;
283 DomLayoutDefault *m_layoutDefault =
nullptr;
284 DomLayoutFunction *m_layoutFunction =
nullptr;
285 QString m_pixmapFunction;
286 DomCustomWidgets *m_customWidgets =
nullptr;
287 DomTabStops *m_tabStops =
nullptr;
288 DomIncludes *m_includes =
nullptr;
289 DomResources *m_resources =
nullptr;
290 DomConnections *m_connections =
nullptr;
291 DomDesignerData *m_designerdata =
nullptr;
292 DomSlots *m_slots =
nullptr;
293 DomButtonGroups *m_buttonGroups =
nullptr;
303 PixmapFunction = 128,
316 Q_DISABLE_COPY_MOVE(DomIncludes)
318 DomIncludes() =
default;
321 void read(QXmlStreamReader &reader);
322 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
332 QList<DomInclude *> m_include;
340 Q_DISABLE_COPY_MOVE(DomInclude)
342 DomInclude() =
default;
345 void read(QXmlStreamReader &reader);
346 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
348 inline QString
text()
const {
return m_text; }
349 inline void setText(
const QString &s) { m_text = s; }
366 QString m_attr_location;
367 bool m_has_attr_location =
false;
369 QString m_attr_impldecl;
370 bool m_has_attr_impldecl =
false;
374 Q_DISABLE_COPY_MOVE(DomResources)
376 DomResources() =
default;
379 void read(QXmlStreamReader &reader);
380 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
385 inline void setAttributeName(
const QString &a) { m_attr_name = a; m_has_attr_name =
true; }
395 bool m_has_attr_name =
false;
399 QList<DomResource *> m_include;
407 Q_DISABLE_COPY_MOVE(DomResource)
409 DomResource() =
default;
412 void read(QXmlStreamReader &reader);
413 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
423 QString m_attr_location;
424 bool m_has_attr_location =
false;
428 Q_DISABLE_COPY_MOVE(DomActionGroup)
430 DomActionGroup() =
default;
433 void read(QXmlStreamReader &reader);
434 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
439 inline void setAttributeName(
const QString &a) { m_attr_name = a; m_has_attr_name =
true; }
458 bool m_has_attr_name =
false;
462 QList<DomAction *> m_action;
463 QList<DomActionGroup *> m_actionGroup;
464 QList<DomProperty *> m_property;
465 QList<DomProperty *> m_attribute;
476 Q_DISABLE_COPY_MOVE(DomAction)
478 DomAction() =
default;
481 void read(QXmlStreamReader &reader);
482 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
487 inline void setAttributeName(
const QString &a) { m_attr_name = a; m_has_attr_name =
true; }
492 inline void setAttributeMenu(
const QString &a) { m_attr_menu = a; m_has_attr_menu =
true; }
505 bool m_has_attr_name =
false;
508 bool m_has_attr_menu =
false;
512 QList<DomProperty *> m_property;
513 QList<DomProperty *> m_attribute;
522 Q_DISABLE_COPY_MOVE(DomActionRef)
524 DomActionRef() =
default;
527 void read(QXmlStreamReader &reader);
528 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
533 inline void setAttributeName(
const QString &a) { m_attr_name = a; m_has_attr_name =
true; }
539 bool m_has_attr_name =
false;
543 Q_DISABLE_COPY_MOVE(DomButtonGroup)
545 DomButtonGroup() =
default;
548 void read(QXmlStreamReader &reader);
549 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
554 inline void setAttributeName(
const QString &a) { m_attr_name = a; m_has_attr_name =
true; }
567 bool m_has_attr_name =
false;
571 QList<DomProperty *> m_property;
572 QList<DomProperty *> m_attribute;
581 Q_DISABLE_COPY_MOVE(DomButtonGroups)
583 DomButtonGroups() =
default;
586 void read(QXmlStreamReader &reader);
587 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
597 QList<DomButtonGroup *> m_buttonGroup;
605 Q_DISABLE_COPY_MOVE(DomCustomWidgets)
607 DomCustomWidgets() =
default;
610 void read(QXmlStreamReader &reader);
611 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
621 QList<DomCustomWidget *> m_customWidget;
629 Q_DISABLE_COPY_MOVE(DomHeader)
631 DomHeader() =
default;
634 void read(QXmlStreamReader &reader);
635 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
637 inline QString
text()
const {
return m_text; }
638 inline void setText(
const QString &s) { m_text = s; }
650 QString m_attr_location;
651 bool m_has_attr_location =
false;
655 Q_DISABLE_COPY_MOVE(DomCustomWidget)
657 DomCustomWidget() =
default;
660 void read(QXmlStreamReader &reader);
661 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
719 DomHeader *m_header =
nullptr;
720 DomSize *m_sizeHint =
nullptr;
721 QString m_addPageMethod;
724 DomSlots *m_slots =
nullptr;
725 DomPropertySpecifications *m_propertyspecifications =
nullptr;
736 Propertyspecifications = 256
741 Q_DISABLE_COPY_MOVE(DomLayoutDefault)
743 DomLayoutDefault() =
default;
746 void read(QXmlStreamReader &reader);
747 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
762 int m_attr_spacing = 0;
763 bool m_has_attr_spacing =
false;
765 int m_attr_margin = 0;
766 bool m_has_attr_margin =
false;
770 Q_DISABLE_COPY_MOVE(DomLayoutFunction)
772 DomLayoutFunction() =
default;
775 void read(QXmlStreamReader &reader);
776 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
791 QString m_attr_spacing;
792 bool m_has_attr_spacing =
false;
794 QString m_attr_margin;
795 bool m_has_attr_margin =
false;
799 Q_DISABLE_COPY_MOVE(DomTabStops)
801 DomTabStops() =
default;
804 void read(QXmlStreamReader &reader);
805 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
815 QStringList m_tabStop;
823 Q_DISABLE_COPY_MOVE(DomLayout)
825 DomLayout() =
default;
828 void read(QXmlStreamReader &reader);
829 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
839 inline void setAttributeName(
const QString &a) { m_attr_name = a; m_has_attr_name =
true; }
879 QString m_attr_class;
880 bool m_has_attr_class =
false;
883 bool m_has_attr_name =
false;
885 QString m_attr_stretch;
886 bool m_has_attr_stretch =
false;
888 QString m_attr_rowStretch;
889 bool m_has_attr_rowStretch =
false;
891 QString m_attr_columnStretch;
892 bool m_has_attr_columnStretch =
false;
894 QString m_attr_rowMinimumHeight;
895 bool m_has_attr_rowMinimumHeight =
false;
897 QString m_attr_columnMinimumWidth;
898 bool m_has_attr_columnMinimumWidth =
false;
902 QList<DomProperty *> m_property;
903 QList<DomProperty *> m_attribute;
904 QList<DomLayoutItem *> m_item;
914 Q_DISABLE_COPY_MOVE(DomLayoutItem)
916 DomLayoutItem() =
default;
919 void read(QXmlStreamReader &reader);
920 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
969 bool m_has_attr_row =
false;
971 int m_attr_column = 0;
972 bool m_has_attr_column =
false;
974 int m_attr_rowSpan = 0;
975 bool m_has_attr_rowSpan =
false;
977 int m_attr_colSpan = 0;
978 bool m_has_attr_colSpan =
false;
980 QString m_attr_alignment;
981 bool m_has_attr_alignment =
false;
985 DomWidget *m_widget =
nullptr;
986 DomLayout *m_layout =
nullptr;
987 DomSpacer *m_spacer =
nullptr;
991 Q_DISABLE_COPY_MOVE(DomRow)
996 void read(QXmlStreamReader &reader);
997 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
1006 uint m_children = 0;
1007 QList<DomProperty *> m_property;
1015 Q_DISABLE_COPY_MOVE(DomColumn)
1017 DomColumn() =
default;
1020 void read(QXmlStreamReader &reader);
1021 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
1030 uint m_children = 0;
1031 QList<DomProperty *> m_property;
1039 Q_DISABLE_COPY_MOVE(DomItem)
1041 DomItem() =
default;
1044 void read(QXmlStreamReader &reader);
1045 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
1068 bool m_has_attr_row =
false;
1070 int m_attr_column = 0;
1071 bool m_has_attr_column =
false;
1074 uint m_children = 0;
1075 QList<DomProperty *> m_property;
1076 QList<DomItem *> m_item;
1085 Q_DISABLE_COPY_MOVE(DomWidget)
1087 DomWidget() =
default;
1090 void read(QXmlStreamReader &reader);
1091 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
1148 QString m_attr_class;
1149 bool m_has_attr_class =
false;
1151 QString m_attr_name;
1152 bool m_has_attr_name =
false;
1154 bool m_attr_native =
false;
1155 bool m_has_attr_native =
false;
1158 uint m_children = 0;
1159 QStringList m_class;
1160 QList<DomProperty *> m_property;
1161 QList<DomProperty *> m_attribute;
1162 QList<DomRow *> m_row;
1163 QList<DomColumn *> m_column;
1164 QList<DomItem *> m_item;
1165 QList<DomLayout *> m_layout;
1166 QList<DomWidget *> m_widget;
1167 QList<DomAction *> m_action;
1168 QList<DomActionGroup *> m_actionGroup;
1169 QList<DomActionRef *> m_addAction;
1170 QStringList m_zOrder;
1189 Q_DISABLE_COPY_MOVE(DomSpacer)
1191 DomSpacer() =
default;
1194 void read(QXmlStreamReader &reader);
1195 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
1209 QString m_attr_name;
1210 bool m_has_attr_name =
false;
1213 uint m_children = 0;
1214 QList<DomProperty *> m_property;
1222 Q_DISABLE_COPY_MOVE(DomColor)
1224 DomColor() =
default;
1227 void read(QXmlStreamReader &reader);
1228 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
1254 int m_attr_alpha = 0;
1255 bool m_has_attr_alpha =
false;
1258 uint m_children = 0;
1271 Q_DISABLE_COPY_MOVE(DomGradientStop)
1273 DomGradientStop() =
default;
1276 void read(QXmlStreamReader &reader);
1277 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
1294 double m_attr_position = 0.0;
1295 bool m_has_attr_position =
false;
1298 uint m_children = 0;
1299 DomColor *m_color =
nullptr;
1307 Q_DISABLE_COPY_MOVE(DomGradient)
1309 DomGradient() =
default;
1312 void read(QXmlStreamReader &reader);
1313 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
1387 double m_attr_startX = 0.0;
1388 bool m_has_attr_startX =
false;
1390 double m_attr_startY = 0.0;
1391 bool m_has_attr_startY =
false;
1393 double m_attr_endX = 0.0;
1394 bool m_has_attr_endX =
false;
1396 double m_attr_endY = 0.0;
1397 bool m_has_attr_endY =
false;
1399 double m_attr_centralX = 0.0;
1400 bool m_has_attr_centralX =
false;
1402 double m_attr_centralY = 0.0;
1403 bool m_has_attr_centralY =
false;
1405 double m_attr_focalX = 0.0;
1406 bool m_has_attr_focalX =
false;
1408 double m_attr_focalY = 0.0;
1409 bool m_has_attr_focalY =
false;
1411 double m_attr_radius = 0.0;
1412 bool m_has_attr_radius =
false;
1414 double m_attr_angle = 0.0;
1415 bool m_has_attr_angle =
false;
1417 QString m_attr_type;
1418 bool m_has_attr_type =
false;
1420 QString m_attr_spread;
1421 bool m_has_attr_spread =
false;
1423 QString m_attr_coordinateMode;
1424 bool m_has_attr_coordinateMode =
false;
1427 uint m_children = 0;
1428 QList<DomGradientStop *> m_gradientStop;
1436 Q_DISABLE_COPY_MOVE(DomBrush)
1438 DomBrush() =
default;
1441 void read(QXmlStreamReader &reader);
1442 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
1451 enum Kind { Unknown = 0, Color, Texture, Gradient };
1470 QString m_attr_brushStyle;
1471 bool m_has_attr_brushStyle =
false;
1475 DomColor *m_color =
nullptr;
1476 DomProperty *m_texture =
nullptr;
1477 DomGradient *m_gradient =
nullptr;
1481 Q_DISABLE_COPY_MOVE(DomColorRole)
1483 DomColorRole() =
default;
1486 void read(QXmlStreamReader &reader);
1487 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
1504 QString m_attr_role;
1505 bool m_has_attr_role =
false;
1508 uint m_children = 0;
1509 DomBrush *m_brush =
nullptr;
1517 Q_DISABLE_COPY_MOVE(DomColorGroup)
1519 DomColorGroup() =
default;
1522 void read(QXmlStreamReader &reader);
1523 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
1535 uint m_children = 0;
1536 QList<DomColorRole *> m_colorRole;
1537 QList<DomColor *> m_color;
1546 Q_DISABLE_COPY_MOVE(DomPalette)
1548 DomPalette() =
default;
1551 void read(QXmlStreamReader &reader);
1552 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
1576 uint m_children = 0;
1577 DomColorGroup *m_active =
nullptr;
1578 DomColorGroup *m_inactive =
nullptr;
1579 DomColorGroup *m_disabled =
nullptr;
1589 Q_DISABLE_COPY_MOVE(DomFont)
1591 DomFont() =
default;
1594 void read(QXmlStreamReader &reader);
1595 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
1661 uint m_children = 0;
1663 int m_pointSize = 0;
1665 bool m_italic =
false;
1666 bool m_bold =
false;
1667 bool m_underline =
false;
1668 bool m_strikeOut =
false;
1669 bool m_antialiasing =
false;
1670 QString m_styleStrategy;
1671 bool m_kerning =
false;
1672 QString m_hintingPreference;
1673 QString m_fontWeight;
1684 StyleStrategy = 256,
1686 HintingPreference = 1024,
1692 Q_DISABLE_COPY_MOVE(DomPoint)
1694 DomPoint() =
default;
1697 void read(QXmlStreamReader &reader);
1698 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
1714 uint m_children = 0;
1725 Q_DISABLE_COPY_MOVE(DomRect)
1727 DomRect() =
default;
1730 void read(QXmlStreamReader &reader);
1731 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
1757 uint m_children = 0;
1772 Q_DISABLE_COPY_MOVE(DomLocale)
1774 DomLocale() =
default;
1777 void read(QXmlStreamReader &reader);
1778 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
1793 QString m_attr_language;
1794 bool m_has_attr_language =
false;
1796 QString m_attr_country;
1797 bool m_has_attr_country =
false;
1801 Q_DISABLE_COPY_MOVE(DomSizePolicy)
1803 DomSizePolicy() =
default;
1806 void read(QXmlStreamReader &reader);
1807 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
1843 QString m_attr_hSizeType;
1844 bool m_has_attr_hSizeType =
false;
1846 QString m_attr_vSizeType;
1847 bool m_has_attr_vSizeType =
false;
1850 uint m_children = 0;
1851 int m_hSizeType = 0;
1852 int m_vSizeType = 0;
1853 int m_horStretch = 0;
1854 int m_verStretch = 0;
1865 Q_DISABLE_COPY_MOVE(DomSize)
1867 DomSize() =
default;
1870 void read(QXmlStreamReader &reader);
1871 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
1887 uint m_children = 0;
1898 Q_DISABLE_COPY_MOVE(DomDate)
1900 DomDate() =
default;
1903 void read(QXmlStreamReader &reader);
1904 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
1925 uint m_children = 0;
1938 Q_DISABLE_COPY_MOVE(DomTime)
1940 DomTime() =
default;
1943 void read(QXmlStreamReader &reader);
1944 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
1965 uint m_children = 0;
1978 Q_DISABLE_COPY_MOVE(DomDateTime)
1980 DomDateTime() =
default;
1983 void read(QXmlStreamReader &reader);
1984 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
2020 uint m_children = 0;
2039 Q_DISABLE_COPY_MOVE(DomStringList)
2041 DomStringList() =
default;
2044 void read(QXmlStreamReader &reader);
2045 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
2065 inline void setAttributeId(
const QString &a) { m_attr_id = a; m_has_attr_id =
true; }
2074 QString m_attr_notr;
2075 bool m_has_attr_notr =
false;
2077 QString m_attr_comment;
2078 bool m_has_attr_comment =
false;
2080 QString m_attr_extraComment;
2081 bool m_has_attr_extraComment =
false;
2084 bool m_has_attr_id =
false;
2087 uint m_children = 0;
2088 QStringList m_string;
2096 Q_DISABLE_COPY_MOVE(DomResourcePixmap)
2098 DomResourcePixmap() =
default;
2101 void read(QXmlStreamReader &reader);
2102 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
2104 inline QString
text()
const {
return m_text; }
2105 inline void setText(
const QString &s) { m_text = s; }
2122 QString m_attr_resource;
2123 bool m_has_attr_resource =
false;
2125 QString m_attr_alias;
2126 bool m_has_attr_alias =
false;
2130 Q_DISABLE_COPY_MOVE(DomResourceIcon)
2132 DomResourceIcon() =
default;
2135 void read(QXmlStreamReader &reader);
2136 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
2138 inline QString
text()
const {
return m_text; }
2139 inline void setText(
const QString &s) { m_text = s; }
2205 QString m_attr_theme;
2206 bool m_has_attr_theme =
false;
2208 QString m_attr_resource;
2209 bool m_has_attr_resource =
false;
2212 uint m_children = 0;
2213 DomResourcePixmap *m_normalOff =
nullptr;
2214 DomResourcePixmap *m_normalOn =
nullptr;
2215 DomResourcePixmap *m_disabledOff =
nullptr;
2216 DomResourcePixmap *m_disabledOn =
nullptr;
2217 DomResourcePixmap *m_activeOff =
nullptr;
2218 DomResourcePixmap *m_activeOn =
nullptr;
2219 DomResourcePixmap *m_selectedOff =
nullptr;
2220 DomResourcePixmap *m_selectedOn =
nullptr;
2235 Q_DISABLE_COPY_MOVE(DomString)
2237 DomString() =
default;
2240 void read(QXmlStreamReader &reader);
2241 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
2243 inline QString
text()
const {
return m_text; }
2244 inline void setText(
const QString &s) { m_text = s; }
2264 inline void setAttributeId(
const QString &a) { m_attr_id = a; m_has_attr_id =
true; }
2271 QString m_attr_notr;
2272 bool m_has_attr_notr =
false;
2274 QString m_attr_comment;
2275 bool m_has_attr_comment =
false;
2277 QString m_attr_extraComment;
2278 bool m_has_attr_extraComment =
false;
2281 bool m_has_attr_id =
false;
2285 Q_DISABLE_COPY_MOVE(DomPointF)
2287 DomPointF() =
default;
2290 void read(QXmlStreamReader &reader);
2291 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
2307 uint m_children = 0;
2318 Q_DISABLE_COPY_MOVE(DomRectF)
2320 DomRectF() =
default;
2323 void read(QXmlStreamReader &reader);
2324 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
2350 uint m_children = 0;
2353 double m_width = 0.0;
2354 double m_height = 0.0;
2365 Q_DISABLE_COPY_MOVE(DomSizeF)
2367 DomSizeF() =
default;
2370 void read(QXmlStreamReader &reader);
2371 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
2387 uint m_children = 0;
2388 double m_width = 0.0;
2389 double m_height = 0.0;
2398 Q_DISABLE_COPY_MOVE(DomChar)
2400 DomChar() =
default;
2403 void read(QXmlStreamReader &reader);
2404 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
2415 uint m_children = 0;
2424 Q_DISABLE_COPY_MOVE(DomUrl)
2429 void read(QXmlStreamReader &reader);
2430 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
2442 uint m_children = 0;
2443 DomString *m_string =
nullptr;
2451 Q_DISABLE_COPY_MOVE(DomProperty)
2453 DomProperty() =
default;
2456 void read(QXmlStreamReader &reader);
2457 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
2471 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 };
2598 QString m_attr_name;
2599 bool m_has_attr_name =
false;
2601 int m_attr_stdset = 0;
2602 bool m_has_attr_stdset =
false;
2607 DomColor *m_color =
nullptr;
2610 QString m_cursorShape;
2612 DomFont *m_font =
nullptr;
2613 DomResourceIcon *m_iconSet =
nullptr;
2614 DomResourcePixmap *m_pixmap =
nullptr;
2615 DomPalette *m_palette =
nullptr;
2616 DomPoint *m_point =
nullptr;
2617 DomRect *m_rect =
nullptr;
2619 DomLocale *m_locale =
nullptr;
2620 DomSizePolicy *m_sizePolicy =
nullptr;
2621 DomSize *m_size =
nullptr;
2622 DomString *m_string =
nullptr;
2623 DomStringList *m_stringList =
nullptr;
2625 float m_float = 0.0;
2626 double m_double = 0.0;
2627 DomDate *m_date =
nullptr;
2628 DomTime *m_time =
nullptr;
2629 DomDateTime *m_dateTime =
nullptr;
2630 DomPointF *m_pointF =
nullptr;
2631 DomRectF *m_rectF =
nullptr;
2632 DomSizeF *m_sizeF =
nullptr;
2633 qlonglong m_longLong = 0;
2634 DomChar *m_char =
nullptr;
2635 DomUrl *m_url =
nullptr;
2637 qulonglong m_uLongLong = 0;
2638 DomBrush *m_brush =
nullptr;
2642 Q_DISABLE_COPY_MOVE(DomConnections)
2644 DomConnections() =
default;
2647 void read(QXmlStreamReader &reader);
2648 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
2657 uint m_children = 0;
2658 QList<DomConnection *> m_connection;
2666 Q_DISABLE_COPY_MOVE(DomConnection)
2668 DomConnection() =
default;
2671 void read(QXmlStreamReader &reader);
2672 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
2704 uint m_children = 0;
2709 DomConnectionHints *m_hints =
nullptr;
2721 Q_DISABLE_COPY_MOVE(DomConnectionHints)
2723 DomConnectionHints() =
default;
2726 void read(QXmlStreamReader &reader);
2727 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
2736 uint m_children = 0;
2737 QList<DomConnectionHint *> m_hint;
2745 Q_DISABLE_COPY_MOVE(DomConnectionHint)
2747 DomConnectionHint() =
default;
2750 void read(QXmlStreamReader &reader);
2751 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
2772 QString m_attr_type;
2773 bool m_has_attr_type =
false;
2776 uint m_children = 0;
2787 Q_DISABLE_COPY_MOVE(DomDesignerData)
2789 DomDesignerData() =
default;
2792 void read(QXmlStreamReader &reader);
2793 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
2802 uint m_children = 0;
2803 QList<DomProperty *> m_property;
2811 Q_DISABLE_COPY_MOVE(DomSlots)
2813 DomSlots() =
default;
2816 void read(QXmlStreamReader &reader);
2817 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
2829 uint m_children = 0;
2830 QStringList m_signal;
2840 Q_DISABLE_COPY_MOVE(DomPropertySpecifications)
2842 DomPropertySpecifications() =
default;
2845 void read(QXmlStreamReader &reader);
2846 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
2858 uint m_children = 0;
2859 QList<DomPropertyToolTip *> m_tooltip;
2860 QList<DomStringPropertySpecification *> m_stringpropertyspecification;
2864 Stringpropertyspecification = 2
2869 Q_DISABLE_COPY_MOVE(DomPropertyToolTip)
2871 DomPropertyToolTip() =
default;
2874 void read(QXmlStreamReader &reader);
2875 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
2885 QString m_attr_name;
2886 bool m_has_attr_name =
false;
2890 Q_DISABLE_COPY_MOVE(DomStringPropertySpecification)
2892 DomStringPropertySpecification() =
default;
2895 void read(QXmlStreamReader &reader);
2896 void write(QXmlStreamWriter &writer,
const QString &tagName = QString())
const;
2916 QString m_attr_name;
2917 bool m_has_attr_name =
false;
2919 QString m_attr_type;
2920 bool m_has_attr_type =
false;
2922 QString m_attr_notr;
2923 bool m_has_attr_notr =
false;
2927#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 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
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 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()
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)
Combined button and popup list for selecting options.
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
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
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