aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/utils/utilsicons.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Android, McuSupport: Change "download" icons to "online"Alessandro Portale2020-06-261-0/+2
| | | | | | | | | The download icon might suggest that clicking that button causes an automated download/installation. Since we have similar automation in the Android settings, that could be misleading. Change-Id: Ia1e4f1cfe15f79daf090546ee7c991f93b23fd13 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Android: use QListWidget to show defined NDKsAssam Boudjelthia2020-03-161-0/+2
| | | | | | | | | | Use QListWidget to show all installed NDKs (from SDK manager), and NDKs Added manually by the user. Each item has an icon to indicate if it's removable when added by the user, or non-removable if installed from the SDK manager. Change-Id: I26ae5909ce930d5cc8af561b6b4e9cc5415d12f1 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Utils: Add a non-toolbar variant of the "RELOAD" iconAlessandro Portale2020-02-071-0/+2
| | | | | | | | New icon is: Utils::Icons::RELOAD. And the toolbar variant is now Utils::Icons::RELOAD_TOOLBAR. Change-Id: I811d83c7340a717968430ac1ce4a5c708c8ddcf9 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Utils: Fix theming color role of Utils::Icons::OKAlessandro Portale2019-12-181-1/+1
| | | | | | | | | Needs to be Theme::IconsRunColor instead of Theme::IconsRunToolBarColor. See plugin dialog, where the "loaded" check mark is now less pale in the default theme. Change-Id: I5dc63908fecdb95fecfee282127e084336609ccc Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Utils/Android: Add themable, DPI-endabled Download icon to Utils::IconsAlessandro Portale2019-08-261-0/+3
| | | | | | | And use it in AdroidSettingsDialog Change-Id: Ia847b6df0e5ab26fc02157f888565a3e6d86bb34 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Utils: Add an "online" iconAlessandro Portale2019-07-311-0/+2
| | | | | | | | ..and use it in the Help plugin to open online help. Change-Id: Ic84c63257a08b3c2ac76bedc0db04f297f695291 Reviewed-by: Tasuku Suzuki <tasuku.suzuki@qbc.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Remove excess blank lines after namespaceOrgad Shaneh2019-05-271-1/+0
| | | | | Change-Id: I4e4f83017f2bfc2cf842c4c971ed4b05e0447e6a Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* LanguageClient: Use empty icon for unknown completion item kindNikolai Kosjar2019-05-081-0/+4
| | | | | | | | | | | | | ...instead of a null icon. Without this, a completion item gets no icon and looks misaligned between items with icons. For example, for the completion item "size_t" (a typedef) clangd reports a completion kind of "Reference", for which we do not have a dedicated icon. Change-Id: Ibba658d6bfb958bb34747e3f57514af49f5427b0 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* Add path completion to .pro and CMakeLists.txt editorsDaniel Teske2019-04-251-0/+5
| | | | | | | Finished-by: Christian Kandeler <christian.kandeler@qt.io> Fixes: QTCREATORBUG-5915 Change-Id: Ic5cdcbf33252ddab10c247439c06b0c1e35bef0d Reviewed-by: David Schulz <david.schulz@qt.io>
* Core: Turn progress detail expander into a real iconAlessandro Portale2019-04-111-0/+2
| | | | | Change-Id: Ie6173cc041b96cd10879189bedce1104cdbe7a33 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Autotest: Move "sort alphabetically" icon to utilsAlessandro Portale2019-04-091-0/+3
| | | | | | | Make it available for others. Change-Id: I2f167b82127ea7142b8185f0ec0402f1d054d06c Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Allow pinning files to ensure that they are always openMitch Curtis2019-04-031-0/+2
| | | | | | | | | | | | | | | | | | | This patch allows pinning files within a session. Pinning a file puts it at the top of the Open Documents list, and prevents Close All from closing it until it is unpinned. This is useful for files that should always be open for a given session. [ChangeLog] Files can now be pinned via the context menu. Pinning a file keeps it at the top of the Open Documents list, and prevents Close All and similar actions from closing it until it is unpinned. This provides a way to quickly close any open files without closing important ones. Change-Id: If47a599fb272db4c78a71eabe6fb29215a9a8a11 Fixes: QTCREATORBUG-21899 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Utils: Add a "settings" iconAlessandro Portale2019-03-071-0/+2
| | | | | Change-Id: I2f6a7cd6dd6cbf7fefe1a5ace304321c2674e55f Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Add macOS touch bar supportEike Ziller2019-01-151-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce a generic Utils::TouchBar that implements a touch bar for macOS based on QAction. Touch bars can be nested, and one is set to be the application's top level touch bar. Also add an ActionContainer for the touch bar. That allows us to manage the layout of the touch bar the same way we do with menus. Since the touch bar is an input device with very limited space, a command in the touch bar needs to be specifically styled for the touch bar by setting either touchBarText or touchBarIcon (or both). Touch bars can be nested by nesting the ActionContainers. A nested touch bar ActionContainer needs to specify an icon and/or text to show in the touch bar button that opens that sub-bar. Commands are only shown in the touch bar if they are valid within the current context. Implementation-wise we cannot use the standard NSPopoverTouchBarItem for nesting touch bar levels. We cannot hide items in the touch bar, because hidden items still take up space in the touch bar. So we need to rebuild the touch bar regularly. Since the items we show are very dynamic, every time the items in the toplevel bar change because of a context change, any opened sub-level touch bar closes. That is why we maintain a stack of touch bar levels ourselves, replacing the main touch bar with the current level, and managing opening and closing the levels manually. This patch adds buttons for Help, Bookmarks, Header/Source, Follow (Symbol), Decl/Def, and a sub-bar for the debugger actions. Fixes: QTCREATORBUG-21263 Change-Id: Ib63e610f21a993f1d324fe23c83a7f2224f434ac Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
* Utils: move code model icons to utilsDavid Schulz2018-08-061-0/+190
| | | | | | | In preperation for the language server protocol support. Change-Id: Iee4ccd53a86d9afdb357972ea62b75ace2edcb1d Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Utils: Remove superfluous qualificationsOrgad Shaneh2018-07-191-2/+2
| | | | | Change-Id: I36e17dac0cff87f82f0ddaf97bc613389110f218 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Utils: Separate the filter icon from the expand arrowAlessandro Portale2018-06-271-1/+2
| | | | | | | ...so that the filter funnel can be used stand-alone Change-Id: Ic8675954edd4234f84de8caffedd1a67b67b2edd Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* TextEditor: Move the fixit light bulb to UtilsAlessandro Portale2018-04-131-5/+4
| | | | | Change-Id: I3128c0363737980a77fa780601f0b245d01540ad Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
* ClangTools: Split generic part from static analyzer toolIvan Donchevskii2018-04-131-1/+5
| | | | | | | | To reuse it for other clang-based tools. Change-Id: I6c0d8e9eee543fa08faf3bf93c9fac33e43c6820 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Utils: Remove the unused and invalid Utils::Icons::DARK_CLOSEAlessandro Portale2018-04-091-2/+0
| | | | | | | | The icon is not used anywhere and the :/utils/images/darkclose.png it depends on does not exist. Change-Id: I3f2bd5e4cd13ad4d19baf9e691897b81cd3b0629 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Add "New Search" tool button to search results paneEike Ziller2018-03-091-0/+3
| | | | | | Task-number: QTCREATORBUG-17870 Change-Id: If939e71cb74b5a0b6811e435b02e86c5053bd067 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Merge remote-tracking branch 'origin/4.6'Eike Ziller2018-03-051-0/+2
|\ | | | | | | Change-Id: I421af2d62994436782dab6d37e97622bd055ed44
| * utils: Let the link icon have a LINK and a LINK_TOOLBAR versionAlessandro Portale2018-03-021-0/+2
| | | | | | | | | | | | Change-Id: I910d491f7f5ac47c55c966f687b004c0e0793c5f Change-Id: I910d491f7f5ac47c55c966f687b004c0e0793c5e Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | Add SVG multi exportFriedemann Kleint2018-02-141-0/+6
|/ | | | | | | | | | | | Add a second SVG export option that allows for exporting a series of icons of various size in one go. A dialog is shown that allows for entering a file name pattern with place holders and a list of sizes. Change-Id: Ic644a9d402aa44af5899c29cf83051fdd7bba3d1 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Diana de Sousa <diana.desousa@theqtcompany.com> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Utils: add a toolbar variant for the OPENFILE iconAlessandro Portale2018-02-131-0/+2
| | | | | Change-Id: I745e47b6bfe5cce8e04014f2666c3388fafeea3c Reviewed-by: hjk <hjk@qt.io>
* Utils: Remove directory iconChristian Stenger2018-01-081-2/+0
| | | | | | | | This icon had been moved already, but its declaration and definition were still present. Change-Id: I7e0f5cc91f83ac19e9bba9838b1fbc4d7258c6c7 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Utils: Move code model icons to utilsDavid Schulz2017-11-161-0/+9
| | | | | | | | Using the already established icons for code model errors and warnings to Utils to mak them accessible for other code models. Change-Id: If9f8efde60cf20411e043aeb2831a9254398bcaf Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Add icons to file system view directory selectorEike Ziller2017-10-111-0/+5
| | | | | | Change-Id: I0b6451d7f68fae93e0b140aaea030c88ec1a8801 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Utils: Add an icon for "Project"Alessandro Portale2017-10-101-0/+2
| | | | | | | | Whether it is should be the wrench or the screw-nut is currently unclear. Let's make it a wrench for now. Change-Id: I8688e808dab0f522d7fee59885ae443ea0b67db1 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Utils: Introduce the empty16 iconAlessandro Portale2017-07-241-0/+1
| | | | | | | Empty14 is sometimes simply 2 pixels too small. Change-Id: Ia711f4d17388a51999d056ffff1ed4089e8d4819 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* TextEditor: add right sidebarSerhii Moroz2017-03-091-4/+8
| | | | | | | | Task-number: QTCREATORBUG-9436 Change-Id: Ic0406758a30d52c22c58433f5f35305b798cb462 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: André Hartmann <aha_1980@gmx.de>
* Utils: move pan icon from scxml to utilsAlessandro Portale2017-01-271-0/+2
| | | | | | | | It will also be used in Qt Quick Designer Change-Id: Id4e16f417c5faf8baf9437c0d4845397f3ddb4fc Reviewed-by: Marco Benelli <marco.benelli@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Rename the "ERROR" icon to "CRITICAL"Ulf Hermann2017-01-021-2/+2
| | | | | | | | | | | | | We mostly use this icon in terms of showing messages which might be informational, warnings, or errors. We cannot call the icon "ERROR" as that clashes with some macro on windows. To be more inline with Qt's predefined messaging macros (qDebug(), qInfo(), qWarning(), qCritical(), qFatal()), we rename the icon to "CRITICAL" and regroup the entries in the header to suggest this usage. Change-Id: I89880919d7ca54ea9c86de384eb29f375bf3075f Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Utils: Add a toolbar variant for the edit_clear iconAlessandro Portale2016-12-231-0/+2
| | | | | Change-Id: I7236e37c1944f5f9d2334f1dc676c347a2b890ef Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Utils: Create _TOOLBAR variants of some standard iconsAlessandro Portale2016-12-121-0/+10
| | | | | | | | And use these in scxmleditor. qmldesigner will also use them. Change-Id: Ifd057531873a8cb8da3d6e033fbf606f17638c3e Reviewed-by: Marco Benelli <marco.benelli@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Utils: New "Fit to view" iconAlessandro Portale2016-10-251-0/+2
| | | | | Change-Id: I2592cb79a8dd7bad100c466cb45cf30039bace18 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Utils: "Zoom in" and "Zoom out" iconsAlessandro Portale2016-10-241-0/+6
| | | | | Change-Id: I596cde174d63e23cf29c4d528c6b3b9b70e17aaa Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Utils: Add a "snapshot" iconAlessandro Portale2016-10-181-0/+2
| | | | | Change-Id: Ife531bb493aa22db660e73d9e5b89bc882fac610 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Utils: HighDPI-able, themable filenew and open iconsAlessandro Portale2016-10-131-4/+4
| | | | | Change-Id: I1b9dc3393c6ec7965fbca42a561303ddc01201eb Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Utils: HighDPI and themable copy/cut/paste iconsAlessandro Portale2016-10-121-6/+6
| | | | | Change-Id: I7ff7ca17f719d1a94b9b4e841db4d8f01f2781d7 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Utils: HighDPI-able, themable undo and redo iconsAlessandro Portale2016-10-111-4/+4
| | | | | Change-Id: Id18c547636fe0577c3ef849e7208e430e53ffc7e Reviewed-by: hjk <hjk@qt.io>
* Utils: Unify the different Bookmark iconsAlessandro Portale2016-10-111-0/+6
| | | | | | | | | The variant in Bookmarks was left aligned, which is obsolete due to the textmark overview tooltip. Bookmarks and Help now use the same icon which is in Utils. Change-Id: I0f7899de2f7a8803aa8493659d2991ac13739144 Reviewed-by: David Schulz <david.schulz@qt.io>
* ProjectExplorer: Show kit warnings and errors as overlayAlessandro Portale2016-10-071-3/+9
| | | | | | | Instead of having kits just a big warning or error icon Change-Id: I5b1c72c3c6ddd4cb646125c70d979431166d31f2 Reviewed-by: hjk <hjk@qt.io>
* ProjectExplorer: Icon for enabling kits in the project modeAlessandro Portale2016-09-291-0/+3
| | | | | | | Disabled kit icon plus small "+" overlay. Change-Id: I58df0da662baf9977382733e8d003766bd232281 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Utils: Remove the shadow from the non-toolbar PLUS iconAlessandro Portale2016-09-281-1/+1
| | | | | Change-Id: If5de4265689770b97661d9da42dd001f55b31b37 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Projects mode: Make plus icon dark and get rid of branch indicatorsEike Ziller2016-09-211-1/+3
| | | | | | | | | | The PLUS icon was actually PLUS_TOOLBAR, so name it that way and add an actual PLUS icon. Remove the drawing of the branch indicators from the kit tree view by overriding the method that does it. Change-Id: I395e5187c1738faaee3e122b4f3f359261b514d7 Reviewed-by: hjk <hjk@qt.io>
* Fix wrong icon pathEike Ziller2016-08-231-0/+1
| | | | | | | Regression introduced by 15fbfaf2e94b72cfd54bb0bd6f2b9ab87b870795 Change-Id: I795519fbf8f0370399583af8268bb4cc6bd3530d Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Utils: Move icon construction out-of-lineAlessandro Portale2016-08-121-0/+183
Saves several k object data per file. Change-Id: Id73c3c88cb2ccd78cce68bd5db04bf0725f99d91 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>