From 3726468f632a44743967e2940ae01dff3e5e44d9 Mon Sep 17 00:00:00 2001 From: Andrei-Fabian-Pop Date: Thu, 21 Nov 2024 10:47:06 +0200 Subject: [PATCH] iioexplorer/searchbar: Remove "Filter" label Signed-off-by: Andrei-Fabian-Pop --- plugins/debugger/src/iioexplorer/searchbar.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/plugins/debugger/src/iioexplorer/searchbar.cpp b/plugins/debugger/src/iioexplorer/searchbar.cpp index a7daa8b61..0bbdf25f4 100644 --- a/plugins/debugger/src/iioexplorer/searchbar.cpp +++ b/plugins/debugger/src/iioexplorer/searchbar.cpp @@ -29,21 +29,17 @@ using namespace scopy::debugger; SearchBar::SearchBar(QSet options, QWidget *parent) : QWidget(parent) , m_lineEdit(new QLineEdit(this)) - , m_label(new QLabel("Filter", this)) , m_completer(new QCompleter(options.values(), this)) { Style::setStyle(m_lineEdit, style::properties::debugger::searchBar); - Style::setStyle(m_label, style::properties::label::menuSmall); setFixedHeight(34); // Hardcoded to match similar container m_completer->setCaseSensitivity(Qt::CaseInsensitive); m_completer->setFilterMode(Qt::MatchContains); m_lineEdit->setPlaceholderText("Type to filter"); m_lineEdit->setCompleter(m_completer); m_lineEdit->setMinimumHeight(31); - m_label->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Preferred); setLayout(new QHBoxLayout(this)); - layout()->addWidget(m_label); layout()->addWidget(m_lineEdit); layout()->setMargin(0); }