Changeset 846 for trunk/src/gui/graphicsview/qgraphicswidget.h
- Timestamp:
- May 5, 2011, 5:36:53 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.2 (added) merged: 845 /branches/vendor/nokia/qt/current merged: 844 /branches/vendor/nokia/qt/4.6.3 removed
- Property svn:mergeinfo changed
-
trunk/src/gui/graphicsview/qgraphicswidget.h
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation (qt-info@nokia.com) … … 74 74 Q_PROPERTY(QFont font READ font WRITE setFont) 75 75 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) 77 77 Q_PROPERTY(QSizeF minimumSize READ minimumSize WRITE setMinimumSize) 78 78 Q_PROPERTY(QSizeF preferredSize READ preferredSize WRITE setPreferredSize) … … 82 82 Q_PROPERTY(Qt::WindowFlags windowFlags READ windowFlags WRITE setWindowFlags) 83 83 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) 85 87 public: 86 88 QGraphicsWidget(QGraphicsItem *parent = 0, Qt::WindowFlags wFlags = 0); 87 89 ~QGraphicsWidget(); 88 89 90 QGraphicsLayout *layout() const; 90 91 void setLayout(QGraphicsLayout *layout); … … 103 104 QPalette palette() const; 104 105 void setPalette(const QPalette &palette); 106 107 bool autoFillBackground() const; 108 void setAutoFillBackground(bool enabled); 105 109 106 110 void resize(const QSizeF &size); … … 175 179 using QObject::children; 176 180 #endif 181 182 Q_SIGNALS: 183 void geometryChanged(); 184 void layoutChanged(); 177 185 178 186 public Q_SLOTS:
Note:
See TracChangeset
for help on using the changeset viewer.