summaryrefslogtreecommitdiffstats
path: root/tools/qml/qmlruntime.h
Commit message (Collapse)AuthorAgeFilesLines
* Update contact information in license headers.Sergio Ahumada2012-08-011-2/+2
| | | | | | | | | | | | | - Replace Nokia contact email address with Qt Project website. - Remove "All rights reserved" line from license headers. As in the past, to avoid rewriting various autotests that contain line-number information, an extra blank line has been inserted at the end of the license text to ensure that this commit does not change the total number of lines in the license header. Change-Id: Ie7ba62011752fcb149b99b26317c54f2a0cfa931 Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
* Update year in Nokia copyright messages.Jason McDonald2012-01-111-1/+1
| | | | | | | | | Simple search and replace. This commit doesn't touch 3rd-party files, nor translations (where the change is not so simple and will be handled in a separate commit). Change-Id: I4e48513b8078a44a8cd272326685b25338890148 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Update licenseheader text in source files for qt4.8Jyri Tahtela2011-05-131-17/+17
| | | | | | | Updated version of LGPL and FDL licenseheaders. Apply release phase licenseheaders for all source files. Reviewed-by: Trust Me
* Update copyright year to 2011.Jason McDonald2011-01-101-1/+1
| | | | Reviewed-by: Trust Me
* QmlViewer: Remove unused class variablesKai Koehne2011-01-071-2/+0
|
* Add 'skip' property that QML visual tests can useAlan Alpert2010-10-291-1/+2
| | | | | | | | | | This property can be set with a reason to skip the test (i.e. known bug) and the failure will not count for blocking purposes. This change also alters one of the failing tests to use the new property Task-number: QTBUG-14792 Reviewed-by: Michael Brasser
* Add a menu option to open remote files in the QML viewerAlan Alpert2010-08-201-0/+1
| | | | Task-number: QTBUG-11019
* Make it possible to manually set the orientation of QML Viewer on SymbianJoona Petrell2010-08-031-2/+1
| | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-12142 Reviewed-by: Warwick Allison This patch brings ability to switch QML Viewer's orientation between auto-orientation (=follow sensor), portrait and landscape orientations (lock orientation) on Symbian. It provides same orientation options as Qt Creator 2.1's Qt QML Standalone Application creation wizard. Also, menu item rotateOrientation now works on Symbian, but it's hidden when orientation mode is set to auto-orientation. Property runtime.orientation has been switched back to supporting four-way orientation on Symbian, previously it only updated values between portrait and landscape. If your application only supports landscape or portrait modes, just don't react to the inverted orientations. Added orientation example screenorientation under examples/declarative. The patch includes a fix for calculator example, which rotated to wrong direction when switching from portrait to landscape. Also, improved qdeclarativeviewer unit tests. Changes have been tested to work on Windows, Linux and Symbian^3.
* Improve utility of QMLViewerAaron Kennedy2010-07-291-0/+1
| | | | | | | Adds a startup animation for all platforms, and adds support for file associated and drag and drop on Mac OS X QTBUG-12496
* Calling setMinimumSize(0, 0) on a top-level window sometimes triggers a bugRobert Griebl2010-07-121-2/+2
| | | | | | | | | | in the Compiz window manager which leads to the QML viewer mainwindow not being composited anymore (at least until the next resize). Since we need to somehow switch between fixed size and freely resizable views, we have to work around that bug using the layout constraint hints. Task-number: QTBUG-11771 Reviewed-by: kkoehne
* Remove qmlviewer dependency on QDeclarativeTimerMartin Jones2010-07-011-5/+5
|
* Adapt all qmlviewer testcases to the code changes in the actual viewer.Robert Griebl2010-06-281-3/+2
| | | | (currently tested on Linux only)
* Stop QMLLauncher from crashing on exit on Mac when quitting app via theBea Lam2010-06-281-0/+2
| | | | | | | | | | | | menu. This sets the QGraphicsView::viewport() to 0 on exit to avoid "QGLContext::makeCurrent: Cannot make invalid context current" errors on exit, and deletes the logger window on exit so it does not receive error messages after the app is closed. The QGLContext errors appeared after 6d4e14ef0437ce8f73bddbcb267cf5ef708fbdec.
* fix QML Viewer resize modesRobert Griebl2010-06-251-1/+2
|
* Make the QML viewer usable on the N900Robert Griebl2010-06-251-12/+7
|
* QML viewer now supports TopUp, TopDown, RightUp and LeftUp orientationsBea Lam2010-06-021-6/+3
| | | | | | | | instead of Portrait/Landscape. The new orientations are named the same as the orientations in the QtMobility sensors module. Task-number: QTBUG-11106 Reviewed-by: akennedy
* Remove old symbian specific IAP initialization.Martin Jones2010-05-251-1/+0
|
* Remove skins from qml launcher.Kai Koehne2010-05-141-6/+0
|
* Temporary work-around for QTBUG-9849.Warwick Allison2010-05-111-0/+2
| | | | May allow better experimentation and bug fixing.
* Resize qmlruntime window to new dimensions when orientation changesJoona Petrell2010-05-071-3/+2
| | | | | Task-number: Reviewed-by: Warwick Allison
* Add a switch to the menu to hide/show the runtime warningsKai Koehne2010-05-051-0/+10
| | | | Reviewed-by: mae
* Allow translations without extra command-line args, and document both.Warwick Allison2010-05-051-0/+6
|
* Fix hidden menu on embedded.Warwick Allison2010-04-231-0/+1
| | | | Menu strangely still produces hits on embedded. Don't create it if frameless.
* ResizeMode support for QGraphicsWidgets created with QDeclarativeViewJoona Petrell2010-04-161-1/+3
| | | | | Task-number: QTBUG-8814 Reviewed-by: alexis
* Update examples autotest to use the runtime directlyAaron Kennedy2010-04-151-2/+3
| | | | This improves the test execution time
* Remove dead wgt support from qml runtimeAaron Kennedy2010-04-141-2/+0
|
* Add 'runtime' property to the rootContext of DeclarativeViewerLeonardo Sobral Cunha2010-04-141-0/+1
| | | | | | | | | | The 'runtime' property is a singleton object that contains various info about the execution environment for the qml application. Currently it contains just one property 'isActiveWindow', which tells if the window of the declarative viewer is active or not. Task-number: QTBUG-8902 Reviewed-by: Martin Jones
* Support recording visual snapshot tests.Michael Brasser2010-04-141-1/+2
|
* Tune plugin import mechanismmae2010-04-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | In shadow build environments, we cannot enforce that shared library objects for plugins are located in the same directory as the qmldir file. This makes it hard for Creator to support mixed projects (qml/c++). In order to gain more flexibility, the patch introduces a pluginPathList to QDeclarativeEngine, which completes the existing importsPathList. The pluginPathList defaults to ["."], which indicates the directory where the qmldir file is located in. The qml viewer tool gains a command line option -P to add to the pluginPathList. For consistency, the -L option ("Library") has been renamed to -I ("Import"). QDeclarativeEngine::importExtension() has been renamed to QDeclarativeEngine::importPlugin(). The documentation has been adjusted accordingly. Done with erikv. Reviewed-by: erikv
* Change class prefix to from QmlXXX to QDeclarativeXXX, QmlGraphicsXXX to ↵Warwick Allison2010-02-241-0/+195
QDeclarativeXXX.