diff --git a/retroshare-gui/src/gui/gxsforums/CreateGxsForumMsg.cpp b/retroshare-gui/src/gui/gxsforums/CreateGxsForumMsg.cpp index 22db0d97d..2ba83a31a 100644 --- a/retroshare-gui/src/gui/gxsforums/CreateGxsForumMsg.cpp +++ b/retroshare-gui/src/gui/gxsforums/CreateGxsForumMsg.cpp @@ -86,6 +86,8 @@ CreateGxsForumMsg::CreateGxsForumMsg(const RsGxsGroupId &fId, const RsGxsMessage QString text = mOId.isNull()?(pId.isNull() ? tr("Start New Thread") : tr("Post Forum Message")):tr("Edit Message"); setWindowTitle(text); + + ui.forumMessage->setPlaceholderText(tr ("Text")); ui.headerFrame->setHeaderImage(QPixmap(":/icons/png/forums.png")); ui.headerFrame->setHeaderText(text); @@ -318,7 +320,10 @@ void CreateGxsForumMsg::loadFormInformation() ui.forumSubject->setText(misc::removeNewLine(subj)); if (ui.forumSubject->text().isEmpty()) + { ui.forumSubject->setFocus(); + ui.forumSubject->setPlaceholderText(tr ("Title")); + } else ui.forumMessage->setFocus(); diff --git a/retroshare-gui/src/gui/gxsforums/CreateGxsForumMsg.ui b/retroshare-gui/src/gui/gxsforums/CreateGxsForumMsg.ui index 1e3b45abf..e5308f66f 100644 --- a/retroshare-gui/src/gui/gxsforums/CreateGxsForumMsg.ui +++ b/retroshare-gui/src/gui/gxsforums/CreateGxsForumMsg.ui @@ -81,33 +81,6 @@ 0 - - - - Subject - - - - - - - false - - - - - - - Forum - - - - - - - - - @@ -121,147 +94,20 @@ - - - - - - - - 16777215 - 38 - - - - QFrame::Box - - - QFrame::Sunken - - - - 0 - - - 6 - - - 1 - - - 6 - - - 1 - - - - - Qt::NoFocus - - - Attach File - - - - - - - :/icons/png/attach.png:/icons/png/attach.png - - - - 24 - 24 - - - - true + + + + false - - - - Qt::NoFocus - + + + + + - - - - - :/icons/png/smiley.png:/icons/png/smiley.png - - - - 24 - 24 - - - - true - - - - - - - Qt::NoFocus - - - Attach a Picture - - - - :/icons/png/attach-image.png:/icons/png/attach-image.png - - - - 24 - 24 - - - - true - - - - - - - Qt::Horizontal - - - - 40 - 15 - - - - - - - - Qt::NoFocus - - - Sign Message - - - - - - - :/images/document-edit-sign.png:/images/document-edit-sign.png - - - - 22 - 22 - - - - true + Forum @@ -274,24 +120,176 @@ Forum Post - - - - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> -<html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;"> -<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:8pt;"><br /></span></p></body></html> - - - - + + + + + + + + + MS Sans Serif + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'MS Sans Serif'; font-size:8.25pt; font-weight:400; font-style:normal;"> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Sans Serif';"><br /></p></body></html> + + + + + + + + 16777215 + 38 + + + + QFrame::Box + + + QFrame::Sunken + + + + 0 + + + 2 + + + 1 + + + 2 + + + 1 + + + + + Qt::NoFocus + + + Attach File + + + + + + + :/icons/png/attach.png:/icons/png/attach.png + + + + 24 + 24 + + + + true + + + + + + + Qt::NoFocus + + + + + + + :/icons/png/smiley.png:/icons/png/smiley.png + + + + 24 + 24 + + + + true + + + + + + + Qt::NoFocus + + + Attach a Picture + + + + :/icons/png/attach-image.png:/icons/png/attach-image.png + + + + 24 + 24 + + + + true + + + + + + + Qt::Horizontal + + + + 40 + 15 + + + + + + + + Qt::NoFocus + + + Sign Message + + + + + + + :/images/document-edit-sign.png:/images/document-edit-sign.png + + + + 22 + 22 + + + + true + + + + + +