summaryrefslogtreecommitdiffstats
path: root/tools/qmlviewer/qmlviewer.h
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-05-15 07:55:41 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-05-15 07:55:41 (GMT)
commit4fe1dc315385fb8d3ab021b682419312a79c379d (patch)
treec320cf841f51753ab16facf53f29123b5bc94983 /tools/qmlviewer/qmlviewer.h
parentdc75d22da65984df342809b3c60d41ac08c14459 (diff)
downloadQt-4fe1dc315385fb8d3ab021b682419312a79c379d.zip
Qt-4fe1dc315385fb8d3ab021b682419312a79c379d.tar.gz
Qt-4fe1dc315385fb8d3ab021b682419312a79c379d.tar.bz2
Resizing options (scale skin to fit view or reverse)
Diffstat (limited to 'tools/qmlviewer/qmlviewer.h')
-rw-r--r--tools/qmlviewer/qmlviewer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/qmlviewer/qmlviewer.h b/tools/qmlviewer/qmlviewer.h
index 74044b3..09b2b5b 100644
--- a/tools/qmlviewer/qmlviewer.h
+++ b/tools/qmlviewer/qmlviewer.h
@@ -62,6 +62,10 @@ protected:
void createMenu(QMenuBar *menu, QMenu *flatmenu);
+private slots:
+ void setScaleSkin();
+ void setScaleView();
+
private:
QString currentFileName;
PreviewDeviceSkin *skin;
@@ -81,6 +85,7 @@ private:
bool devicemode;
QAction *recordAction;
QString currentSkin;
+ bool scaleSkin;
QFxTestEngine *testEngine;
};