Reorganisation du dossier contenant les icones et de la facon d'y acceder a travers l'application (creation d'un namespace QET::Icons dedie).

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@608 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavier
2009-05-01 14:41:33 +00:00
parent b654776f10
commit af4864778b
136 changed files with 730 additions and 312 deletions

View File

@@ -19,6 +19,7 @@
#include "qettabwidget.h"
#include "aboutqet.h"
#include "qet.h"
#include "qeticons.h"
/**
Constructeur
@@ -63,7 +64,7 @@ QWidget *AboutQET::title() const {
QWidget *icon_and_title = new QWidget();
// icone
QLabel *icon = new QLabel();
icon -> setPixmap(QIcon(":/ico/qelectrotech.png").pixmap(48, 48));
icon -> setPixmap(QET::Icons::QETIcon.pixmap(48, 48));
// label "QElectroTech"
QLabel *title = new QLabel("<span style=\"font-weight:0;font-size:16pt;\">QElectroTech v" + QET::displayedVersion + "</span>");
title -> setTextFormat(Qt::RichText);