diff options
author | deva <deva> | 2008-12-04 13:03:16 +0000 |
---|---|---|
committer | deva <deva> | 2008-12-04 13:03:16 +0000 |
commit | e5ae0c0bb0b641673f21855927395ca053d05de2 (patch) | |
tree | 1a556be6902579617cf86c201cc7f3fd0d261d10 /client/widgets | |
parent | 816278b4cb0fe5040d890f2678908dcae0fed12c (diff) |
Moved images to icons folder and added them as internal resources. Created a nice way to show full resume in resumewidget.
Diffstat (limited to 'client/widgets')
-rw-r--r-- | client/widgets/multilist.cc | 6 |
1 files changed, 3 insertions, 3 deletions
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); |