forked from qt-creator/qt-creator
Use text instead of icons for todo scanning scope buttons.
Those icons were initially introduced as stubs and are not so much informative. Change-Id: Ib990ef36f41e1094d024c91d2f873728a971d1fa Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
@@ -55,10 +55,6 @@ const char ICON_TODO[] = ":/todoplugin/images/todo.png";
|
||||
const char ICON_WARNING[] = ":/projectexplorer/images/compile_warning.png";
|
||||
const char ICON_ERROR[] = ":/projectexplorer/images/compile_error.png";
|
||||
|
||||
// Public domain, I am the author
|
||||
const char ICON_CURRENT_FILE[] = ":/todoplugin/images/current-file.png";
|
||||
const char ICON_WHOLE_PROJECT[] = ":/todoplugin/images/whole-project.png";
|
||||
|
||||
|
||||
// Settings entries
|
||||
const char SETTINGS_GROUP[] = "TodoPlugin";
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 257 B |
Binary file not shown.
|
Before Width: | Height: | Size: 317 B |
@@ -187,13 +187,13 @@ void TodoOutputPane::freeTreeView()
|
||||
void TodoOutputPane::createScopeButtons()
|
||||
{
|
||||
m_currentFileButton = new QToolButton();
|
||||
m_currentFileButton->setIcon(QIcon(QLatin1String(Constants::ICON_CURRENT_FILE)));
|
||||
m_currentFileButton->setCheckable(true);
|
||||
m_currentFileButton->setText(tr("Current File"));
|
||||
m_currentFileButton->setToolTip(tr("Scan in the current opened file"));
|
||||
|
||||
m_wholeProjectButton = new QToolButton();
|
||||
m_wholeProjectButton->setIcon(QIcon(QLatin1String(Constants::ICON_WHOLE_PROJECT)));
|
||||
m_wholeProjectButton->setCheckable(true);
|
||||
m_wholeProjectButton->setText(tr("Whole Project"));
|
||||
m_wholeProjectButton->setToolTip(tr("Scan in the whole project"));
|
||||
|
||||
m_scopeButtons = new QButtonGroup();
|
||||
|
||||
@@ -2,7 +2,5 @@
|
||||
<qresource prefix="/todoplugin">
|
||||
<file>images/todo.png</file>
|
||||
<file>images/info.png</file>
|
||||
<file>images/current-file.png</file>
|
||||
<file>images/whole-project.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
||||
Reference in New Issue
Block a user