Instead of the transparency button, the eye-open icon should be clicked
to hide items on the canvas.
Change-Id: Ica44241a1ea129f24f97cdae58355d14bce79d61
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
The viewTimePerPixel needs to be adapted then.
Change-Id: Ie057c780cc75099f1b9df18c79c5e133411ef8e6
Fixes: QTCREATORBUG-22094
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
The Raise and Lower buttons were removed from the toolbar, so
describe the respective context-menu commands instead.
Change-Id: Iaa00d0b627674f901978404083762e19bb4fb625
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Since 4.9, the listed functions are supported in Qt Quick UI forms,
but the message text has not been updated. It is translatable, so
it will be updated in master.
Change-Id: I724ffa72bbd78bf9b8d9b5b5ec2136c2d72859a9
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
- Add section headings
- Describe the context menu for the open file
- Add screen shot of the Text Encoding dialog
Change-Id: Ic2196855321eee6a8f742cd6dc8f8e316b976cdf
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This allows to take changed detection settings or added/removed
compilers into account without restarting Qt Creator.
It is also the only way to get rid of formerly auto-detected compilers
that would not get detected anymore with the current settings.
Change-Id: I3d8a7659e24fa5d55d1fb17864386cf19d3e2533
Reviewed-by: hjk <hjk@qt.io>
There might not be a project and therefore, ProjectExplorer might never
send the updateRunActions() signal.
Fixes: QTCREATORBUG-22256
Change-Id: I2705fb22484b491a7a4985179eb6b5a26a921902
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
When selecting an item that has no equivalent in the statistics view, we
should just clear the statistics view's selection.
Fixes: QTCREATORBUG-22262
Change-Id: Id43a46859ab33285fdfb1beafe7137e1bbb3b362
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
That blows up the toolchain list on Unix systems, and is usually not
what users want. Those who do can opt in.
Fixes: QTCREATORBUG-20044
Change-Id: I6a4ef26ff5f0aaddc660cccf59283c6e8c4bdb64
Reviewed-by: hjk <hjk@qt.io>
You can easily just ignore the check box when using a wizard to
create a project, but the main.qml file cannot be opened in the
Form Editor if Qt Virtual Keyboard has not been installed.
Change-Id: I88355efa3ad28e5485a944865a722e31db372071
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
We used to get the following when marking a first or second level entry:
QStackedWidget::setCurrentWidget: widget 0x0 not contained in stack
Change-Id: I2af19bbd767a218171cdaeb5e9bf4a3bf3db15dc
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
If a kit had no Qt configured the wizard for creating GTest projects
did not work even for build systems that did not need Qt (Qbs/CMake).
Json wizard needs some adaption before fixing this properly, so work
around this issue by specifying a common existing "feature".
Limiting the wizard for that case to desktop devices does no big
harm as the AutoTest plugin is currently limited to desktop anyhow.
Fixes: QTCREATORBUG-22264
Change-Id: I7a26f3cbc44762f7eda356128f6c25ca5cee6707
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
- Qt Quick Controls 1 has been removed and most link targets have
been changed
- Leave some link targets where links would break
- Leave strings that still have the "2" in Qt Creator
- Remove the obsolete dependency (QDoc complained about it)
Change-Id: I05148df3b07b4499f802557252c028b11ca29213
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
07645527a3 changed the order of these buttons
from:
zoomIn, zoomOut, settings
to:
zoomIn, settings, zoomOut
Restore the old order hereby, which is consistent
with the compile output pane.
Change-Id: Ieaff434b596ce1992b4b454e40083df83fbe54fd
Reviewed-by: hjk <hjk@qt.io>
The KDE paster has changed again and does no more work and
will be removed completely.
Change-Id: I0eb00076219559ff594671dd6b1c8de5eca22f8b
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
Dock widgets now get an ID representing the running
engine number additionally.
Change-Id: I8c9b6c1a2a92fb92e84b49d91ac1d3caeeb42411
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
The two-phase initialization of the tools is not needed, as the
second phase is called directly after construction.
Also, the settings objects' lifetime is identical to the tools,
no need to handle that dynamically.
Change-Id: Iedfe8a95d68f9a667ef60ad9a107d0bae142b2cc
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
The versionProbe() and autoDetectToolchains() functions had overlapping
responsibilities and were difficult to understand. They have now been
merged into a single function with a more sensible interface.
Functional improvements:
- MinGW compilers are no longer misdetected as plain GCC on Linux.
- Instead of only considering the first hit in PATH plus some
hardcoded locations, we now find all compilers in PATH.
Task-number: QTCREATORBUG-22160
Change-Id: Ide097e25e803d92e01f64d8c6091d21d649d7717
Reviewed-by: hjk <hjk@qt.io>
We used our own, hand-rolled filter model implementation for performance
reasons, but benchmarking shows no difference.
Change-Id: I076ffeffbd39b468308d48d23d15a69b966dbc23
Reviewed-by: hjk <hjk@qt.io>
Looks like the mainwindow cannot be convinced to handle multiple
sets of dockwidgets.
So switch back to a single set containing everything and keep
track of non-default visibility in the perspectives, and persist
these sets.
The following pass:
1.
Start Creator with new settings
Goto Debug Mode
Move Break dock widget to right, switch on Global log widget
Leave Creator
Start Creator
Goto Debug Mode
Check: Debugger Selected, Break on right, Global log visible
2.
Start Creator with new settings
Goto Debug Mode
Move Break dock widget to right, switch on Global log widget
Switch to QmlProfiler sub-perspective
Leave Creator
Start Creator
Goto Debug Mode
Check QmlProfiler selected
Switch to Debugger sub-perspective
Check: Debugger Selected, Break on right, Global log visible
3.
Start Creator with new settings
Use any C++ test project
Start debugging / stop at main() (F10)
Wait for stop
Switch to Edit mode
Switch back to Debug mode
Check: Only "running" debugger dock widget layout present
(not the normal + preset at the same time)
Quit Qt Creator while this debugger is running
Check: Shuts down without crash
4.
Use any C++ test project
Start debugging
Switch to Debugger Preset perspective
Start a second debugger
Kill either instance
Check: Application dies, Debugger Preset perspective gets displayed
Switch to perspective of second instance
Check: Perspective looks ok (docks visible as before)
Task-number: QTCREATORBUG-21083
Task-number: QTCREATORBUG-21669
Task-number: QTCREATORBUG-21668
Task-number: QTCREATORBUG-21813
Task-number: QTCREATORBUG-21851
Task-number: QTCREATORBUG-22110
Task-number: QTCREATORBUG-22169
Task-number: QTCREATORBUG-22189
Change-Id: Ic9eb41ff7699ac0f48a85e68376daa80b2b6847e
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Let's use the same approach we have for CMake projects by using
the same TreeScanner class.
Compilation database does not have a concept of the root directory
so let's show a file dialog and ask for it the first time the project
is loaded. Next times we open it we take this path from settings.
This root path can later be changed from the project tree context menu.
Fixes: QTCREATORBUG-22031
Change-Id: I151aed8d0504b2e8aa14aa774cad25f8c86d5c17
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: hjk <hjk@qt.io>
Task-number: QTCREATORBUG-22244
Change-Id: I38c6527269ba553c0e4734c437f5a6918da729a3
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Aleksei German <aleksei.german@qt.io>
It's the only user, and single inheritance for feature reuse is an
antipattern.
Change-Id: I975861d111cec67fb2dbf94e38bd824d18a0c8d0
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
When "expanding" directories, we must remove the directory itself from
the list of deployables. This was broken in f4a12d488c.
Fixes: QTCREATORBUG-22210
Change-Id: I0946aa83cb34aaca01520f19e2aaf3414ae2db17
Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
QLabel has a horizontal size policy of "Preferred", but if the label is
word-wrapped, the sizeHint is a using a golden ratio for width & height,
but we want the label to grab as much horizontal space as it gets
anyhow.
Change-Id: I6ed049f4f23158014dc04f2d5020b7c2dd4c1980
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>