PyKDE - Python Bindings for KDE
class KComboBox
Table of contents
Modules
tdeui Classes
All Classes
Module
tdeui
Class
KComboBox
Inherits
TQComboBox, KCompletionBase
methods
KComboBox
(parent = 0, name = 0)
returns
a KComboBox instance
Argument
Type
Default
parent
TQWidget
0
name
char
0
KComboBox
(rw, parent = 0, name = 0)
returns
a KComboBox instance
Argument
Type
Default
rw
bool
parent
TQWidget
0
name
char
0
aboutToShowContextMenu
(p)
returns
nothing
Argument
Type
Default
p
TQPopupMenu
autoCompletion
()
returns
(bool)
changeURL
(url, index)
returns
nothing
Argument
Type
Default
url
KURL
index
int
changeURL
(pixmap, url, index)
returns
nothing
Argument
Type
Default
pixmap
TQPixmap
url
KURL
index
int
completion
(a0)
returns
nothing
Argument
Type
Default
a0
TQString
completionBox
(create)
returns
(KCompletionBox)
Argument
Type
Default
create
bool
completionModeChanged
(a0)
returns
nothing
Argument
Type
Default
a0
KGlobalSettings.Completion
contains
(text)
returns
(bool)
Argument
Type
Default
text
TQString
create
(a0 = 0, initializeWindow = 1, destroyOldWindow = 1)
returns
nothing
Argument
Type
Default
a0
WId
0
initializeWindow
bool
1
destroyOldWindow
bool
1
cursorPosition
()
returns
(int)
eventFilter
(a0, a1)
returns
(bool)
Argument
Type
Default
a0
TQObject
a1
TQEvent
insertURL
(url, index = -1)
returns
nothing
Argument
Type
Default
url
KURL
index
int
-1
insertURL
(pixmap, url, index = -1)
returns
nothing
Argument
Type
Default
pixmap
TQPixmap
url
KURL
index
int
-1
isContextMenuEnabled
()
returns
(bool)
isURLDropsEnabled
()
returns
(bool)
itemSelected
(a0)
returns
nothing
Argument
Type
Default
a0
TQListBoxItem
makeCompletion
(a0)
returns
nothing
Argument
Type
Default
a0
TQString
returnPressed
()
returns
nothing
returnPressed
(a0)
returns
nothing
Argument
Type
Default
a0
TQString
rotateText
(type)
returns
nothing
Argument
Type
Default
type
KCompletionBase.KeyBindingType
setAutoCompletion
(autocomplete)
returns
nothing
Argument
Type
Default
autocomplete
bool
setCompletedItems
(items)
returns
nothing
Argument
Type
Default
items
TQStringList
setCompletedText
(a0)
returns
nothing
Argument
Type
Default
a0
TQString
setCompletedText
(a0, a1)
returns
nothing
Argument
Type
Default
a0
TQString
a1
bool
setContextMenuEnabled
(showMenu)
returns
nothing
Argument
Type
Default
showMenu
bool
setCurrentItem
(item, insert = 0, index = -1)
returns
nothing
Argument
Type
Default
item
TQString
insert
bool
0
index
int
-1
setCurrentItem
(index)
returns
nothing
Argument
Type
Default
index
int
setEditURL
(url)
returns
nothing
Argument
Type
Default
url
KURL
setLineEdit
(a0)
returns
nothing
Argument
Type
Default
a0
TQLineEdit
setTrapReturnKey
(trap)
returns
nothing
Argument
Type
Default
trap
bool
setURLDropsEnabled
(enable)
returns
nothing
Argument
Type
Default
enable
bool
substringCompletion
(a0)
returns
nothing
Argument
Type
Default
a0
TQString
textRotation
(a0)
returns
nothing
Argument
Type
Default
a0
KCompletionBase.KeyBindingType
trapReturnKey
()
returns
(bool)
wheelEvent
(ev)
returns
nothing
In versions KDE 3.1.0 and above only
Argument
Type
Default
ev
TQWheelEvent