summaryrefslogtreecommitdiff
path: root/src/plugins/qmldesigner/designercore
Commit message (Collapse)AuthorAgeFilesLines
* It's 2011 now.con2011-01-12233-233/+233
|
* License headers.con2010-12-17233-1631/+2563
|
* QmlDesigner: crash fixThomas Hartmann2010-12-101-1/+1
| | | | | | | | | | No direct support for Qt/QGraphicsWidget. Qt 4.7.1 might hold a dangling pointer for QGraphicsWidgets acnhor property. We can support it again in the future. Reviewed-by: Marco Bubke Task-number: QTCREATORBUG-3326
* QmlDesigner.nodeInstances: crash fixThomas Hartmann2010-12-071-0/+2
| | | | | | | | PathView creates problems and we do not properly support it anyway. We just create a dummy instance, instead. Task-number: QTCREATORBUG-3251 Reviewed-by: Marco Bubke
* QmlDesigner.rewriter: fix possible incompatibilities with import pluginsThomas Hartmann2010-11-261-2/+0
| | | | | | | | | | | The current Qt Version might be build with mingw or even be a Symbian or Maemo target. This patch ensures that we do not try to load a plugin from the configured Qt Version anymore. Instead we only load plugins provided by Qt Creator or plugins which are specified by: QML_IMPORT_PATH Reviewed-by: Kai Koehne Reviewed-by: Erik Verbruggen
* QmlDesigner.rewriter: crash fix for FlipableThomas Hartmann2010-11-231-0/+7
| | | | | | | | | Removing a property from a Flipabke back or front property resulted in a crash, because the offset of UiObjectBinding was not handled correctly. The left hand side of the binding is not part of the node anymore. Reviewed-by: Kai Koehne
* QmlDesigner: fix memory leakThomas Hartmann2010-11-091-1/+1
| | | | Reviewed-by: Kai Koehne
* QmlDesigner.rewriter: fixing memory leakThomas Hartmann2010-10-261-0/+1
| | | | | | | The destructor has to be virtual to avoid a memory leak. Reviewed-by: Roberto Raggi
* QmlDesigner.model: crash fixThomas Hartmann2010-10-251-1/+1
| | | | | | Check if the node is really a PropertyChange Reviewed-by: Marco Bubke
* QmlDesigner.NodeInstances: crash fixThomas Hartmann2010-10-251-4/+10
| | | | | | This patch avoids a recursion. Reviewed-by: Marco Bubke
* fix warningsThomas Hartmann2010-10-211-2/+2
| | | | Reviewed-by: Marco Bubke
* QmlDesigner: support for QtQuick 1.0Thomas Hartmann2010-10-212-14/+31
| | | | | | | | This add preliminary support for import QtQuick 1.0 The RewriterView does type conversion from QtQuick to Qt so Bauhaus does not have to deal with ambiguities. Reviewed-by: Marco Bubke
* QmlDesigner: proper support for WebViewThomas Hartmann2010-10-081-2/+0
| | | | | | | QtWebKit/WebView is now fully supported Reviewed-by: Kai Koehne
* QmlDesigner: fixes potential bugThomas Hartmann2010-10-081-1/+1
| | | | | | | QtQuick 1.0 does not belong anywhere Reviewed-by: Kai Koehne
* Qml Designer: Fix compilation without WebKitDenis Mingulov2010-10-081-0/+6
| | | | | Merge-request: 2181 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* QmlDesigner: using Qt 4.7 againThomas Hartmann2010-10-0611-65/+43
| | | | | | We need to support the N900 Reviewed-by: Kai Koehne
* QmlDesigner.NodeInstances: Search for every child object and tweak itMarco Bubke2010-10-052-52/+65
| | | | | | | | Refactoring old code and now sets a flag for every QGraphicsWebView to use not the backing store code of webkit. The backing store is not working for Bauhaus. Reviewed-By: Thomas Hartmann
* QmlDesigner.NodeInstances: Cleanup paint methodeMarco Bubke2010-10-051-14/+11
| | | | Reviewed-By: Thomas Hartmann
* QmlDesigner.NodeInstances: Use setParentItem for children propertyMarco Bubke2010-10-051-0/+1
| | | | | | | Sets a internal flag in the QGraphicsItem to use setParentItem and not setParentItemHelper for the children property list in QGraphicsObect. Reviewed-By: Thomas Hartmann
* Use QCoreApplication::translate instead of QCoreApplication::translateThomas Hartmann2010-10-041-5/+4
| | | | | | | As a general rule QCoreApplication::translate() should be used instead of QCoreApplication::translate() Reviewed-by: Friedemann Kleint
* QmlDesigner: compile fixThomas Hartmann2010-10-041-1/+1
| | | | Reviewed-by: Friedemann Kleint
* QmlDesigner.rewriter: fix Qt 4.7 importsThomas Hartmann2010-10-041-1/+28
| | | | | | | This patch adds a MessageBox that asks for confirmation to fix Qt 4.7 imports into QtQuick 1.0 imports. Reviewed-by: Kai Koehne
* QmlDesigner: do not allow deprectaed Qt 4.7 imports for BauhausThomas Hartmann2010-10-013-0/+21
| | | | | | Bauhaus does not support import Qt 4.7 anymore Reviewed-by: Kai Koehne
* QmlDesigner: using QtQuick 1.0 instead of Qt 4.7Thomas Hartmann2010-10-0111-40/+79
| | | | | | | | | | | | | huge renaming from Qt to QtQuick propertyeditor qml files moved from Qt to QtQuick auotests fixed files used in tests fixed autotests pass Task-number: QTCREATORBUG-2556 Reviewed-by: Kai Koehne
* QmlDesigner.model: rename id is now a proper refactoring operationThomas Hartmann2010-09-3010-3/+43
| | | | | | | | | I an id is now changed in the navaigator or property editor, we now use the qmljseditor to properly refactor. Also I changed dynamic_cast to qobject_cast Reviewed-by: Erik Verbruggen
* qmldesigner compile fixhjk2010-09-301-0/+2
| | | | Reviewed-by: Friedemann Kleint
* QmlDesigner.Model: All nodes includes also non tree nodesMarco Bubke2010-09-291-1/+1
|
* QmlDesigner.Model: Fixes order problemMarco Bubke2010-09-292-3/+18
| | | | The order of allModelNode function was not in order.
* QmlDesigner.FormEditor: Add paintedWidth and paintedHeight to transformMarco Bubke2010-09-291-1/+3
| | | | properties
* QmlDesigner: Items in Positioner cannot manipulated anymoreMarco Bubke2010-09-2913-5/+254
| | | | | | Add a positioner node instance and the concept of resizable and movable items. Item in a positioner will be not selected anymore. Instead their positioner will be selected which is not resizable.
* QmlDesigner.model: add sanity check and include fixThomas Hartmann2010-09-292-1/+2
| | | | | | Only emit if the view is really attached. Reviewed-by: Marco Bubke
* QmlDesigner.rewriter: handle enums as enums instead of pure stringsThomas Hartmann2010-09-292-17/+34
| | | | | | | The scopes of enumerators have to be fixed for this. Reviewed-by: Marco Bubke
* QmlDesigner.statesEditor: fix thumbnail drawing codeThomas Hartmann2010-09-291-2/+5
| | | | | | | Before this patch the thumbnail drawing triggered global state changes. Reviewed-by: Marco Bubke
* QmlDesigner.Model: check ids for qml keywordsThomas Hartmann2010-09-271-1/+10
| | | | ids are now checked if they are a qml keyword
* QmlJS: Add initial 'Find Usages' support.Christian Kamm2010-09-241-1/+1
|
* QmlDesigner.dragAndDrop: this avoids asserts for unknown typesThomas Hartmann2010-09-241-1/+2
| | | | This avoids asserts and catches exceptions
* QmlDesigner: remove annoying warningsThomas Hartmann2010-09-243-4/+8
|
* QmlDesigner: disable animationsThomas Hartmann2010-09-241-5/+0
| | | | | The symbols are now exported in current 4.7.1. So it does compile.
* QmlDesigner.Model: fix wrong assertThomas Hartmann2010-09-241-1/+3
| | | | | | This assert is simply wrong. A component might reparent the item inside an item, that has no instance.
* QmlDesigner.NodeInstances: implement doComponentComplete()Thomas Hartmann2010-09-242-2/+7
| | | | We have to call classBegin() on creation.
* QmlDesigner.NodeInstances: reparenting and componentCompleteThomas Hartmann2010-09-247-2/+45
| | | | | Set the parent if no parentItem exists Call componentComplete
* QmlDesigner: avoid crashThomas Hartmann2010-09-242-1/+3
| | | | | | There can be notifications from the instance after a model node has been deleted. We now ignore those.
* QmlDesigner: crashfixThomas Hartmann2010-09-242-2/+7
| | | | | Check if object is not 0 and we are not called back from the destructor.
* QmlDesigner.NodeInstances: Reset the Id for all child objects beforeMarco Bubke2010-09-242-14/+11
| | | | deletion
* QmlDesigner.NodeInstances: Objects are not deleted by the JavaScriptMarco Bubke2010-09-241-0/+2
| | | | anymore
* QmlDesigner.NodeInstances: Don't test for the siblings childItems forMarco Bubke2010-09-241-3/+0
| | | | | | anchors ChildItems of siblings can not be anchored to a item.
* QmlDesigner.Model: Change order of notification to prevent crashMarco Bubke2010-09-241-5/+4
| | | | | If the NodeInstance is allready removed the formeditor item isn't removed.
* QmlDesigner.NodeInstances: Fix id getterThomas Hartmann2010-09-243-2/+9
| | | | Add getter for id in node instances.
* QmlDesigner: Split isAnchoredBy()Thomas Hartmann2010-09-248-19/+44
| | | | | Split isAnchoredBy() in isAnchoredBySigbling() and isAnchoredByChildren()
* QmlDesigner: Fix node instance view notificationsThomas Hartmann2010-09-241-4/+4
| | | | | | Fix node instance view notifications and settings in the model. Now the old node instance view is detached and the new one is attached. The test runs again. Also fixes a notification.