From f1f16e057d7db20395693914fe635555222038f6 Mon Sep 17 00:00:00 2001 From: defnax Date: Thu, 31 Jul 2008 10:34:14 +0000 Subject: [PATCH] fixed Button tooltips and icons git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@655 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/PeersDialog.ui | 104 ++++-------------- retroshare-gui/src/gui/msgs/ChanMsgDialog.cpp | 4 +- 2 files changed, 26 insertions(+), 82 deletions(-) diff --git a/retroshare-gui/src/gui/PeersDialog.ui b/retroshare-gui/src/gui/PeersDialog.ui index 6ff192c59..47e1c1672 100644 --- a/retroshare-gui/src/gui/PeersDialog.ui +++ b/retroshare-gui/src/gui/PeersDialog.ui @@ -500,22 +500,10 @@ - + 0 - - 0 - - - 0 - - - 0 - - - 6 - - + 6 @@ -545,7 +533,7 @@ p, li { white-space: pre-wrap; } Qt::Horizontal - + 201 20 @@ -594,42 +582,18 @@ p, li { white-space: pre-wrap; } - + 0 - - 0 - - - 0 - - - 0 - - - 0 - - + 0 - + 0 - - 0 - - - 0 - - - 0 - - - 6 - - + 6 @@ -637,7 +601,7 @@ p, li { white-space: pre-wrap; } Qt::Horizontal - + 181 20 @@ -647,22 +611,10 @@ p, li { white-space: pre-wrap; } - + 0 - - 0 - - - 0 - - - 0 - - - 6 - - + 6 @@ -718,22 +670,10 @@ p, li { white-space: pre-wrap; } - + 0 - - 0 - - - 0 - - - 0 - - - 6 - - + 6 @@ -741,7 +681,7 @@ p, li { white-space: pre-wrap; } Qt::Horizontal - + 321 20 @@ -764,13 +704,14 @@ p, li { white-space: pre-wrap; } - Underline + Italic - :/images/edit-italic.png + + :/images/edit-italic.png:/images/edit-italic.png true @@ -792,13 +733,14 @@ p, li { white-space: pre-wrap; } - Italic + Underline - :/images/edit-underline.png + + :/images/edit-underline.png:/images/edit-underline.png true @@ -826,7 +768,8 @@ p, li { white-space: pre-wrap; } - :/images/edit-bold.png + + :/images/edit-bold.png:/images/edit-bold.png true @@ -895,7 +838,8 @@ p, li { white-space: pre-wrap; } - :/images/emoticons/kopete/kopete020.png + + :/images/emoticons/kopete/kopete020.png:/images/emoticons/kopete/kopete020.png @@ -963,7 +907,7 @@ p, li { white-space: pre-wrap; } Qt::Horizontal - + 321 20 diff --git a/retroshare-gui/src/gui/msgs/ChanMsgDialog.cpp b/retroshare-gui/src/gui/msgs/ChanMsgDialog.cpp index df58f64f8..dd80eda4a 100644 --- a/retroshare-gui/src/gui/msgs/ChanMsgDialog.cpp +++ b/retroshare-gui/src/gui/msgs/ChanMsgDialog.cpp @@ -180,8 +180,8 @@ ChanMsgDialog::ChanMsgDialog(bool msg, QWidget *parent, Qt::WFlags flags) ui.comboSize->setCurrentIndex(ui.comboSize->findText(QString::number(QApplication::font().pointSize()))); ui.boldbtn->setIcon(QIcon(QString(":/images/textedit/textbold.png"))); - ui.underlinebtn->setIcon(QIcon(QString(":/images/textedit/textitalic.png"))); - ui.italicbtn->setIcon(QIcon(QString(":/images/textedit/textunder.png"))); + ui.underlinebtn->setIcon(QIcon(QString(":/images/textedit/textunder.png"))); + ui.italicbtn->setIcon(QIcon(QString(":/images/textedit/textitalic.png"))); ui.textalignmentbtn->setIcon(QIcon(QString(":/images/textedit/textcenter.png"))); ui.imagebtn->setIcon(QIcon(QString(":/images/lphoto24.png"))); ui.actionContactsView->setIcon(QIcon(":/images/contacts24.png"));