We already had this workarounded, but it got lost in the refactorings.
Task-number: QTCREATORBUG-12067
Change-Id: Ie01f9d41f25d17d1b595204748634bc87ef44378
Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
The close button in reload prompt message box had no keyboard shortcut.
The text was changed to &Close to add the shortcut. This behavior is
useful after a long QtCreator session and several Qt intermediate files
open. When those files are regenerated it's useful to close them.
Change-Id: I25a9134eeed3ce6f10a5b698c7eda9f714f3bae5
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
For documents that were "restored" from a session, without actually
opening them.
The new naming differentiates them from documents that were "restored"
from auto-save files, and also fits better if we later "suspend"
documents that have not been visible for a while.
Change-Id: I7727344299eb2b395fc94cd1ab401ceb489111aa
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This is the first mechanical step to execute on the 'shared pool of
debugger/analyzer views' idea.
Future steps would be providing infrastructure for the view pool,
making all analyzer/debugger views use the pool and then re-extract
a sensible base for a 'analyzer-and/or-debugger' tool plugin interface.
Change-Id: I1bb392e6dd3084fc56937956bee1d6fd9530335d
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
MSVC2015 has a bug that reference_wrappers have a call operator even if
the wrapped object isn't callable.
Change-Id: I02d96712418f55470034098caab5a61f687194ac
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Because the operator is always accessing data which has a branch is can be
much slower than iterators. SmallString is optimized for performance so
it would be quite misleading to have a non performing access operator.
Change-Id: Id882c3c12508afa393ce0766bbb680690a193c95
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
HasAllocated it misleading because it means that it has read only
references too. Maybe isPointing would be good too but so it is more
orthogonal to isReadOnlyReference.
Change-Id: I79aaa271aa302de2500c2ea81614e433d76f74ec
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
There is implicit knowledge that the reference is read only in the code
so we should honor that and make is explicit.
Change-Id: I0d6eab6595ae1414ad2607760a2e02fd49bafd72
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
...by removing the unneeded ProjectFileAdder. Its job is already done
earlier, so use the results.
Change-Id: Ifd865e6203ed6162a0d852c2128fb6d30208a52b
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
clang-format uses YAML for its configuration file. Thus the content has
to be properly reformated when used in a single line as command line
argument.
Task-number: QTCREATORBUG-15604
Change-Id: I867caf7ccb1f2f396677e2d0cd5335e5255e03ea
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
To HEAD of 1.4 branch. Should have happened as part of latest merge, but
did not for unknown reasons.
Change-Id: I2a999c8689166bb946a4fef94e30b16d7df8b887
Reviewed-by: Jake Petroules <jake.petroules@theqtcompany.com>
Do not hide virtual done() slot with done() signal.
Change-Id: Ic09439fdac2727f316f4a0983ffbd290f8555292
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
The QPainter::drawPixmap call does not modify the painter state.
Change-Id: I1cbae43e6531c9e3d2ae2d3cd1c2d77ce23c4c52
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
- QThread instead of std::thread for better integration with Qt
- Use thread pool for recycling threads
- Map and reduce functions are handled like any function passed
to runAsync, so they either report results through the
QFutureInterface, or through the return value.
- Automatically deduce the reduce result type
Change-Id: I7a31370c21f8c27b378cd87c3d5974b162449ce1
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
We cannot prefix the signals of the root item with the id.
Change-Id: I2be656492ae1eb1eef6fcf60821990a04aad985a
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
Both function are useful also outside of the navigator.
* void ensureAliasExport();
* bool isAliasExported() const;
Change-Id: I46331cae01573e990b5d1a03095c2903dbc95665
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
The designer will now jump to an existing signal handler.
If no signal handler does exist a dialog that allows to
add a new one is opened.
Task-number: QTCREATORBUG-14815
Change-Id: Iefdbec0aa8c2aeca95a0eb4c6b24d84adc357654
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
This is a dialog that lets the user choose a possible signal handler.
Change-Id: I22192edf130a96b3b9ffd69346f4df60f4870a69
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
This patch implements a visitor that looks for signal handlers.
We specify a file, a type name and an id.
The visitor is checking for signal handlers like this:
filename.qml:
TypeName {
id.onAnySignal: {}
}
Change-Id: I35c7dd840c7c7298d393bf131c50b206b2f2544c
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
It's hard to find entries in long lists when they're not filtered.
Change-Id: I4172b7f4d8d99c61f2e48232f655bf4ffbae34fd
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
m_dhKey pointer has been used for debug output just after
resetting it to nullptr.
Change-Id: I1aa4e16b19c7a16738b7734423277cf7eecd8054
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>