Commit Graph

29 Commits

Author SHA1 Message Date
Kai Koehne
5e6496f664 QmlJsEditor: Add copyright header 2011-02-18 11:50:28 +01:00
Kai Koehne
94fc750a45 Outline: Double click should jump to text even in non-sync mode 2010-12-20 09:45:29 +01:00
Friedemann Kleint
77008bc45f Exported Header cleanup: QmlJSEditor
Move internal classes QmlJSEditorEditable/SemanticHighlighter
out of qmljseditor.h. Move QmlJSEditor from namespace
QmlJSEditor::Internal to QmlJSEditor.

Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com>
2010-11-02 11:10:27 +01:00
Leena Miettinen
86dc1fb6e8 UI text - fix capitalization 2010-09-28 17:29:05 +02:00
Kai Koehne
9caecbaeff QmlOutline: Prevent warnings about invalid offset for 'setPosition'
Check in advance whether position is still valid. This can be false if
the text has already changed, but the outline hasn't been yet updated.
2010-09-14 11:58:06 +02:00
Kai Koehne
68f6d162f0 QmlOutline: Update selection if filter is toggled 2010-09-03 12:49:05 +02:00
Kai Koehne
7c365061a4 QmlOutline: Ensure that element is always selected
Select parent element if the property isn't shown in outline (due to
filter).
2010-09-03 12:41:22 +02:00
Kai Koehne
3a87261193 QmlOutline: Don't scroll to (horizontal) center when auto-selecting 2010-08-25 15:32:02 +02:00
Kai Koehne
6cf563bb25 QmlOutline: Cut down update times considerably
Cut down update times of Outline by a magnitude by only emitting
itemChanged signal if absolutely needed. This doesn't include the change
of the icon, because QIcon is missing a comparison operator ...
2010-08-25 13:28:04 +02:00
Kai Koehne
42708807a5 QmlOutline: Make sure that currently selected item is always visible 2010-08-24 14:35:04 +02:00
Kai Koehne
2d64eb846b QmlOutline: Replace WeakPointer by normal one 2010-08-16 13:29:00 +02:00
Kai Koehne
258a212d73 QmlOutline: Center cursor
Do the same as in CppOutline
2010-08-16 13:29:00 +02:00
Kai Koehne
72862dcc61 QmlOutline: Show id/name/property values only if filter is active 2010-08-12 15:10:53 +02:00
Kai Koehne
0783b1e40a QmlOutline: Show non-leaf bindings even when filter is active
Otherwise we would filter out also e.g. all States elements.
2010-08-12 15:10:53 +02:00
Kai Koehne
7fac110d75 QmlOutline: Move QmlOutlineTreeView into it's own file 2010-08-10 14:34:55 +02:00
Kai Koehne
40e36e0cd0 QmlOutline: Treat grouped property items as properties
E.g. "anchors {}" is represented in the AST as a UiObjectDefinition.
Treat it nevertheless like a property in the outline, such that it
isn't shown in the outline if you deactivate showing bindings.
2010-07-22 10:14:05 +02:00
Kai Koehne
0b5b1ef7ce QmlOutline: Fix issues when 'filter bindings' is activated
Make sure the filter reevaluates all items when they change.
2010-07-21 14:51:02 +02:00
Kai Koehne
e708eb3d83 Qml Outline: Support rearrangement of the items via drag&drop 2010-07-21 14:14:11 +02:00
Kai Koehne
4b504323ec Show horizontal scrollbar in navigator views (if needed)
Requested by con.
2010-07-16 16:27:14 +02:00
Kai Koehne
97ca483d33 QmlJSOutline: Store the filter settings when switching files 2010-07-16 14:10:02 +02:00
Denis Mingulov
5af6f15f7c Utils::NavigationTreeView is created - as a base class for any Navigation Widget (Side Bar) tree view
Merge-request: 2167
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2010-07-16 11:24:02 +02:00
Kai Koehne
679ccc3b74 QmlOutline: Add filter for hiding bindings (properties) 2010-07-14 16:56:14 +02:00
Kai Koehne
fe82dd7ff7 QmlOutline: Make sure tree view is always expanded 2010-07-14 13:34:18 +02:00
Kai Koehne
5aea93028f Add position to navigation history when navigating through outline 2010-07-14 12:55:58 +02:00
Kai Koehne
503f720f85 Outline: Make recalculation of current model index more robust 2010-07-12 16:40:43 +02:00
Kai Koehne
94264617bf QmlJSEditor: Use QmlOutline model also in combo box
The drop down combo box and the Outline in the sidebar now share
the same model.
2010-07-12 14:46:29 +02:00
Kai Koehne
ecf2a703e2 QmlJSEditor: Moving QmlOutlineModel to it's own class 2010-07-12 14:46:29 +02:00
Kai Koehne
0f8a491e7a Make sure current index is always visible in Outline QTreeViews 2010-07-09 15:27:32 +02:00
Kai Koehne
02923cf258 Support Outline sidebar for QML files 2010-07-08 14:02:51 +02:00