diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2009-12-16 15:58:10 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2009-12-16 15:58:10 +0100 |
commit | 718f8fa898a2717dd8fa604e154a4c46712d2115 (patch) | |
tree | de08ce2c240258e26c9715221d530bf1b86f06c0 /src/plugins/debugger/debuggerdialogs.cpp | |
parent | f098f0398fcac84a6d13f82d5f6a744d78fd645e (diff) | |
download | qt-creator-718f8fa898a2717dd8fa604e154a4c46712d2115.tar.gz |
Replace handcrafted filter widgets by Utils::FilterLineEdit
Diffstat (limited to 'src/plugins/debugger/debuggerdialogs.cpp')
-rw-r--r-- | src/plugins/debugger/debuggerdialogs.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/plugins/debugger/debuggerdialogs.cpp b/src/plugins/debugger/debuggerdialogs.cpp index 4e8738040e..3666b848aa 100644 --- a/src/plugins/debugger/debuggerdialogs.cpp +++ b/src/plugins/debugger/debuggerdialogs.cpp @@ -248,7 +248,7 @@ AttachExternalDialog::AttachExternalDialog(QWidget *parent) QPushButton *refreshButton = new QPushButton(tr("Refresh")); connect(refreshButton, SIGNAL(clicked()), this, SLOT(rebuildProcessList())); m_ui->buttonBox->addButton(refreshButton, QDialogButtonBox::ActionRole); - m_ui->filterLineEdit->setFocus(Qt::TabFocusReason); + m_ui->filterWidget->setFocus(Qt::TabFocusReason); // Do not use activated, will be single click in Oxygen connect(m_ui->procView, SIGNAL(doubleClicked(QModelIndex)), @@ -256,11 +256,10 @@ AttachExternalDialog::AttachExternalDialog(QWidget *parent) connect(m_ui->pidLineEdit, SIGNAL(textChanged(QString)), this, SLOT(pidChanged(QString))); - connect(m_ui->filterClearToolButton, SIGNAL(clicked()), - m_ui->filterLineEdit, SLOT(clear())); - connect(m_ui->filterLineEdit, SIGNAL(textChanged(QString)), + connect(m_ui->filterWidget, SIGNAL(filterChanged(QString)), this, SLOT(setFilterString(QString))); + setMinimumHeight(500); rebuildProcessList(); } |