From f54162db7649c68d1bab56b4171e0d07460fe917 Mon Sep 17 00:00:00 2001 From: defnax Date: Tue, 27 May 2014 23:59:18 +0000 Subject: [PATCH] Added a tooltip for Clear Button Set a fixed size for ForumThreadWidget's Search Filter git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7386 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/common/LineEditClear.cpp | 1 + .../src/gui/gxsforums/GxsForumThreadWidget.ui | 14 +++++++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/retroshare-gui/src/gui/common/LineEditClear.cpp b/retroshare-gui/src/gui/common/LineEditClear.cpp index a2ec48c34..e5291a078 100644 --- a/retroshare-gui/src/gui/common/LineEditClear.cpp +++ b/retroshare-gui/src/gui/common/LineEditClear.cpp @@ -47,6 +47,7 @@ LineEditClear::LineEditClear(QWidget *parent) "QToolButton:pressed { border-image: url(:/images/closepressed.png) }"); mClearButton->hide(); mClearButton->setFocusPolicy(Qt::NoFocus); + mClearButton->setToolTip("Clear Filter"); connect(mClearButton, SIGNAL(clicked()), this, SLOT(clear())); connect(this, SIGNAL(textChanged(const QString&)), this, SLOT(updateClearButton(const QString&))); diff --git a/retroshare-gui/src/gui/gxsforums/GxsForumThreadWidget.ui b/retroshare-gui/src/gui/gxsforums/GxsForumThreadWidget.ui index 58980fd45..81a7e30f8 100644 --- a/retroshare-gui/src/gui/gxsforums/GxsForumThreadWidget.ui +++ b/retroshare-gui/src/gui/gxsforums/GxsForumThreadWidget.ui @@ -71,7 +71,7 @@ Qt::Horizontal - QSizePolicy::Fixed + QSizePolicy::Expanding @@ -83,6 +83,18 @@ + + + 200 + 0 + + + + + 200 + 16777215 + + Search forums