summaryrefslogtreecommitdiffstats
path: root/tools/qml
Commit message (Collapse)AuthorAgeFilesLines
* Build on SymbianMartin Jones2010-12-121-13/+13
| | | | Reviewed-by: Michael Brasser
* QmlViewer: Remove trailing whitespaceKai Koehne2010-12-104-7/+7
|
* QmlViewer: Remove trailing whitespaceKai Koehne2010-12-106-18/+18
|
* QmlViewer: Fix crash on exitKai Koehne2010-12-101-21/+21
| | | | | | | | | | | We can't use atexit() handler to show a warning, since whether the QApplication object then still exists or not is undefined. Instead, call the method directly where it makes sense (warnings about command line arguments etc). Task-number: QTBUG-15740 Reviewed-by: Thomas Hartmann
* Give qmlviewer a minimum size if root object has no size.Bea Lam2010-12-031-1/+1
| | | | | | | | de8c9d69fa7c7cc50e9a238e58f6e9370f158fc4 ensured the window was at least partly visible on Windows and Linux but it did not work on Mac. Task-number: QTBUG-15783 Reviewed-by: Alan Alpert
* Fix Browser.qml warningsJoona Petrell2010-11-301-2/+2
| | | | | Task-number: QTBUG-15720 Reviewed-by: Martin Jones
* Fixup visual tests on MacAlan Alpert2010-11-251-0/+9
| | | | Disable sub-pixel antialiasing and skip text on 10.5
* Prevent crash when calling reload() from within a .qmlDamian Jansen2010-11-231-1/+1
| | | | Task-number: QTBUG-15493
* Allow testing of raster engine on Mac from qmlviewerAaron Kennedy2010-11-191-0/+9
|
* Record images on more than just the first frame.Alan Alpert2010-11-161-1/+1
| | | | | | 8fc0d1c36cae1b0 introduced this bug when recording new visual tests. Task-number: QTBUG-14792
* Turn off font antialiasing during tests.Alan Alpert2010-11-161-10/+9
| | | | | | | | | | | Font antialiasing varies from machine to machine, and so is too unstable Also switching to a monospaced font in visual tests to attempt to pre-empt another possible source of instability. This commit also slightly increases verbosity of test failure messages to be more useful in the CI system Task-number: QTBUG-14792
* Take snapshots starting from the first frameAlan Alpert2010-11-151-1/+6
| | | | | | | | Partly because it's invaluble for the times people forget to record a test as a snapshot, partly because it provides more data on the initial state of the test case. Task-number: QTBUG-14792
* Fix QML visual tests on Mac.Yann Bodson2010-11-011-0/+8
| | | | Task-number: QTBUG-14792
* Update webview visual tests to new skip modeAlan Alpert2010-10-291-4/+2
| | | | | | | | New mode requires them to at least compile. Now that I've noticed this, removing that check on compile failures in QDeclarativeTester. Task-number: QTBUG-14792
* Add 'skip' property that QML visual tests can useAlan Alpert2010-10-294-6/+33
| | | | | | | | | | 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
* Fix recording of visual tests.Michael Brasser2010-10-191-0/+2
|
* Keep qmlviewer from disappearingAlan Alpert2010-10-151-0/+1
| | | | | | qmlviewer was disappearing if the scene was 0x0. Now it's just unusably small, which is correct as it will highlight the problem to the developer.
* Support device orientation in harmattanMartin Jones2010-10-072-0/+166
| | | | | Task-number: QTBUG-14137 Reviewed-by: Aaron Kennedy
* Replace all occurances of "Qt 4.7" with "QtQuick 1.0"Aaron Kennedy2010-09-293-3/+3
| | | | | Task-number: QTBUG-13799 Reviewed-by: Martin Jones
* Register QtQuick 1.0 module.Aaron Kennedy2010-09-291-0/+1
| | | | | | | Qt 4.7 is still supported, but deprecated. Reviewed-by: Martin Jones Task-number: QTBUG-13799
* QmlViewer: Fix typo in commentKai Koehne2010-09-281-1/+1
|
* QmlViewer: Fix assert on exit (Windows)Kai Koehne2010-09-281-0/+3
| | | | | | | | | | | The QApplication object in main() is already destroyed when showWarnings() is called. Create another instance in this case. (Note that the assert will only be triggered for debug builds, while qmlviewer is built in release mode by default). Task-number: QTBUG-14009 Reviewed-by: Thomas Hartmann
* Small fixes to Browser.qmlJoona Petrell2010-09-241-7/+41
| | | | | | | | | | - focus highlight should not be shown if user presses any physical key, only when up, down, left and right arrow keys are pressed - hybrid devices (touch + four-way rocker) showed two highlight at the same time after using rocker and pressing the screen with finger - touch highlight had gradient, focus highlight one didn't - the width of the focus highlight didn't update when listview changed size (for example after orientation change) Task-number: Reviewed-by: Martin Jones
* 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-075-17/+73
| | | | | | | active Task-number: QTBUG-13347 Reviewed-by: Martin Jones
* Fix recording of QML visual tests when using a QGLWidget viewport.Michael Brasser2010-09-061-2/+1
| | | | | In order for the event filter to work, we need to set the QGLWidget as the viewport before constructing the QDeclarativeTester.
* Center and clip QML startup animation so it looks correct in fullscreenAaron Kennedy2010-08-311-41/+47
| | | | QTBUG-12831
* QML Viewer should be put under QtDemos instead of QtExamples folder in ↵Joona Petrell2010-08-301-1/+1
| | | | | | | Symbian app menu Task-number: Reviewed-by: Martin Jones
* Add a menu option to open remote files in the QML viewerAlan Alpert2010-08-202-0/+15
| | | | Task-number: QTBUG-11019
* Increase maximum heap size of QML ViewerJoona Petrell2010-08-051-1/+1
| | | | | Task-number: QTBUG-12029 Reviewed-by: Martin Jones
* Make it possible to manually set the orientation of QML Viewer on SymbianJoona Petrell2010-08-034-19/+76
| | | | | | | | | | | | | | | | | | | | 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.
* add license headerHarald Fernengel2010-07-291-0/+41
|
* Add license headerHarald Fernengel2010-07-291-0/+41
| | | | Fixes the licenseCheck autotest
* Improve utility of QMLViewerAaron Kennedy2010-07-2924-193/+679
| | | | | | | Adds a startup animation for all platforms, and adds support for file associated and drag and drop on Mac OS X QTBUG-12496
* Unbreak the Maemo 5 build after the Symbian fixHarald Fernengel2010-07-151-5/+5
| | | | Reviewed-by: Robert Griebl
* Only support portrait and landscape orientations on Symbian when updating ↵Joona Petrell2010-07-133-18/+6
| | | | | | | the runtime.orientation property Task-number: QTBUG-12036 Reviewed-by: Martin Jones
* Calling setMinimumSize(0, 0) on a top-level window sometimes triggers a bugRobert Griebl2010-07-122-36/+28
| | | | | | | | | | 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
* Fix Symbian buildJoona Petrell2010-07-081-0/+2
|
* Add Symbian support for runtime.orientation propertyJoona Petrell2010-07-074-0/+183
| | | | | Task-number: Reviewed-by: Martin Jones
* Prevent a recursive debug output loop when writing to the logger widget.Robert Griebl2010-07-061-4/+11
| | | | | | | (On Maemo5 the input method may generate a qWarning when someone clicks into the logger widget, which leads to an endless output recursion) Reviewed-by: Harald Fernengel
* Don't write to the logger widget while the application is closing down.Robert Griebl2010-07-021-1/+1
| | | | Reviewed-by: TrustMe
* 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-013-21/+23
|
* Indicate default sizing option in qmlviewerBea Lam2010-06-301-1/+1
|
* 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-283-15/+4
| | | | (currently tested on Linux only)
* Stop QMLLauncher from crashing on exit on Mac when quitting app via theBea Lam2010-06-282-0/+14
| | | | | | | | | | | | 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.