From e5ae0c0bb0b641673f21855927395ca053d05de2 Mon Sep 17 00:00:00 2001 From: deva Date: Thu, 4 Dec 2008 13:03:16 +0000 Subject: Moved images to icons folder and added them as internal resources. Created a nice way to show full resume in resumewidget. --- client/widgets/multilist.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'client/widgets') diff --git a/client/widgets/multilist.cc b/client/widgets/multilist.cc index 5ba40ac..bff3ad7 100644 --- a/client/widgets/multilist.cc +++ b/client/widgets/multilist.cc @@ -89,13 +89,13 @@ MultiList::MultiList(QDomNode &node, MacroWindow *macrowindow) } QLabel *arrows = new QLabel(); - arrows->setPixmap(QPixmap("arrows.png")); + arrows->setPixmap(QPixmap(":icons/arrows.png")); layout->addWidget(arrows, 1, 0, 1, 2, Qt::AlignHCenter); QPushButton *add = new QPushButton(this); connect(add, SIGNAL(clicked()), this, SLOT(add())); add->setText("Tilføj ovenstående til listen"); - add->setIcon(QIcon(QPixmap("add.png"))); + add->setIcon(QIcon(QPixmap(":icons/add.png"))); // layout->addWidget(add, 0, 1, Qt::AlignTop); layout->addWidget(add, 2, 0, 1, 1, Qt::AlignTop); @@ -103,7 +103,7 @@ MultiList::MultiList(QDomNode &node, MacroWindow *macrowindow) QPushButton *rem = new QPushButton(this); connect(rem, SIGNAL(clicked()), this, SLOT(remove())); rem->setText("Fjern det markerede element fra listen"); - rem->setIcon(QIcon(QPixmap("del.png"))); + rem->setIcon(QIcon(QPixmap(":icons/del.png"))); // layout->addWidget(rem, 1, 1, Qt::AlignTop); layout->addWidget(rem, 2, 1, 1, 1, Qt::AlignTop); -- cgit v1.2.3