summaryrefslogtreecommitdiffstats
path: root/tools/qml/qmlruntime.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update license headers to release version.Jason McDonald2010-10-181-13/+13
|
* Register QtQuick 1.0 module.Aaron Kennedy2010-10-011-0/+1
| | | | | | | | Qt 4.7 is still supported, but deprecated. Reviewed-by: Martin Jones Task-number: QTBUG-13799 (cherry picked from commit 4fcf055f66cc23c9e60a7add489e394420e71914)
* Compile with QT_NO_GESTURES.Yann Bodson2010-09-151-0/+2
|
* Give file and line error information for errors in dummydata.Michael Brasser2010-09-151-5/+1
| | | | | This also has the side effect of allowing types to be defined within the dummydata folder than can be used by other files in dummydata.
* Pause orientation sensors in Qml Viewer when the application window is not ↵Joona Petrell2010-09-071-0/+2
| | | | | | | active Task-number: QTBUG-13347 Reviewed-by: Martin Jones
* Add a menu option to open remote files in the QML viewerAlan Alpert2010-08-201-0/+14
| | | | Task-number: QTBUG-11019
* Make it possible to manually set the orientation of QML Viewer on SymbianJoona Petrell2010-08-031-12/+62
| | | | | | | | | | | | | | | | | | | | 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-6/+56
| | | | | | | 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-34/+26
| | | | | | | | | | 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
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-07-021-0/+2
|\
| * Removed compilation warning for systems with no OpenGL supportLasse Holmstedt2010-07-011-0/+2
| | | | | | | | Reviewed-by: Aaron Kennedy
* | qmlviewer: Update the proxy factory when the user changes the proxy.Martin Jones2010-07-021-42/+62
|/ | | | Task-number: QTBUG-11856
* Remove qmlviewer dependency on QDeclarativeTimerMartin Jones2010-07-011-16/+15
|
* Fix so window will resize with the root object (broken byBea Lam2010-06-291-0/+1
| | | | 156cabe79a64ffca8d6e1a2df99f35b413a48a39)
* Adapt all qmlviewer testcases to the code changes in the actual viewer.Robert Griebl2010-06-281-11/+1
| | | | (currently tested on Linux only)
* Stop QMLLauncher from crashing on exit on Mac when quitting app via theBea Lam2010-06-281-0/+12
| | | | | | | | | | | | 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-4/+6
|
* forgot to cleanup the code a bit after adding Maemo5 supportRobert Griebl2010-06-251-4/+4
|
* Make the QML viewer usable on the N900Robert Griebl2010-06-251-172/+299
|
* Fix drawing flicker on Qml Viewer startupJoona Petrell2010-06-091-4/+3
| | | | | Task-number: QTBUG-10251 and QTBUG-11156 Reviewed-by: Martin Jones
* Fix slow network access in qmlviewer (Windows)Kai Koehne2010-06-081-0/+5
| | | | | | | | | | | | If no proxy is defined in the preferences, qmlviewer uses systemProxyForQuery to automatically retrieve the proxy settings of the Operating System. However, calling systemProxyForQuery can take several seconds in case Windows to automatically detect proxies (QTBUG-10106). This hot fix therefore just disables querying the OS proxies on Windows. Task-number: QTBUG-11261 Reviewed-by: Warwick Allison
* Revert to Portrait/Landscape terminology for Orientation enum, withBea Lam2010-06-041-12/+12
| | | | | | additional PortraitInverted and LandscapeInverted values. TopUp etc. only indicates rotation which makes it difficult to resize the window according to whether the device is in Portrait or Landscape orientation.
* QML viewer now supports TopUp, TopDown, RightUp and LeftUp orientationsBea Lam2010-06-021-38/+44
| | | | | | | | 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
* Fix for qml reloaded in qml viewer not being maximized properly on a deviceJoona Petrell2010-05-261-1/+3
| | | | | Task-number: Reviewed-by: Martin Jones
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-05-251-1/+2
|\
| * Get rid of 'noise' when using GL and the top-level item is an Item.Michael Brasser2010-05-241-1/+2
| | | | | | | | Task-number: QTBUG-10911
* | Remove old symbian specific IAP initialization.Martin Jones2010-05-251-26/+0
|/
* Renaming "Qml Launcher" back to "QML Viewer"Kai Koehne2010-05-181-6/+6
| | | | | | | | | Change the official name of the qml executable back to "Qt QML Viewer" - the original name before it got renamed to "QML Runtime" and then "QML Launcher". Also, the new Mac OS X bundle name is "QMLViewer" (without a space to ease command line use).
* Fix to work with file: URLs (eg. from qml -qmlbrowser)Warwick Allison2010-05-171-0/+1
|
* Rename QML Runtime (executable) to QML LauncherKai Koehne2010-05-141-6/+6
| | | | | | | | The qml executable was first referred to as QML Viewer, then QML Runtime ... however, the latter one caused much confusion (see old version of qmlruntime.qdoc). Doc changes reviewed by Leena Miettinen.
* Remove skins from qml launcher.Kai Koehne2010-05-141-242/+2
|
* Temporary work-around for QTBUG-9849.Warwick Allison2010-05-111-0/+11
| | | | May allow better experimentation and bug fixing.
* Resize qmlruntime window to new dimensions when orientation changesJoona Petrell2010-05-071-3/+16
| | | | | Task-number: Reviewed-by: Warwick Allison
* Another initialization fix. Unleak.Warwick Allison2010-05-051-0/+1
|
* Initialize variable and crash less.Martin Jones2010-05-051-0/+1
|
* Add a switch to the menu to hide/show the runtime warningsKai Koehne2010-05-051-2/+42
| | | | Reviewed-by: mae
* Allow translations without extra command-line args, and document both.Warwick Allison2010-05-051-27/+45
|
* Fix remaining 4.6 type registrations (to 4.7).Warwick Allison2010-04-271-1/+1
| | | | | | Missed/cross-paths with a29627231a02ebf98645675acbd353618d1109d4. Task-number: QTBUG-10081
* Unify naming of settings / UI to be "Qt Qml Runtime"Kai Koehne2010-04-261-3/+4
| | | | Reviewed-by: Henrik Hartz
* Fix hidden menu on embedded.Warwick Allison2010-04-231-7/+16
| | | | Menu strangely still produces hits on embedded. Don't create it if frameless.
* Show command line help / qml runtime output in GUIKai Koehne2010-04-201-1/+0
| | | | | | | | | Since qml is a GUI program, debugging output isn't visible by default for Windows/Mac users. Therefore provide command line help in a dialog (Windows), and runtime errors/warnings in a separate top level window. Done together with mae. Reviewed-by: mae
* Improve error messages, especially on embedded.Warwick Allison2010-04-201-1/+1
| | | | | | With embedded, it is often the case that some QT_NO_* features are turned off (eg. QT_NO_XMLPATTERNS), which in turn leads to QML types not being available.
* ResizeMode support for QGraphicsWidgets created with QDeclarativeViewJoona Petrell2010-04-161-42/+70
| | | | | Task-number: QTBUG-8814 Reviewed-by: alexis
* Update examples autotest to use the runtime directlyAaron Kennedy2010-04-151-15/+13
| | | | This improves the test execution time
* Remove dead wgt support from qml runtimeAaron Kennedy2010-04-141-104/+10
|
* Merged 'orientation' into 'runtime' context property in qmlruntimeLeonardo Sobral Cunha2010-04-141-31/+14
| | | | | | | | | | | Removed the 'Screen' element from DeclarativeViewer, as it was used only for the orientation property. Now access the 'orientation' property like this: 'runtime.orientation' and the enum is accessed as 'Orientation.Landscape', when using the qmlruntime. Updated docs for qmlruntime. Reviewed-by: Martin Jones
* Add 'runtime' property to the rootContext of DeclarativeViewerLeonardo Sobral Cunha2010-04-141-0/+44
| | | | | | | | | | 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
* Tune plugin import mechanismmae2010-04-081-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Minor cleanup for visual test framework.Michael Brasser2010-03-311-1/+1
|
* Fix viewer resizing on reload and File->openMartin Jones2010-03-301-17/+16
| | | | Task-number: QTBUG-9325