diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-10-01 12:22:33 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-10-01 12:22:33 (GMT) |
commit | a9a3aa76610ba33d571c8d0aee963668a7a00961 (patch) | |
tree | 2cffef0592fbeac610074e18953f4fbb9312e843 | |
parent | bfdba314e4a2f37eb2416fe0dbdbaa743098a17d (diff) | |
download | swift-contrib-a9a3aa76610ba33d571c8d0aee963668a7a00961.zip swift-contrib-a9a3aa76610ba33d571c8d0aee963668a7a00961.tar.bz2 |
Added actions icon.
-rw-r--r-- | Swift/QtUI/QtChatWindow.cpp | 3 | ||||
-rw-r--r-- | Swift/QtUI/Swift.qrc | 1 | ||||
-rw-r--r-- | Swift/resources/icons/actions.png | bin | 0 -> 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 Binary files differnew file mode 100644 index 0000000..5959b5f --- /dev/null +++ b/Swift/resources/icons/actions.png |