ui: Updated graph node and project type icons
This commit is contained in:
@@ -231,7 +231,7 @@ void QtStartScreen::setupStartScreen(bool unlocked)
|
||||
m_cppIcon = new QIcon((ResourcePaths::getGuiPath() + "icon/cpp_icon.png").c_str());
|
||||
m_cIcon = new QIcon((ResourcePaths::getGuiPath() + "icon/c_icon.png").c_str());
|
||||
m_javaIcon = new QIcon((ResourcePaths::getGuiPath() + "icon/java_icon.png").c_str());
|
||||
m_projectIcon = new QIcon((ResourcePaths::getGuiPath() + "icon/project_256_256.png").c_str());
|
||||
m_projectIcon = new QIcon((ResourcePaths::getGuiPath() + "icon/empty_icon.png").c_str());
|
||||
for (int i = 0
|
||||
; i < ApplicationSettings::getInstance()->getMaxRecentProjectsCount()
|
||||
; i++)
|
||||
@@ -239,7 +239,7 @@ void QtStartScreen::setupStartScreen(bool unlocked)
|
||||
QtRecentProjectButton* button = new QtRecentProjectButton(this);
|
||||
button->setAttribute(Qt::WA_LayoutUsesWidgetRect); // fixes layouting on Mac
|
||||
button->setIcon(*m_projectIcon);
|
||||
button->setIconSize(QSize(25, 25));
|
||||
button->setIconSize(QSize(30, 30));
|
||||
button->setMinimumSize(button->fontMetrics().width(button->text()) + 45, 40);
|
||||
button->setObjectName("recentButtonMissing");
|
||||
button->minimumSizeHint(); // force font loading
|
||||
|
||||
@@ -82,9 +82,9 @@ void QtProjectWizzardContentSelect::populate(QGridLayout* layout, int& row)
|
||||
|
||||
|
||||
QToolButton* a = createProjectButton(
|
||||
"Empty Project", (ResourcePaths::getGuiPath() + "icon/project_256_256.png").c_str());
|
||||
"Empty Project", (ResourcePaths::getGuiPath() + "icon/empty_icon.png").c_str());
|
||||
QToolButton* c = createProjectButton(
|
||||
"from Compilation\nDatabase", (ResourcePaths::getGuiPath() + "icon/project_cdb_256_256.png").c_str());
|
||||
"from Compilation\nDatabase", (ResourcePaths::getGuiPath() + "icon/cdb_icon.png").c_str());
|
||||
|
||||
m_solutionDescription.push_back("Create a new Coati project by defining what files will be indexed.");
|
||||
m_solutionDescription.push_back(
|
||||
@@ -132,7 +132,7 @@ void QtProjectWizzardContentSelect::populate(QGridLayout* layout, int& row)
|
||||
std::string name = "Visual Studio";
|
||||
|
||||
QToolButton* button = createProjectButton(name.c_str(),
|
||||
(ResourcePaths::getGuiPath() + "icon/project_vs_256_256.png").c_str());
|
||||
(ResourcePaths::getGuiPath() + "icon/vs_icon.png").c_str());
|
||||
|
||||
m_buttons->addButton(button);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user