aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
Commit message (Collapse)AuthorAgeFilesLines
...
* QtDeclarative/Quick: Fix warnings.Friedemann Kleint2012-02-161-0/+2
| | | | | Change-Id: I71bd638fcc41356e0b76df27ec76ad3ed5ef90d9 Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
* Remove QtQuick1 elements from qtdeclarativeMatthew Vogt2012-02-0336-4610/+0
| | | | | | | | QtQuick1 is now contained in a separate repository. Task-number: QTBUG-23737 Change-Id: I09eae67af5693a22b896b916f816f73ccc3a89b1 Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Remove QAccessible::FocusChild, add focusChild()Jan-Arve Saether2012-02-022-23/+18
| | | | | Change-Id: Idc96d91ec31630b4240fe473ed3b4bf0a4753618 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
* Remove "All rights reserved" line from license headers.Jason McDonald2012-01-3060-60/+60
| | | | | | | | | | 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: If39bd256b0fa85eba17ea30f8ab87ea27d758908 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Update obsolete contact address.Jason McDonald2012-01-2360-60/+60
| | | | | | | | Replace Nokia contact email address with Qt Project website. Change-Id: I6a730abc0c396fb545a48b2d6938abedac2e3f1c Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com> Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* Use queryAccessibleInterface instead of new QAccessibleQuickItemJan-Arve Saether2012-01-201-7/+2
| | | | | | | | | In some cases this could prevent us from actually returning the expected QAccessibleQuickItemValueInterface. This is also more future-proof in case we add more QAI subclasses. Change-Id: Id66dc21418671a3045d93c0a44dc74aa0aff30af Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
* Remove all reimplementations of relationTo() returning Unrelated.Jan-Arve Saether2012-01-162-6/+0
| | | | | | | | QAccessibleInterface::relationTo() already return QAccessible::Unrelated by default. No need to duplicate that code. Change-Id: Ie64e798a1935619af32ae41d7e14ae26bd9bf523 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
* Accessibility: indexOfChild is 0-based.Frederik Gladhorn2012-01-123-6/+3
| | | | | | | Also test for it to work. Change-Id: I3be913984e2dddce241b538c7801f3376acdd1fa Reviewed-by: Jan-Arve Sæther <jan-arve.saether@nokia.com>
* Remove unnecessary reimplementation of invokeMethod()Jan-Arve Saether2012-01-122-7/+0
| | | | | | | | invokeMethod() is not pure virtual, and the implementation inherited from the baseclass is the same Change-Id: I073ab3a0dc3477f66b82535c1898430f601acee8 Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
* Make QAccessibleQuickView::childAt() work properly with overlapping itemsJan-Arve Saether2012-01-124-28/+77
| | | | | | | | | | | | | | | | | | | | The previous code did not consider items that were overlapped due to having different z coordinates. The approach used is now the same as found in QQuickCanvas::mousePressEvent(). Strictly speaking, this is a violation of childAt (since it will disregard the implementation of childAt of all the descendants along the path down to the item actually returned.) However, I don't see any good reason for that the implementation for childAt() would be different than how mousePressEvent behaves. It should also perform better than any other solution I managed to think of. Change-Id: I2d3fa2282437c7b5533c6149c62fc456ccf2ccfa Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
* Accessibility: Checked state for check boxes and radio buttons.Frederik Gladhorn2012-01-107-25/+39
| | | | | | | Also adapt to new api in qtbase - state is now a bit field. Change-Id: Ia4266f3d5094a6c32e0ace3499910b57c3e71c25 Reviewed-by: Jan-Arve Sæther <jan-arve.saether@nokia.com>
* Make accessibility interface functions const.Frederik Gladhorn2012-01-062-6/+6
| | | | | | | Follow the change in qtbase. Change-Id: I43427369235585e9fb628d1a8f62891d44107cc9 Reviewed-by: Jan-Arve Sæther <jan-arve.saether@nokia.com>
* Reuse the OObject* in QAccessibleObjectJan-Arve Saether2012-01-064-31/+29
| | | | | | | Saves a few bytes per interface.... Change-Id: I2d66a563d28b94e08179bc43d4465509e0cb88f2 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
* Create a value interface for qml accessibles.Frederik Gladhorn2012-01-063-4/+61
| | | | | Change-Id: I472052c6d61a3a32033544ebb5afc5b11fb093e2 Reviewed-by: Jan-Arve Sæther <jan-arve.saether@nokia.com>
* Hide more children of accessible objects.Frederik Gladhorn2012-01-061-1/+8
| | | | | Change-Id: Ie8874b3b5a354f7f0586efb601b217e4d296af5c Reviewed-by: Jan-Arve Sæther <jan-arve.saether@nokia.com>
* Remove all references to QAccessible:: {Child|Ancestor|Sibling}Jan-Arve Saether2012-01-055-108/+9
| | | | | | | | | | | These are deprecated in favor of QAccessibleInterface::child() and QAccessibleInterface::parent() QAccessible::Sibling can be done with a combination of those two. This is handled by the bridge Change-Id: Ie63d74314189d9e0f24f1152a2f0030d9e865b75 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
* Update copyright year in license headers.Jason McDonald2012-01-0560-60/+60
| | | | | Change-Id: I0a8d99909cac867dce72da70b1bbcb649989a51b Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Do not leak interfaces during hit testing (QDA::childAt())Jan-Arve Saether2012-01-031-0/+1
| | | | | Change-Id: Iebbc1cbbdce57bff6423fa417eac8dbdfe35e510 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
* Add accessibility to qmlFrederik Gladhorn2012-01-0217-0/+1662
| | | | | | | | | | | | | | | This consists of two parts: An attached property for QML items and a plugin for the accessibility framework. The attached property simply takes care of some properties (name, role) that are needed in order to expose semantics of the application to assistive tools. The plugin exposes the hierarchy of QML items to the accessibility framework. Change-Id: I32f5603d0d9549b01b3645b205b710b9801762f7 Reviewed-by: Jan-Arve Sæther <jan-arve.saether@nokia.com>
* Debugger: Allow transmissions of network packets in one goKai Koehne2011-12-212-6/+7
| | | | | | | | | We did call a flush() after every single packet, which was slowing down things especially for the QDeclarativeDebugTrace service. Change-Id: Idab074941a22364e154502eb12afa43b4dd33c22 Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com> Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
* Debugger: Get rid of SG* prefix in qtquick2 pluginKai Koehne2011-12-208-76/+76
| | | | | Change-Id: Ib8a40d633c169652258480748cfc162593ed9f6c Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
* Fix compilation due to header changesSergio Ahumada2011-12-171-1/+1
| | | | | | | | | | - Fix QtGui/QApplication => QtWidgets/QApplication - Fix QtGui/QStylePlugin => QtWidgets/QStylePlugin - Fix QtWidgets/QStringListModel => QtCore/QStringListModel - Fix QtWidgets/qstringlistmodel.h => QtCore/qstringlistmodel.h Change-Id: I8df28f032f039107b900c81be27d2d6e5e69e06e Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
* Say hello to QtQuick moduleKent Hansen2011-12-025-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change moves the QtQuick 2 types and C++ API (including SceneGraph) to a new module (AKA library), QtQuick. 99% of this change is moving files from src/declarative to src/quick, and from tests/auto/declarative to tests/auto/qtquick2. The loading of QtQuick 2 ("import QtQuick 2.0") is now delegated to a plugin, src/imports/qtquick2, just like it's done for QtQuick 1. All tools, examples, and tests that use QtQuick C++ API have gotten "QT += quick" or "QT += quick-private" added to their .pro file. A few additional internal QtDeclarative classes had to be exported (via Q_DECLARATIVE_PRIVATE_EXPORT) since they're needed by the QtQuick 2 implementation. The old header locations (e.g. QtDeclarative/qquickitem.h) will still be supported for some time, but will produce compile-time warnings. (To avoid the QtQuick implementation using the compatibility headers (since QtDeclarative's includepath comes first), a few include statements were modified, e.g. from "#include <qsgnode.h>" to "#include <QtQuick/qsgnode.h>".) There's a change in qtbase that automatically adds QtQuick to the module list if QtDeclarative is used. Together with the compatibility headers, this should help reduce the migration pain for existing projects. In theory, simply getting an existing QtDeclarative-based project to compile and link shouldn't require any changes for now -- but porting to the new scheme is of course recommended, and will eventually become mandatory. Task-number: QTBUG-22889 Reviewed-by: Lars Knoll <lars.knoll@nokia.com> Change-Id: Ia52be9373172ba2f37e7623231ecb060316c96a7 Reviewed-by: Kent Hansen <kent.hansen@nokia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
* Debugger: Remove widgets dependency for qtquick2 inspectorKai Koehne2011-11-022-53/+1
| | | | | Change-Id: I596a49375afc1e148fec1aabe0a7d47a81e7442a Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
* Debugger: Fix compile of qmldbg_qtquick1 plugin on WindowsKai Koehne2011-11-021-1/+1
| | | | | Change-Id: I5e1991365aa633319ac828898d35d239089816c0 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
* Debugger: Split inspector plugin into a qtquick1 and a qtquick2 pluginKai Koehne2011-11-0145-101/+358
| | | | | | | | This allows the inspector to be used also when e.g. qtquick1 and widgets libraries are not available. Change-Id: Id8510ea2a1a9c2a776d67e6d7732a4e40363d5a3 Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
* Remove Q_WS_*, symbian and maemo code in QtDeclarativeDamian Jansen2011-10-265-11/+2
| | | | | Change-Id: If64daf80f9d19973e0bc2d864b003a66be5ca61d Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* qmldbg_inspector: Fix compilation on Windows.Friedemann Kleint2011-10-252-1/+2
| | | | | Change-Id: I2de713e0bb250e07cd09be80aeea6fee86aabcf1 Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
* Make show app on top workKai Koehne2011-10-241-1/+3
| | | | | Change-Id: I21328e57e5130fb6d375a982cb4922b3facfad21 Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
* Debugger: Inspector code cleanupKai Koehne2011-10-243-42/+25
| | | | | Change-Id: Ibf647e2885466d521406fca15cc0cf85c5412f52 Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
* Debugger: Move inspector parts dealing with QtQuick1 into separate directoryKai Koehne2011-10-2427-40/+40
| | | | | Change-Id: Ifd024e214406dfc58d4389ce4397efcb4626b860 Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
* Rename Qt Quick-specific classes to QQuick*Kent Hansen2011-10-218-83/+83
| | | | | | | | | | | | | | | | | | | | | | The QSG (SceneGraph) prefix is too generic for Qt Quick(2)-specific classes. All the classes and files in the declarative/items directory have been renamed. In particular, for classes that are currently public, the renaming is as follows: QSGView --> QQuickView QSGCanvas --> QQuickCanvas QSGItem --> QQuickItem QSGPaintedItem --> QQuickPaintedItem The header files have been renamed accordingly (e.g. qsgview.h --> qquickview.h). Change-Id: Iac937fff81db20bb639486a793c3aeb5230b038c Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
* Debugger: Let inspector plugin compile againKai Koehne2011-10-187-32/+54
| | | | | Change-Id: Ic1db404c0a62da7f8f9e31c7b400fba654e92979 Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
* Debugger: Remove visual toolbox from inspectorKai Koehne2011-10-1829-808/+0
| | | | | Change-Id: I8847d52a718a20a04cb23d8f0f5affdb7e038c57 Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
* Debugger: Warn if we receive corrupted packetsKai Koehne2011-10-072-0/+7
| | | | | | | Change-Id: Ie99e6806203d5c36dc8d3eb7778a04562c4d6871 Reviewed-on: http://codereview.qt-project.org/6170 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
* QDeclarativeDebug: Allow reconnects to QML debugger portKai Koehne2011-09-201-1/+2
| | | | | | | | | | Allow a new client to attach once the old one was disconnected. Done by Aurindam Jana. Change-Id: Id85045204cc011ec6e02db2658173e652b75c07e Reviewed-on: http://codereview.qt-project.org/5132 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
* Merge branch 'master' into refactorGunnar Sletta2011-08-313-5/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/3rdparty/v8 src/declarative/declarative.pro src/declarative/items/qsgcanvas.cpp src/declarative/items/qsgshadereffectsource_p.h src/declarative/items/qsgview.cpp src/declarative/particles/qsgcustomparticle.cpp src/imports/gestures/gestures.pro src/imports/particles/particles.pro src/plugins/qmltooling/qmldbg_inspector/qmldbg_inspector.pro src/qtquick1/qtquick1.pro tests/auto/declarative/examples/examples.pro tests/auto/declarative/qsglistview/qsglistview.pro tests/auto/qtquick1/qdeclarativeviewer/qdeclarativeviewer.pro Change-Id: I423344f83e1835116cad531b877fde6e68a8849a
| * Remove V8 submodule from QtDeclarativeKent Hansen2011-08-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QtDeclarative should now link against the QtV8 library from qtbase. The patch files have been moved to qtbase as well. Applications that use the QtDeclarative private headers may need to add the following to their .pro file: QT += v8-private This ensures that <private/v8.h> is found, which is (indirectly) included by many QtDeclarative private headers. Task-number: QTBUG-20963 Change-Id: I31e973a6fcc0c416d3b258a61c26564cee3dcd4b Reviewed-on: http://codereview.qt.nokia.com/3093 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
| * Deprecate QDeclarativeDebugHelper classKai Koehne2011-08-262-4/+5
| | | | | | | | | | | | | | | | | | | | This was a helper class for enable debugging in 4.7. Since Qt 4.8 you should just say CONFIG += declarative_debug Change-Id: I51dabaec36e175a097721570061aad38c3f828d1 Reviewed-on: http://codereview.qt.nokia.com/3507 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
* | Make QSGCanvas a QWindow instead of a QGLWidgetGunnar Sletta2011-08-051-1/+5
| | | | | | | | | | | | Change-Id: I71a04f61acff893a35c00204ed11bdf852830485 Reviewed-on: http://codereview.qt.nokia.com/2675 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
* | Compile with refactorGunnar Sletta2011-08-0115-27/+27
| | | | | | | | | | | | Change-Id: I41119370bd4823dcdfe5d4e2521d18b8d6ba8be3 Reviewed-on: http://codereview.qt.nokia.com/2417 Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
* | Build against refactor.Samuel Rødal2011-07-293-6/+7
|/ | | | Change-Id: I0143767405afe968c0aea71651bd9e3dc7a74e23
* Extract all QtQuick 1 elements into a separate library/plugin.Martin Jones2011-07-125-4/+9
| | | | | | Change-Id: I41a280de2739ee08202f4be2519e5012870090f2 Reviewed-on: http://codereview.qt.nokia.com/1391 Reviewed-by: Martin Jones <martin.jones@nokia.com>
* QmlInspector: Introduced more self-contained selection highlightThorbjørn Lindeijer2011-06-236-64/+206
| | | | | | | | | | The SGHighlight will update itself when its item changes position or size. Previously, the hover highlight wasn't updating at all. The highlight now also works correctly for rotated items (but not yet for children of rotated items). Change-Id: Idb14f356d779aef8e2d3e16a496685f0507a7060
* QmlInspector: Some code cleanupsThorbjørn Lindeijer2011-06-237-51/+11
| | | | | | | | | * Inlined empty method implementations * Removed unused QDeclarativeViewInspectorPrivate::cursosPos * Small simplification in setting shortcuts * Prefer const & for QList parameter Change-Id: I5c2c04f32bb311a835d79a59206d6ebab212c73b
* QmlInspector: Implemented context menu for SceneGraphThorbjørn Lindeijer2011-06-234-16/+116
| | | | Change-Id: I467bdba42af0ff4b680c31a3545e059a56016a57
* QmlInspector: Implement tool tip handling for SceneGraphThorbjørn Lindeijer2011-06-233-43/+86
| | | | Change-Id: I84fc21f3e5bd96290910def26cd59e7e35719149
* QmlInspector: Some cleanup in the Color Picker toolThorbjørn Lindeijer2011-06-232-44/+10
| | | | | | Also, the tool now picks a color on press rather than on release. Change-Id: Ibe09e3cd7350521e90e0957e7d1afbce4d880e57
* QmlInspector: Implemented selection for SceneGraphThorbjørn Lindeijer2011-06-234-28/+107
| | | | | | | The highlight items are now based on QSGPaintedItem rather than the internal QSGRectangle. Change-Id: I50222116cf5f98ec93f914298a554b3d2d901c28
* QmlInspector: Unified mouse and keyboard event handlingThorbjørn Lindeijer2011-06-2314-312/+202
| | | | | | | | | | | Introduced a common AbstractTool interface so that the AbstractViewInspector can forward mouse and keyboard events and also implement the keys to switch tools. The AbstractLiveEditTool still exists as the base class for all QDeclarativeView based tools. Change-Id: I7c00b05fba58828378543645e32732ad5f9fd5d0