- Slider size is adjusted
- Zoom actions are available
- Spinbox controls and labels are aligned to right
- Control styles are modified
find better style for the controls
Task-number: QDS-9079
Change-Id: I3fa376102d71ea6f904e72de1e6cc2f50ad1c8b6
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
The scope of fix_value function seems to be to just escape some
sequences. This, replace "\n" with "\\n".
Also fix three related translation sources in qtcreator_de.ts.
Change-Id: I1d4177d99a8f60757e5e17fb7f56960f522be728
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
The check was trying to find out if the Qt Creator installation is part
of the online installer or a Qt installer, by checking if there are
install settings without the key "Settings/InstallSettings".
Since we made Qt Creator optional in the installer, the install settings
contain that redirection key anyway, so it is no longer an indicator for
Qt Creator being part of the online or an Qt installer anymore.
Actually the check now _disables_ the Link with Qt button for the
commercial Qt Creator offline installer on macOS, because that ships
install settings that add the plugin path to the commercial plugins
outside the Qt Creator app bundle, but does not contain "Settings/
InstallSettings".
Just remove the check.
Change-Id: I88c3ef007a728dff0f4214e5a5683ffcede23796
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
Make some entries more specific. Add articles to increase
readability and make the change log look more polished.
Change-Id: I0d24f1498af59ee47a9ff6442ca1f0627909f65d
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
The style for slider is overridden in ManhattanStyle.
SeekSlider is modified.
Task-number: QDS-9134
Change-Id: Ib96413f2bb7918d611adf4fc19c184efae1c4f4c
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
When selection changes in material browser, the browser grid is
scrolled so that the selected item is visible.
Fixes: QDS-9010
Change-Id: Ie6f4383b0c8add2965fc42ffdf740effdf02fa67
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Create std::string explicitly using pointer to data and data size.
SmallVectorImpl<char> doesn't include terminating \0, so passing
data size is needed.
Fixes: QTCREATORBUG-28812
Change-Id: I63bd290e990ec8e4cd4fb609764a79e6feff92bc
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Tooltips in assets and material browser views now show correct
dimensions for ktx files. Dimensions are read from ktx file header.
Task-number: QDS-8851
Change-Id: Ia9ce195eba43e7a8d4fc9e4a980c3c56e75108b4
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
This ensures that users who explcily enabled the mode bar,
still get a hidden mode bar, unless they explicitly enable it
again.
Change-Id: I491dc1809b4cffa2637919c1c4ac35cef1e27ccc
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
As discussed we store examples in: QtDesignStudio/examples.
We already habe an option and UI to change the folder.
Change-Id: Ib8a313e94f6782ead75fcca958d7aa32a99bb8ea
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Path macros were expanded when applying new paths in the
McuSupport options widget, but not when pushing the reset button.
This resulted in paths like {Env:PROGRAMFILES}/SEGGER/JLink,
which are displayed as an error in the UI. The reset-button is
now connected via a signal in McuPackage to the options widget,
since the macro expander is not accessible to the package object
directly.
Task-number: QTCREATORBUG-28500
Change-Id: I962c6eb83142be87e02debbf34f0602683fe6966
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Yasser Grimes <yasser.grimes@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Make it of std::optional<Utils::Link> type.
Use it for:
1. Removing duplicates
2. Showing link inside editor
Before, QVariant internalData was used in above cases.
Rationale:
1. Removing duplicates between results from different
ILocatorFilter makes only sense if accept() overload
for these filter types are the same (i.e. the implementation
is repeated). Otherwise, we are loosing some functionality
when some result is removed. Taking into account that
original intention was to eliminate duplicates for filters
where we do BaseFileFilter::openEditorAt() inside accept(),
we store linkForEditor in 3 cases (instead of storing
internalData):
- BaseFileFilter
- FileSystemFilter (only existing file case)
- OpenDocumentsFilter
We don't save a linkForEditor where we stored QString
inside internalData in the following cases:
- JavaScriptFilter
- FileSystemFilter (non existing file case)
Before, in above cases, we could have filtered out
some results unintentionally. This patch should fix it.
Now, we remove duplicates only for enties that have value
for linkForEditor.
2. Use directly linkForEditor, if exists, for opening editor.
This patch aims to decrease the number of different
responsibilities of internalData by 1.
Make 3rd arg of LocatorFilterEntry c'tor default.
Change-Id: I144c58661d7456bb5991f8077dc103272dfab194
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: David Schulz <david.schulz@qt.io>
Do not stop at the first statement of the script
when performing "normal" debug, stop at the first
break point instead.
Preserve the original behavior when debugging by
triggering "Start and Break on Main".
Task-number: QTCREATORBUG-28732
Change-Id: I3022071f28c086a2d0787ca5873e611f77e28369
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Prepare toolchains for usage. Basically parameterize function
to be used with more than one version and make use of it.
Change-Id: I30ee198302de54d933fa7c436e701273d497cc07
Reviewed-by: David Schulz <david.schulz@qt.io>
This allows to hide setting categories by id.
For example:
HideOptionCategories=C++, Debug, Designer, Kits, BuildAndRun, CPaster, LanguageClient, Version Control
Change-Id: Ifeacbf7885fc2d51ef262fdb8bbbfc81f52bce53
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
The focus grabber mouse area was interfering with mouse cursor on
controls under it. There is no need to have grabber cover the search
box, as clicking search box anyway moves focus.
Task-number: QDS-9163
Change-Id: Ie2487296914a893dfc658ff8178963233a50c467
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Ealier we state that nullptr should be used, and that is the current
policy.
Change-Id: Id462458f36893354a4f95e086d25a946f94b495e
Reviewed-by: hjk <hjk@qt.io>
The supported compiler are stated in the README, no sense in replicating
and maintaining that information here.
Back then it made sense to differentiate between "C++" and "advanced C+
+(11/14), but nowadays that separation is artificial, it all is "C++
features".
Change-Id: If67274566776ccd37bd20e925531405628edeb47
Reviewed-by: hjk <hjk@qt.io>
.clang-format contains some disallowed values for some fields. These
fields are corrected according to ClangFormatStyleOptions.
Change-Id: I32a40cdfeabee550ebf23f6c9cb3d1fafc3b764b
Reviewed-by: Eike Ziller <eike.ziller@qt.io>