Ignore:
Timestamp:
May 5, 2011, 5:36:53 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/gui/graphicsview/qgraphicswidget.h

    r651 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    7474    Q_PROPERTY(QFont font READ font WRITE setFont)
    7575    Q_PROPERTY(Qt::LayoutDirection layoutDirection READ layoutDirection WRITE setLayoutDirection RESET unsetLayoutDirection)
    76     Q_PROPERTY(QSizeF size READ size WRITE resize)
     76    Q_PROPERTY(QSizeF size READ size WRITE resize NOTIFY geometryChanged)
    7777    Q_PROPERTY(QSizeF minimumSize READ minimumSize WRITE setMinimumSize)
    7878    Q_PROPERTY(QSizeF preferredSize READ preferredSize WRITE setPreferredSize)
     
    8282    Q_PROPERTY(Qt::WindowFlags windowFlags READ windowFlags WRITE setWindowFlags)
    8383    Q_PROPERTY(QString windowTitle READ windowTitle WRITE setWindowTitle)
    84     Q_PROPERTY(QRectF geometry READ geometry WRITE setGeometry)
     84    Q_PROPERTY(QRectF geometry READ geometry WRITE setGeometry NOTIFY geometryChanged)
     85    Q_PROPERTY(bool autoFillBackground READ autoFillBackground WRITE setAutoFillBackground)
     86    Q_PROPERTY(QGraphicsLayout* layout READ layout WRITE setLayout NOTIFY layoutChanged)
    8587public:
    8688    QGraphicsWidget(QGraphicsItem *parent = 0, Qt::WindowFlags wFlags = 0);
    8789    ~QGraphicsWidget();
    88 
    8990    QGraphicsLayout *layout() const;
    9091    void setLayout(QGraphicsLayout *layout);
     
    103104    QPalette palette() const;
    104105    void setPalette(const QPalette &palette);
     106
     107    bool autoFillBackground() const;
     108    void setAutoFillBackground(bool enabled);
    105109
    106110    void resize(const QSizeF &size);
     
    175179    using QObject::children;
    176180#endif
     181
     182Q_SIGNALS:
     183    void geometryChanged();
     184    void layoutChanged();
    177185
    178186public Q_SLOTS:
Note: See TracChangeset for help on using the changeset viewer.