Don't call cancel() for the task tree runner - the next
call to start() will reset it anyway, what will be faster.
Change-Id: Ib0aae67ab6ec9bc3835931e0b20b0e4cb381cf35
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Helps thinking about menu and parent lifetime.
Change-Id: I120a16b4ebbd92187c5e8e78bd7da4ee9f2b115d
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Add option to explicitly check for pattern file://path
and file://path:line which can be provided by the
test code to improve the location information of
qDebug() and friends.
Task-number: QTCREATORBUG-30143
Change-Id: I050ab544c0173769995f7c5e97c89b497ded9215
Reviewed-by: David Schulz <david.schulz@qt.io>
Replace custom OpenedDocument struct with custom deleter
of std::unique_ptr.
Change-Id: Ia7606fcad5337685aecae7c9dec064a5df4666fe
Reviewed-by: David Schulz <david.schulz@qt.io>
Replace the QMap with std::unordered_map.
Keep a std::unique_ptr to OpenedDocument as a hash value.
For clarity, declare Q_DISABLE_COPY_MOVE for OpenedDocument.
Change-Id: I46a0b486ea6bc1fd3d4014739a350ae587038dc8
Reviewed-by: David Schulz <david.schulz@qt.io>
The CDB Engine cannot report the hit count.
Instead of showing "0", we don't show the hit count
at all.
Task-number: QTCREATORBUG-20069
Change-Id: Ie8b5478ba85c7255b13070cb488599a2b2ca4537
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
..to avoid displaying old data when switching projects
or "unlinking" in general.
Change-Id: I35f6995f2b010402d78ac3f9d1ca3760138423c0
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Contrary to the web dashboard selecting a filter means explicitly
enabling this instead of disabling.
May change later with other UI improvements.
Change-Id: I83b32464a6d9bdab03dce78587962960900af08b
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
The "Text tokens" which are defined in Figma have an additional line
height value.
This change adds a getter function for the line heights.
Change-Id: I9513ac2f689292baf6e2c0a52fca8a1ec7f14dc1
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Figma designs have font sizes defined in pixels. We want to
define font sizes in points.
This change introduces the original font pixel size values from Figma
and provides the conversion to sensible point sizes.
Change-Id: Ic8356942a9bc033d2b5cd62863d2bd0a4cc6973b
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
The spacing tokens are defined by the design team and used
in the Figma design specifications.
Change-Id: I9930d1471ac04ffe6826b900d8154f873c6710a3
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This allows entries like toolbarBackgroundColor=background_Muted.
The code tries to resolve assignments until all colors are resolved
or in the last step no new color has been resolved.
Cycles are not resolved, but do not lead to issues.
In case some colors are not resolved we use the original code to assign
black and show an error message.
This also add the possibility to include ini files like this:
Includes="base.ini"
Change-Id: I31124a59dffca45d14b81d528ba7c88220e57577
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
MCU tooling is more strict about QmlProject properties from
Qt for MCUs 2.7, so leaving these properties in would trigger
several warnings
Change-Id: Ia251f74180493b6ff115218a237994886cf65379
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Yasser Grimes <yasser.grimes@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
The key is a pointer, so use QHash.
Simplify some lookups.
Change-Id: I3304d9cd8fd0456877d0f3fb66d2b872d23fa86a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
since the async highlighter implementation the parent is not a
TextDocument anymore, but a QTextDocument. Pass the required mimeType
via the SyntaxHighlighterRunner now to the SyntaxHighlighter.
Change-Id: I0afcbe68719195649b4b7040416a743cb01214df
Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io>
The key is a pointer type. Get rid of 2 double lookups.
Change-Id: I088325e7940091c9f8079bd466d8cbc37fd882e0
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
It looks like both key and value are the same pointers.
Change-Id: I38d006ada777d61df242dd0b82e9b622c0907cad
Reviewed-by: Eike Ziller <eike.ziller@qt.io>