Some icons introduce their own .pngs, and some reuse existing ones.
Change-Id: Ib909d4bb718d1e3fafa70ef72baa29ef2657d023
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Just as png in the resources, not as Utils::Icon. Other icons will use
the image as overly.
Change-Id: I4c44bb5eb7472a7297692bf95a3030b7843b6de1
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
If the whole file is included, the copyright statement is printed
in the HTML file (and we don't want that).
Change-Id: I341c658182745facd000c6ad7ce073c1a37caded
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
The files retrieved by calling Project::files() with this flag show up
in the locator, in search results etc. So only consider files that we
know to be human-readable.
Task-number: QTCREATORBUG-17382
Change-Id: I7a66159e67207a09adb57b0c5584b0b067fd1fca
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
If a new file is added, it is connected to the updateExternalFileWarning
slot before the project tree is refreshed, and is not disconnected until
closing and re-opening it.
Task-number: QTCREATORBUG-17743
Change-Id: Icc7e3fe547a698d6f63116ca148cf1f4f8b60777
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
No need to use two filters with a temporary list when the
task can be done in one go.
Change-Id: I96468099eb28c9698dbc637e432a38071d054e39
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
If already the parent is invisible do not select an item.
Change-Id: I0ec667314ae7446cda5ed1f0eaa9234ab419de8c
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
The prev, next and add actions are now also visible
in the form editor toolbar.
Change-Id: I8aff49fd4544b95c9e88c3561c3ea4d59c6dd2e0
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
There is no line 0, so if the document is already open, the editor
won't move to the beginning. Use line 1 instead, so that we jump to the
location of the corresponding text mark.
Change-Id: I0c5605d2d48b02d73dd97ddc87a527cf1b5dba8f
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
A string literal cannot be used to return a QString.
Change-Id: I32d7515808342552b1b5328c2d0c754a9f94c2a2
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
We never do anything useful with it. This relieves us from the need to
keep the manager around in the QML model and decouples them.
Change-Id: If58fc147b86b07f533aeaaa896f3416d4c0ef6bb
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This is the place where we need it most. In addition, this allows us to
use the DetailsRewriter's cache also on gotoSourceLocation.
Change-Id: I14e0f11ba7c8a2a3888b2e8439a375068b36e29a
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This is the logical place to do it. Adding the event first to the QML
model and then passing it back to the manager in order to have it
dispatched to the other models is somewhat backwards.
Change-Id: I64b1cb38f97331b62d83fa5ae49b9b2690810d40
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Add new API's to extend iOS simulator support in Qt Creator
Task-number: QTCREATORBUG-17602
Change-Id: I7e949762a7740f2ffb927f25f327b3e82cd8e180
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Less code, closer to the place where it is used, and
avoiding the need to have the temporary fileNode lists.
Change-Id: I47b831aef7583b73a69276da4a301d812de75c69
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Less code, and avoiding the need to have the temporary
file and folder node lists.
Change-Id: I65e1a7ec022b61f94b01e1e8476bb932d22fd161
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
The actions are not really related to the form editor anymore.
Some categories are empty.
We moved the toolbar out of the form editor.
Change-Id: I3616122513b1aceef2101c177ab9e8e9c8908fcb
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Before it was done in DesignModeWidget and the design mode had to be
opened once to show the actions in the Qt Creator options.
Change-Id: I62de2dcab66149b8470261002b019894fb345c8b
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This allows to show certain actions inside the selection label.
This is useful for context dependent actions that do not belong
in the general toolbar and gives those actiosn visibility.
Change-Id: I24499d760556c5a60e108f847d39e645b8ee692f
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
There are now 3 options for QML translations in the options.
* qsTr (default)
* qsTrId
* qsTranslate
In case of qsTranslate the context is preserved when editing the text
and the context can be changed by setting a binding on the text property.
Task-number: QTCREATORBUG-17714
Change-Id: Ied2ccb84d98d99d5b920fe47ee6d8cb67ff2bd5b
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Utils::FancyLineEdit is usually used for filter fields, since it already
has the "Filter" place holder and a nice clear button.
Change-Id: Ifc6244129f5b47ba29dd0d421f3c69f5e21e8aac
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Serhii Moroz <frost.asm@gmail.com>
There is no need to reimplement qBound.
Change-Id: I3b753f30bd183392bef88810228c2153a5edbdb5
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Instead of "Android for armabi-v7a (GCC 4.9, Qt 5.7.1)" this gives
"Android for armabi-v7a (GCC 4.9, Qt 5.7.1 (android_armv7-project)"
which isn't exactly nice for the double parenthesis, but necessary
to maintain basic sanity with project specific Qt builds.
Change-Id: I2d41334a7f1ff28dc056d5967abe2b4b8697b63d
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
The parser nodes do not need to represent the actual project
tree, so there is no need to keep the tree-structure. Store
the list of files instead.
Change-Id: I83e036d4b9b42e4186b4ef23ac573865942ee97e
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>