Commit Graph

72811 Commits

Author SHA1 Message Date
Thorbjørn Lindeijer
545c9b9190 Text editor settings cleanup to avoid some copying 2010-01-20 12:54:45 +01:00
ck
ed5a0fb0b2 Maemo: Remove special case for "developer" user.
This user now also resides under /home on the device.
2010-01-20 12:13:08 +01:00
Marco Bubke
81859e2b29 Do update the bounging rect for a empty item list too 2010-01-19 19:19:47 +01:00
Marco Bubke
eebc56e915 Reorder toolbar of the formeditor and add snapping + anchoring action 2010-01-19 19:19:47 +01:00
mae
5b8a678672 first iteration of snippet support for qml
Done with Thorbjorn and Roberto
2010-01-19 18:50:50 +01:00
Roberto Raggi
f0b1c33ba4 Added a few more snippets 2010-01-19 17:41:02 +01:00
Roberto Raggi
51a33a9f0a Create completion items for the builtin snippets 2010-01-19 16:36:48 +01:00
Erik Verbruggen
72a9a9fc83 Missing exceptions from previous commit. 2010-01-19 16:25:29 +01:00
Erik Verbruggen
716fe0f6d8 Added an error state to the rewriter for error recovery. 2010-01-19 16:21:47 +01:00
mae
1f6c25a72e snippet fixes
done with roberto
2010-01-19 16:18:50 +01:00
Marco Bubke
76379a919e Change direction of the margin change for the cursor key use case 2010-01-19 16:11:25 +01:00
Marco Bubke
b70382dc4b Set the focus to the graphics view 2010-01-19 16:11:25 +01:00
Roberto Raggi
cb74282c59 Some work on the our little test case for snippets. 2010-01-19 15:59:32 +01:00
mae
f1932cffa4 update properly on text editor overlay visibility changes 2010-01-19 15:56:55 +01:00
con
7ed47e1e94 Add a fancy double tab widget for the project mode. 2010-01-19 15:25:14 +01:00
con
19254daa42 Fix some resource paths. 2010-01-19 15:25:13 +01:00
mae
ae7216d98c some snippet suggestions from Nigel 2010-01-19 15:05:34 +01:00
Marco Bubke
f904b03c3d Fix drawing bug in bounding rect for form editor items 2010-01-19 14:52:21 +01:00
Marco Bubke
8e5bcfce5b Highlight selectable item under the mouse in the formeditor 2010-01-19 14:35:39 +01:00
Marco Bubke
5a1f1d5e55 Remove unused code in the selection tool of the formeditor 2010-01-19 14:35:39 +01:00
Erik Verbruggen
138266e312 Fixed compiler errors from previous commit. 2010-01-19 14:31:39 +01:00
Erik Verbruggen
972ef2b2fb Changed the applyChanges() method to return whether or not rewriting succeeded. 2010-01-19 14:27:34 +01:00
Erik Verbruggen
7dadea2644 Changed a define into an enum. 2010-01-19 14:20:32 +01:00
Roberto Raggi
e87cd6d1a8 Fixed indentation of QML/JS for-statements. 2010-01-19 13:57:59 +01:00
Roberto Raggi
6b6b827d9b Added helper method QmlJSIndenter::tokenText(). 2010-01-19 12:59:31 +01:00
mae
a5df2e7b24 backspace/delete handling for snippet editing 2010-01-19 12:54:14 +01:00
Roberto Raggi
60ad6c478c Moved QmlJSScanner::Token in the QmlJS namespace. 2010-01-19 12:54:17 +01:00
Roberto Raggi
1bc838fd2b Handle comments at the end of braceless control statements. 2010-01-19 12:50:48 +01:00
Marco Bubke
64a167c2f5 Add option in the toolbar to toogle selection of items with no content 2010-01-19 12:42:36 +01:00
mae
4959230cc5 beginnings of fancy snippet editing support 2010-01-19 12:29:13 +01:00
Erik Verbruggen
701b3e0ac2 Added more tracing information in case rewriting the QML source failed. 2010-01-19 11:50:30 +01:00
ck
4fb2a9fd5f QmlJS: Fix compile for namespaced Qt.
Reviewed-by: Roberto Raggi
2010-01-19 11:31:24 +01:00
Christian Kamm
f812b5bf8c Fix the drop-down symbol list for javascript.
It lists the top level function and variable declarations again.
2010-01-19 10:31:42 +01:00
Christian Kamm
419bc3005e Add QmlJS::Document::ast() for when the type of the AST doesn't matter.
Ideally most of our visitors won't need to make the QML vs JS
distinction. For these cases it'll be handy to be able to access the AST
no matter whether it's a Program or UiProgram.
2010-01-19 10:16:57 +01:00
Kai Koehne
73ee377ab4 Fix release build of ICheckLib 2010-01-19 08:49:40 +01:00
Wolfgang Beck
4b33881729 Merge ichecker branch changes into the mainline. New project can be found under src/tools/ICheck 2010-01-19 15:26:08 +10:00
Marco Bubke
29b7594b38 Add toogle button for bounding rects 2010-01-18 20:15:49 +01:00
Marco Bubke
7b9e8b314b Block signals to prevent a cycle
Task-number: BAUHAUS-292
2010-01-18 18:56:18 +01:00
Thomas Hartmann
5dce709263 QmlDesigner: fixes copy and paste of components
This patch ensures that meta info is available for all models
during copy and paste
2010-01-18 18:51:15 +01:00
Thomas Hartmann
97c3d5302f QmlDesigner.model: Allow sharing of meta info between models
This is necessary to copy and paste comopnents between different
models.
2010-01-18 18:51:14 +01:00
Thomas Hartmann
5526c2107d QmlDesigner: Java Script evalution should not block the gui thread
Expressions are still evaluated in the gui thread, but at least every 100ms
QApplication::processEvents is called.
Evalitation of expression does not completly block the gui anymore.
2010-01-18 18:51:14 +01:00
Thomas Hartmann
031369f73f QmlDesigner: fixing shadow build of fxPlugin 2010-01-18 18:51:13 +01:00
Roberto Raggi
669c2de681 Implemented token-based version of QmlJSIndenter::matchBracelessControlStatement(). 2010-01-18 18:31:17 +01:00
Roberto Raggi
c943d8e4f1 Renamed classes and files to use the QmlJS prefix. 2010-01-18 16:59:20 +01:00
Erik Verbruggen
7024c1e1a8 Added more info for when rewriting fails. 2010-01-18 16:12:29 +01:00
Erik Verbruggen
b2cd3bd823 Changed the rewriter action dumping. 2010-01-18 16:00:09 +01:00
Erik Verbruggen
55c3e747b7 Changed the way IDs are set, to prevent duplicate IDs in the model. 2010-01-18 15:28:27 +01:00
kh1
a0af55e7bd Add an combo box to switch between the opened tabs.
Follow the text editor and provide a combo box for opened documents. We
might consider removing the tabs all together to look more consistent.

Task-number: QTCREATORBUG-584
Reviewed-by: ck
2010-01-18 15:22:07 +01:00
Kai Koehne
f88bc5f3cd Don't update design mode widgets while in text mode 2010-01-18 14:34:35 +01:00
Erik Verbruggen
ed4118628d Changed the QScriptHighlighter & QScriptIndenter namespaces. 2010-01-18 14:12:45 +01:00