KFilterProxySearchLine Class Reference
from PyKDE4.kdeui import *
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.
- Since:
- 4.2
| Methods | |
| __init__ (self, QWidget parent=0) | |
| __init__ (self, KFilterProxySearchLine a0) | |
| KLineEdit | lineEdit (self) | 
| setProxy (self, QSortFilterProxyModel proxy) | |
| setText (self, QString text) | |
Method Documentation
| __init__ | ( | self, | ||
| QWidget | parent=0 | |||
| ) | 
Constructor
| __init__ | ( | self, | ||
| KFilterProxySearchLine | a0 | |||
| ) | 
| KLineEdit 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.
 KDE 4.5 PyKDE API Reference
        KDE 4.5 PyKDE API Reference