Removed context help button from the dialogs (currently not used) and added minimize/maximize buttons to the "floating" dialogs.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5786 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2012-11-06 23:26:47 +00:00
parent 07d8db4505
commit 9b5ee85fd0
42 changed files with 86 additions and 189 deletions

View file

@ -32,12 +32,14 @@
#include <retroshare/rspeers.h>
/** Constructor */
CreateChannel::CreateChannel(QWidget *parent)
: QDialog(parent)
CreateChannel::CreateChannel()
: QDialog(NULL, Qt::WindowSystemMenuHint | Qt::WindowTitleHint | Qt::WindowMinMaxButtonsHint | Qt::WindowCloseButtonHint)
{
/* Invoke the Qt Designer generated object setup routine */
ui.setupUi(this);
setAttribute(Qt::WA_DeleteOnClose, true);
ui.headerFrame->setHeaderImage(QPixmap(":/images/add_channel64.png"));
ui.headerFrame->setHeaderText(tr("New Channel"));