-added systray menu function for can start SMPlayer .

-added for MessagesDialog/ New Message Dialog needed items for File Name,Size, Sources if correct?, Hash
-added resizesection/resizemode to see the complete Message Timestamp/Date item for MessagesDialog.
-added WidgetInformation function for MessengerWindow/New Message Dialog to save the Widget Position and Size.


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@258 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2007-11-18 23:35:53 +00:00
parent 5c56857a99
commit 6490d67e84
9 changed files with 97 additions and 7 deletions

View file

@ -1,7 +1,7 @@
/****************************************************************
* RetroShare is distributed under the following license:
*
* Copyright (C) 2006, crypton
* Copyright (C) 2006,2007 RetroShare Team
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@ -40,6 +40,9 @@ ChanMsgDialog::ChanMsgDialog(bool msg, QWidget *parent, Qt::WFlags flags)
{
/* Invoke the Qt Designer generated object setup routine */
ui.setupUi(this);
RshareSettings config;
config.loadWidgetInformation(this);
setAttribute ( Qt::WA_DeleteOnClose, true );
@ -98,6 +101,15 @@ void ChanMsgDialog::channelstreeViewCostumPopupMenu( QPoint point )
contextMnu.exec( mevent->globalPos() );
}
void ChanMsgDialog::closeEvent (QCloseEvent * event)
{
RshareSettings config;
config.saveWidgetInformation(this);
hide();
event->ignore();
}
void ChanMsgDialog::deletechannel()
{