forked from qt-creator/qt-creator
Move reload icon from diff editor to core
It is a generic icon, and will for example also be used in the Help plugin. Also make it more round and add a 2x variant for HiDPI. Change-Id: I2ad4fc1e2d2766042646a47483f129447c2c3c25 Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
This commit is contained in:
committed by
Eike Ziller
parent
a56fc82b0a
commit
23d3ada73f
@@ -89,5 +89,7 @@
|
||||
<file>images/splitbutton_vertical@2x.png</file>
|
||||
<file>images/panel_manage_button.png</file>
|
||||
<file>images/pause.png</file>
|
||||
<file>images/reload_gray.png</file>
|
||||
<file>images/reload_gray@2x.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
||||
@@ -195,6 +195,7 @@ const char ICON_DIR[] = ":/core/images/dir.png";
|
||||
const char ICON_CLEAN_PANE[] = ":/core/images/clean_pane_small.png";
|
||||
const char ICON_CLEAR[] = ":/core/images/clear.png";
|
||||
const char ICON_RESET[] = ":/core/images/reset.png";
|
||||
const char ICON_RELOAD_GRAY[] = ":/core/images/reload_gray.png";
|
||||
const char ICON_MAGNIFIER[] = ":/core/images/magnifier.png";
|
||||
const char ICON_TOGGLE_SIDEBAR[] = ":/core/images/sidebaricon.png";
|
||||
const char ICON_CLOSE_DOCUMENT[] = ":/core/images/button_close.png";
|
||||
|
||||
BIN
src/plugins/coreplugin/images/reload_gray.png
Normal file
BIN
src/plugins/coreplugin/images/reload_gray.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 299 B |
BIN
src/plugins/coreplugin/images/reload_gray@2x.png
Normal file
BIN
src/plugins/coreplugin/images/reload_gray@2x.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.0 KiB |
@@ -333,7 +333,7 @@ QWidget *DiffEditor::toolBar()
|
||||
slotDescriptionVisibilityChanged();
|
||||
|
||||
QToolButton *reloadButton = new QToolButton(m_toolBar);
|
||||
reloadButton->setIcon(QIcon(QLatin1String(Constants::ICON_RELOAD)));
|
||||
reloadButton->setIcon(QIcon(QLatin1String(Core::Constants::ICON_RELOAD_GRAY)));
|
||||
reloadButton->setToolTip(tr("Reload Editor"));
|
||||
m_toolBar->addWidget(reloadButton);
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
<RCC>
|
||||
<qresource prefix="/diffeditor">
|
||||
<file>images/reload.png</file>
|
||||
<file>images/sidebysidediff.png</file>
|
||||
<file>images/unifieddiff.png</file>
|
||||
<file>images/topbar.png</file>
|
||||
|
||||
@@ -42,7 +42,6 @@ const char G_TOOLS_DIFF[] = "QtCreator.Group.Tools.Options";
|
||||
|
||||
const char ICON_SIDE_BY_SIDE_DIFF[] = ":/diffeditor/images/sidebysidediff.png";
|
||||
const char ICON_UNIFIED_DIFF[] = ":/diffeditor/images/unifieddiff.png";
|
||||
const char ICON_RELOAD[] = ":/diffeditor/images/reload.png";
|
||||
const char ICON_TOP_BAR[] = ":/diffeditor/images/topbar.png";
|
||||
|
||||
} // namespace Constants
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 250 B |
Reference in New Issue
Block a user