Commit Graph

6979 Commits

Author SHA1 Message Date
Thomas Hartmann
fbd7b3c202 QmlDesigner.propertyEditor: setting a value in intial setup 2010-02-23 17:35:42 +01:00
Thomas Hartmann
97d6e4df5d QmlDesigner.propertyEditor: change caching behaivour 2010-02-23 17:35:42 +01:00
Thomas Hartmann
8f23a4aba2 QmlDesigner.propertyEditor: fix setupPane() 2010-02-23 17:35:41 +01:00
Thomas Hartmann
5181f2ebe7 QmlDesigner.propertyEditor: catch exceptions for expression editing 2010-02-23 17:35:41 +01:00
Thomas Hartmann
86dadaef5b QmlDesigner.propertyEditor: change timing of defered construction 2010-02-23 17:35:40 +01:00
Thomas Hartmann
cb61b50aa4 QmlDesigner.propertyEditor: enables caching for WidgetLoader 2010-02-23 17:35:39 +01:00
Christian Kamm
f0674aa7e9 Add check for anchor line, changed value assignment checks into visitor.
Done-with: Erik Verbruggen
2010-02-23 17:03:05 +01:00
con
04d90d9563 Show target overlay icon only in the active target button. 2010-02-23 16:52:44 +01:00
Christian Kamm
c3578f307d Fix parsing errors not showing for the QmlJS editor.
Done-with: Erik Verbruggen
2010-02-23 16:12:19 +01:00
Kai Koehne
375b08617e QmlDesigner: Fix artifact when moving items around
Don't use the dynamic property "HasFormEditorItem" any more when
checking whether childs have to be drawn directly by it's parent.

The problem was actually introduced with the new dynamic metatype
object (NodeInstanceMetaObject). At the time the dynamic property
"HasFormEditorItem" is set in
GraphicsObjectNodeInstance::createGraphicsObject(), the new metatype
object hasn't been created & attached to the object yet. The dynamic
property was effectively lost when the metatype object changed, leading
to multiple drawings of the child item.

This fix replaces the "HasFormEditorItem" property by directly asking
the NodeInstanceView whether an item draws itself or not.

Reviewed-by: Thomas Hartmann
2010-02-23 16:09:11 +01:00
dt
96e2fef626 Fix CppModelManager::parse broken in recent commit
Reviewed-by: Friedemann Kleint
2010-02-23 15:54:49 +01:00
mae
8bd54e3618 Remove more/less-flicker in the projects tab
Fix works at least on Linux.
2010-02-23 15:30:25 +01:00
Nadeem Hasan
e280c0b5a5 * Use prev/next icons from coreplugin resource
* Disable close button when there is no editor active
* Hide lock button when there is no editor active
* Hide the info bar when the editor is closed and no editors are left

Merge-request: 114
Reviewed-by: mae <qt-info@nokia.com>
2010-02-23 15:30:25 +01:00
Christian Kamm
feacbf8a2a Check that the id property is a plain lowercase identifier. 2010-02-23 14:57:19 +01:00
Christian Kamm
0e2685332c Add check for correct color string in Qml. 2010-02-23 14:57:19 +01:00
Tobias Hunger
f6cd2493be Set parents on objects
... otherwise we might leak memory
2010-02-23 14:34:15 +01:00
Tobias Hunger
7cd54f1265 Fix possible crash when deleting targets 2010-02-23 14:34:14 +01:00
Jens Bache-Wiig
c94e06bbbd Migrate ManhattanStyle to use QProxyStyle 2010-02-23 12:42:35 +01:00
Christian Kamm
f717a7df30 Add Qml type checks for assigning literals to properties.
Done-with: Erik Verbruggen
2010-02-23 12:36:48 +01:00
Christian Kamm
b1522ba5c8 Fix semantic checks not being applied to the Qml root object.
By always setting the scope object, even if it is identical to the root
object.

Done-with: Erik Verbruggen
2010-02-23 12:36:48 +01:00
Kai Koehne
3f18859252 Fix compilation for latest qt/master
QmlList has been replaced by QmlListProperty (33eb76f050b45718d87926).

Patch provided by Aaron Kennedy.

Reviewed-by: akennedy
2010-02-23 10:41:13 +01:00
Tobias Hunger
ea007592bc Qt versions are different if the dislayname does not match
* Fixes update of Qt version name whne renaming a Qt version.
2010-02-22 18:23:14 +01:00
Jens Bache-Wiig
7b41c53bb3 Did some modifications to the sidebar
This removes the extra line at the bottom of the window on the mac.
This also decreases the contrast of shadows and highlights a bit.
2010-02-22 18:15:52 +01:00
Tobias Hunger
d8016ef8aa Disable Project Mode if no projects are loaded 2010-02-22 18:07:21 +01:00
Tobias Hunger
b492c264fa Sort targets on displayname in project mode
Reviewed-by: con
2010-02-22 18:07:21 +01:00
Tobias Hunger
b2636e9b85 Add method to insert into targetselector
... and make that available through the targetsettingswidget,
 too.

Reviewed-by: con
2010-02-22 18:07:20 +01:00
Tobias Hunger
35bcc49bdf Sort targets in miniprojecttargetselector
... based on their display names

Reviewed-by: Daniel Molkentin
2010-02-22 18:07:20 +01:00
Tobias Hunger
e61c8238fb Sort target names in combobox
* In the addtargetdialog: Sort targets based on their display
   name when putting them into the combobox.
2010-02-22 18:07:19 +01:00
Tobias Hunger
b1e2a2075e Disable target selection combobox if necessary
* Set the first target to active in the addtargetdialog's
   target selection combobox
 * Disable the combobox if there is only one element in it.
2010-02-22 18:07:19 +01:00
Erik Verbruggen
72c3ba791e Fixed pre-processor handling for Q_PROPERTY, Q_ENUMS and Q_FLAGS. 2010-02-22 18:00:26 +01:00
Erik Verbruggen
2fee6b8a46 Fixed QTCREATORBUG-743 2010-02-22 17:34:06 +01:00
Erik Verbruggen
7669a36bf0 Fixed compilation issue on Mac. 2010-02-22 17:16:27 +01:00
Kai Koehne
dfa7f8093e Fix qmldesigner autotests
The registration of the qml items have been recently moved from a static
context into QmlGraphicsItemModule::initialization . The Bauhaus Metainfo
initialization now ensures that this method is called first by
instantating a QmlEngine.
2010-02-22 16:37:38 +01:00
Kai Koehne
faf2df28e1 Rename tools/qmldesigner to tools/qml 2010-02-22 16:37:38 +01:00
Kai Koehne
fbaa311d2a Remove reduce_exports / hide_symbols qmake magic
It's defined in qtcreator_plugin.pri anyway
2010-02-22 16:37:38 +01:00
Friedemann Kleint
c7281d52d1 Compile Windows. 2010-02-22 16:04:26 +01:00
Thomas Hartmann
6170872b3a QmlDesigner.propertyEditor: refactoring propertyeditor.cpp 2010-02-22 16:02:11 +01:00
Thomas Hartmann
4392c112c2 QmlDesigner: fixes viewlogger for Windows 2010-02-22 16:02:05 +01:00
Friedemann Kleint
7d3d9cad32 Fix code model indexing crash on Mac.
Introduce multithread-locking to Core::MimeDatabase as it is
invoked from the indexer thread to sort apart headers and sources.
Add a convenience to operate on a sequence to avoid locking for each
file.
2010-02-22 16:00:47 +01:00
Kai Koehne
07bdbe04c7 Only compile QmlDesigner plugin if private headers are installed 2010-02-22 15:32:22 +01:00
Kai Koehne
0685cf6ced Clean up INCLUDEPATH of qmldesigner 2010-02-22 15:32:07 +01:00
Kai Koehne
58ddddb7a8 Remove OpenGL dependency from core configuration
The code using OpenGL has already been removed in b6460f9251
2010-02-22 15:13:53 +01:00
Jens Bache-Wiig
f331f3322b Mor polish for the sidebar 2010-02-22 14:38:18 +01:00
Jens Bache-Wiig
b90cd35b6f Fix a hover bug with the sidebar 2010-02-22 14:36:45 +01:00
Jens Bache-Wiig
1ea114b414 Make the panel action sunken when panel is open 2010-02-22 14:36:45 +01:00
Jens Bache-Wiig
41885a192d Fixed an animation glitch with the sidebar
We need to kill the fadeins before fading out.
Otherwise we might get into weird states.
2010-02-22 14:36:45 +01:00
Jens Bache-Wiig
0dccaf45a2 Updated hover and pressed appearance for sidebar 2010-02-22 14:36:45 +01:00
Jens Bache-Wiig
bd2ba2307b Improve responsiveness of the sidebar
I added a zerotimer to make the sidebar emit
currentChanged only after it has been updated as
pressed.
2010-02-22 14:36:45 +01:00
Jens Bache-Wiig
54b2ab7190 Color tweaks 2010-02-22 14:36:45 +01:00
Jens Bache-Wiig
7899a2733b Animate sidebar tabs independently 2010-02-22 14:36:45 +01:00