ControlLayout: Allow removing search bar's focus
This commit is contained in:
@@ -177,6 +177,11 @@ QLayoutItem *ControlLayout::takeAt(int index)
|
||||
return (itr == m_itemMap.end()) ? nullptr : m_itemMap.take(itr.key());
|
||||
}
|
||||
|
||||
void ControlLayout::removeFocusFromSearchBar()
|
||||
{
|
||||
m_searchBar->clearFocus();
|
||||
}
|
||||
|
||||
Qt::Orientations ControlLayout::expandingDirections() const
|
||||
{
|
||||
return Qt::Orientations();
|
||||
|
||||
@@ -142,6 +142,14 @@ void LinkedModelGroupView::removeControl(const QString& key)
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
void LinkedModelGroupView::removeFocusFromSearchBar()
|
||||
{
|
||||
m_layout->removeFocusFromSearchBar();
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
LinkedModelGroupsViewBase
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user