Commit Graph

6979 Commits

Author SHA1 Message Date
Jens Bache-Wiig
61ccb1a585 Add api to enable and disable sidebar tabs 2010-02-16 16:09:46 +01:00
Christian Kamm
ced28c7090 Use the fully qualified name when registering the SemanticInfos.
Both for CppEditor::Internal::SemanticInfo and QmlJSEditor::Internal::
SemanticInfo.
2010-02-16 15:29:21 +01:00
ck
69e141c32f QML stuff: Fix compilation for namespaced Qt. 2010-02-16 15:14:49 +01:00
Lasse Holmstedt
580280af26 Changed QML Inspector from a separate global mode to a plugin.
The new QML Inspector depends on DebuggerPlugin. Also added a dropdown menu into
the debugger toolbar from which the user can select the used debugging
language, e.g. C++ or QML.
2010-02-16 15:13:09 +01:00
Christiaan Janssen
e073099c5b QmlDesigner.ProjectManager: Added filter for cascaded style sheets 2010-02-16 15:04:15 +01:00
Thomas Hartmann
5262ca2061 QmlDesigner.propertyEditor: use RewriterTransaction to speed things up 2010-02-16 14:44:29 +01:00
Tobias Hunger
0924cb1c99 Build fix. 2010-02-16 13:46:33 +01:00
Kai Koehne
fdd85b7f33 QmlProjectManager refactoring
Putting every class in it's own files + avoid "using namespace"
2010-02-16 13:43:27 +01:00
Christian Kamm
45efd5b5b1 Don't show 'invalid property name' errors if we can't resolve the type.
The idea is that it may be a plugin-provided type. We don't want user
code to be riddled with error markers in that case.

Reviewed-by: Roberto Raggi
2010-02-16 13:30:40 +01:00
Tobias Hunger
bb20672a63 Actually propagate targetinformationchanged signal
* Fixes RunConfigurations not updating when changing something
   in the BuildConfiguration.

Reviewed-by: dt
2010-02-16 13:18:26 +01:00
Tobias Hunger
261966dbb7 Have qmakestep trigger the import label
* Do not use the BuildManager but have the qmakestep trigger
   the update via the target and project.

Reviewed-by: dt
2010-02-16 13:18:25 +01:00
Tobias Hunger
b58297fe25 Use the ProjectConfiguration's displayNameChanged signal
Reviewed-by: dt
2010-02-16 13:18:25 +01:00
Thomas Hartmann
129f0a8ecc QmlDesigner: fixing the build 2010-02-16 12:58:48 +01:00
Thomas Hartmann
c6bfed5d3c QmlDesigner.propertyEditor: cleaning up returns 2010-02-16 12:50:27 +01:00
Thomas Hartmann
83f420523c QmlDesigner.propertyEditor: setting of QLabel icons from file in qml 2010-02-16 12:49:09 +01:00
Thomas Hartmann
ac2fb06ba0 QmlDesigner.propertyEditor: cache panes based on type
Before we cached based on the main qml url - This way we skip setting up
the specific widgets each time we change selection
2010-02-16 12:49:08 +01:00
Thomas Hartmann
c4e8345436 QmlDesigner.propertyEditor: cleaning up code 2010-02-16 12:49:08 +01:00
Thomas Hartmann
d512530958 QmlDesigner.propertyEditor: optimization 2010-02-16 12:49:08 +01:00
Thomas Hartmann
9df256c922 QmlDesigner.propertyEditor: enables creating of panes beforehand
This patch allows setting up property panes before a selection is made
2010-02-16 12:49:07 +01:00
Thomas Hartmann
b55c0ed829 QMlDesigner.propertyEditor: perfomance optimization
Only update geometry based properties in  transformChanged()
2010-02-16 12:49:07 +01:00
Thomas Hartmann
0246e28ae7 QmlDesigner.propertyEditor: add sanity check 2010-02-16 12:49:06 +01:00
Thomas Hartmann
48dee2d59d QmlDesigner.propertyEditor: disable property editor for multiple selection 2010-02-16 12:49:06 +01:00
Thomas Hartmann
ec01f530a9 QmlDesigner.propertyEditor: fixes typo 2010-02-16 12:49:05 +01:00
Thomas Hartmann
bea2684ea2 QmlDesigner.propertyEditor: only allocate className/id backendObject once 2010-02-16 12:49:05 +01:00
Thomas Hartmann
01589e4841 QmlDesigner.propertyEditor: adding sanity checks to anchoringbackend 2010-02-16 12:49:01 +01:00
Thomas Hartmann
46319d71e6 QmlDesigner: cleanup of icons 2010-02-16 12:49:01 +01:00
Friedemann Kleint
8ddeaa5fa4 Console Debugger/Linux: Use LD_PRELOAD to load dumpers. 2010-02-16 12:29:26 +01:00
Friedemann Kleint
844ece10b5 NewClassWidget: Validate generate form check box correctly.
Introduce buddies & key accelerators.
Task-number:  QTCREATORBUG-712
2010-02-16 12:06:49 +01:00
Christian Kamm
e6d9d9e387 Fix incorrect 'invalid property' errors for PropertyChanges.
Reviewed-by: Roberto Raggi
2010-02-16 11:55:41 +01:00
Friedemann Kleint
866b8fa5c3 Designer: Fix menu label. 2010-02-16 11:50:33 +01:00
Christiaan Janssen
2e1a68b1ae QmlDesigner.Navigator: Long text in items' names is elided 2010-02-16 11:34:56 +01:00
Christiaan Janssen
aec39f557c QmlDesigner.StatesEditor: State name text is elided if too long 2010-02-16 11:26:32 +01:00
Tobias Hunger
1aa3ec58a9 Fix initialization of toolchain combobox in Qt4project
* Initialize it to the toolchain used, not the preferred one
2010-02-16 11:16:48 +01:00
Tobias Hunger
10ffba5968 Fix off by 1 addbuttonwidth error in targetselector
Reviewed-by: Robert Loehning
2010-02-16 11:16:32 +01:00
Christian Kamm
da3679066e Add QmlJS semantic checker.
* Add SemanticHighlighter to QmlJSTextEditor to update the semantic info
  in a background thread.
* Add QmlJS::Check to run semantic checks on qml and js documents.
* Add a check for incorrect property names.
* Fix hoverhandler to show tool tips from extra selections over help
  tooltips.
2010-02-16 10:38:56 +01:00
Kai Koehne
98a0757916 Compile fix on Mac OS X (gcc 4.0.1) 2010-02-16 10:02:02 +01:00
Friedemann Kleint
dbc7cdeee8 Fixed further static icons. 2010-02-16 09:18:24 +01:00
Friedemann Kleint
d185889351 VCS[git]: Make version fail warning less obtrusive.
Display correct warning if git is not installed.
Do not display it as error (popping up the log pane) from
IVersionControl.  Introduce separate caching flag to avoid
repeated execution if git is not installed.
2010-02-16 09:12:37 +01:00
hjk
08a1171e28 fakevim: fix two backspace-with-autoindent issues
Backspacing across start of line was broken, and it always removed all
automatically indented whitespace.
2010-02-15 17:56:38 +01:00
Oswald Buddenhagen
8bb90d47bd fix include() parseInto implementation
the "namespace" created by the prefix is supposed to be cleared before
new values are added.
2010-02-15 17:14:25 +01:00
Erik Verbruggen
618173e067 Fixed Q_ENUMS/Q_FLAGS parsing to handle namespaces. 2010-02-15 17:13:30 +01:00
Erik Verbruggen
070d06c163 Changed BLOCKS undef on MacOS to work with system header files. 2010-02-15 17:13:30 +01:00
hjk
c6e88eec0e debugger: implement basic support for gdb's 'return' command
Returning a value is not yet supported.
2010-02-15 17:02:07 +01:00
Christiaan Janssen
feb181ce5e QmlDesigner.Navigator: TreeView updated when switching between components in the visual editor 2010-02-15 16:24:49 +01:00
Christiaan Janssen
749f57f356 QmlDesigner.StatesEditor: Checking valid index for current state 2010-02-15 16:00:53 +01:00
Erik Verbruggen
dc859db169 Fixed a bug where a property could be inserted after an object. 2010-02-15 15:06:00 +01:00
Roberto Raggi
83e40337d9 Simplified the algorithm used to compute the expression under cursor. 2010-02-15 14:54:03 +01:00
mae
a943350bd7 Fixed cursor position in file when switching editors
When closing editor splits while the same document was visible in
two editors, it could happen that the state of the closed editor
survived (as opposed to sate of the editor which was still visible).
This had the negative effect, that when visiting the file again,
the cursor would jump to the obsolete position within the file.
2010-02-15 14:13:12 +01:00
Roberto Raggi
33b4b15a60 Check the file's mimetype before creating QML/JS documents. 2010-02-15 14:07:35 +01:00
Friedemann Kleint
4b76d828f7 CommandLocator: Sort filter by priority and id, fix hg filter enabling. 2010-02-15 13:55:11 +01:00