summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-03-30 16:17:55 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2010-03-30 16:19:21 (GMT)
commite1edc775a5fdfd0e9e940abcc5050944eb396f8b (patch)
tree85efff1a422adb9e6eedf1b68eb994b5ad564d60 /src/gui
parent359e6ae3900930656b7359210105426a1771bf19 (diff)
downloadQt-e1edc775a5fdfd0e9e940abcc5050944eb396f8b.zip
Qt-e1edc775a5fdfd0e9e940abcc5050944eb396f8b.tar.gz
Qt-e1edc775a5fdfd0e9e940abcc5050944eb396f8b.tar.bz2
Fix bad merge from 4.6.
Revert qgraphicsview.h to its prior 4.7 state and symbian.conf to the current qt-4.7-from-4.6 (7c613a9ef4610fa2e0e1630eb3cd2b474875631d) state. symbian.conf may be bad, needs reviewing.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/graphicsview/qgraphicswidget.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/graphicsview/qgraphicswidget.h b/src/gui/graphicsview/qgraphicswidget.h
index 730674c..87c669b 100644
--- a/src/gui/graphicsview/qgraphicswidget.h
+++ b/src/gui/graphicsview/qgraphicswidget.h
@@ -82,7 +82,7 @@ class Q_GUI_EXPORT QGraphicsWidget : public QGraphicsObject, public QGraphicsLay
Q_PROPERTY(Qt::WindowFlags windowFlags READ windowFlags WRITE setWindowFlags)
Q_PROPERTY(QString windowTitle READ windowTitle WRITE setWindowTitle)
Q_PROPERTY(QRectF geometry READ geometry WRITE setGeometry NOTIFY geometryChanged)
- Q_PROPERTY(QGraphicsLayout* layout READ layout WRITE setLayout NOTIFY layoutChanged)
+ Q_PROPERTY(bool autoFillBackground READ autoFillBackground WRITE setAutoFillBackground)
public:
QGraphicsWidget(QGraphicsItem *parent = 0, Qt::WindowFlags wFlags = 0);
~QGraphicsWidget();
@@ -103,6 +103,9 @@ public:
QPalette palette() const;
void setPalette(const QPalette &palette);
+ bool autoFillBackground() const;
+ void setAutoFillBackground(bool enabled);
+
void resize(const QSizeF &size);
inline void resize(qreal w, qreal h) { resize(QSizeF(w, h)); }
QSizeF size() const;
@@ -177,7 +180,6 @@ public:
Q_SIGNALS:
void geometryChanged();
- void layoutChanged();
public Q_SLOTS:
bool close();