KItemViews
ktreewidgetsearchlinewidget.cpp
23KTreeWidgetSearchLineWidget::KTreeWidgetSearchLineWidget(QWidget *parent, QTreeWidget *treeWidget)
36KTreeWidgetSearchLine *KTreeWidgetSearchLineWidget::createSearchLine(QTreeWidget *treeWidget) const
Creates a widget featuring a KTreeWidgetSearchLine, a label with the text "Search" and a button to cl...
Definition ktreewidgetsearchlinewidget.h:28
KTreeWidgetSearchLineWidget(QWidget *parent=nullptr, QTreeWidget *treeWidget=nullptr)
Creates a KTreeWidgetSearchLineWidget for treeWidget with parent as the parent.
Definition ktreewidgetsearchlinewidget.cpp:23
virtual KTreeWidgetSearchLine * createSearchLine(QTreeWidget *treeWidget) const
Creates the search line.
Definition ktreewidgetsearchlinewidget.cpp:36
KTreeWidgetSearchLine * searchLine() const
Returns a pointer to the search line.
Definition ktreewidgetsearchlinewidget.cpp:51
virtual void createWidgets()
Creates the widgets inside of the widget.
Definition ktreewidgetsearchlinewidget.cpp:41
~KTreeWidgetSearchLineWidget() override
Destroys the KTreeWidgetSearchLineWidget.
This class makes it easy to add a search line for filtering the items in listviews based on a simple ...
Definition ktreewidgetsearchline.h:32
void addWidget(QWidget *w)
void setContentsMargins(const QMargins &margins)
bool invokeMethod(QObject *context, Functor &&function, FunctorReturnType *ret)
QueuedConnection
QLayout * layout() const const
void setFocusProxy(QWidget *w)
void show()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:03:12 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:03:12 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.