PyKDE - Python Bindings for KDE
class KLineEdit
Table of contents
Modules
kdeui Classes
All Classes
Module
kdeui
Class
KLineEdit
Inherits
QLineEdit, KCompletionBase
methods
KLineEdit
(string, parent, name = 0)
returns
a KLineEdit instance
Argument
Type
Default
string
QString
parent
QWidget
name
char
0
KLineEdit
(parent = 0, name = 0)
returns
a KLineEdit instance
Argument
Type
Default
parent
QWidget
0
name
char
0
aboutToShowContextMenu
(p)
returns
nothing
Argument
Type
Default
p
QPopupMenu
autoSuggest
()
returns
(bool)
In versions KDE 3.4.0 and above only
clear
()
returns
nothing
completion
(a0)
returns
nothing
Argument
Type
Default
a0
QString
completionBox
(create)
returns
(KCompletionBox)
Argument
Type
Default
create
bool
completionBoxActivated
(a0)
returns
nothing
In versions KDE 3.1.0 and above only
Argument
Type
Default
a0
QString
completionModeChanged
(a0)
returns
nothing
Argument
Type
Default
a0
KGlobalSettings.Completion
contextMenuEvent
(a0)
returns
nothing
In versions KDE 3.3.1 and above only
Argument
Type
Default
a0
QContextMenuEvent
copy
()
returns
nothing
In versions KDE 3.1.0 and above only
create
(a0 = 0, initializeWindow = 1, destroyOldWindow = 1)
returns
nothing
Argument
Type
Default
a0
WId
0
initializeWindow
bool
1
destroyOldWindow
bool
1
createPopupMenu
()
returns
(QPopupMenu)
cursorAtEnd
()
returns
nothing
dropEvent
(a0)
returns
nothing
Argument
Type
Default
a0
QDropEvent
eventFilter
(a0, a1)
returns
(bool)
Argument
Type
Default
a0
QObject
a1
QEvent
focusInEvent
(a0)
returns
nothing
In versions KDE 3.4.0 and above only
Argument
Type
Default
a0
QFocusEvent
isContextMenuEnabled
()
returns
(bool)
isSqueezedTextEnabled
()
returns
(bool)
In versions KDE 3.2.0 and above only
isURLDropsEnabled
()
returns
(bool)
keyPressEvent
(a0)
returns
nothing
Argument
Type
Default
a0
QKeyEvent
makeCompletion
(a0)
returns
nothing
Argument
Type
Default
a0
QString
mouseDoubleClickEvent
(a0)
returns
nothing
Argument
Type
Default
a0
QMouseEvent
mousePressEvent
(a0)
returns
nothing
Argument
Type
Default
a0
QMouseEvent
originalText
()
returns
(QString)
In versions KDE 3.2.0 and above only
resizeEvent
(a0)
returns
nothing
In versions KDE 3.1.0 and above only
Argument
Type
Default
a0
QResizeEvent
returnPressed
(a0)
returns
nothing
Argument
Type
Default
a0
QString
rotateText
(type)
returns
nothing
Argument
Type
Default
type
KCompletionBase.KeyBindingType
setCompletedItems
(items)
returns
nothing
Argument
Type
Default
items
QStringList
setCompletedItems
(items, autoSuggest)
returns
nothing
In versions KDE 3.3.0 and above only
Argument
Type
Default
items
QStringList
autoSuggest
bool
setCompletedText
(a0)
returns
nothing
Argument
Type
Default
a0
QString
setCompletedText
(a0, a1)
returns
nothing
Argument
Type
Default
a0
QString
a1
bool
setCompletionBox
(box)
returns
nothing
In versions KDE 3.4.0 and above only
Argument
Type
Default
box
KCompletionBox
setCompletionMode
(mode)
returns
nothing
Argument
Type
Default
mode
KGlobalSettings.Completion
setCompletionObject
(a0, hsig = 1)
returns
nothing
Argument
Type
Default
a0
KCompletion
hsig
bool
1
setContextMenuEnabled
(showMenu)
returns
nothing
Argument
Type
Default
showMenu
bool
setEnableSqueezedText
(enable)
returns
nothing
In versions KDE 3.2.0 and above only
Argument
Type
Default
enable
bool
setReadOnly
(a0)
returns
nothing
Argument
Type
Default
a0
bool
setSqueezedText
(text)
returns
nothing
In versions KDE 3.1.0 and above only
Argument
Type
Default
text
QString
setText
(a0)
returns
nothing
In versions KDE 3.2.0 and above only
Argument
Type
Default
a0
QString
setTrapReturnKey
(trap)
returns
nothing
Argument
Type
Default
trap
bool
setURL
(url)
returns
nothing
Argument
Type
Default
url
KURL
setURLDropsEnabled
(enable)
returns
nothing
Argument
Type
Default
enable
bool
setUserSelection
(userSelection)
returns
nothing
In versions KDE 3.2.0 and above only
Argument
Type
Default
userSelection
bool
slotAboutToShow
()
returns
nothing
slotCancelled
()
returns
nothing
substringCompletion
(a0)
returns
nothing
Argument
Type
Default
a0
QString
textRotation
(a0)
returns
nothing
Argument
Type
Default
a0
KCompletionBase.KeyBindingType
trapReturnKey
()
returns
(bool)
userCancelled
(cancelText)
returns
nothing
In versions KDE 3.2.0 and above only
Argument
Type
Default
cancelText
QString