summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qmlgraphicspainteditem_p.h
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-11-10 04:29:10 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-11-10 04:29:10 (GMT)
commit5471328d6565ca1759ea8008421a31dde2a0f036 (patch)
tree814ef54f4b20d8f32105bd725a7576d04c6be22c /src/declarative/graphicsitems/qmlgraphicspainteditem_p.h
parente93a22d8cb01a419fe9000bac166ed76f7fef3a5 (diff)
downloadQt-5471328d6565ca1759ea8008421a31dde2a0f036.zip
Qt-5471328d6565ca1759ea8008421a31dde2a0f036.tar.gz
Qt-5471328d6565ca1759ea8008421a31dde2a0f036.tar.bz2
Distinguish between tranform smoothness (from Item) and smoothness
of the painted chunks (often want the latter not the former).
Diffstat (limited to 'src/declarative/graphicsitems/qmlgraphicspainteditem_p.h')
-rw-r--r--src/declarative/graphicsitems/qmlgraphicspainteditem_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qmlgraphicspainteditem_p.h b/src/declarative/graphicsitems/qmlgraphicspainteditem_p.h
index 99873a7..8d629b3 100644
--- a/src/declarative/graphicsitems/qmlgraphicspainteditem_p.h
+++ b/src/declarative/graphicsitems/qmlgraphicspainteditem_p.h
@@ -59,6 +59,7 @@ class Q_DECLARATIVE_EXPORT QmlGraphicsPaintedItem : public QmlGraphicsItem
Q_PROPERTY(QSize contentsSize READ contentsSize WRITE setContentsSize)
Q_PROPERTY(QColor fillColor READ fillColor WRITE setFillColor NOTIFY fillColorChanged)
Q_PROPERTY(int cacheSize READ cacheSize WRITE setCacheSize)
+ Q_PROPERTY(bool smoothCache READ smoothCache WRITE setSmoothCache)
public:
QmlGraphicsPaintedItem(QmlGraphicsItem *parent=0);
@@ -70,6 +71,9 @@ public:
int cacheSize() const;
void setCacheSize(int pixels);
+ bool smoothCache() const;
+ void setSmoothCache(bool on);
+
QColor fillColor() const;
void setFillColor(const QColor&);