Commit Graph

7538 Commits

Author SHA1 Message Date
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
ck
a59ea0f2a4 Merge branch 'master' of scm.dev.nokia.troll.no:creator/mainline 2010-01-19 09:23:16 +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
Erik Verbruggen
bedb5d936b Moved the QScriptHighlighter & friends into the QmlJS library. 2010-01-18 14:12:44 +01:00
Erik Verbruggen
93144e1bf7 Moved the qmljs shared folder into the shared library. 2010-01-18 14:12:44 +01:00
Erik Verbruggen
e86f2e6041 Fixed tests and tools to use the qmljs dll/so. 2010-01-18 14:12:44 +01:00
Erik Verbruggen
205c9b3f9a Moved the qmljs shared folder into the shared library. 2010-01-18 14:12:44 +01:00
Erik Verbruggen
41c4253301 Fixed uses of QmlDocument. 2010-01-18 13:40:51 +01:00
Erik Verbruggen
41c0df9f62 Removed qDebug statement. 2010-01-18 13:40:50 +01:00
Erik Verbruggen
525633509e Changed camel-case file names to be lower-case. 2010-01-18 13:40:49 +01:00
con
383ed798dd Add widget for selecting settings for a specific target. 2010-01-18 13:40:48 +01:00
Erik Verbruggen
0f8126f62d Changed the QML/JS editor to treat .qs/.js files as JavaScript, and invoke the appropriate parser for it.
Reviewed-by: Christian Kamm
2010-01-18 13:40:47 +01:00
Erik Verbruggen
2dfe4f620c Incorporated change 07373821696a06f228696e794d1e4568e51a1456 from kinetic-declarativeui.
Added utility method to parse JavaScript programs.

Reviewed-by: Christian Kamm
2010-01-18 13:40:46 +01:00
Erik Verbruggen
d19418f4d8 Incorporated change 4a1c0db988c87b4b4922e5a2607adadd633d99a1 from kinetic-declarativeui.
Added a utility method to get a casted AST root node.

Reviewed-by: Christian Kamm
2010-01-18 13:40:45 +01:00
Friedemann Kleint
a704b974b5 Script engine: Fix locals/QT_NO_CAST_FROM_ASCII 2010-01-18 13:40:44 +01:00
ck
f717f51bac Maemo: Automatically display sole device configuration.
Chances are the user wants to select it anyway.
2010-01-18 13:40:44 +01:00