diff --git a/retroshare-gui/src/gui/PeersDialog.cpp b/retroshare-gui/src/gui/PeersDialog.cpp index 31dc4ffcc..1e1154f8c 100644 --- a/retroshare-gui/src/gui/PeersDialog.cpp +++ b/retroshare-gui/src/gui/PeersDialog.cpp @@ -173,6 +173,7 @@ PeersDialog::PeersDialog(QWidget *parent) QMenu * grpchatmenu = new QMenu(); grpchatmenu->addAction(ui.actionClearChat); + grpchatmenu->addAction(ui.actionDisable_Emoticons); ui.menuButton->setMenu(grpchatmenu); _underline = false; @@ -967,6 +968,8 @@ void PeersDialog::insertChat() count ++; } + if(!ui.actionDisable_Emoticons->isChecked()) + { QHashIterator i(smileys); while(i.hasNext()) { @@ -974,6 +977,7 @@ void PeersDialog::insertChat() foreach(QString code, i.key().split("|")) extraTxt.replace(code, ""); } + } if ((msgWidget->verticalScrollBar()->maximum() - 30) < msgWidget->verticalScrollBar()->value() ) { msgWidget->append(extraTxt); diff --git a/retroshare-gui/src/gui/PeersDialog.ui b/retroshare-gui/src/gui/PeersDialog.ui index c51b48926..134554020 100644 --- a/retroshare-gui/src/gui/PeersDialog.ui +++ b/retroshare-gui/src/gui/PeersDialog.ui @@ -1117,6 +1117,10 @@ border: 1px solid #CCCCCC;} + + + :/images/fonts.png:/images/fonts.png + true @@ -1158,7 +1162,7 @@ p, li { white-space: pre-wrap; } - + 0 @@ -1180,11 +1184,18 @@ p, li { white-space: pre-wrap; } - - QToolButton::MenuButtonPopup + + + :/images/configure.png:/images/configure.png - - false + + + 22 + 22 + + + + true @@ -1301,6 +1312,10 @@ p, li { white-space: pre-wrap; } + + + :/images/edit-clear-history.png:/images/edit-clear-history.png + Clear Chat History @@ -1377,6 +1392,17 @@ p, li { white-space: pre-wrap; } Edit your status Message + + + true + + + Disable Emoticons + + + Disable Emoticons + + diff --git a/retroshare-gui/src/gui/images.qrc b/retroshare-gui/src/gui/images.qrc index b26dfcf1f..e99d705cd 100644 --- a/retroshare-gui/src/gui/images.qrc +++ b/retroshare-gui/src/gui/images.qrc @@ -11,16 +11,17 @@ images/btn4.png images/btn_26.png images/btn_26_hover.png + images/btn_26_pressed.png images/btn_27.png images/btn_27_hover.png images/connect_established.png images/connect_creating.png images/connect_no.png + images/edit-clear-history.png images/feedback_arrow.png images/feedback_arrow_hover.png images/list_bullet_arrow.png images/rc_combined.png - images/btn_26_pressed.png images/combobox_arrow.png images/arrow-left.png images/arrow-right.png @@ -37,6 +38,7 @@ images/backgroundl.png images/blockdevice.png images/blockdevice2.png + images/configure.png images/channels.png images/turtle.png images/channels16.png diff --git a/retroshare-gui/src/gui/images/configure.png b/retroshare-gui/src/gui/images/configure.png new file mode 100644 index 000000000..45b8fae8b Binary files /dev/null and b/retroshare-gui/src/gui/images/configure.png differ diff --git a/retroshare-gui/src/gui/images/edit-clear-history.png b/retroshare-gui/src/gui/images/edit-clear-history.png new file mode 100644 index 000000000..136dadbe1 Binary files /dev/null and b/retroshare-gui/src/gui/images/edit-clear-history.png differ diff --git a/retroshare-gui/src/gui/unfinished/ApplicationWindow.cpp b/retroshare-gui/src/gui/unfinished/ApplicationWindow.cpp index 6d86d136d..f462c03d5 100644 --- a/retroshare-gui/src/gui/unfinished/ApplicationWindow.cpp +++ b/retroshare-gui/src/gui/unfinished/ApplicationWindow.cpp @@ -53,7 +53,6 @@ #define IMAGE_FORUMS ":/images/konversation.png" #define IMAGE_CHANNELS ":/images/channels.png" #define IMAGE_PREFERENCES ":/images/settings16.png" -#define IMAGE_CHAT ":/images/chats_24x24.png" #define IMAGE_RETROSHARE ":/images/RetroShare16.png" #define IMAGE_ABOUT ":/images/informations_24x24.png" #define IMAGE_STATISTIC ":/images/ksysguard32.png" @@ -63,7 +62,6 @@ #define IMAGE_RSM32 ":/images/rsmessenger32.png" #define IMAGE_RSM16 ":/images/rsmessenger16.png" #define IMAGE_CLOSE ":/images/close_normal.png" -#define IMAGE_SMPLAYER ":/images/smplayer_icon32.png" #define IMAGE_CALENDAR ":/images/calendar.png" #define IMAGE_NEWSFEED ":/images/konqsidebar_news24.png" #define IMAGE_LINKS ":/images/ktorrent.png"