Commit Graph

72811 Commits

Author SHA1 Message Date
Roberto Raggi
6fe1f5b96c Made the error recovering more robust. 2010-01-28 16:29:45 +01:00
Roberto Raggi
da81d59e24 Look at the enumerators when populating the completion box. 2010-01-28 15:51:16 +01:00
Roberto Raggi
fc77c277be Hide the tooltip when we can't guess the value of the expression under cursor. 2010-01-28 15:51:16 +01:00
Roberto Raggi
b4ccdab483 Removed obsolete code. 2010-01-28 15:51:16 +01:00
Friedemann Kleint
6771aafb9c FileIconProvider: Refactor class.
Streamline code, avoid functions and container.end() invocations,
introduce private, reduce #ifdefs, clarify code and add
comments about usage on various platforms.
Implement QFileIconProvider interface, making it usable for file system
models. Use in FolderNavigationWidget. On this occasion, add checkable
"Synchronize" action to FolderNavigationWidget.
Task-number: QTCREATORBUG-62
2010-01-28 15:47:58 +01:00
Erik Verbruggen
0fdf02ab4d Changed binary expression parsing to use precedence parsing. 2010-01-28 15:22:50 +01:00
Erik Verbruggen
3dd011fcb6 Changed binary expression parsing to use precedence parsing. 2010-01-28 15:22:50 +01:00
Roberto Raggi
a72230feee Reduced the interval UPDATE_DOCUMENT_DEFAULT_INTERVAL. 2010-01-28 15:07:15 +01:00
Christian Kamm
6134f2880a Always return a valid scope from Link. 2010-01-28 15:03:50 +01:00
Roberto Raggi
7bc2ab8ac9 Automagically pop up the completion box (experimental) for QML/JS code (experimental). 2010-01-28 14:57:18 +01:00
Christian Kamm
1d39377fb1 Separate bind into bind, link imports and building the scope chain. 2010-01-28 14:53:53 +01:00
Kai Koehne
2ab90078f4 Center cursor when going from Design mode to text mode
Just use high level TextEditor::gotoLine instead of directly manipulating
the QTextCursor.

Task-number: BAUHAUS-326
2010-01-28 14:49:05 +01:00
Roberto Raggi
d52842326f Removed obsolete code. 2010-01-28 14:34:51 +01:00
Roberto Raggi
98474002ad Store all the object-based values in the QML/JS interpreter. 2010-01-28 14:20:57 +01:00
Roberto Raggi
280a99b6dc Invoke onBlockEnd() after the block highlighter is done. 2010-01-28 14:18:52 +01:00
Roberto Raggi
fa925ccd5a Say hello to the new incremental scanner for QML/JS. 2010-01-28 13:13:23 +01:00
Thomas Hartmann
7a379001cb QmlDesigner.propertyEditor: adding notifiers to PropertyEditorValue 2010-01-28 11:59:07 +01:00
Thomas Hartmann
771ccf0622 QmlDesigner: compile fix
QmlStringConverters has been cleaned up
2010-01-28 10:46:45 +01:00
con
58a248cb9d Navigation widgets need separate id and display name.
Such that the layout of the left hand sidebar can be restored
even if the display language is changed.
2010-01-27 19:05:19 +01:00
Thomas Hartmann
f7dafe11f6 QmlDesigner.propertyEditor: tweal minimum size 2010-01-27 18:39:45 +01:00
Friedemann Kleint
c3a4912d00 Debugger/CDB: Avoid string conversions. 2010-01-27 15:27:57 +01:00
Roberto Raggi
a658ee55f2 Ask the HelpEngine for documentation about builtin QML components.
Done with: Erik
2010-01-27 15:13:30 +01:00
Roberto Raggi
39c2575ab3 Removed obsolete code
Done with: Erik
2010-01-27 14:37:24 +01:00
Erik Verbruggen
d89b7ecb73 Changed hovering to use the new interpreter & binding code.
Done-with: Roberto Raggi
2010-01-27 14:00:55 +01:00
Kai Koehne
a104d18736 Fix compilation of ICheckLib on Linux 2010-01-27 13:44:53 +01:00
Kai Koehne
c5bc134732 Remove unused dummy method 2010-01-27 13:32:14 +01:00
Kai Koehne
45cc94b6d3 Remove double license headers from property editor files 2010-01-27 13:32:14 +01:00
Friedemann Kleint
18ab532e56 VCS[git]: Make Branchdialog non-modal as is StashDialog.
Give dialogs a consistent look, set
WA_DeleteOnClose on them and improve updating.
Add a Refresh/Diff buttons to branch dialog.
2010-01-27 12:47:23 +01:00
Erik Verbruggen
8ecc80ec4c Generalized ExpressionUnderCursor and got rid of duplicate code.
Done-with: Roberto Raggi
2010-01-27 12:41:01 +01:00
Erik Verbruggen
bbb63c44d4 Removed unused variable. 2010-01-27 12:41:01 +01:00
Thomas Hartmann
f10968649d QmlDesigner: cleaning up description of rewritingexception
Do not include the old description - this looks strange in some cases
2010-01-27 11:51:16 +01:00
Thomas Hartmann
68f356e35b QmlDesigner.propertyEditor: updating resources 2010-01-27 11:50:05 +01:00
Thomas Hartmann
c8fa37f3c1 QmlDesigner.propertyEditor: cleanup of propertyEditorValue 2010-01-27 11:50:04 +01:00
Thomas Hartmann
bacfcd19c6 QmlDesigner.propertyEditor: clean up of property editor code
Do not delete QmlPropertyMap items - they should be reused
2010-01-27 11:50:04 +01:00
Thomas Hartmann
6311cf7847 QmlDesigner.propertyEditor: minor tweak of color widget 2010-01-27 11:50:03 +01:00
Thomas Hartmann
e3d534b3ba QmlDesigner.propertyEditor: some updates to basicwidgets.cpp
Handling of QAction and global position
2010-01-27 11:50:03 +01:00
Roberto Raggi
72172ea7d4 Use the Interpreter::Engine::defaultValueForBuiltinType(ty) when processing property definitions. 2010-01-27 11:01:07 +01:00
Roberto Raggi
a05f2cb318 Check the file extension before computing the component's name. 2010-01-27 09:24:49 +01:00
Roberto Raggi
cac1973a27 Import the types in the declaring namespace object. 2010-01-27 09:23:06 +01:00
Christian Kamm
4f31f0f51f Qml editor: add function declarations to objects or the Script scope.
Enables completion for function declarations inside qml files.
2010-01-26 18:09:30 +01:00
Roberto Raggi
9cdca3a92b Some initial support for relative imports. 2010-01-26 17:23:18 +01:00
Roberto Raggi
5107ba57c2 There's no need to create a namespace object when the importId is invalid. 2010-01-26 16:31:07 +01:00
Roberto Raggi
c1b3f0b120 Coding style. 2010-01-26 16:21:03 +01:00
Roberto Raggi
02ee76b82a Initalize the members of the binder. 2010-01-26 15:51:31 +01:00
Erik Verbruggen
138221ac24 Add missing qmljsmetatypesystem.*
Done-with: ckamm
2010-01-26 15:29:35 +01:00
Roberto Raggi
f753d3328b Add the snippets to the completion box when the character at the left of the text cursor is a delimiter. 2010-01-26 15:23:19 +01:00
Erik Verbruggen
cf35a0249b Implemented the binding phase for QML.
Done-with: Christian Kamm
2010-01-26 15:20:18 +01:00
Roberto Raggi
5d272795cf Don't add the QML signals to the completion box. 2010-01-26 15:19:19 +01:00
Roberto Raggi
aa92c84e08 Group the members of ConvertToString and ConvertToNumber. 2010-01-26 15:12:47 +01:00
Roberto Raggi
204aeb700e Skip the tokens inside brackets when computing the expression under cursor. 2010-01-26 15:09:04 +01:00