diff options
| author | Peter Penz <[email protected]> | 2012-04-25 02:16:35 +0200 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2012-04-25 02:20:25 +0200 |
| commit | 67f58d5082cbab3a1a4a83926e77ade299ec07ea (patch) | |
| tree | 4cb2171bb8ccf0cab7a4d4361836def5fb82ee44 /src/search/dolphinsearchbox.h | |
| parent | d9de39172033c28b8f9a7c1573130cf2124b4f7a (diff) | |
Fix search-UI issues in combination with the new places entries
The places-entries for searching revealed some serious issues in
combination with the search-panel. Move the filtering away from
QDockWidget and bring it back below the search-bar.
Diffstat (limited to 'src/search/dolphinsearchbox.h')
| -rw-r--r-- | src/search/dolphinsearchbox.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/search/dolphinsearchbox.h b/src/search/dolphinsearchbox.h index 8af32b377..2b4632bb1 100644 --- a/src/search/dolphinsearchbox.h +++ b/src/search/dolphinsearchbox.h @@ -24,10 +24,9 @@ #include <QList> #include <QWidget> -class AbstractSearchFilterWidget; +class DolphinFacetsWidget; class KLineEdit; class KSeparator; -class QFormLayout; class QToolButton; class QScrollArea; class QLabel; @@ -141,6 +140,7 @@ private slots: void slotConfigurationChanged(); void slotSearchTextChanged(const QString& text); void slotReturnPressed(const QString& text); + void slotFacetsButtonToggled(); private: void initButton(QToolButton* button); @@ -155,6 +155,8 @@ private: void applyReadOnlyState(); + void updateFacetsToggleButtonIcon(); + private: bool m_startedSearching; bool m_readOnly; @@ -169,6 +171,8 @@ private: KSeparator* m_separator; QToolButton* m_fromHereButton; QToolButton* m_everywhereButton; + QToolButton* m_facetsToggleButton; + DolphinFacetsWidget* m_facetsWidget; KUrl m_searchPath; KUrl m_readOnlyQuery; |
