diff --git a/ico/16x16/folio-new.png b/ico/16x16/folio-new.png new file mode 100644 index 000000000..6543cafbb Binary files /dev/null and b/ico/16x16/folio-new.png differ diff --git a/qelectrotech.qrc b/qelectrotech.qrc index 9f25987f3..ceee8bc3c 100644 --- a/qelectrotech.qrc +++ b/qelectrotech.qrc @@ -241,5 +241,6 @@ ico/22x22/project-WH-delete.png ico/22x22/project-WH-close.png ico/22x22/project-WH.png + ico/16x16/folio-new.png diff --git a/sources/projectview.cpp b/sources/projectview.cpp index 56bfb3a10..a497b86be 100644 --- a/sources/projectview.cpp +++ b/sources/projectview.cpp @@ -750,7 +750,7 @@ int ProjectView::cleanProject() { Initialize actions for this widget. */ void ProjectView::initActions() { - add_new_diagram_ = new QAction(QET::Icons::Add, tr("Ajouter un schéma"), this); + add_new_diagram_ = new QAction(QET::Icons::AddFolio, tr("Ajouter un schéma"), this); connect(add_new_diagram_, SIGNAL(triggered()), this, SLOT(addNewDiagram())); } @@ -759,7 +759,7 @@ void ProjectView::initActions() { */ void ProjectView::initWidgets() { setObjectName("ProjectView"); - setWindowIcon(QET::Icons::ProjectFile); + setWindowIcon(QET::Icons::ProjectFileGP); // initialize the "fallback" widget fallback_widget_ = new QWidget(); diff --git a/sources/qeticons.cpp b/sources/qeticons.cpp index ebe3ee8c3..95b9b021b 100644 --- a/sources/qeticons.cpp +++ b/sources/qeticons.cpp @@ -22,6 +22,7 @@ namespace QET { namespace Icons { QIcon Add; + QIcon AddFolio; QIcon Allowed; QIcon ApplicationExit; QIcon ArrowLeft; @@ -193,6 +194,7 @@ void QET::Icons::initIcons() { Add .addFile(":/ico/16x16/list-add.png"); Add .addFile(":/ico/22x22/list-add.png"); + AddFolio .addFile(":/ico/16x16/folio-new.png"); Allowed .addFile(":/ico/16x16/user-online.png"); ApplicationExit .addFile(":/ico/16x16/application-exit.png"); ApplicationExit .addFile(":/ico/22x22/application-exit.png"); diff --git a/sources/qeticons.h b/sources/qeticons.h index 8f4e4bf5e..11cbab70d 100644 --- a/sources/qeticons.h +++ b/sources/qeticons.h @@ -29,6 +29,7 @@ namespace QET { // using the extern keyword enables access to static objects from outside the // namespace extern QIcon Add; + extern QIcon AddFolio; extern QIcon Allowed; extern QIcon ApplicationExit; extern QIcon ArrowLeft;