Use FilterLineEdit in FindToolWindow (to add clear button).

Change-Id: Ib6238471e50a361d52c71d13df39730b17bcea75
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
Konstantin Tokarev
2012-04-26 18:51:59 +04:00
committed by Eike Ziller
parent ef56efd929
commit cb5a9d9d0f
2 changed files with 14 additions and 1 deletions

View File

@@ -56,6 +56,7 @@ FindToolWindow::FindToolWindow(FindPlugin *plugin, QWidget *parent)
{
m_instance = this;
m_ui.setupUi(this);
m_ui.searchTerm->setPlaceholderText(QString());
setFocusProxy(m_ui.searchTerm);
connect(m_ui.searchButton, SIGNAL(clicked()), this, SLOT(search()));