summaryrefslogtreecommitdiffstats
path: root/tools/qml/qmlruntime.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Remove dead performance measurement code from QMLAaron Kennedy2010-03-221-5/+0
|
* Don't destroy cookie jar until while someone may be using it.Martin Jones2010-03-181-24/+34
|
* Enable GL samplebuffers by default on Mac OS XAaron Kennedy2010-03-121-0/+5
|
* Document - and use - the qmlRegisterXXX template functionsmae2010-03-101-1/+1
| | | | This commit removes the obsolete QML_REGISTER_TYPE macros.
* Change class prefix to from QmlXXX to QDeclarativeXXX, QmlGraphicsXXX to ↵Warwick Allison2010-02-241-0/+1468
QDeclarativeXXX.