diff --git a/retroshare-gui/src/gui/MessengerWindow.cpp b/retroshare-gui/src/gui/MessengerWindow.cpp
index 1ae4f4b98..04b8ac8c1 100644
--- a/retroshare-gui/src/gui/MessengerWindow.cpp
+++ b/retroshare-gui/src/gui/MessengerWindow.cpp
@@ -69,20 +69,20 @@
MessengerWindow::MessengerWindow(QWidget * parent)
: QWidget(parent)
{
- /* Invoke the Qt Designer generated object setup routine */
- ui.setupUi(this);
+ /* Invoke the Qt Designer generated object setup routine */
+ ui.setupUi(this);
- RshareSettings config;
- config.loadWidgetInformation(this);
+ RshareSettings config;
+ config.loadWidgetInformation(this);
- connect( ui.messengertreeWidget, SIGNAL( customContextMenuRequested( QPoint ) ), this, SLOT( messengertreeWidgetCostumPopupMenu( QPoint ) ) );
+ connect( ui.messengertreeWidget, SIGNAL( customContextMenuRequested( QPoint ) ), this, SLOT( messengertreeWidgetCostumPopupMenu( QPoint ) ) );
connect( ui.avatarButton, SIGNAL(clicked()), SLOT(changeAvatarClicked()));
connect( ui.addIMAccountButton, SIGNAL(clicked( bool ) ), this , SLOT( addFriend2() ) );
- /* to hide the header */
- ui.messengertreeWidget->header()->hide();
+ /* to hide the header */
+ ui.messengertreeWidget->header()->hide();
/* Set header resize modes and initial section sizes */
ui.messengertreeWidget->setColumnCount(1);
@@ -95,15 +95,22 @@ MessengerWindow::MessengerWindow(QWidget * parent)
_header->resizeSection ( 0, 200 );
- //LogoBar
- _rsLogoBarmessenger = NULL;
- _rsLogoBarmessenger = new LogoBar(ui.logoframe);
- Widget::createLayout(ui.logoframe)->addWidget(_rsLogoBarmessenger);
+ //LogoBar
+ _rsLogoBarmessenger = NULL;
+ _rsLogoBarmessenger = new LogoBar(ui.logoframe);
+ Widget::createLayout(ui.logoframe)->addWidget(_rsLogoBarmessenger);
- ui.statuscomboBox->setMinimumWidth(20);
- ui.messagecomboBox->setMinimumWidth(20);
- ui.searchlineEdit->setMinimumWidth(20);
+ ui.statuscomboBox->setMinimumWidth(20);
+ ui.messagecomboBox->setMinimumWidth(20);
+ ui.searchlineEdit->setMinimumWidth(20);
+
+ QPixmap Backpixmap((QString)":/images/backgroundimage.png");
+ //QPixmap pixmap5((QString)REC_PATH+(QString)"back2765.png");
+
+ QBrush BackBrush(Backpixmap);
+ QPalette BackPalette(BackBrush, BackBrush, BackBrush, BackBrush, BackBrush, BackBrush, BackBrush, BackBrush, BackBrush);
+ this->setPalette(BackPalette); //Set Background
/* Hide platform specific features */
@@ -433,7 +440,7 @@ QTreeWidgetItem *MessengerWindow::getCurrentPeer(bool &isOnline)
return NULL;
}
- isOnline = (parent->text(0) == "Online");
+ isOnline = (parent->text(0) == "Online");
return item;
}
diff --git a/retroshare-gui/src/gui/MessengerWindow.ui b/retroshare-gui/src/gui/MessengerWindow.ui
index 9fe9514f2..9ab392cc9 100644
--- a/retroshare-gui/src/gui/MessengerWindow.ui
+++ b/retroshare-gui/src/gui/MessengerWindow.ui
@@ -5,7 +5,7 @@
0
0
- 238
+ 262
482
@@ -434,33 +434,48 @@
:/images/rstray3.png
- QWidget#MessengerWindow {
-background-color: #ECF3F6; background-image:url(:/images/backgroundimage.png);
-background-position: top right;
-background-repeat: no-repeat
-}
+
+
-
+
0
-
+
+ 0
+
+
+ 0
+
+
0
-
-
+
4
-
+
+ 4
+
+
+ 4
+
+
+ 4
+
+
+ 6
+
+
6
-
- <html><head><meta name="qrichtext" content="1" /><style type="text/css">
-p, li { white-space: pre-wrap; }
-</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;">
+ <html><head><meta name="qrichtext" content="1" /><style type="text/css">
+p, li { white-space: pre-wrap; }
+</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; 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;">Click to change your avatar</p></body></html>
@@ -479,10 +494,22 @@ p, li { white-space: pre-wrap; }
-
-
+
4
-
+
+ 4
+
+
+ 4
+
+
+ 4
+
+
+ 6
+
+
6
-
@@ -581,22 +608,24 @@ p, li { white-space: pre-wrap; }
- -
-
-
- QFrame::NoFrame
-
-
- QFrame::Raised
-
-
-
-
-
+
9
-
+
+ 9
+
+
+ 9
+
+
+ 9
+
+
+ 6
+
+
6
-
@@ -648,6 +677,16 @@ p, li { white-space: pre-wrap; }
+ -
+
+
+ QFrame::NoFrame
+
+
+ QFrame::Raised
+
+
+