⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ui4_p.h

📁 QT 开发环境里面一个很重要的文件
💻 H
📖 第 1 页 / 共 5 页
字号:
    inline QList<DomColor*> elementColor() { return m_color; }    void setElementColor(const QList<DomColor*>& a);private:    QString m_text;    void clear(bool clear_all = true);    // attribute data    // child element data    QList<DomColorRole*> m_colorRole;    QList<DomColor*> m_color;    DomColorGroup(const DomColorGroup &other);    void operator = (const DomColorGroup&other);};class QDESIGNER_UILIB_EXPORT DomPalette {public:    DomPalette();    ~DomPalette();    void read(const QDomElement &node);    QDomElement write(QDomDocument &doc, const QString &tagName = QString());    inline QString text() const { return m_text; }    inline void setText(const QString &s) { m_text = s; }    // attribute accessors    // child element accessors    inline DomColorGroup* elementActive() { return m_active; }    void setElementActive(DomColorGroup* a);    inline bool hasElementActive() const { return m_children & Active; }    void clearElementActive();    inline DomColorGroup* elementInactive() { return m_inactive; }    void setElementInactive(DomColorGroup* a);    inline bool hasElementInactive() const { return m_children & Inactive; }    void clearElementInactive();    inline DomColorGroup* elementDisabled() { return m_disabled; }    void setElementDisabled(DomColorGroup* a);    inline bool hasElementDisabled() const { return m_children & Disabled; }    void clearElementDisabled();private:    QString m_text;    void clear(bool clear_all = true);    // attribute data    // child element data    uint m_children;    DomColorGroup* m_active;    DomColorGroup* m_inactive;    DomColorGroup* m_disabled;    enum Child {        Active = 1,        Inactive = 2,        Disabled = 4,    };    DomPalette(const DomPalette &other);    void operator = (const DomPalette&other);};class QDESIGNER_UILIB_EXPORT DomFont {public:    DomFont();    ~DomFont();    void read(const QDomElement &node);    QDomElement write(QDomDocument &doc, const QString &tagName = QString());    inline QString text() const { return m_text; }    inline void setText(const QString &s) { m_text = s; }    // attribute accessors    // child element accessors    inline QString elementFamily() { return m_family; }    void setElementFamily(const QString& a);    inline bool hasElementFamily() const { return m_children & Family; }    void clearElementFamily();    inline int elementPointSize() { return m_pointSize; }    void setElementPointSize(int a);    inline bool hasElementPointSize() const { return m_children & PointSize; }    void clearElementPointSize();    inline int elementWeight() { return m_weight; }    void setElementWeight(int a);    inline bool hasElementWeight() const { return m_children & Weight; }    void clearElementWeight();    inline bool elementItalic() { return m_italic; }    void setElementItalic(bool a);    inline bool hasElementItalic() const { return m_children & Italic; }    void clearElementItalic();    inline bool elementBold() { return m_bold; }    void setElementBold(bool a);    inline bool hasElementBold() const { return m_children & Bold; }    void clearElementBold();    inline bool elementUnderline() { return m_underline; }    void setElementUnderline(bool a);    inline bool hasElementUnderline() const { return m_children & Underline; }    void clearElementUnderline();    inline bool elementStrikeOut() { return m_strikeOut; }    void setElementStrikeOut(bool a);    inline bool hasElementStrikeOut() const { return m_children & StrikeOut; }    void clearElementStrikeOut();    inline bool elementAntialiasing() { return m_antialiasing; }    void setElementAntialiasing(bool a);    inline bool hasElementAntialiasing() const { return m_children & Antialiasing; }    void clearElementAntialiasing();    inline bool elementKerning() { return m_kerning; }    void setElementKerning(bool a);    inline bool hasElementKerning() const { return m_children & Kerning; }    void clearElementKerning();private:    QString m_text;    void clear(bool clear_all = true);    // attribute data    // child element data    uint m_children;    QString m_family;    int m_pointSize;    int m_weight;    bool m_italic;    bool m_bold;    bool m_underline;    bool m_strikeOut;    bool m_antialiasing;    bool m_kerning;    enum Child {        Family = 1,        PointSize = 2,        Weight = 4,        Italic = 8,        Bold = 16,        Underline = 32,        StrikeOut = 64,        Antialiasing = 128,        Kerning = 256,    };    DomFont(const DomFont &other);    void operator = (const DomFont&other);};class QDESIGNER_UILIB_EXPORT DomPoint {public:    DomPoint();    ~DomPoint();    void read(const QDomElement &node);    QDomElement write(QDomDocument &doc, const QString &tagName = QString());    inline QString text() const { return m_text; }    inline void setText(const QString &s) { m_text = s; }    // attribute accessors    // child element accessors    inline int elementX() { return m_x; }    void setElementX(int a);    inline bool hasElementX() const { return m_children & X; }    void clearElementX();    inline int elementY() { return m_y; }    void setElementY(int a);    inline bool hasElementY() const { return m_children & Y; }    void clearElementY();private:    QString m_text;    void clear(bool clear_all = true);    // attribute data    // child element data    uint m_children;    int m_x;    int m_y;    enum Child {        X = 1,        Y = 2,    };    DomPoint(const DomPoint &other);    void operator = (const DomPoint&other);};class QDESIGNER_UILIB_EXPORT DomRect {public:    DomRect();    ~DomRect();    void read(const QDomElement &node);    QDomElement write(QDomDocument &doc, const QString &tagName = QString());    inline QString text() const { return m_text; }    inline void setText(const QString &s) { m_text = s; }    // attribute accessors    // child element accessors    inline int elementX() { return m_x; }    void setElementX(int a);    inline bool hasElementX() const { return m_children & X; }    void clearElementX();    inline int elementY() { return m_y; }    void setElementY(int a);    inline bool hasElementY() const { return m_children & Y; }    void clearElementY();    inline int elementWidth() { return m_width; }    void setElementWidth(int a);    inline bool hasElementWidth() const { return m_children & Width; }    void clearElementWidth();    inline int elementHeight() { return m_height; }    void setElementHeight(int a);    inline bool hasElementHeight() const { return m_children & Height; }    void clearElementHeight();private:    QString m_text;    void clear(bool clear_all = true);    // attribute data    // child element data    uint m_children;    int m_x;    int m_y;    int m_width;    int m_height;    enum Child {        X = 1,        Y = 2,        Width = 4,        Height = 8,    };    DomRect(const DomRect &other);    void operator = (const DomRect&other);};class QDESIGNER_UILIB_EXPORT DomSizePolicy {public:    DomSizePolicy();    ~DomSizePolicy();    void read(const QDomElement &node);    QDomElement write(QDomDocument &doc, const QString &tagName = QString());    inline QString text() const { return m_text; }    inline void setText(const QString &s) { m_text = s; }    // attribute accessors    // child element accessors    inline int elementHSizeType() { return m_hSizeType; }    void setElementHSizeType(int a);    inline bool hasElementHSizeType() const { return m_children & HSizeType; }    void clearElementHSizeType();    inline int elementVSizeType() { return m_vSizeType; }    void setElementVSizeType(int a);    inline bool hasElementVSizeType() const { return m_children & VSizeType; }    void clearElementVSizeType();    inline int elementHorStretch() { return m_horStretch; }    void setElementHorStretch(int a);    inline bool hasElementHorStretch() const { return m_children & HorStretch; }    void clearElementHorStretch();    inline int elementVerStretch() { return m_verStretch; }    void setElementVerStretch(int a);    inline bool hasElementVerStretch() const { return m_children & VerStretch; }    void clearElementVerStretch();private:    QString m_text;    void clear(bool clear_all = true);    // attribute data    // child element data    uint m_children;    int m_hSizeType;    int m_vSizeType;    int m_horStretch;    int m_verStretch;    enum Child {        HSizeType = 1,        VSizeType = 2,        HorStretch = 4,        VerStretch = 8,    };    DomSizePolicy(const DomSizePolicy &other);    void operator = (const DomSizePolicy&other);};class QDESIGNER_UILIB_EXPORT DomSize {public:    DomSize();    ~DomSize();    void read(const QDomElement &node);    QDomElement write(QDomDocument &doc, const QString &tagName = QString());    inline QString text() const { return m_text; }    inline void setText(const QString &s) { m_text = s; }    // attribute accessors    // child element accessors    inline int elementWidth() { return m_width; }    void setElementWidth(int a);    inline bool hasElementWidth() const { return m_children & Width; }    void clearElementWidth();    inline int elementHeight() { return m_height; }    void setElementHeight(int a);    inline bool hasElementHeight() const { return m_children & Height; }    void clearElementHeight();private:    QString m_text;    void clear(bool clear_all = true);    // attribute data    // child element data    uint m_children;    int m_width;    int m_height;    enum Child {        Width = 1,        Height = 2,    };    DomSize(const DomSize &other);    void operator = (const DomSize&other);};class QDESIGNER_UILIB_EXPORT DomDate {public:    DomDate();    ~DomDate();    void read(const QDomElement &node);    QDomElement write(QDomDocument &doc, const QString &tagName = QString());    inline QString text() const { return m_text; }    inline void setText(const QString &s) { m_text = s; }    // attribute accessors    // child element accessors    inline int elementYear() { return m_year; }    void setElementYear(int a);    inline bool hasElementYear() const { return m_children & Year; }    void clearElementYear();    inline int elementMonth() { return m_month; }    void setElementMonth(int a);    inline bool hasElementMonth() const { return m_children & Month; }    void clearElementMonth();    inline int elementDay() { return m_day; }    void setElementDay(int a);    inline bool hasElementDay() const { return m_children & Day; }    void clearElementDay();private:    QString m_text;    void clear(bool clear_all = true);    // attribute data    // child element data    uint m_children;    int m_year;    int m_month;    int m_day;    enum Child {        Year = 1,        Month = 2,        Day = 4,    };    DomDate(const DomDate &other);    void operator = (const DomDate&other);};class QDESIGNER_UILIB_EXPORT DomTime {public:    DomTime();    ~DomTime();    void read(const QDomElement &node);    QDomElement write(QDomDocument &doc, const QString &tagName = QString());    inline QString text() const { return m_text; }    inline void setText(const QString &s) { m_text = s; }    // attribute accessors    // child element accessors    inline int elementHour() { return m_hour; }    void setElementHour(int a);    inline bool hasElementHour() const { return m_children & Hour; }    void clearElementHour();    inline int elementMinute() { return m_minute; }    void setElementMinute(int a);    inline bool hasElementMinute() const { return m_children & Minute; }    void clearElementMinute();    inline int elementSecond() { return m_second; }    void setElementSecond(int a);    inline bool hasElem

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -