close down history completer interface

Change-Id: Iaeff40be410d1f0facd687632c9ce4897eb2e613
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
hjk
2012-08-23 14:26:24 +02:00
parent 903eeaf42f
commit 88f5949e38
7 changed files with 47 additions and 97 deletions

View File

@@ -57,7 +57,7 @@
#include <utils/savedaction.h>
#include <utils/fileutils.h>
#include <utils/historycompleter.h>
#include <utils/fancylineedit.h>
namespace Debugger {
namespace Internal {
@@ -341,9 +341,9 @@ LogWindow::LogWindow(QWidget *parent)
QSizePolicy::MinimumExpanding);
m_commandLabel = new QLabel(tr("Command:"), this);
m_commandEdit = new QLineEdit(this);
m_commandEdit = new Utils::FancyLineEdit(this);
m_commandEdit->setFrame(false);
m_commandEdit->setCompleter(new Utils::HistoryCompleter(m_commandEdit, QLatin1String("DebuggerInput")));
m_commandEdit->setHistoryKey(QLatin1String("DebuggerInput"));
QHBoxLayout *commandBox = new QHBoxLayout;
commandBox->addWidget(m_commandLabel);
commandBox->addWidget(m_commandEdit);