diff --git a/retroshare-gui/src/gui/PeersDialog.cpp b/retroshare-gui/src/gui/PeersDialog.cpp index dc344b976..b34b2ea4c 100644 --- a/retroshare-gui/src/gui/PeersDialog.cpp +++ b/retroshare-gui/src/gui/PeersDialog.cpp @@ -123,7 +123,13 @@ PeersDialog::PeersDialog(QWidget *parent) loadEmoticonsgroupchat(); - //setWindowIcon(QIcon(QString(":/images/rstray3.png"))); + connect(ui.toolButtonchat, SIGNAL(clicked()), this, SLOT(chatfriend())); + connect(ui.toolButtonmessage, SIGNAL(clicked()), this, SLOT(msgfriend())); + connect(ui.toolButtondetails, SIGNAL(clicked()), this, SLOT(connectfriend())); + connect(ui.toolButtonconnect, SIGNAL(clicked()), this, SLOT(configurefriend())); + connect(ui.toolButtonexport, SIGNAL(clicked()), this, SLOT(exportfriend())); + connect(ui.toolButtonremove, SIGNAL(clicked()), this, SLOT(removefriend())); + connect(ui.lineEdit, SIGNAL(textChanged ( ) ), this, SLOT(checkChat( ) )); connect(ui.Sendbtn, SIGNAL(clicked()), this, SLOT(sendMsg())); @@ -996,10 +1002,10 @@ void PeersDialog::displayInfoChatMenu(const QPoint& pos) void PeersDialog::loadEmoticonsgroupchat() { QString sm_codes; - #if defined(Q_OS_WIN32) - QFile sm_file(QApplication::applicationDirPath() + "/emoticons/emotes.acs"); - #else - QFile sm_file(QString(":/smileys/emotes.acs")); + #if defined(Q_OS_WIN32) + QFile sm_file(QApplication::applicationDirPath() + "/emoticons/emotes.acs"); + #else + QFile sm_file(QString(":/smileys/emotes.acs")); #endif if(!sm_file.open(QIODevice::ReadOnly)) { diff --git a/retroshare-gui/src/gui/PeersDialog.ui b/retroshare-gui/src/gui/PeersDialog.ui index 8fef6d7d3..525b23fcd 100644 --- a/retroshare-gui/src/gui/PeersDialog.ui +++ b/retroshare-gui/src/gui/PeersDialog.ui @@ -481,341 +481,244 @@ Qt::NoContextMenu - - - - + + + + + + 75 + true + + + 0 - - - - - - - - - :/images/user/friends24.png - - - - - - - <html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Arial'; font-size:8pt; font-weight:400; font-style:normal; text-decoration:none;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:9pt; font-weight:600;">Friends</span></p></body></html> - - - - - - - - - Qt::Horizontal - - - - 201 - 20 - - - - - - - - - 250 - 0 - - - - - 1677215 - 16777215 - - - - Qt::CustomContextMenu - - - false - - - false - - - - 24 - 24 - - - - true - - - true - - - - # - - - - - Status - - - - - Person - - - - - - - - - - 0 + + + 24 + 24 + - - 0 - - - - - - - Qt::Horizontal - - - - 181 - 20 - - - - + + + + 0 + 0 + 699 + 457 + + + + Friends + + + + :/images/user/friends24.png:/images/user/friends24.png + + + + 0 + + + 0 + - - - - - - - - :/images/user/agt_forum24.png - - - - - - - - 10 - 75 - true - - - - Live Group Chat: - - - - - - - - - - - - 0 - 0 - - - - Qt::DefaultContextMenu - - - false - - - true - - - - - - - - - - - - - Qt::Horizontal - - - - 321 - 20 - - - - - - - - - 24 - 24 - - + - 24 - 24 + 16777215 + 48 - - Italic + + Qt::LeftToRight - - + + QFrame::StyledPanel - - :/images/edit-italic.png - - - true + + QFrame::Raised + + + 3 + + + 9 + + + 3 + + + -1 + + + 0 + + + + + + 26 + 26 + + + + + 26 + 26 + + + + + + + + :/images/chat.png:/images/chat.png + + + + + + + + 26 + 26 + + + + + 26 + 26 + + + + + + + + :/images/message-mail.png:/images/message-mail.png + + + + + + + + 26 + 26 + + + + + 26 + 26 + + + + + + + + :/images/peerdetails_16x16.png:/images/peerdetails_16x16.png + + + + + + + + 26 + 26 + + + + + 26 + 26 + + + + + + + + :/images/exportpeers_16x16.png:/images/exportpeers_16x16.png + + + + + + + + 26 + 26 + + + + + 26 + 26 + + + + + + + + :/images/connect_friend.png:/images/connect_friend.png + + + + + + + + 26 + 26 + + + + + 26 + 26 + + + + + + + + :/images/removefriend16.png:/images/removefriend16.png + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + - - - - - 24 - 24 - + + + + + 75 + true + - - - 24 - 24 - - - - Underline - - - - - - :/images/edit-underline.png - - - true - - - - - - - - 24 - 24 - - - - - 24 - 24 - - - - Bold - - - - - - :/images/edit-bold.png - - - true - - - - - - - - 24 - 24 - - - - - 24 - 24 - - - - Text Color - - - - - - - - - - - 24 - 24 - - - - - 24 - 24 - - - - Font - - - - - - - - - - - 24 - 24 - - - - - 24 - 24 - - - - - - - :/images/emoticons/kopete/kopete020.png + + 0 @@ -823,82 +726,362 @@ p, li { white-space: pre-wrap; } 24 + + + + 0 + 0 + 416 + 407 + + + + Live Group Chat + + + + :/images/user/agt_forum24.png:/images/user/agt_forum24.png + + + + 3 + + + + + + 0 + 0 + + + + Qt::DefaultContextMenu + + + false + + + true + + + + + + + + + + + Qt::Horizontal + + + + 321 + 20 + + + + + + + + + 24 + 24 + + + + + 24 + 24 + + + + Italic + + + + + + + :/images/edit-italic.png:/images/edit-italic.png + + + true + + + + + + + + 24 + 24 + + + + + 24 + 24 + + + + Underline + + + + + + + :/images/edit-underline.png:/images/edit-underline.png + + + true + + + + + + + + 24 + 24 + + + + + 24 + 24 + + + + Bold + + + + + + + :/images/edit-bold.png:/images/edit-bold.png + + + true + + + + + + + + 24 + 24 + + + + + 24 + 24 + + + + Text Color + + + + + + + + + + + 24 + 24 + + + + + 24 + 24 + + + + Font + + + + + + + + + + + 24 + 24 + + + + + 24 + 24 + + + + + + + + :/images/emoticons/kopete/kopete020.png:/images/emoticons/kopete/kopete020.png + + + + 24 + 24 + + + + + + + + + 24 + 24 + + + + + 24 + 24 + + + + + + + + + + + + + + 0 + 0 + + + + + 16777215 + 100 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + + + + + + + + Qt::Horizontal + + + + 321 + 20 + + + + + + + + Send + + + + + + + - - + + - 24 - 24 + 250 + 0 + + 1677215 + 16777215 + + + + + 50 + false + + + + Qt::CustomContextMenu + + + false + + + false + + 24 24 - - + + true + + true + + + + # + + + + + Status + + + + + Person + + - - - - - - 0 - 0 - - - - - 16777215 - 100 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - - - - - - - - Qt::Horizontal - - - - 321 - 20 - - - - - - - - Send - - - - + + diff --git a/retroshare-gui/src/gui/SharedFilesDialog.ui b/retroshare-gui/src/gui/SharedFilesDialog.ui index eaa3abffb..7051fbfed 100644 --- a/retroshare-gui/src/gui/SharedFilesDialog.ui +++ b/retroshare-gui/src/gui/SharedFilesDialog.ui @@ -5,7 +5,7 @@ 0 0 - 548 + 578 433 @@ -487,72 +487,17 @@ Qt::NoContextMenu - - - 0 + + + 3 - - - - - - 0 - - - 6 - - - - - - - - :/images/fileshare16.png - - - - - - - <html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Arial'; font-size:8pt; font-weight:400; font-style:normal; text-decoration:none;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:9pt; font-weight:600;">Files</span></p></body></html> - - - - - - - - - Qt::Horizontal - - - - 271 - 20 - - - - - - - - check files - - - - - - - - - - - - - + + -1 + + + 3 + + 0 @@ -562,8 +507,8 @@ p, li { white-space: pre-wrap; } 0 0 - 526 - 322 + 556 + 355 @@ -573,13 +518,10 @@ p, li { white-space: pre-wrap; } :/images/fileshare16.png:/images/fileshare16.png - + 0 - - 0 - @@ -618,8 +560,8 @@ p, li { white-space: pre-wrap; } 0 0 - 526 - 300 + 556 + 347 @@ -671,7 +613,7 @@ p, li { white-space: pre-wrap; } - + @@ -697,7 +639,7 @@ p, li { white-space: pre-wrap; } - + Qt::Horizontal @@ -710,6 +652,20 @@ p, li { white-space: pre-wrap; } + + + + check files + + + + + + + + + +