Rename SearchField

This commit is contained in:
Jonas Kvinge
2024-08-25 05:48:37 +02:00
parent 145c276c97
commit 20ef621a20
17 changed files with 302 additions and 160 deletions

View File

@@ -192,7 +192,7 @@ void StreamingSearchView::Init(Application *app, StreamingServicePtr service) {
QObject::connect(group_by_actions_, &QActionGroup::triggered, this, &StreamingSearchView::GroupByClicked);
QObject::connect(group_by_actions_, &QActionGroup::triggered, this, &StreamingSearchView::GroupByClicked);
QObject::connect(ui_->search, &QSearchField::textChanged, this, &StreamingSearchView::TextEdited);
QObject::connect(ui_->search, &SearchField::textChanged, this, &StreamingSearchView::TextEdited);
QObject::connect(ui_->results, &AutoExpandingTreeView::AddToPlaylistSignal, this, &StreamingSearchView::AddToPlaylist);
QObject::connect(ui_->results, &AutoExpandingTreeView::FocusOnFilterSignal, this, &StreamingSearchView::FocusOnFilter);

View File

@@ -40,7 +40,7 @@
<item>
<layout class="QHBoxLayout" name="layout_search">
<item>
<widget class="QSearchField" name="search" native="true">
<widget class="SearchField" name="search" native="true">
<property name="placeholderText" stdset="0">
<string/>
</property>
@@ -297,9 +297,9 @@
</widget>
<customwidgets>
<customwidget>
<class>QSearchField</class>
<class>SearchField</class>
<extends>QWidget</extends>
<header>widgets/qsearchfield.h</header>
<header>widgets/searchfield.h</header>
</customwidget>
<customwidget>
<class>AutoExpandingTreeView</class>