Update Options dialog icons

A new set of scalable and themable icons with unified look as provided
by Diana.

Task-number: QTCREATORBUG-20325
Change-Id: I68498b034e9e43fbb61511a38d9c7fc0003ab076
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Alessandro Portale
2018-04-23 19:06:13 +02:00
parent 76312d7786
commit 4317e350f5
93 changed files with 646 additions and 42 deletions

View File

@@ -1,6 +1,7 @@
<RCC>
<qresource prefix="/autotest">
<file>images/autotest.png</file>
<file>images/settingscategory_autotest.png</file>
<file>images/settingscategory_autotest@2x.png</file>
<file>images/sort.png</file>
<file>images/sort@2x.png</file>
<file>images/leafsort.png</file>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 683 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 312 B

View File

@@ -282,7 +282,8 @@ TestSettingsPage::TestSettingsPage(const QSharedPointer<TestSettings> &settings)
setDisplayName(tr("General"));
setCategory(Constants::AUTOTEST_SETTINGS_CATEGORY);
setDisplayCategory(QCoreApplication::translate("AutoTest", Constants::AUTOTEST_SETTINGS_TR));
setCategoryIcon(Utils::Icon(":/autotest/images/autotest.png"));
setCategoryIcon(Utils::Icon({{":/autotest/images/settingscategory_autotest.png",
Utils::Theme::PanelTextColorDark}}, Utils::Icon::Tint));
}
TestSettingsPage::~TestSettingsPage()

View File

@@ -1,6 +1,6 @@
<RCC>
<qresource prefix="/beautifier">
<file>images/beautifier.png</file>
<file>images/beautifier@2x.png</file>
<file>images/settingscategory_beautifier.png</file>
<file>images/settingscategory_beautifier@2x.png</file>
</qresource>
</RCC>

View File

@@ -83,7 +83,8 @@ GeneralOptionsPage::GeneralOptionsPage(const QSharedPointer<GeneralSettings> &se
setDisplayName(tr("General"));
setCategory(Constants::OPTION_CATEGORY);
setDisplayCategory(QCoreApplication::translate("Beautifier", "Beautifier"));
setCategoryIcon(Utils::Icon(":/beautifier/images/beautifier.png"));
setCategoryIcon(Utils::Icon({{":/beautifier/images/settingscategory_beautifier.png",
Utils::Theme::PanelTextColorDark}}, Utils::Icon::Tint));
}
QWidget *GeneralOptionsPage::widget()

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 273 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 602 B

View File

@@ -36,6 +36,8 @@
#include "clangstaticanalyzerunittests.h"
#endif
#include <debugger/analyzer/analyzericons.h>
#include <utils/qtcassert.h>
#include <coreplugin/icore.h>
@@ -74,7 +76,7 @@ public:
"Clang Static Analyzer"));
setCategory("T.Analyzer");
setDisplayCategory(QCoreApplication::translate("Analyzer", "Analyzer"));
setCategoryIcon(Utils::Icon(":/images/analyzer_category.png"));
setCategoryIcon(Analyzer::Icons::SETTINGSCATEGORY_ANALYZER);
}
QWidget *widget()

View File

@@ -2,8 +2,9 @@
<qresource prefix="/core">
<file alias="images/qtcreatorlogo-big.png">images/logo/128/QtProject-qtcreator.png</file>
<file alias="images/qtcreatorlogo-big@2x.png">images/logo/256/QtProject-qtcreator.png</file>
<file>images/category_core.png</file>
<file>images/category_design.png</file>
<file>images/category_texteditor.png</file>
<file>images/settingscategory_core.png</file>
<file>images/settingscategory_core@2x.png</file>
<file>images/settingscategory_design.png</file>
<file>images/settingscategory_design@2x.png</file>
</qresource>
</RCC>

View File

@@ -54,7 +54,8 @@ GeneralSettings::GeneralSettings()
setDisplayName(tr("Interface"));
setCategory(Constants::SETTINGS_CATEGORY_CORE);
setDisplayCategory(QCoreApplication::translate("Core", "Environment"));
setCategoryIcon(Utils::Icon(":/core/images/category_core.png"));
setCategoryIcon(Utils::Icon({{":/core/images/settingscategory_core.png",
Utils::Theme::PanelTextColorDark}}, Utils::Icon::Tint));
}
static bool hasQmFilesForLocale(const QString &locale, const QString &creatorTrPath)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 573 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 195 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 243 B

View File

@@ -1,5 +1,6 @@
<RCC>
<qresource prefix="/cpaster">
<file>images/category_cpaster.png</file>
<file>images/settingscategory_cpaster.png</file>
<file>images/settingscategory_cpaster@2x.png</file>
</qresource>
</RCC>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 B

View File

@@ -69,7 +69,8 @@ SettingsPage::SettingsPage(const QSharedPointer<Settings> &settings, QObject *pa
setDisplayName(tr("General"));
setCategory(Constants::CPASTER_SETTINGS_CATEGORY);
setDisplayCategory(QCoreApplication::translate("CodePaster", "Code Pasting"));
setCategoryIcon(Utils::Icon(":/cpaster/images/category_cpaster.png"));
setCategoryIcon(Utils::Icon({{":/cpaster/images/settingscategory_cpaster.png",
Utils::Theme::PanelTextColorDark}}, Utils::Icon::Tint));
}
SettingsPage::~SettingsPage()

View File

@@ -165,7 +165,8 @@ CppCodeModelSettingsPage::CppCodeModelSettingsPage(QSharedPointer<CppCodeModelSe
setDisplayName(QCoreApplication::translate("CppTools",Constants::CPP_CODE_MODEL_SETTINGS_NAME));
setCategory(Constants::CPP_SETTINGS_CATEGORY);
setDisplayCategory(QCoreApplication::translate("CppTools", "C++"));
setCategoryIcon(Utils::Icon(":/cpptools/images/category_cpp.png"));
setCategoryIcon(Utils::Icon({{":/cpptools/images/settingscategory_cpp.png",
Utils::Theme::PanelTextColorDark}}, Utils::Icon::Tint));
}
QWidget *CppCodeModelSettingsPage::widget()

View File

@@ -1,5 +1,6 @@
<RCC>
<qresource prefix="/cpptools">
<file>images/category_cpp.png</file>
<file>images/settingscategory_cpp.png</file>
<file>images/settingscategory_cpp@2x.png</file>
</qresource>
</RCC>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 967 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 B

View File

@@ -12,6 +12,7 @@ SOURCES += \
HEADERS += \
$$PWD/analyzerconstants.h \
$$PWD/analyzericons.h \
$$PWD/analyzermanager.h \
$$PWD/analyzerrunconfigwidget.h \
$$PWD/analyzerutils.h \

View File

@@ -1,5 +1,6 @@
<RCC>
<qresource prefix="/">
<file>images/analyzer_category.png</file>
<file>images/settingscategory_analyzer.png</file>
<file>images/settingscategory_analyzer@2x.png</file>
</qresource>
</RCC>

View File

@@ -0,0 +1,37 @@
/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and The Qt Company. For licensing terms
** and conditions see https://www.qt.io/terms-conditions. For further
** information use the contact form at https://www.qt.io/contact-us.
**
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU
** General Public License version 3 as published by the Free Software
** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
** included in the packaging of this file. Please review the following
** information to ensure the GNU General Public License requirements will
** be met: https://www.gnu.org/licenses/gpl-3.0.html.
**
****************************************************************************/
#pragma once
#include <utils/icon.h>
namespace Analyzer {
namespace Icons {
const Utils::Icon SETTINGSCATEGORY_ANALYZER({
{":/images/settingscategory_analyzer.png", Utils::Theme::PanelTextColorDark}}, Utils::Icon::Tint);
} // namespace Icons
} // namespace Analyzer

Binary file not shown.

Before

Width:  |  Height:  |  Size: 957 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 B

View File

@@ -68,7 +68,8 @@ CommonOptionsPage::CommonOptionsPage(const QSharedPointer<GlobalDebuggerOptions>
setDisplayName(QCoreApplication::translate("Debugger", "General"));
setCategory(DEBUGGER_SETTINGS_CATEGORY);
setDisplayCategory(QCoreApplication::translate("Debugger", "Debugger"));
setCategoryIcon(Icon(":/debugger/images/category_debug.png"));
setCategoryIcon(Utils::Icon({{":/debugger/images/settingscategory_debugger.png",
Utils::Theme::PanelTextColorDark}}, Utils::Icon::Tint));
}
void CommonOptionsPage::apply()

View File

@@ -230,6 +230,7 @@ Project {
files: [
"analyzerbase.qrc",
"analyzerconstants.h",
"analyzericons.h",
"analyzermanager.h",
"analyzerrunconfigwidget.cpp",
"analyzerrunconfigwidget.h",

View File

@@ -1,6 +1,7 @@
<RCC>
<qresource prefix="/debugger">
<file>images/category_debug.png</file>
<file>images/settingscategory_debugger.png</file>
<file>images/settingscategory_debugger@2x.png</file>
<file>images/debugger_breakpoints.png</file>
<file>images/debugger_continue.png</file>
<file>images/debugger_continue@2x.png</file>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 226 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 410 B

View File

@@ -72,7 +72,8 @@ SettingsPageProvider::SettingsPageProvider(QObject *parent)
setCategory(Designer::Constants::SETTINGS_CATEGORY);
setDisplayCategory(QCoreApplication::translate("Designer",
Designer::Constants::SETTINGS_TR_CATEGORY));
setCategoryIcon(Utils::Icon(":/core/images/category_design.png"));
setCategoryIcon(Utils::Icon({{":/core/images/settingscategory_design.png",
Utils::Theme::PanelTextColorDark}}, Utils::Icon::Tint));
}
QList<Core::IOptionsPage *> SettingsPageProvider::pages() const

View File

@@ -1,5 +1,6 @@
<RCC>
<qresource prefix="/fakevim">
<file>images/category_fakevim.png</file>
<file>images/settingscategory_fakevim.png</file>
<file>images/settingscategory_fakevim@2x.png</file>
</qresource>
</RCC>

View File

@@ -364,7 +364,8 @@ public:
setDisplayName(Tr::tr("General"));
setCategory(SETTINGS_CATEGORY);
setDisplayCategory(Tr::tr("FakeVim"));
setCategoryIcon(Utils::Icon(":/fakevim/images/category_fakevim.png"));
setCategoryIcon(Utils::Icon({{":/fakevim/images/settingscategory_fakevim.png",
Utils::Theme::PanelTextColorDark}}, Utils::Icon::Tint));
}
QWidget *widget();

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 253 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 448 B

View File

@@ -55,7 +55,8 @@ GeneralSettingsPage::GeneralSettingsPage()
setDisplayName(tr("General"));
setCategory(Help::Constants::HELP_CATEGORY);
setDisplayCategory(QCoreApplication::translate("Help", "Help"));
setCategoryIcon(Utils::Icon(":/help/images/category_help.png"));
setCategoryIcon(Utils::Icon({{":/help/images/settingscategory_help.png",
Utils::Theme::PanelTextColorDark}}, Utils::Icon::Tint));
}
QWidget *GeneralSettingsPage::widget()

View File

@@ -1,6 +1,7 @@
<RCC>
<qresource prefix="/help">
<file>images/category_help.png</file>
<file>images/settingscategory_help.png</file>
<file>images/settingscategory_help@2x.png</file>
<file>images/mode_help.png</file>
<file>images/mode_help@2x.png</file>
<file>images/mode_help_mask.png</file>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 228 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 429 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 245 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 511 B

View File

@@ -1,5 +1,6 @@
<RCC>
<qresource prefix="/nim">
<file>images/nim.png</file>
<file>images/settingscategory_nim.png</file>
<file>images/settingscategory_nim@2x.png</file>
</qresource>
</RCC>

View File

@@ -34,7 +34,6 @@ namespace Constants {
const char C_NIMPROJECT_ID[] = "Nim.NimProject";
const char C_NIMEDITOR_ID[] = "Nim.NimEditor";
const char C_EDITOR_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("OpenWith::Editors", "Nim Editor");
const char C_NIM_ICON_PATH[] = ":/nim/images/nim.png";
// NimToolChain
const char C_NIMTOOLCHAIN_TYPEID[] = "Nim.NimToolChain";

View File

@@ -91,7 +91,8 @@ bool NimPlugin::initialize(const QStringList &arguments, QString *errorMessage)
void NimPlugin::extensionsInitialized()
{
// Add MIME overlay icons (these icons displayed at Project dock panel)
const QIcon icon((QLatin1String(Constants::C_NIM_ICON_PATH)));
const QIcon icon = Utils::Icon({{":/nim/images/settingscategory_nim.png",
Utils::Theme::PanelTextColorDark}}, Utils::Icon::Tint).icon();
if (!icon.isNull()) {
Core::FileIconProvider::registerIconOverlayForMimeType(icon, Constants::C_NIM_MIMETYPE);
Core::FileIconProvider::registerIconOverlayForMimeType(icon, Constants::C_NIM_SCRIPT_MIMETYPE);

View File

@@ -51,7 +51,8 @@ NimCodeStyleSettingsPage::NimCodeStyleSettingsPage(QWidget *parent)
setDisplayName(tr(Nim::Constants::C_NIMCODESTYLESETTINGSPAGE_DISPLAY));
setCategory(Nim::Constants::C_NIMCODESTYLESETTINGSPAGE_CATEGORY);
setDisplayCategory(tr("Nim"));
setCategoryIcon(Utils::Icon(Nim::Constants::C_NIM_ICON_PATH));
setCategoryIcon(Utils::Icon({{":/nim/images/settingscategory_nim.png",
Utils::Theme::PanelTextColorDark}}, Utils::Icon::Tint));
}
NimCodeStyleSettingsPage::~NimCodeStyleSettingsPage()

View File

@@ -42,7 +42,8 @@ DeviceSettingsPage::DeviceSettingsPage(QObject *parent)
setDisplayName(tr("Devices"));
setCategory(Constants::DEVICE_SETTINGS_CATEGORY);
setDisplayCategory(QCoreApplication::translate("ProjectExplorer", "Devices"));
setCategoryIcon(Utils::Icon(":/projectexplorer/images/MaemoDevice.png"));
setCategoryIcon(Utils::Icon({{":/projectexplorer/images/settingscategory_devices.png",
Utils::Theme::PanelTextColorDark}}, Utils::Icon::Tint));
}
QWidget *DeviceSettingsPage::widget()

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 187 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 253 B

View File

@@ -240,14 +240,12 @@ static KitOptionsPage *theKitOptionsPage = nullptr;
KitOptionsPage::KitOptionsPage()
{
theKitOptionsPage = this;
static const Utils::Icon categoryIcon({{":/projectexplorer/images/mode_project_mask.png",
Utils::Theme::PanelTextColorDark}},
Utils::Icon::Tint);
setId(Constants::KITS_SETTINGS_PAGE_ID);
setDisplayName(tr("Kits"));
setCategory(Constants::KITS_SETTINGS_CATEGORY);
setDisplayCategory(QCoreApplication::translate("ProjectExplorer", "Kits"));
setCategoryIcon(categoryIcon);
setCategoryIcon(Utils::Icon({{":/projectexplorer/images/settingscategory_kits.png",
Utils::Theme::PanelTextColorDark}}, Utils::Icon::Tint));
}
QWidget *KitOptionsPage::widget()

View File

@@ -1,6 +1,5 @@
<RCC>
<qresource prefix="/projectexplorer">
<file>images/category_buildrun.png</file>
<file>images/closetab.png</file>
<file>images/debugger_start.png</file>
<file>images/debugger_start@2x.png</file>
@@ -78,5 +77,11 @@
<file>images/fileoverlay_unknown@2x.png</file>
<file>images/cancelbuild_overlay.png</file>
<file>images/cancelbuild_overlay@2x.png</file>
<file>images/settingscategory_buildrun.png</file>
<file>images/settingscategory_buildrun@2x.png</file>
<file>images/settingscategory_devices.png</file>
<file>images/settingscategory_devices@2x.png</file>
<file>images/settingscategory_kits.png</file>
<file>images/settingscategory_kits@2x.png</file>
</qresource>
</RCC>

View File

@@ -191,7 +191,8 @@ ProjectExplorerSettingsPage::ProjectExplorerSettingsPage()
setDisplayName(tr("General"));
setCategory(Constants::BUILD_AND_RUN_SETTINGS_CATEGORY);
setDisplayCategory(QCoreApplication::translate("ProjectExplorer", "Build & Run"));
setCategoryIcon(Utils::Icon(":/projectexplorer/images/category_buildrun.png"));
setCategoryIcon(Utils::Icon({{":/projectexplorer/images/settingscategory_buildrun.png",
Utils::Theme::PanelTextColorDark}}, Utils::Icon::Tint));
}
QWidget *ProjectExplorerSettingsPage::widget()

Binary file not shown.

Before

Width:  |  Height:  |  Size: 876 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 416 B

View File

@@ -132,7 +132,8 @@ QmlJSCodeStyleSettingsPage::QmlJSCodeStyleSettingsPage(/*QSharedPointer<CppFileS
setDisplayName(QCoreApplication::translate("QmlJSTools", Constants::QML_JS_CODE_STYLE_SETTINGS_NAME));
setCategory(QmlJSEditor::Constants::SETTINGS_CATEGORY_QML);
setDisplayCategory(QCoreApplication::translate("QmlJSEditor", "Qt Quick"));
setCategoryIcon(Utils::Icon(":/qmljstools/images/category_qml.png"));
setCategoryIcon(Utils::Icon({{":/qmljstools/images/settingscategory_qml.png",
Utils::Theme::PanelTextColorDark}}, Utils::Icon::Tint));
}
QWidget *QmlJSCodeStyleSettingsPage::widget()

View File

@@ -1,5 +1,6 @@
<RCC>
<qresource prefix="/qmljstools">
<file>images/category_qml.png</file>
<file>images/settingscategory_qml.png</file>
<file>images/settingscategory_qml@2x.png</file>
</qresource>
</RCC>

View File

@@ -28,6 +28,8 @@
#include "qmlprofilerplugin.h"
#include "qmlprofilerconstants.h"
#include <debugger/analyzer/analyzericons.h>
namespace QmlProfiler {
namespace Internal {
@@ -37,7 +39,7 @@ QmlProfilerOptionsPage::QmlProfilerOptionsPage()
setDisplayName(tr("QML Profiler"));
setCategory("T.Analyzer");
setDisplayCategory(tr("Analyzer"));
setCategoryIcon(Utils::Icon(":/images/analyzer_category.png"));
setCategoryIcon(Analyzer::Icons::SETTINGSCATEGORY_ANALYZER);
}
QWidget *QmlProfilerOptionsPage::widget()

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 B

View File

@@ -2,5 +2,7 @@
<qresource prefix="/texteditor">
<file>images/finddocuments.png</file>
<file>images/snippet.png</file>
<file>images/settingscategory_texteditor.png</file>
<file>images/settingscategory_texteditor@2x.png</file>
</qresource>
</RCC>

View File

@@ -36,5 +36,6 @@ TextEditorOptionsPage::TextEditorOptionsPage(QObject *parent) :
{
setCategory(Constants::TEXT_EDITOR_SETTINGS_CATEGORY);
setDisplayCategory(QCoreApplication::translate("TextEditor", "Text Editor"));
setCategoryIcon(Utils::Icon(":/core/images/category_texteditor.png"));
setCategoryIcon(Utils::Icon({{":/texteditor/images/settingscategory_texteditor.png",
Utils::Theme::PanelTextColorDark}}, Utils::Icon::Tint));
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 165 B

View File

@@ -49,7 +49,8 @@ OptionsPage::OptionsPage(const Settings &settings, QObject *parent) :
setDisplayName(tr("To-Do"));
setCategory("To-Do");
setDisplayCategory(tr("To-Do"));
setCategoryIcon(Utils::Icon(":/todoplugin/images/todo.png"));
setCategoryIcon(Utils::Icon({{":/todoplugin/images/settingscategory_todo.png",
Utils::Theme::PanelTextColorDark}}, Utils::Icon::Tint));
}
void OptionsPage::setSettings(const Settings &settings)

View File

@@ -1,6 +1,7 @@
<RCC>
<qresource prefix="/todoplugin">
<file>images/todo.png</file>
<file>images/settingscategory_todo.png</file>
<file>images/settingscategory_todo@2x.png</file>
<file>images/tasklist@2x.png</file>
<file>images/tasklist.png</file>
<file>images/bug@2x.png</file>

View File

@@ -40,6 +40,7 @@
#include <coreplugin/icontext.h>
#include <coreplugin/icore.h>
#include <debugger/analyzer/analyzerrunconfigwidget.h>
#include <debugger/analyzer/analyzericons.h>
#include <projectexplorer/projectexplorer.h>
@@ -64,7 +65,7 @@ public:
setDisplayName(QCoreApplication::translate("Valgrind::Internal::ValgrindOptionsPage", "Valgrind"));
setCategory("T.Analyzer");
setDisplayCategory(QCoreApplication::translate("Analyzer", "Analyzer"));
setCategoryIcon(Utils::Icon(":/images/analyzer_category.png"));
setCategoryIcon(Analyzer::Icons::SETTINGSCATEGORY_ANALYZER);
}
QWidget *widget()

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1014 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 195 B

View File

@@ -1,6 +1,7 @@
<RCC>
<qresource prefix="/vcsbase">
<file>images/category_vcs.png</file>
<file>images/settingscategory_vcs.png</file>
<file>images/settingscategory_vcs@2x.png</file>
<file>images/diff_arrows.png</file>
<file>images/diff_arrows@2x.png</file>
<file>images/diff_documents.png</file>

View File

@@ -48,7 +48,8 @@ VcsBaseOptionsPage::VcsBaseOptionsPage(QObject *parent) : Core::IOptionsPage(par
{
setCategory(Constants::VCS_SETTINGS_CATEGORY);
setDisplayCategory(QCoreApplication::translate("VcsBase", "Version Control"));
setCategoryIcon(Utils::Icon(":/vcsbase/images/category_vcs.png"));
setCategoryIcon(Utils::Icon({{":/vcsbase/images/settingscategory_vcs.png",
Utils::Theme::PanelTextColorDark}}, Utils::Icon::Tint));
}
VcsBaseOptionsPage::~VcsBaseOptionsPage() = default;

View File

@@ -654,6 +654,14 @@
width="16"
id="backgroundRect"
style="display:inline;fill:#ffffff" />
<use
x="0"
y="0"
xlink:href="#backgroundRect"
id="backgroundRect_24"
width="100%"
height="100%"
transform="matrix(1.5,0,0,1.5,0,-242)" />
<rect
y="452"
x="-16"
@@ -2780,6 +2788,525 @@
transform="translate(60,0)"
width="100%"
height="100%" />
<g
id="src/plugins/coreplugin/images/settingscategory_core"
transform="translate(-364,-84)">
<use
transform="translate(904,148)"
height="100%"
width="100%"
id="use3820"
xlink:href="#backgroundRect_24"
y="0"
x="0" />
<rect
rx="1.5"
y="564.5"
x="884.5"
height="12"
width="15"
id="rect3852"
style="fill:none;stroke:#000000" />
<path
style="fill:#000000"
d="m 890,577 -1.5,3 h 7 l -1.5,-3 z"
id="path3858"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccc" />
</g>
<g
id="src/plugins/texteditor/images/settingscategory_texteditor"
transform="translate(-13)">
<use
x="0"
y="0"
xlink:href="#backgroundRect_24"
id="use3820-1"
width="100%"
height="100%"
transform="translate(578,64)"
style="display:inline" />
<path
inkscape:connector-curvature="0"
id="rect5233"
d="m 559,481 v 14 h 14 v -14 z m 2,2 h 10 v 1 h -10 z m 0,2 h 10 v 1 h -10 z m 0,2 h 8 v 1 h -8 z m 0,2 h 10 v 1 h -10 z m 0,2 h 8 v 1 h -8 z"
style="fill:#000000" />
</g>
<g
id="src/plugins/fakevim/images/settingscategory_fakevim"
transform="translate(-346,-84)">
<use
x="0"
y="0"
xlink:href="#backgroundRect_24"
id="use3820-1-8"
width="100%"
height="100%"
transform="translate(936,148)"
style="display:inline" />
<path
inkscape:connector-curvature="0"
id="path5293"
d="m 916,572 8,-8 8,8 -8,8 -8,-8"
style="fill:#b3b3b3" />
<path
style="fill:#ffffff"
d="m 925.5,564.5 h 6.5 v 1.75 L 920.25,578 h -2.75 v -11.5 h -1 v -2 h 7 v 2 h -1 v 3.25 l 3.25,-3.25 h -0.25 v -2"
id="path7764"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccccccccccccc" />
<path
inkscape:connector-curvature="0"
id="path7766"
d="m 931.5,565 v 1 L 920,577.5 h -2 V 566 h -1 v -1 h 6 v 1 h -1 v 5 l 5,-5 h -1 v -1 z"
style="fill:#000000"
sodipodi:nodetypes="ccccccccccccccc" />
<path
style="opacity:0.85;fill:#ffffff"
d="m 916,574.5 h 5 v 0.77903 c 2.5,0 3,0.22097 3.5,1.72097 v -2.5 h 2 v 1.5 l 1.25,-1.25 0.75,0.75 c 0.5,-0.5 2,-0.5 3.5,-0.5 v 5 h -16 v -5.5"
id="path6126"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccccccccccc" />
<path
id="path6116"
style="fill:none;stroke:#000000"
d="m 929.5,577.5 h 2 c 0,-0.5 0,-1 -1.0221,-1 C 929.5,576.5 929,577 929,577.88439 929,579.5 929.5,579.5 932,579.5 m -4.5,0.5 c 0,-2 -1.31526,-1.35366 -2,-2 m 2.5,-2 -2.5,2.5 m -2,1 c -1.64662,0 -2.5,0 -2.5,-0.51841 0,-0.49339 0.73497,-0.77576 2.5,-0.48159 m -2.5,-2 c 2.5,0 2.5,0 2.5,3.5 m -7,-2.5 h 2.5 m 1,-2 h -3.5 v 4.5 m 9,-5 v 5"
inkscape:connector-curvature="0" />
</g>
<g
id="src/plugins/help/images/settingscategory_help"
transform="translate(-337,-84)">
<use
style="display:inline"
transform="translate(952,148)"
height="100%"
width="100%"
id="use3820-1-8-0"
xlink:href="#backgroundRect_24"
y="0"
x="0" />
<g
transform="matrix(0.875,0,0,0.875,828.5,72.25)"
id="src/plugins/welcome/images/userguide-6" />
<path
id="path7726"
style="fill:#000000"
d="m 941,576 a 1,1 0 0 1 -1,1 1,1 0 0 1 -1,-1 1,1 0 0 1 1,-1 1,1 0 0 1 1,1 z m -1,-11 c -3.8654,0 -7,3.1346 -7,7 0,3.8654 3.1346,7 7,7 3.8654,0 7,-3.1346 7,-7 0,-3.8654 -3.1346,-7 -7,-7 z m 2.72937,5.7414 c -0.0728,0.2044 -0.1715,0.392 -0.294,0.5635 -0.1225,0.1715 -0.40382,0.3353 -0.56342,0.49 -0.1596,0.1554 -0.329,0.3185 -0.5089,0.49 -0.1141,0.1057 -0.1496,0.2002 -0.2315,0.2814 -0.0812,0.0819 -0.1491,0.1652 -0.2016,0.2513 -0.0532,0.0854 -0.0924,0.1834 -0.1169,0.294 -0.0238,0.1099 -0.0314,0.24298 -0.0364,0.3983 V 574 h -1.64258 v -0.698 c 0,-0.1792 0.0105,-0.3325 0.0308,-0.4592 0.0203,-0.1267 0.15045,-0.2408 0.20365,-0.343 0.0532,-0.1022 0.1225,-0.2002 0.2086,-0.294 0.0854,-0.0938 0.1897,-0.2065 0.3122,-0.3367 l 0.95923,-0.9555 c 0.2037,-0.2044 0.3066,-0.469 0.3066,-0.7959 0,-0.3185 -0.1043,-0.5775 -0.3122,-0.7777 -0.2086,-0.2002 -0.4718,-0.3003 -0.7903,-0.3003 -0.343,0 -0.6251,0.1162 -0.8456,0.3493 -0.2198,0.2331 -0.33087,0.5166 -0.36377,0.8512 l -1.58363,0.0181 c 0.049,-0.392 0.1512,-0.88192 0.3066,-1.18782 0.1554,-0.3066 0.3577,-0.5656 0.6062,-0.7777 0.2485,-0.2121 0.5376,-0.3738 0.8638,-0.4837 0.3262,-0.1106 0.6853,-0.1652 1.078,-0.1652 0.3668,0 0.7084,0.0532 1.0227,0.1596 0.3143,0.1064 0.588,0.2597 0.8204,0.4592 0.2331,0.2002 0.55572,0.4494 0.68592,0.7469 0.1302,0.2982 0.196,0.6391 0.196,1.0227 7e-4,0.2674 -0.0364,0.5047 -0.1099,0.7091 z"
inkscape:connector-curvature="0" />
</g>
<g
id="src/plugins/cpptools/images/settingscategory_cpp"
transform="translate(-328,-84)">
<use
x="0"
y="0"
xlink:href="#backgroundRect_24"
id="use3820-1-8-0-1"
width="100%"
height="100%"
transform="translate(968,148)"
style="display:inline" />
<g
id="g7758"
transform="translate(-4,-19)">
<path
style="fill:none;stroke:#000000"
d="m 958,585.5 c -5,0 0,6 -5,6"
id="path7745"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
<use
transform="matrix(1,0,0,-1,0,1183)"
height="100%"
width="100%"
id="use7754"
xlink:href="#path7745"
y="0"
x="0" />
</g>
<use
x="0"
y="0"
xlink:href="#g7758"
id="use7760"
width="100%"
height="100%"
transform="matrix(-1,0,0,1,1912,0)" />
</g>
<g
id="src/plugins/beautifier/images/settingscategory_beautifier"
transform="translate(-319,-84)">
<use
style="display:inline"
transform="translate(984,148)"
height="100%"
width="100%"
id="use3820-1-8-0-1-6"
xlink:href="#backgroundRect_24"
y="0"
x="0" />
<path
inkscape:connector-curvature="0"
d="m 964.5,569.5 h 7.5 m -1.9375,-4.96875 -1.5,5 3.60323,10.01294 M 972,564.5 h -4.5 l -2.91161,5 7.63103,10.15435"
style="fill:none;stroke:#000000"
id="path7787"
sodipodi:nodetypes="ccccccccc" />
<use
transform="matrix(-1,0,0,1,1943.9945,0)"
height="100%"
width="100%"
id="use7790"
xlink:href="#path7787"
y="0"
x="0" />
</g>
<g
id="src/plugins/qmljstools/images/settingscategory_qml"
transform="translate(-310,-84)">
<use
x="0"
y="0"
xlink:href="#backgroundRect_24"
id="use3820-1-8-0-1-6-0"
width="100%"
height="100%"
transform="translate(1000,148)"
style="display:inline" />
<path
d="M 988.9375,577.71875 987,580 986.76071,575.53092 Z M 980.46967,572.17678 996,564 l -3,16 -5.5,-5.5 4.5,-6 -7,4.5"
style="fill:#000000"
id="path6063"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccccccc" />
</g>
<g
id="src/plugins/projectexplorer/images/settingscategory_buildrun"
transform="translate(-301,-84)">
<use
style="display:inline"
transform="translate(1016,148)"
height="100%"
width="100%"
id="use3820-1-8-0-1-6-0-1"
xlink:href="#backgroundRect_24"
y="0"
x="0" />
<path
sodipodi:nodetypes="ccccccccc"
inkscape:connector-curvature="0"
id="path6122"
d="m 996.5,577.5 2,2 9,-9 2,2 3,-3 -4.5,-4.5 h -6 l 3.5,3.5 z"
style="fill:#000000" />
</g>
<g
id="src/plugins/debugger/images/settingscategory_debugger"
transform="translate(-292,-84)">
<use
x="0"
y="0"
xlink:href="#backgroundRect_24"
id="use3820-1-8-0-1-6-0-1-4"
width="100%"
height="100%"
transform="translate(1032,148)"
style="display:inline" />
<path
id="path5403-3-6"
style="fill:#000000;stroke-width:1"
d="m 1020.6657,564.87803 c -0.967,0 -2.6225,1.00662 -3.0593,2.2012 l 3.0593,1.6062 z m -3.5968,2.84531 -1.0691,1.05791 -1.7623,-1.19832 -0.6346,1.17243 1.7064,1.09686 L 1014.8555,572 H 1013 v 1 h 1.82 l 0.3099,2.07044 -1.6715,1.39023 0.6925,0.97375 1.5741,-1.26163 C 1016.5,577.5 1017.5,578.93113 1020,579 v -9.64475 z"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccccccccccccccccc" />
<use
x="0"
y="0"
xlink:href="#path5403-3-6"
id="use6164"
transform="matrix(-1,0,0,1,2041,0)"
width="100%"
height="100%" />
</g>
<g
id="src/plugins/coreplugin/images/settingscategory_design"
transform="translate(-283,-84)">
<use
style="display:inline"
transform="translate(1048,148)"
height="100%"
width="100%"
id="use3820-1-8-0-1-6-0-1-4-4"
xlink:href="#backgroundRect_24"
y="0"
x="0" />
<path
d="M 1040.5,569.49998 1032,578 l -3,1 1,-3 8.5,-8.50002 z m -1,-2.99998 2,-2 2,2 -2,2 z"
style="fill:#000000"
id="path6204"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccccccccc" />
</g>
<g
id="src/plugins/debugger/analyzer/images/settingscategory_analyzer"
transform="translate(-274,-84)">
<use
x="0"
y="0"
xlink:href="#backgroundRect_24"
id="use3820-1-8-0-1-6-0-1-4-4-5"
width="100%"
height="100%"
transform="translate(1064,148)"
style="display:inline" />
<path
d="m 1048,573 h 6 v 3 h -6 z m 0,-4 h 8 v 3 h -8 z m 0,-4 h 11 v 3 h -11 z m -3,0 h 1 v 13 h 13 v 1 h -14 z"
style="fill:#000000"
id="rect6444"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccccccccccccccccccc" />
</g>
<g
id="src/plugins/todo/images/settingscategory_todo"
transform="translate(-265,-84)">
<use
style="display:inline"
transform="translate(1080,148)"
height="100%"
width="100%"
id="use3820-1-8-0-1-6-0-1-4-4-5-9"
xlink:href="#backgroundRect_24"
y="0"
x="0" />
<path
d="m 1065,577 h 10 v 1 h -10 z m -4,0 h 2 v 1 h -2 z m 4,-3 h 10 v 1 h -10 z m -4,0 h 2 v 1 h -2 z m 4,-3 h 10 v 1 h -10 z m -4,0 h 2 v 1 h -2 z m 4,-3 h 10 v 1 h -10 z m -4,0 h 2 v 1 h -2 z m 4,-3 h 10 v 1 h -10 z m -4,0 h 2 v 1 h -2 z"
style="fill:#000000"
id="rect6517"
inkscape:connector-curvature="0" />
</g>
<g
id="src/plugins/vcsbase/images/settingscategory_vcs"
transform="translate(-256,-84)">
<use
x="0"
y="0"
xlink:href="#backgroundRect_24"
id="use3820-1-8-0-1-6-0-1-4-4-5-9-2"
width="100%"
height="100%"
transform="translate(1096,148)"
style="display:inline" />
<path
sodipodi:nodetypes="ccccccccccc"
inkscape:connector-curvature="0"
d="m 1091.5,568.5 v -0.75 l -3.25,-3.25 h -0.75 m -6,0 v 12 h 10 v -8 h -4 v -4 z"
style="fill:none;stroke:#000000"
id="path6560" />
<path
d="m 1084,567 v 4 h 4 z m -7,0 h 6 v 5 h 5 v 8 h -11 z"
style="fill:#000000"
id="path6551"
inkscape:connector-curvature="0" />
</g>
<g
id="src/plugins/projectexplorer/images/settingscategory_devices"
transform="translate(-247,-84)">
<use
style="display:inline"
transform="translate(1112,148)"
height="100%"
width="100%"
id="use3820-1-8-0-1-6-0-1-4-4-5-9-2-0"
xlink:href="#backgroundRect_24"
y="0"
x="0" />
<rect
y="565.5"
x="1092.5"
height="10"
width="15"
id="rect6586"
style="fill:none;stroke:#000000" />
<rect
y="570.5"
x="1101.5"
height="7"
width="4"
id="rect6588"
style="fill:#ffffff;stroke:#000000" />
<rect
y="578"
x="1101"
height="1"
width="5"
id="rect6590"
style="fill:#000000" />
</g>
<g
id="src/plugins/cpaster/images/settingscategory_cpaster"
transform="translate(-238,-84)">
<use
x="0"
y="0"
xlink:href="#backgroundRect_24"
id="use3820-1-8-0-1-6-0-1-4-4-5-9-2-0-5"
width="100%"
height="100%"
transform="translate(1128,148)"
style="display:inline" />
<path
inkscape:connector-curvature="0"
id="path6660"
d="m 1109,565 h 3 v -1 h 5 v 1 h 3 v 4 h 4 v 11 h -15 z"
style="fill:#000000" />
<path
d="m 1117,577 h 5 v 1 h -5 z m 0,-2 h 5 v 1 h -5 z m 0,-2 h 4 v 1 h -4 z m 0,-2 h 6 v 1 h -6 z m -7,-4 h 9 v 2 h -4 v 10 h -5 z m 4,-2 v 1 h 1 v -1 z"
style="fill:#ffffff"
id="path6672"
inkscape:connector-curvature="0" />
</g>
<g
id="src/plugins/qbsprojectmanager/images/settingscategory_qbs"
transform="translate(-229,-84)">
<use
style="display:inline"
transform="translate(1144,148)"
height="100%"
width="100%"
id="use3820-1-8-0-1-6-0-1-4-4-5-9-2-0-5-9"
xlink:href="#backgroundRect_24"
y="0"
x="0" />
<rect
y="564"
x="1124"
height="16"
width="16"
id="rect6710"
style="fill:#000000" />
<path
d="m 1139,570.5 h -1.5 c 0,0 -1,0 -1,1 0,1 2,1 2,2 0,1 -1,1 -1,1 h -1.5 m -4.5,-4 h 1.5 c 1,0 1.5,1 1.5,2 0,1 -0.5,2 -1.5,2 h -1.5 m 0,-6.5 v 7 m -3.5,-0.5 c 0.2067,0.72504 1,1 2,1 m -0.5,-4 a 2,3 0 0 1 -2,3 2,3 0 0 1 -2,-3 2,3 0 0 1 2,-3 2,3 0 0 1 2,3 z"
style="fill:none;stroke:#ffffff"
id="path6706"
inkscape:connector-curvature="0" />
</g>
<g
id="src/plugins/autotest/images/settingscategory_autotest"
transform="translate(-220,-84)">
<use
x="0"
y="0"
xlink:href="#backgroundRect_24"
id="use3820-1-8-0-1-6-0-1-4-4-5-9-2-0-8"
width="100%"
height="100%"
transform="translate(1160,148)"
style="display:inline" />
<path
sodipodi:nodetypes="cczcc"
inkscape:connector-curvature="0"
id="path6747"
d="m 1141.5,570 v 8 c 0,0.5 0,1.5 1.5,1.5 1.5,0 1.5,-1 1.5,-1.5 v -8"
style="fill:none;stroke:#000000" />
<path
inkscape:connector-curvature="0"
id="path6749"
d="m 1140,564 h 6 v 1 h -1 v 5 h -4 v -5 h -1 z"
style="fill:#000000" />
<use
height="100%"
width="100%"
transform="translate(8,3)"
id="use6751"
xlink:href="#path6749"
y="0"
x="0" />
<path
d="m 1155,577.5 h -3 m 2,-2 h -2 m -5.5,2.5 c 0,1 0.5,1.5 1,1.5 h 7 c 0.5,0 1,-0.5 1,-1.5 l -3,-6.5 h -3 z"
style="fill:none;stroke:#000000"
id="path6757"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsscccc" />
</g>
<g
id="src/plugins/nim/images/settingscategory_nim"
transform="translate(-216,-104)">
<use
style="display:inline"
transform="translate(1181,168)"
height="100%"
width="100%"
id="use3820-1-8-0-1-6-0-1-4-4-5-9-2-0-8-6"
xlink:href="#backgroundRect_24"
y="0"
x="0" />
<g
id="g6795">
<path
id="path6784"
style="fill:#000000"
d="m 1168,585 -2,2.5 -2.5,-1.5 -1.5,3 -2,-1 1,5 c 1.5,-3 3.5,-4 7,-4 z"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccccc" />
<path
sodipodi:nodetypes="cscccc"
inkscape:connector-curvature="0"
id="path6790"
style="fill:none;stroke:#000000"
d="m 1161.5,591 c 0.9539,1.70936 2,2.5 3.5,2.5 1.5,0 1.5,-2 3,-2 m -6.5,-2 v 3.5 c 0.5,2 2.5,4.5 6.5,4.5" />
</g>
<use
height="100%"
width="100%"
transform="matrix(-1,0,0,1,2336,0)"
id="use6797"
xlink:href="#g6795"
y="0"
x="0" />
</g>
<g
id="src/plugins/projectexplorer/images/settingscategory_kits"
transform="translate(-206,-104)">
<use
style="display:inline"
transform="translate(1196,168)"
height="100%"
width="100%"
id="use3820-1-8-0-1-6-0-1-4-4-5-9-2-0-8-6-6"
xlink:href="#backgroundRect_24"
y="0"
x="0" />
<path
sodipodi:nodetypes="cccccc"
inkscape:connector-curvature="0"
id="path10796"
d="m 1177.5,594 v -7.5 c 0,-1 1,-2 2,-2 h 9 c 1,0 2,1 2,2 v 7.5"
style="fill:none;stroke:#000000" />
<rect
y="594"
x="1176"
height="6"
width="16"
id="rect10798"
style="fill:#000000" />
<path
sodipodi:nodetypes="ccccccccc"
inkscape:connector-curvature="0"
id="path10804"
d="m 1181,594 v -4 h -2.5 l 2,-2 h 3.5 v 2 h -2 v 4 h -1"
style="fill:#000000" />
<path
sodipodi:nodetypes="cccccc"
inkscape:connector-curvature="0"
id="path10806"
d="M 1187.0884,586.98895 C 1185,587 1184.5,591 1187.0004,591 v 3 h 0.5 v -5 c -1.0105,0.008 -1.0004,0 -0.412,-2.01105 z"
style="fill:#000000" />
<use
x="0"
y="0"
xlink:href="#path10806"
id="use1593"
transform="matrix(-1,0,0,1,2375,0)"
width="100%"
height="100%" />
</g>
</g>
<g
inkscape:groupmode="layer"

Before

Width:  |  Height:  |  Size: 338 KiB

After

Width:  |  Height:  |  Size: 356 KiB