50 #if defined(Q_CC_MSVC)
51 # pragma warning(disable: 4786)
89 return qMetaTypeId<QtEnumPropertyType>();
103 return qMetaTypeId<QtFlagPropertyType>();
117 return qMetaTypeId<QtGroupPropertyType>();
130 return qMetaTypeId<QtIconMap>();
134 Q_GLOBAL_STATIC(
PropertyMap, propertyToWrappedProperty)
138 return propertyToWrappedProperty()->value(property, 0);
377 m_constraintAttribute(QLatin1String(
"constraint")),
378 m_singleStepAttribute(QLatin1String(
"singleStep")),
379 m_decimalsAttribute(QLatin1String(
"decimals")),
380 m_enumIconsAttribute(QLatin1String(
"enumIcons")),
381 m_enumNamesAttribute(QLatin1String(
"enumNames")),
382 m_flagNamesAttribute(QLatin1String(
"flagNames")),
383 m_maximumAttribute(QLatin1String(
"maximum")),
384 m_minimumAttribute(QLatin1String(
"minimum")),
385 m_regExpAttribute(QLatin1String(
"regExp")),
386 m_echoModeAttribute(QLatin1String(
"echoMode")),
387 m_readOnlyAttribute(QLatin1String(
"readOnly")),
388 m_textVisibleAttribute(QLatin1String(
"textVisible"))
397 if (qobject_cast<QtIntPropertyManager*>(internPropertyManager))
401 else if (qobject_cast<QtEnumPropertyManager*>(internPropertyManager))
405 else if (qobject_cast<QtBoolPropertyManager*>(internPropertyManager))
409 else if (qobject_cast<QtDoublePropertyManager*>(internPropertyManager))
442 propertyToWrappedProperty()->insert(varChild,
internal);
448 QtProperty* internChild = wrappedProperty(property);
454 propertyToWrappedProperty()->remove(property);
635 qVariantSetValue(
v, val);
731 qVariantSetValue(
v, enumIcons);
1015 d_ptr->q_ptr =
this;
1031 this, SLOT(slotValueChanged(
QtProperty*,
int)));
1032 connect(intPropertyManager, SIGNAL(rangeChanged(
QtProperty*,
int,
int)),
1033 this, SLOT(slotRangeChanged(
QtProperty*,
int,
int)));
1034 connect(intPropertyManager, SIGNAL(singleStepChanged(
QtProperty*,
int)),
1035 this, SLOT(slotSingleStepChanged(
QtProperty*,
int)));
1051 this, SLOT(slotValueChanged(
QtProperty*,
double)));
1052 connect(doublePropertyManager, SIGNAL(rangeChanged(
QtProperty*,
double,
double)),
1053 this, SLOT(slotRangeChanged(
QtProperty*,
double,
double)));
1054 connect(doublePropertyManager, SIGNAL(singleStepChanged(
QtProperty*,
double)),
1055 this, SLOT(slotSingleStepChanged(
QtProperty*,
double)));
1056 connect(doublePropertyManager, SIGNAL(decimalsChanged(
QtProperty*,
int)),
1057 this, SLOT(slotDecimalsChanged(
QtProperty*,
int)));
1064 this, SLOT(slotValueChanged(
QtProperty*,
bool)));
1065 connect(boolPropertyManager, SIGNAL(textVisibleChanged(
QtProperty*,
bool)),
1066 this, SLOT(slotTextVisibleChanged(
QtProperty*,
bool)));
1079 this, SLOT(slotValueChanged(
QtProperty*,
const QString&)));
1080 connect(stringPropertyManager, SIGNAL(regExpChanged(
QtProperty*,
const QRegExp&)),
1081 this, SLOT(slotRegExpChanged(
QtProperty*,
const QRegExp&)));
1082 connect(stringPropertyManager, SIGNAL(echoModeChanged(
QtProperty*,
int)),
1083 this, SLOT(slotEchoModeChanged(
QtProperty*,
int)));
1084 connect(stringPropertyManager, SIGNAL(readOnlyChanged(
QtProperty*,
bool)),
1085 this, SLOT(slotReadOnlyChanged(
QtProperty*,
bool)));
1096 this, SLOT(slotValueChanged(
QtProperty*,
const QDate&)));
1097 connect(datePropertyManager, SIGNAL(rangeChanged(
QtProperty*,
const QDate&,
const QDate&)),
1098 this, SLOT(slotRangeChanged(
QtProperty*,
const QDate&,
const QDate&)));
1104 this, SLOT(slotValueChanged(
QtProperty*,
const QTime&)));
1110 this, SLOT(slotValueChanged(
QtProperty*,
const QDateTime&)));
1116 this, SLOT(slotValueChanged(
QtProperty*,
const QKeySequence&)));
1122 this, SLOT(slotValueChanged(
QtProperty*,
const QChar&)));
1128 this, SLOT(slotValueChanged(
QtProperty*,
const QLocale&)));
1130 this, SLOT(slotValueChanged(
QtProperty*,
int)));
1140 this, SLOT(slotValueChanged(
QtProperty*,
const QPoint&)));
1142 this, SLOT(slotValueChanged(
QtProperty*,
int)));
1154 this, SLOT(slotValueChanged(
QtProperty*,
const QPointF&)));
1155 connect(pointFPropertyManager, SIGNAL(decimalsChanged(
QtProperty*,
int)),
1156 this, SLOT(slotDecimalsChanged(
QtProperty*,
int)));
1158 this, SLOT(slotValueChanged(
QtProperty*,
double)));
1172 this, SLOT(slotValueChanged(
QtProperty*,
const QSize&)));
1173 connect(sizePropertyManager, SIGNAL(rangeChanged(
QtProperty*,
const QSize&,
const QSize&)),
1174 this, SLOT(slotRangeChanged(
QtProperty*,
const QSize&,
const QSize&)));
1176 this, SLOT(slotValueChanged(
QtProperty*,
int)));
1178 this, SLOT(slotRangeChanged(
QtProperty*,
int,
int)));
1194 this, SLOT(slotValueChanged(
QtProperty*,
const QSizeF&)));
1195 connect(sizeFPropertyManager, SIGNAL(rangeChanged(
QtProperty*,
const QSizeF&,
const QSizeF&)),
1196 this, SLOT(slotRangeChanged(
QtProperty*,
const QSizeF&,
const QSizeF&)));
1197 connect(sizeFPropertyManager, SIGNAL(decimalsChanged(
QtProperty*,
int)),
1198 this, SLOT(slotDecimalsChanged(
QtProperty*,
int)));
1200 this, SLOT(slotValueChanged(
QtProperty*,
double)));
1202 this, SLOT(slotRangeChanged(
QtProperty*,
double,
double)));
1214 this, SLOT(slotValueChanged(
QtProperty*,
const QRect&)));
1215 connect(rectPropertyManager, SIGNAL(constraintChanged(
QtProperty*,
const QRect&)),
1216 this, SLOT(slotConstraintChanged(
QtProperty*,
const QRect&)));
1218 this, SLOT(slotValueChanged(
QtProperty*,
int)));
1220 this, SLOT(slotRangeChanged(
QtProperty*,
int,
int)));
1234 this, SLOT(slotValueChanged(
QtProperty*,
const QRectF&)));
1235 connect(rectFPropertyManager, SIGNAL(constraintChanged(
QtProperty*,
const QRectF&)),
1236 this, SLOT(slotConstraintChanged(
QtProperty*,
const QRectF&)));
1237 connect(rectFPropertyManager, SIGNAL(decimalsChanged(
QtProperty*,
int)),
1238 this, SLOT(slotDecimalsChanged(
QtProperty*,
int)));
1240 this, SLOT(slotValueChanged(
QtProperty*,
double)));
1242 this, SLOT(slotRangeChanged(
QtProperty*,
double,
double)));
1252 this, SLOT(slotValueChanged(
QtProperty*,
const QColor&)));
1254 this, SLOT(slotValueChanged(
QtProperty*,
int)));
1269 this, SLOT(slotValueChanged(
QtProperty*,
int)));
1270 connect(enumPropertyManager, SIGNAL(enumNamesChanged(
QtProperty*,
const QStringList&)),
1271 this, SLOT(slotEnumNamesChanged(
QtProperty*,
const QStringList&)));
1272 connect(enumPropertyManager, SIGNAL(enumIconsChanged(
QtProperty*,
const QMap<int, QIcon>&)),
1273 this, SLOT(slotEnumIconsChanged(
QtProperty*,
const QMap<int, QIcon>&)));
1279 this, SLOT(slotValueChanged(
QtProperty*,
const QSizePolicy&)));
1281 this, SLOT(slotValueChanged(
QtProperty*,
int)));
1283 this, SLOT(slotRangeChanged(
QtProperty*,
int,
int)));
1285 this, SLOT(slotValueChanged(
QtProperty*,
int)));
1287 SIGNAL(enumNamesChanged(
QtProperty*,
const QStringList&)),
1288 this, SLOT(slotEnumNamesChanged(
QtProperty*,
const QStringList&)));
1298 this, SLOT(slotValueChanged(
QtProperty*,
const QFont&)));
1300 this, SLOT(slotValueChanged(
QtProperty*,
int)));
1302 this, SLOT(slotRangeChanged(
QtProperty*,
int,
int)));
1304 this, SLOT(slotValueChanged(
QtProperty*,
int)));
1306 SIGNAL(enumNamesChanged(
QtProperty*,
const QStringList&)),
1307 this, SLOT(slotEnumNamesChanged(
QtProperty*,
const QStringList&)));
1309 this, SLOT(slotValueChanged(
QtProperty*,
bool)));
1319 this, SLOT(slotValueChanged(
QtProperty*,
const QCursor&)));
1328 this, SLOT(slotValueChanged(
QtProperty*,
int)));
1329 connect(flagPropertyManager, SIGNAL(flagNamesChanged(
QtProperty*,
const QStringList&)),
1330 this, SLOT(slotFlagNamesChanged(
QtProperty*,
const QStringList&)));
1332 this, SLOT(slotValueChanged(
QtProperty*,
bool)));
1363 const QMap<const QtProperty*, QPair<QtVariantProperty*, int> >::const_iterator it = d_ptr->
m_propertyToType.constFind(property);
1370 return it.value().first;
1435 QtProperty* internProp = propertyToWrappedProperty()->value(property, 0);
1437 if (internProp == 0)
1446 return intManager->value(internProp);
1450 return doubleManager->value(internProp);
1454 return boolManager->value(internProp);
1458 return stringManager->value(internProp);
1462 return dateManager->value(internProp);
1466 return timeManager->value(internProp);
1470 return dateTimeManager->value(internProp);
1474 return QVariant::fromValue(keySequenceManager->value(internProp));
1478 return charManager->value(internProp);
1482 return localeManager->value(internProp);
1486 return pointManager->value(internProp);
1490 return pointFManager->value(internProp);
1494 return sizeManager->value(internProp);
1498 return sizeFManager->value(internProp);
1502 return rectManager->value(internProp);
1506 return rectFManager->value(internProp);
1510 return colorManager->value(internProp);
1514 return enumManager->value(internProp);
1517 qobject_cast<QtSizePolicyPropertyManager*>(manager))
1519 return sizePolicyManager->value(internProp);
1523 return fontManager->value(internProp);
1524 #ifndef QT_NO_CURSOR
1528 return cursorManager->value(internProp);
1533 return flagManager->value(internProp);
1572 const QMap<const QtProperty*, QPair<QtVariantProperty*, int> >::const_iterator it = d_ptr->
m_propertyToType.constFind(property);
1579 return it.value().second;
1601 QMap<int, QMap<QString, int> >::ConstIterator it =
1610 QMap<QString, int>::ConstIterator itAttr =
attributes.find(attribute);
1617 QtProperty* internProp = propertyToWrappedProperty()->value(property, 0);
1619 if (internProp == 0)
1630 return intManager->maximum(internProp);
1635 return intManager->minimum(internProp);
1640 return intManager->singleStep(internProp);
1645 return intManager->isReadOnly(internProp);
1654 return doubleManager->maximum(internProp);
1659 return doubleManager->minimum(internProp);
1664 return doubleManager->singleStep(internProp);
1669 return doubleManager->decimals(internProp);
1674 return doubleManager->isReadOnly(internProp);
1683 return boolManager->textVisible(internProp);
1692 return stringManager->regExp(internProp);
1697 return stringManager->echoMode(internProp);
1702 return stringManager->isReadOnly(internProp);
1711 return dateManager->maximum(internProp);
1716 return dateManager->minimum(internProp);
1725 return pointFManager->decimals(internProp);
1734 return sizeManager->maximum(internProp);
1739 return sizeManager->minimum(internProp);
1748 return sizeFManager->maximum(internProp);
1753 return sizeFManager->minimum(internProp);
1758 return sizeFManager->decimals(internProp);
1767 return rectManager->constraint(internProp);
1776 return rectFManager->constraint(internProp);
1781 return rectFManager->decimals(internProp);
1790 return enumManager->enumNames(internProp);
1796 qVariantSetValue(
v, enumManager->enumIcons(internProp));
1806 return flagManager->flagNames(internProp);
1822 QMap<int, QMap<QString, int> >::ConstIterator it =
1827 return QStringList();
1830 return it.value().keys();
1845 QMap<int, QMap<QString, int> >::ConstIterator it =
1854 QMap<QString, int>::ConstIterator itAttr =
attributes.find(attribute);
1861 return itAttr.value();
1878 int propType = val.userType();
1887 if (propType != valType && !val.canConvert(
static_cast<QVariant::Type>(valType)))
1892 QtProperty* internProp = propertyToWrappedProperty()->value(property, 0);
1894 if (internProp == 0)
1904 intManager->setValue(internProp, val.value<
int>());
1909 doubleManager->setValue(internProp, val.value<
double>());
1914 boolManager->setValue(internProp, val.value<
bool>());
1919 stringManager->setValue(internProp, val.value<QString>());
1924 dateManager->setValue(internProp, val.value<QDate>());
1929 timeManager->setValue(internProp, val.value<QTime>());
1934 dateTimeManager->setValue(internProp, val.value<QDateTime>());
1939 keySequenceManager->setValue(internProp, val.value<QKeySequence>());
1944 charManager->setValue(internProp, val.value<QChar>());
1949 localeManager->setValue(internProp, val.value<QLocale>());
1954 pointManager->setValue(internProp, val.value<QPoint>());
1959 pointFManager->setValue(internProp, val.value<QPointF>());
1964 sizeManager->setValue(internProp, val.value<QSize>());
1969 sizeFManager->setValue(internProp, val.value<QSizeF>());
1974 rectManager->setValue(internProp, val.value<QRect>());
1979 rectFManager->setValue(internProp, val.value<QRectF>());
1984 colorManager->setValue(internProp, val.value<QColor>());
1989 enumManager->setValue(internProp, val.value<
int>());
1993 qobject_cast<QtSizePolicyPropertyManager*>(manager))
1995 sizePolicyManager->setValue(internProp, val.value<QSizePolicy>());
2000 fontManager->setValue(internProp, val.value<QFont>());
2002 #ifndef QT_NO_CURSOR
2006 cursorManager->setValue(internProp, val.value<QCursor>());
2012 flagManager->setValue(internProp, val.value<
int>());
2029 const QString& attribute,
const QVariant&
value)
2033 if (!oldAttr.isValid())
2038 int attrType =
value.userType();
2051 QtProperty* internProp = propertyToWrappedProperty()->value(property, 0);
2053 if (internProp == 0)
2064 intManager->setMaximum(internProp,
value.value<
int>());
2068 intManager->setMinimum(internProp,
value.value<
int>());
2072 intManager->setSingleStep(internProp,
value.value<
int>());
2076 intManager->setReadOnly(internProp,
value.value<
bool>());
2085 doubleManager->setMaximum(internProp,
value.value<
double>());
2090 doubleManager->setMinimum(internProp,
value.value<
double>());
2095 doubleManager->setSingleStep(internProp,
value.value<
double>());
2100 doubleManager->setDecimals(internProp,
value.value<
int>());
2105 doubleManager->setReadOnly(internProp,
value.value<
bool>());
2114 boolManager->setTextVisible(internProp,
value.value<
bool>());
2123 stringManager->setRegExp(internProp,
value.value<QRegExp>());
2128 stringManager->setEchoMode(internProp, (
EchoMode)
value.value<
int>());
2133 stringManager->setReadOnly(internProp, (
EchoMode)
value.value<
bool>());
2142 dateManager->setMaximum(internProp,
value.value<QDate>());
2147 dateManager->setMinimum(internProp,
value.value<QDate>());
2156 pointFManager->setDecimals(internProp,
value.value<
int>());
2165 sizeManager->setMaximum(internProp,
value.value<QSize>());
2170 sizeManager->setMinimum(internProp,
value.value<QSize>());
2179 sizeFManager->setMaximum(internProp,
value.value<QSizeF>());
2184 sizeFManager->setMinimum(internProp,
value.value<QSizeF>());
2189 sizeFManager->setDecimals(internProp,
value.value<
int>());
2198 rectManager->setConstraint(internProp,
value.value<QRect>());
2207 rectFManager->setConstraint(internProp,
value.value<QRectF>());
2212 rectFManager->setDecimals(internProp,
value.value<
int>());
2221 enumManager->setEnumNames(internProp,
value.value<QStringList>());
2235 flagManager->setFlagNames(internProp,
value.value<QStringList>());
2260 const QtProperty* internProp = propertyToWrappedProperty()->value(property, 0);
2269 const QtProperty* internProp = propertyToWrappedProperty()->value(property, 0);
2270 return internProp ? internProp->
valueIcon() : QIcon();
2285 QMap<int, QtAbstractPropertyManager*>::ConstIterator it =
2299 propertyToWrappedProperty()->insert(varProp, internProp);
2304 QListIterator<QtProperty*> itChild(children);
2307 while (itChild.hasNext())
2310 lastProperty = prop ? prop : lastProperty;
2321 const QMap<const QtProperty*, QPair<QtVariantProperty*, int> >::iterator type_it = d_ptr->
m_propertyToType.find(property);
2328 PropertyMap::iterator it = propertyToWrappedProperty()->find(property);
2330 if (it != propertyToWrappedProperty()->end())
2344 propertyToWrappedProperty()->erase(it);
2456 d_ptr->q_ptr =
this;
2527 QList<QtIntPropertyManager*> intPropertyManagers = manager->findChildren<
QtIntPropertyManager*>();
2528 QListIterator<QtIntPropertyManager*> itInt(intPropertyManagers);
2530 while (itInt.hasNext())
2536 QListIterator<QtDoublePropertyManager*> itDouble(doublePropertyManagers);
2538 while (itDouble.hasNext())
2543 QList<QtBoolPropertyManager*> boolPropertyManagers = manager->findChildren<
QtBoolPropertyManager*>();
2544 QListIterator<QtBoolPropertyManager*> itBool(boolPropertyManagers);
2546 while (itBool.hasNext())
2552 QListIterator<QtStringPropertyManager*> itString(stringPropertyManagers);
2554 while (itString.hasNext())
2559 QList<QtDatePropertyManager*> datePropertyManagers = manager->findChildren<
QtDatePropertyManager*>();
2560 QListIterator<QtDatePropertyManager*> itDate(datePropertyManagers);
2562 while (itDate.hasNext())
2567 QList<QtTimePropertyManager*> timePropertyManagers = manager->findChildren<
QtTimePropertyManager*>();
2568 QListIterator<QtTimePropertyManager*> itTime(timePropertyManagers);
2570 while (itTime.hasNext())
2576 QListIterator<QtDateTimePropertyManager*> itDateTime(dateTimePropertyManagers);
2578 while (itDateTime.hasNext())
2584 QListIterator<QtKeySequencePropertyManager*> itKeySequence(keySequencePropertyManagers);
2586 while (itKeySequence.hasNext())
2591 QList<QtCharPropertyManager*> charPropertyManagers = manager->findChildren<
QtCharPropertyManager*>();
2592 QListIterator<QtCharPropertyManager*> itChar(charPropertyManagers);
2594 while (itChar.hasNext())
2600 QListIterator<QtLocalePropertyManager*> itLocale(localePropertyManagers);
2602 while (itLocale.hasNext())
2608 QListIterator<QtPointPropertyManager*> itPoint(pointPropertyManagers);
2610 while (itPoint.hasNext())
2616 QListIterator<QtPointFPropertyManager*> itPointF(pointFPropertyManagers);
2618 while (itPointF.hasNext())
2623 QList<QtSizePropertyManager*> sizePropertyManagers = manager->findChildren<
QtSizePropertyManager*>();
2624 QListIterator<QtSizePropertyManager*> itSize(sizePropertyManagers);
2626 while (itSize.hasNext())
2632 QListIterator<QtSizeFPropertyManager*> itSizeF(sizeFPropertyManagers);
2634 while (itSizeF.hasNext())
2639 QList<QtRectPropertyManager*> rectPropertyManagers = manager->findChildren<
QtRectPropertyManager*>();
2640 QListIterator<QtRectPropertyManager*> itRect(rectPropertyManagers);
2642 while (itRect.hasNext())
2648 QListIterator<QtRectFPropertyManager*> itRectF(rectFPropertyManagers);
2650 while (itRectF.hasNext())
2656 QListIterator<QtColorPropertyManager*> itColor(colorPropertyManagers);
2658 while (itColor.hasNext())
2665 QList<QtEnumPropertyManager*> enumPropertyManagers = manager->findChildren<
QtEnumPropertyManager*>();
2666 QListIterator<QtEnumPropertyManager*> itEnum(enumPropertyManagers);
2668 while (itEnum.hasNext())
2674 QListIterator<QtSizePolicyPropertyManager*> itSizePolicy(sizePolicyPropertyManagers);
2676 while (itSizePolicy.hasNext())
2683 QList<QtFontPropertyManager*> fontPropertyManagers = manager->findChildren<
QtFontPropertyManager*>();
2684 QListIterator<QtFontPropertyManager*> itFont(fontPropertyManagers);
2686 while (itFont.hasNext())
2696 QListIterator<QtCursorPropertyManager*> itCursor(cursorPropertyManagers);
2698 while (itCursor.hasNext())
2703 QList<QtFlagPropertyManager*> flagPropertyManagers = manager->findChildren<
QtFlagPropertyManager*>();
2704 QListIterator<QtFlagPropertyManager*> itFlag(flagPropertyManagers);
2706 while (itFlag.hasNext())
2728 return factory->
createEditor(wrappedProperty(property), parent);
2738 QList<QtIntPropertyManager*> intPropertyManagers = manager->findChildren<
QtIntPropertyManager*>();
2739 QListIterator<QtIntPropertyManager*> itInt(intPropertyManagers);
2741 while (itInt.hasNext())
2747 QListIterator<QtDoublePropertyManager*> itDouble(doublePropertyManagers);
2749 while (itDouble.hasNext())
2754 QList<QtBoolPropertyManager*> boolPropertyManagers = manager->findChildren<
QtBoolPropertyManager*>();
2755 QListIterator<QtBoolPropertyManager*> itBool(boolPropertyManagers);
2757 while (itBool.hasNext())
2763 QListIterator<QtStringPropertyManager*> itString(stringPropertyManagers);
2765 while (itString.hasNext())
2770 QList<QtDatePropertyManager*> datePropertyManagers = manager->findChildren<
QtDatePropertyManager*>();
2771 QListIterator<QtDatePropertyManager*> itDate(datePropertyManagers);
2773 while (itDate.hasNext())
2778 QList<QtTimePropertyManager*> timePropertyManagers = manager->findChildren<
QtTimePropertyManager*>();
2779 QListIterator<QtTimePropertyManager*> itTime(timePropertyManagers);
2781 while (itTime.hasNext())
2787 QListIterator<QtDateTimePropertyManager*> itDateTime(dateTimePropertyManagers);
2789 while (itDateTime.hasNext())
2795 QListIterator<QtKeySequencePropertyManager*> itKeySequence(keySequencePropertyManagers);
2797 while (itKeySequence.hasNext())
2802 QList<QtCharPropertyManager*> charPropertyManagers = manager->findChildren<
QtCharPropertyManager*>();
2803 QListIterator<QtCharPropertyManager*> itChar(charPropertyManagers);
2805 while (itChar.hasNext())
2811 QListIterator<QtLocalePropertyManager*> itLocale(localePropertyManagers);
2813 while (itLocale.hasNext())
2819 QListIterator<QtPointPropertyManager*> itPoint(pointPropertyManagers);
2821 while (itPoint.hasNext())
2827 QListIterator<QtPointFPropertyManager*> itPointF(pointFPropertyManagers);
2829 while (itPointF.hasNext())
2834 QList<QtSizePropertyManager*> sizePropertyManagers = manager->findChildren<
QtSizePropertyManager*>();
2835 QListIterator<QtSizePropertyManager*> itSize(sizePropertyManagers);
2837 while (itSize.hasNext())
2843 QListIterator<QtSizeFPropertyManager*> itSizeF(sizeFPropertyManagers);
2845 while (itSizeF.hasNext())
2850 QList<QtRectPropertyManager*> rectPropertyManagers = manager->findChildren<
QtRectPropertyManager*>();
2851 QListIterator<QtRectPropertyManager*> itRect(rectPropertyManagers);
2853 while (itRect.hasNext())
2859 QListIterator<QtRectFPropertyManager*> itRectF(rectFPropertyManagers);
2861 while (itRectF.hasNext())
2867 QListIterator<QtColorPropertyManager*> itColor(colorPropertyManagers);
2869 while (itColor.hasNext())
2876 QList<QtEnumPropertyManager*> enumPropertyManagers = manager->findChildren<
QtEnumPropertyManager*>();
2877 QListIterator<QtEnumPropertyManager*> itEnum(enumPropertyManagers);
2879 while (itEnum.hasNext())
2885 QListIterator<QtSizePolicyPropertyManager*> itSizePolicy(sizePolicyPropertyManagers);
2887 while (itSizePolicy.hasNext())
2894 QList<QtFontPropertyManager*> fontPropertyManagers = manager->findChildren<
QtFontPropertyManager*>();
2895 QListIterator<QtFontPropertyManager*> itFont(fontPropertyManagers);
2897 while (itFont.hasNext())
2907 QListIterator<QtCursorPropertyManager*> itCursor(cursorPropertyManagers);
2909 while (itCursor.hasNext())
2914 QList<QtFlagPropertyManager*> flagPropertyManagers = manager->findChildren<
QtFlagPropertyManager*>();
2915 QListIterator<QtFlagPropertyManager*> itFlag(flagPropertyManagers);
2917 while (itFlag.hasNext())
2925 #include "moc_qtvariantproperty.cpp"