Ejemplo n.º 1
0
QtnPropertySetAA::QtnPropertySetAA(QObject* parent)
    : QtnPropertySet(parent)
{
    init();
    connectSlots();
    connectDelegates();
}
Ejemplo n.º 2
0
QtnPropertySetSamplePS::QtnPropertySetSamplePS(QObject* parent)
    : QtnPropertySet(parent)
    , BoolProperty(*new QtnPropertyBool(this))
    , ButtonProperty(*new QtnPropertyButton(this))
    , ButtonLinkProperty(*new QtnPropertyButton(this))
    , RGBColor(*new QtnPropertyABColor(this))
    , FloatPropertySliderBox(*new QtnPropertyFloat(this))
    , DoubleProperty(*new QtnPropertyDouble(this))
    , FloatProperty(*new QtnPropertyFloat(this))
    , IntProperty(*new QtnPropertyInt(this))
    , UIntProperty(*new QtnPropertyUInt(this))
    , EnumProperty(*new QtnPropertyEnum(this))
    , EnumFlagsProperty(*new QtnPropertyEnumFlags(this))
    , QStringValue(*new QtnPropertyQString(this))
    , EnableSubPropertySet(*new QtnPropertyBool(this))
    , SubPropertySet(*new QtnPropertySetSubPropertySetType(this))
    , QPointProperty(*new QtnPropertyQPoint(this))
    , QSizeProperty(*new QtnPropertyQSize(this))
    , QRectProperty(*new QtnPropertyQRect(this))
    , QColorProperty(*new QtnPropertyQColor(this))
    , QFontProperty(*new QtnPropertyQFont(this))
    , SubPropertySet2(*new QtnPropertySetSubPropertySetType(this))
{
    init();
    connectSlots();
    connectDelegates();
}
Ejemplo n.º 3
0
QtnPropertySetTest12::QtnPropertySetTest12(QObject* parent)
    : QtnPropertySet(parent)
    , p(*qtnCreateProperty<QtnPropertyEnum>(this))
{
    init();
    connectSlots();
    connectDelegates();
}
Ejemplo n.º 4
0
QtnPropertySetAllPropertyTypes::QtnPropertySetAllPropertyTypes(QObject* parent)
    : QtnPropertySet(parent)
    , bp(*qtnCreateProperty<QtnPropertyBool>(this))
    , bpc(*qtnCreateProperty<QtnPropertyBoolCallback>(this))
    , ip(*qtnCreateProperty<QtnPropertyInt>(this))
    , ipc(*qtnCreateProperty<QtnPropertyIntCallback>(this))
    , up(*qtnCreateProperty<QtnPropertyUInt>(this))
    , upc(*qtnCreateProperty<QtnPropertyUIntCallback>(this))
    , fp(*qtnCreateProperty<QtnPropertyFloat>(this))
    , fpc(*qtnCreateProperty<QtnPropertyFloatCallback>(this))
    , dp(*qtnCreateProperty<QtnPropertyDouble>(this))
    , dpc(*qtnCreateProperty<QtnPropertyDoubleCallback>(this))
    , sp(*qtnCreateProperty<QtnPropertyQString>(this))
    , spc(*qtnCreateProperty<QtnPropertyQStringCallback>(this))
    , rp(*qtnCreateProperty<QtnPropertyQRect>(this))
    , rpc(*qtnCreateProperty<QtnPropertyQRectCallback>(this))
    , pp(*qtnCreateProperty<QtnPropertyQPoint>(this))
    , ppc(*qtnCreateProperty<QtnPropertyQPointCallback>(this))
    , szp(*qtnCreateProperty<QtnPropertyQSize>(this))
    , szpc(*qtnCreateProperty<QtnPropertyQSizeCallback>(this))
    , ep(*qtnCreateProperty<QtnPropertyEnum>(this))
    , epc(*qtnCreateProperty<QtnPropertyEnumCallback>(this))
    , efp(*qtnCreateProperty<QtnPropertyEnumFlags>(this))
    , efpc(*qtnCreateProperty<QtnPropertyEnumFlagsCallback>(this))
    , cp(*qtnCreateProperty<QtnPropertyQColor>(this))
    , cpc(*qtnCreateProperty<QtnPropertyQColorCallback>(this))
    , fnp(*qtnCreateProperty<QtnPropertyQFont>(this))
    , fnpc(*qtnCreateProperty<QtnPropertyQFontCallback>(this))
    , bttn(*qtnCreateProperty<QtnPropertyButton>(this))
    , ppf(*qtnCreateProperty<QtnPropertyQPointF>(this))
    , ppfc(*qtnCreateProperty<QtnPropertyQPointFCallback>(this))
    , rpf(*qtnCreateProperty<QtnPropertyQRectF>(this))
    , rpfc(*qtnCreateProperty<QtnPropertyQRectFCallback>(this))
    , szpf(*qtnCreateProperty<QtnPropertyQSizeF>(this))
    , szpfc(*qtnCreateProperty<QtnPropertyQSizeFCallback>(this))
    , _b(true)
{
    
        _i =12;
        _ui = 9;
        _f = 0.2f;
        _d = 32.4;
        _s = "name";
        _r = QRect(10, 10, 10, 10);
        _rf = QRectF(10.1, 10.2, 10.3, 10.4);
        _p = QPoint(9, 2);
        _pf = QPointF(9.9, 2.2);
        _sz = QSize(33, 21);
        _szf = QSizeF(33.0, 21.9);
        _e = COLOR::RED;
        _ef = MASK::ONE|MASK::FOUR;
        _cl = QColor(Qt::red);
        _fn = QFont("Arial", 19);
    
    init();
    connectSlots();
    connectDelegates();
}
Ejemplo n.º 5
0
QtnPropertySetTest1::QtnPropertySetTest1(QObject* parent)
    : QtnPropertySet(parent)
    , a(*qtnCreateProperty<QtnPropertyInt>(this))
    , text(*qtnCreateProperty<QtnPropertyQString>(this))
{
    init();
    connectSlots();
    connectDelegates();
}
Ejemplo n.º 6
0
QtnPropertySetSS::QtnPropertySetSS(QObject* parent)
    : QtnPropertySet(parent)
    , a(*qtnCreateProperty<QtnPropertyBool>(this))
    , aa(*qtnCreateProperty<QtnPropertySetAA>(this))
{
    init();
    connectSlots();
    connectDelegates();
}
Ejemplo n.º 7
0
QtnPropertySetYY::QtnPropertySetYY(QObject* parent)
    : QtnPropertySet(parent)
    , rect(*qtnCreateProperty<QtnPropertyQRect>(this))
    , s(*qtnCreateProperty<QtnPropertyQString>(this))
{
    init();
    connectSlots();
    connectDelegates();
}
Ejemplo n.º 8
0
QtnPropertySetTextAttributes::QtnPropertySetTextAttributes(QObject* parent)
    : QtnPropertySet(parent)
    , WordWrap(*new QtnPropertyBool(this))
    , Height(*new QtnPropertyInt(this))
    , Color(*new QtnPropertyQColor(this))
{
    init();
    connectSlots();
    connectDelegates();
}
Ejemplo n.º 9
0
QtnPropertySetSubPropertySetType::QtnPropertySetSubPropertySetType(QObject* parent)
    : QtnPropertySet(parent)
    , SwitchProperty(*new QtnPropertyBool(this))
    , ReadOnlyString(*new QtnPropertyQStringCallback(this))
    , FileNameProperty(*new QtnPropertyQString(this))
    , FolderNameProperty(*new QtnPropertyQString(this))
    , StringFromList(*new QtnPropertyQString(this))
    , CircleShapeColor(*new QtnPropertyQColor(this))
{
    init();
    connectSlots();
    connectDelegates();
}
Ejemplo n.º 10
0
QtnPropertySetTest3::QtnPropertySetTest3(QObject* parent)
    : QtnPropertySet(parent)
    , yy(*qtnCreateProperty<QtnPropertySetYY>(this))
    , iis(*qtnCreateProperty<QtnPropertySetSS>(this))
    , u(*qtnCreateProperty<QtnPropertyBool>(this))
    , xx(*qtnCreateProperty<QtnPropertySetTest2>(this))
    , tt(*qtnCreateProperty<QtnPropertySetTest2>(this))
    , s(*qtnCreateProperty<QtnPropertySetSS>(this))
    , ww(*qtnCreateProperty<QtnPropertyBool>(this))
    , bc(*qtnCreateProperty<QtnPropertyBoolCallback>(this))
{
    init();
    connectSlots();
    connectDelegates();
}