The signal spy never worked with value types. The recursive code is not
needed anymore and anyway broken.
Change-Id: I28861d13fa6ca8b7e8af97f5720c2968759da264
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This patch adds a generic property editor pane for QtObject.
Objects derived from QtObject get an auto generated property editor
for their additional properties or can use the specfics mechanism
to define a custom one.
Task-number: QTCREATORBUG-9451
Change-Id: I730b19e4e417f3f4d4ee6cdf2b3f3ef32f8c1f94
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
The property editor will now try to find a pane for the specific
version first.
Example:
If we have a QtQuick.Item 2.0
We first look for: QtQuick/ItemPane_2_0.qml
And then fallback to: QtQuick/ItemPane.qml
The same does apply for the specifics file.
Task-number: QTCREATORBUG-8681
Change-Id: If210998780073295f168169d2fc424288d3bd6a0
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This will silence some warnings about removing files with empty
filenames which we get due to trying to remove a file we never
managed to open.
Calling finalize() unconditionally is the right thing to do here
as that processes and/or displays on error message to the user
if there is any.
Change-Id: Ibe7d07233f2c2698e53a7ad21041bc5cc4fcac0e
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
This change
* Removes IMode::type, ModeManager::activateModeType, and
IEditor::preferredModeType, and adds IEditor::isDesignModePreferred
instead
* Adapts the mode switching code in EditorManager to handle multiple
windows, for example switching to edit mode should only happen if
the editor/view is in the main window. Otherwise the editor window
should be raised and focused
* Renames EditorManager::NoActivate --> DoNotChangeCurrentEditor
* Reverts the EditorManager::ModeSwitch logic to switch mode or
make the current editor visible by default, introducing
DoNotMakeVisible flag instead
* Fixes a few instances where EditorManager::ModeSwitch should have been
used
One non-trivial problem left: If you open a .ui file and switch to an
external editor window, edit mode is activated, because the current
editor no longer is a .ui file, which means that the design mode gets
deactivated.
Change-Id: I76c5c2391eb4090143b778fb103acff3a5a1ff41
Reviewed-by: David Schulz <david.schulz@digia.com>
You can now pan if you drag the mouse around with the middle mouse button.
Change-Id: I70e1666c542406b126214c2b9b8b56193bcbcf76
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Implement putEmptyValue, use type priorities,
introduce concept of backend specific tests.
39 pass, 136 fail...
Change-Id: I71e89259dc925f799bca413b537b65e9e689e1b8
Reviewed-by: hjk <hjk121@nokiamail.com>
Was already picked in 2.8 and the file it is changing is renamed in 2.8.
This reverts commit 83b0e3ce7650fca1a6388297f54627677eebe5d5
Change-Id: I2288241dc33fb713efaf8f182568bb1cd348f633
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
Remove restricted use of declarations and add an option to define if
SymbolFinder should be used to find a matching definition for symbol.
Change-Id: If5cf5b11926e116766dd60dd3726b4fcf2e1c9f5
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
it's not necessary to immediately re-calculate the roots after assigning
QMAKE_PLATFORM - it's sufficient to do it on-demand, so merely
invalidate them. this avoids that we re-calculate them multiple times
without ever using them in between while processing specs with
distributed platform assignments.
Change-Id: If508594764811b96a577fc81c5ded34ab0453148
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
looking up the same files in the same locations over and over again
is a rather significant waste. in particular, looking up the CONFIG
flags that don't correspond with features has a measurable impact on qt
creator's project loading time.
Task-number: QTCREATORBUG-9154
Change-Id: Ibae3d8b7797e706a6416a7d45c77734ab1281b51
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
this tremendously speeds up loading of qt 5.1 based projects (including
qt itself) under mac os, as these look up the sdk dynamically, and use
caching to avoid doing that in every subproject.
Change-Id: I833253f81c3159056fab2ff888f293b36cc2ef56
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
just directly use the filename we constructed it from.
Change-Id: Ia428a2cb4b192fea6bde62dfbf35361bcfc4b21e
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Fixed two typos and used more consistent style with the rest
of the manual. Please ask me or some other tech writer to
review when you add text :).
Change-Id: I53fbd7268a82724e3ca862e7d6fcadb97899e478
Reviewed-by: David Schulz <david.schulz@digia.com>
Moving to line and column and showing the file encoding.
Change-Id: Ifd9727b3f1812da4b165eb9224cc7d042ae840d2
Reviewed-by: Eike Ziller <eike.ziller@digia.com>