Projects mode: Make plus icon dark and get rid of branch indicators

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>
This commit is contained in:
Eike Ziller
2016-09-20 15:59:48 +02:00
parent 29dffc75ab
commit 39555d3b86
10 changed files with 20 additions and 8 deletions

View File

@@ -46,7 +46,7 @@ CustomWidgetWidgetsWizardPage::CustomWidgetWidgetsWizardPage(QWidget *parent) :
{
m_ui->setupUi(this);
m_ui->tabStackWidget->setLayout(m_tabStackLayout);
m_ui->addButton->setIcon(Utils::Icons::PLUS.icon());
m_ui->addButton->setIcon(Utils::Icons::PLUS_TOOLBAR.icon());
connect(m_ui->addButton, &QAbstractButton::clicked, m_ui->classList, &ClassList::startEditingNewClassItem);
m_ui->deleteButton->setIcon(Utils::Icons::MINUS.icon());
connect(m_ui->deleteButton, &QAbstractButton::clicked, m_ui->classList, &ClassList::removeCurrentClass);