KDE 5.0 PyKDE API Reference
  • KDE's Python API
  • Overview
  • PyKDE Home
  • Sitemap
  • Contact Us
 

KFilterProxySearchLine Class Reference

from PyKDE5.kitemviews import *

Inherits: QWidget → QObject

Detailed Description

KFilterProxySearchLine

Responsible for the quick search when you are using a QSortFilterProxyModel. This will give you an widget which you can embed in your application, call the setProxy() function to indicate on which QSortFilterProxyModel this search line should operate.

Author:
Tom Albers <tomalbers@kde.nl>
Since:
4.2


Methods

 __init__ (self, QWidget parent=0)
QLineEdit lineEdit (self)
 setProxy (self, QSortFilterProxyModel proxy)
 setText (self, QString text)

Method Documentation

__init__ (  self,
QWidget  parent=0
)

Constructor

QLineEdit lineEdit (   self )

Returns the pointer of the lineedit..

setProxy (  self,
QSortFilterProxyModel  proxy
)

Associate a proxy

Parameters:
proxy  The proxy to operate with.

setText (  self,
QString  text
)

To set the search to a text.

  • Full Index

Modules

  • karchive
  • kcoreaddons
  • kguiaddons
  • kitemmodels
  • kitemviews
  • kplotting
  • kwidgetsaddons
  • solid
  • sonnet
This documentation is maintained by Simon Edwards.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal