Thorbjørn Lindeijer
cf88d6a812
DeclarativeObserver: Fixed duplicates in item selection
...
Only add items to the current selection that aren't already part of it.
Also removed checking item for null, since it doesn't make sense to
include null pointers in the list of items to select.
Task-number: QTCREATORBUG-3426
Change-Id: I5a365570f87f72665b3382d05ca9937f56e8956b
Reviewed-on: http://codereview.qt.nokia.com/111
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com >
2011-05-25 14:35:20 +02:00
Thorbjørn Lindeijer
554b8e996b
DeclarativeObserver: Removed the SubcomponentEditorTool
...
This tool made selecting items in your QML app more complicated than
necessary. Now, left-click will always just select the top-most item
under the mouse and right-click will allow you to select any of the
items below.
Also, the highlighted bounding rect now always applies to just one
item, instead of also including the children bounding rect.
Reviewed-by: Kai Koehne
Change-Id: I17b5ab397d951fd68711590469ca6e723a9cb0e6
(backported from Qt 4.8 commit 935472c16fc53ee43e1e680ed0122e6363282a8e)
Reviewed-on: http://codereview.qt.nokia.com/89
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Kai Koehne <kai.koehne@nokia.com >
2011-05-25 10:14:36 +02:00
Christiaan Janssen
3cf5379380
QmlLivePreview: removing and inserting animations and transitions
...
Change-Id: Ic776f63f5d7925ac7dfd99be53c10b9af4cb9545
Reviewed-on: http://codereview.qt.nokia.com/75
Reviewed-by: Kai Koehne <kai.koehne@nokia.com >
2011-05-24 13:03:43 +02:00
Christiaan Janssen
670d241288
QmlLivePreview: adding animations and transitions
...
Reviewed-by: Kai Koehne
2011-05-17 10:44:33 +02:00
Christiaan Janssen
09a78a3ae7
QmlLivePreview: adding states to an item
...
Reviewed-by: Kai Koehne
2011-05-17 10:42:45 +02:00
Kai Koehne
fc5bae8837
QmlDebugging: Fix compilation of debugging libs without private headers
...
Actually use the copy of the private header in the lib. Also fix
the copyright header to a Qt Creator one.
2011-05-16 12:51:55 +02:00
Christiaan Janssen
5e164ce1bf
QmlDebugger: adding new PropertyChanges on Live Preview
...
Task-number: QTCREATORBUG-3391
Reviewed-by: Kai Koehne
2011-05-05 17:03:38 +02:00
Friedemann Kleint
774fa49412
Fix more krazy warnings.
2011-04-19 15:43:53 +02:00
hjk
8397663964
Update license.
2011-04-13 11:49:28 +02:00
Thorbjørn Lindeijer
6161d0eb0c
QmlJSDebugger: Disabled the Qt Quick tool box entirely for now
...
This tool box doesn't add much value since the same actions are
available from Qt Creator and in the case of using the Observer, some
actions are also available from its menus.
Reviewed-by: Kai Koehne
2011-03-23 17:37:58 +01:00
Thorbjørn Lindeijer
a8bf2ba5e3
QmlJSDebugger: Renamed "execution paused" to "animation paused"
...
The latter better describes what is paused, since expressions are
actually still executed.
Suggested by Kai.
2011-03-22 10:40:46 +01:00
Thorbjørn Lindeijer
0a813cd67c
QmlJSDebugger: Separated animation speed and paused state
...
This separates animation speed and paused state in the communication
protocol between the Qt Creator QmlJSInspector plugin and the
QmlJSDebugger server.
Point is to allow changing the speed of the animation before resuming
execution. These two things were already separated in the QML Observer,
but not in Qt Creator.
Reviewed-by: Kai Koehne
2011-03-22 10:40:46 +01:00
Thorbjørn Lindeijer
42b4e6c8f1
Observer: Fixed synchronization of animation speed and paused state
...
The menus of the Observer were not being updated correctly when
animation speed was changed or when the animations were paused.
Now the whole thing looks a bit cleaner and the Observer menu
uses the QDeclarativeViewObserver to change these settings and stays in
sync when they change from other places.
Reviewed-by: Kai Koehne
2011-03-22 10:40:46 +01:00
Thorbjørn Lindeijer
8defa8a7ac
QmlJSDebugger: Use QWidget::window to get to the top-level
...
Simplifies the code a bit.
2011-03-17 15:43:10 +01:00
Thorbjørn Lindeijer
f5761c9212
Fixed crash when QML app shuts down itself in debugging mode
...
The QDeclarativeViewObserverPrivate could end up referencing the tool bar
when it was already destroyed.
Reviewed-by: Kai Koehne
2011-03-15 16:45:28 +01:00
Thorbjørn Lindeijer
ed23c77cba
Don't show the QML debugging tool bar in the simulator
2011-03-15 13:31:28 +01:00
Thorbjørn Lindeijer
29777da964
Avoid use of dynamic_cast in qmljsdebugger library
...
Remove usages of 'dynamic_cast' in qmljsdebugger library. Otherwise
compilation will fail for a Qt compiled with -no-rtti.
Task-number: QTCREATORBUG-4043
Reviewed-by: Kai Koehne
2011-03-14 15:40:40 +01:00
Thorbjørn Lindeijer
d16e7a305e
QmlJSDebugger: Only show the tool box when a debugging client connected
...
Reviewed-by: Christiaan Janssen
2011-02-28 17:20:31 +01:00
Thorbjørn Lindeijer
64c32469c8
QmlJSDebugger: Avoid warning in window flag logic
2011-02-28 17:20:31 +01:00
Thorbjørn Lindeijer
6d6510139b
QmlJSDebugger: Corrected some labels
...
Reviewed-by: Kai Koehne
2011-02-24 14:39:59 +01:00
Thorbjørn Lindeijer
eda6e85530
QmlJSDebugger: Fixed availability of resources of static library
...
On some systems, apparently including Linux and Windows, it is necessary
to manually initialize resources when they are included in a static
library, with Q_INIT_RESOURCE.
2011-02-24 13:40:56 +01:00
Thorbjørn Lindeijer
e81e732452
QmlJSDebugger: Save and restore tool box geometry
...
Convenient since you'll usually move the tool box next to the
application window.
Reviewed-by: Kai Koehne
2011-02-22 16:38:20 +01:00
Thorbjørn Lindeijer
1ed42339ea
QmlJSDebugger: Don't create the tool box when compiling for a device
2011-02-22 16:38:20 +01:00
Thorbjørn Lindeijer
a5d3fcbc07
QmlJSDebugger: Code cosmetics
2011-02-22 16:38:19 +01:00
Thorbjørn Lindeijer
b23c24d275
QmlJSDebugger: Show the tool bar of the declarative view observer
...
Now in a tool window so that it generally doesn't interfere with the
application.
2011-02-22 16:38:19 +01:00
Kai Koehne
45187a15a7
QmlJSDebug: Avoid use of Q_PRIVATE_SLOTS macro
...
Causes headaches because of a bug in qmake that sometimes still tries
to compile the _moc file individually, resulting in not defined errors.
2011-02-18 12:57:34 +01:00
Thorbjørn Lindeijer
6e3ef903d0
QmlJSDebugger: Finished the renaming
...
Some things forgotten as part of commit f9e65028fd
since
these files are not compiled together with Qt Creator.
Fixes compile of QML Observer and QMLJSDEBUGGER-enabled QtQuick
Applications.
2011-02-09 17:35:42 +01:00
Thorbjørn Lindeijer
f9e65028fd
QmlJSDebugger: Prefix live editor related classes
...
AbstractFormEditorTool -> AbstractLiveEditTool
LayerItem -> LiveLayerItem
SelectionIndicator -> LiveSelectionIndicator
SelectionRectangle -> LiveSelectionRectangle
SelectionTool -> LiveSelectionTool
SingleSelectionManipulator -> LiveSingleSelectionManipulator
RubberBandSelectionManipulator -> LiveRubberBandSelectionManipulator
2011-02-09 17:14:27 +01:00
Friedemann Kleint
e39386352a
Header cleanup in share/qtcreator/qml, specify module name.
2011-01-24 12:30:21 +01:00
con
d1023c7614
It's 2011 now.
...
Reviewed-by: hjk
2011-01-12 09:46:24 +01:00
con
b1bcf081d8
Merge branch '2.1'
...
Conflicts:
src/plugins/coreplugin/basemode.cpp
src/plugins/coreplugin/basemode.h
src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.cpp
src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.h
src/plugins/debugger/cdb/cdbsymbolpathlisteditor.cpp
src/plugins/debugger/debuggeragents.cpp
src/plugins/debugger/debuggeruiswitcher.cpp
src/plugins/debugger/debuggeruiswitcher.h
src/plugins/projectexplorer/buildconfigdialog.cpp
src/plugins/qmldesigner/components/propertyeditor/colorwidget.cpp
src/plugins/qmldesigner/components/propertyeditor/colorwidget.h
src/plugins/qmldesigner/designercore/include/enumeratormetainfo.h
src/plugins/qmldesigner/designercore/include/modelutilities.h
src/plugins/qmldesigner/designercore/include/nodeinstance.h
src/plugins/qmldesigner/designercore/include/propertymetainfo.h
src/plugins/qmldesigner/designercore/instances/graphicsscenenodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/graphicsscenenodeinstance.h
src/plugins/qmldesigner/designercore/instances/graphicsviewnodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/graphicswidgetnodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/graphicswidgetnodeinstance.h
src/plugins/qmldesigner/designercore/instances/nodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/qmlviewnodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/widgetnodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/widgetnodeinstance.h
src/plugins/qmldesigner/designercore/metainfo/enumeratormetainfo.cpp
src/plugins/qmldesigner/designercore/metainfo/propertymetainfo.cpp
src/plugins/qmldesigner/designercore/model/modelutilities.cpp
src/plugins/snippets/inputwidget.cpp
src/plugins/snippets/snippetscompletion.cpp
src/plugins/snippets/snippetscompletion.h
src/plugins/snippets/snippetspec.cpp
src/plugins/snippets/snippetsplugin.cpp
src/plugins/snippets/snippetswindow.cpp
src/plugins/snippets/snippetswindow.h
src/plugins/texteditor/snippetsparser.cpp
src/tools/qml/qmldom/main.cpp
tests/manual/trk/runner.cpp
tests/manual/trk/trkolddevice.cpp
tests/manual/trk/trkolddevice.h
tests/manual/trk/trkserver.cpp
2010-12-17 17:00:53 +01:00
con
04e32b0049
License headers.
2010-12-17 16:03:42 +01:00
Kai Koehne
801c8bb6d4
QmlJSDebugger: Code cleanup
...
Fix indentation + line length.
2010-12-01 16:54:32 +01:00
Kai Koehne
d2ed221b1b
QmlObserver: Add 'show app on top' switch to creator + qmlobserver
...
This is convenient especially in the observer mode.
Reviewed-by: Christiaan Janssen
2010-11-23 16:24:23 +01:00
Kai Koehne
e0811beef3
QmlJsDebugger: Code cleanup
2010-11-23 16:24:23 +01:00
Kai Koehne
ff7abee83b
QmlJsDebugger: Remove QWEAKPOINTER_ENABLE_ARROW define
...
Any DEFINE used in qmljsdebugger-lib.pri is also passed to the users
code.
2010-11-23 16:24:22 +01:00
Kai Koehne
28adb0a178
QmlJSDebugger: Remove editor.pri
...
Incorporate into qmljsdebugger-lib.pri
Task-number: QTCREATORBUG-2951
2010-11-23 16:24:22 +01:00
dt
c9c5fe1542
Merge remote branch 'origin/2.1'
...
Conflicts:
share/qtcreator/static.pro
src/plugins/qmljseditor/qmljshoverhandler.cpp
src/plugins/qt4projectmanager/gettingstartedwelcomepagewidget.cpp
2010-11-18 19:28:23 +01:00
Kai Koehne
2b8e5b5333
QmlObserver: Fix navigation on Mac OS X
...
The QmlObserver relies on installing an event handler on the graphicsview
viewport, to get e.g. Mouse events.
QmlObserver on Mac OS X switches the viewport later on to a QGLViewPort, when
QmlObserver has already been set up ... Make QmlObserver aware of this by
listening to the ChildRemoved event that will be signalled in this case.
Task-number: QTCREATORBUG-2892
Reviewed-by: Lasse Holmstedt
2010-11-16 11:01:01 +01:00
Kai Koehne
3bec12a4bf
QmlJsDebugger: Avoid CURRENT_OBJECTS_CHANGED message flooding
2010-11-12 15:08:09 +01:00
Kai Koehne
bb27ed24bf
Revert "QmlJsDebugger: Fix observer navigation on Mac OS X"
...
This reverts accidentally pushed commit 4f33fbc229
.
2010-11-05 16:21:00 +01:00
Kai Koehne
4f33fbc229
QmlJsDebugger: Fix observer navigation on Mac OS X
...
Seems that mouse events aren't sent through the viewport on Mac OS X.
2010-11-05 16:15:53 +01:00
Kai Koehne
1839015452
QmlJSDebugger: Highlight items only if in Observer mode
...
Task-number: QTCREATORBUG-2672
Reviewed-by: Lasse Holmstedt
2010-10-14 14:45:43 +02:00
Kai Koehne
8162839827
QmlJSDebugger: Remove reference to JSDebugger in QDeclarativeViewObserver
...
Make Observer and JSDebugger orthogonal.
2010-10-13 16:52:58 +02:00
Kai Koehne
8ad34357b8
QmlJSDebugger: Fix warning about JSAgent already connected
...
We now instantiate an extra JSDebugger object in the generated class.
Reviewed-by: aportale
2010-10-01 13:43:41 +02:00
Kai Koehne
eff5ceea64
QmlJsDebugger: Remove dependency to Qt private headers being installed
...
Copy over the private header files to creator source tree, along the
lines of the what the designer plugin does.
Reviewed-by: Christiaan Janssen
2010-10-01 13:43:40 +02:00
Lasse Holmstedt
96d991bbdc
QML Observer: Build together on runtime with debugging tools
...
Moved qmljsdebugger to a dir under qml/, made qmlobserver compile
without creator dependencies and made it compile with debugging
helpers.
Reviewed-by: hjk
2010-09-29 09:39:30 +02:00