mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-28 23:00:53 +01:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user