forked from qt-creator/qt-creator
Update wizard template icons
The icons have been redesigned to have a more consistent and clean look. The colors work well with both dark and light themes. The dimensions of the icons have been made larger in order to facilitate their use in an icon grid. A follow-up commit will add more wizard templates that make use of the larger icons in order to depict various Qt Quick UI layouts. Some icons (Qt Quick Application, Qt Quick Controls 2 Application) were unchanged, as the follow-up commit will remove them in favor of more specific templates. Task-number: QTPM-395 Change-Id: I5804c3fb92c60e53e1380cfb05d4c7f14e877d8a Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -111,14 +111,7 @@ QString GenericProjectWizardDialog::projectName() const
|
||||
GenericProjectWizard::GenericProjectWizard()
|
||||
{
|
||||
setSupportedProjectTypes({Constants::GENERICPROJECT_ID});
|
||||
// TODO do something about the ugliness of standard icons in sizes different than 16, 32, 64, 128
|
||||
{
|
||||
QPixmap icon(22, 22);
|
||||
icon.fill(Qt::transparent);
|
||||
QPainter p(&icon);
|
||||
p.drawPixmap(3, 3, 16, 16, QApplication::style()->standardIcon(QStyle::SP_DirIcon).pixmap(16));
|
||||
setIcon(icon);
|
||||
}
|
||||
setIcon(QIcon(QLatin1String(":/genericprojectmanager/images/genericprojectmanager.png")));
|
||||
setDisplayName(tr("Import Existing Project"));
|
||||
setId("Z.Makefile");
|
||||
setDescription(tr("Imports existing projects that do not use qmake, CMake or Autotools. "
|
||||
|
||||
Reference in New Issue
Block a user