After selecting a new diagram from the pop-down menu the
open-parent-diagram action was not immediately available
because the model editor context is no longer the active one.
With this change the action is registered in global context.
Change-Id: Icf6fc0408916a3e22d2f19e7a09ab24fcf20a867
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Alignment lines (pressing Shift during dragging of items) only works on
moving not resizing elements and has some problems with showing correct
position and pressing Shift without moving mouse.
Change-Id: I0b534cfcb8aff6df2cb50d1b23456bfccb39f073
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Some special characters in member declarations (like '<')
must be translated to HTML ('>').
Change-Id: Idb82945e494e9b650e3158dbd5169799dfd81170
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
If the model contains a configuration path to a configuration file
(or a directory of configuration files) the configuration is loaded
for that model only. The file path may be relative to the model file.
No UI support for this feature yet.
Change-Id: Ia3615da3e57fc4731926a5970ba1b2f741d64e21
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
The source files are in /usr/src/g{test,mock}, the includes in /usr/include
They were also swapped.
Change-Id: I2a9ad84f8d29a0873a4e568f4b21a198c70d948c
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
The same constants appear in projectexplorerconstants.h,
from where they are used in selectablefilesmodel.cpp.
Change-Id: Iedeb30747b80e3d9d14a684d4b480400670bc6e3
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
The line is short enough to fit on one line.
Otherwise, curly braces would be necessary.
Change-Id: Iaab9ba5b45922a8d41fbdb43d4629863ea19db78
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This fixes squeezed icons on some Linux Distros with QStyle
integrations, where a lower value would be set and the icons
be squeezed and become blurry.
Change-Id: I2962dd370491fc741646f52a9794e178a2ff81b1
Reviewed-by: hjk <hjk@theqtcompany.com>
A drop shadow and the "punching of edges" are now independantly
settable.
Change-Id: I48bf88944d0cfce504aef0a1c04979ab2dc4cb9f
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
The style that is used by MSVC.
Task-number: QTCREATORBUG-14724
Change-Id: I2ffffb507a1e404fa30e9c8ea15aa6b11dfc5b32
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
We should have a single method that covers all use cases. Also get rid
of output parameters from the function.
Change-Id: I801fbd0d38499f0997d21df99ca75ba40f9f73b6
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
...differs from the real child count.
Task-number: QTCREATORBUG-15016
Change-Id: Iaadbd6a0de6e1e068b072705e1d1a264ca03a855
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Use a JSON wizard in favor of implementing the same thing in
code.
Change-Id: I5952bf417255fb75378e42e3e80b13c0a0d3d317
Reviewed-by: Jochen Becher <jochen_becher@gmx.de>
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
... into a string specifying a kind of encoding (utf8, latin1),
an optional bytesize (2-byte integers, 4-byte integers) and a
flag whether the displayed value should get "..." around it.
Scales better than adding an enum value for each new combination.
Change-Id: Iffcb1e2f148f12da96e165559a976bd34026c649
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
... to the working directory widget if that's not present anymore.
Change-Id: I242d128b0241735dc6cac84290c9cee66a989067
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
As side-effect, this fixes the automatic update of the terminal options
if the .pro file changes and no manual changes have been made yet.
Change-Id: I5b102b2587a8f2f1b326ecc9f4cec98edad74a16
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
On Copy (Ctrl+C) the selected elements on a diagram are
copied as an image into the clipboard. If no element is
selected all elements are copied (as it was before).
Change-Id: Ia24e1cae44ea3cc7303198fe7bfd3174c7a970cc
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
... and switch it off by default. The feature has indeterministic
performance impact and lost quite a bit of its utility since GDB
learned to extract dynamic object types most of the times.
Change-Id: I22cccb03ba67f9ff6ad757bbc06eb372d84bbffe
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Reviewed-by: hjk <hjk@theqtcompany.com>
This mimics the relevant parts of QbsProjectManager.
Change-Id: I31257556ce0fcc714f6fac26f9d0b88ca6cb076b
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
It looks like there is no way to mark a test as expected to fail, so
disable it.
Task-number: QTCREATORBUG-15473
Change-Id: Ic6cb2c00a64cf647cb499492064d451d0dd08075
Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
This function can be called with arbitrary ids. Follow the pattern
in other device implementations and don't choke.
Change-Id: Ica25f2d24fe673ad025883bf106fc270f27fa4fe
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Reviewed-by: Tim Sander <tim@krieglstein.org>
Some inputs can be unrecognized with some keyboard layouts
(QKeyEvent::key() will return 0).
Change-Id: If7b49330ac00a2493a956331c7bbe8ea2a4305ae
Reviewed-by: hjk <hjk@theqtcompany.com>
...nowadays we only need the working copy.
Change-Id: I30924b3c5dc68b428d6c10f6ba015b0640b476d2
Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
This removes also the need to close editor documents.
Change-Id: I96c68105bceb37841053f3dbd8a264e059a02cb8
Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
Execution will continue for now, but not for long.
Change-Id: I1abc57e6375e5ec4d24c7299f68f59c5bb06f3c9
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>