summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-10-01 12:22:33 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-10-01 12:22:33 (GMT)
commita9a3aa76610ba33d571c8d0aee963668a7a00961 (patch)
tree2cffef0592fbeac610074e18953f4fbb9312e843 /Swift
parentbfdba314e4a2f37eb2416fe0dbdbaa743098a17d (diff)
downloadswift-contrib-a9a3aa76610ba33d571c8d0aee963668a7a00961.zip
swift-contrib-a9a3aa76610ba33d571c8d0aee963668a7a00961.tar.bz2
Added actions icon.
Diffstat (limited to 'Swift')
-rw-r--r--Swift/QtUI/QtChatWindow.cpp3
-rw-r--r--Swift/QtUI/Swift.qrc1
-rw-r--r--Swift/resources/icons/actions.pngbin0 -> 729 bytes
3 files changed, 3 insertions, 1 deletions
diff --git a/Swift/QtUI/QtChatWindow.cpp b/Swift/QtUI/QtChatWindow.cpp
index 07ff47e..50fe984 100644
--- a/Swift/QtUI/QtChatWindow.cpp
+++ b/Swift/QtUI/QtChatWindow.cpp
@@ -88,7 +88,8 @@ QtChatWindow::QtChatWindow(const QString &contact, QtChatTheme* theme, UIEventSt
setSubject("");
subject_->setReadOnly(true);
- actionButton_ = new QPushButton(tr("Actions"), this);
+ actionButton_ = new QPushButton(this);
+ actionButton_->setIcon(QIcon(":/icons/actions.png"));
connect(actionButton_, SIGNAL(clicked()), this, SLOT(handleActionButtonClicked()));
subjectLayout->addWidget(actionButton_);
diff --git a/Swift/QtUI/Swift.qrc b/Swift/QtUI/Swift.qrc
index 2f8d494..d2798e4 100644
--- a/Swift/QtUI/Swift.qrc
+++ b/Swift/QtUI/Swift.qrc
@@ -16,6 +16,7 @@
<file alias="icons/no-avatar.png">../resources/icons/no-avatar.png</file>
<file alias="icons/tray-standard.png">../resources/icons/tray-standard.png</file>
<file alias="icons/new-chat.png">../resources/icons/new-chat.png</file>
+ <file alias="icons/actions.png">../resources/icons/actions.png</file>
<file alias="COPYING">../../COPYING</file>
</qresource>
</RCC>
diff --git a/Swift/resources/icons/actions.png b/Swift/resources/icons/actions.png
new file mode 100644
index 0000000..5959b5f
--- /dev/null
+++ b/Swift/resources/icons/actions.png
Binary files differ