PyKDE - Python Bindings for KDE
class TDEListView
Table of contents
Modules
tdeui Classes
All Classes
Module
tdeui
Class
TDEListView
Inherits
TQListView
enums
SelectionModeExt
= {Single, Multi, Extended, NoSelection, FileManager }
methods
TDEListView
(parent = 0, name = 0)
returns
a TDEListView instance
Argument
Type
Default
parent
TQWidget
0
name
char
0
aboutToMove
()
returns
nothing
acceptDrag
(event)
returns
(bool)
Argument
Type
Default
event
TQDropEvent
activateAutomaticSelection
()
returns
nothing
addColumn
(label, width = -1)
returns
(int)
In versions KDE 3.0.1 and above only
Argument
Type
Default
label
TQString
width
int
-1
addColumn
(iconset, label, width = -1)
returns
(int)
In versions KDE 3.0.1 and above only
Argument
Type
Default
iconset
TQIconSet
label
TQString
width
int
-1
alternateBackground
()
returns
(TQColor)
ascendingSort
()
returns
(bool)
autoOpen
()
returns
(bool)
automaticSelection
()
returns
(bool)
below
(rect, p)
returns
(bool)
Argument
Type
Default
rect
TQRect
p
TQPoint
below
(i, p)
returns
(bool)
Argument
Type
Default
i
TQListViewItem
p
TQPoint
cleanDropVisualizer
()
returns
nothing
cleanItemHighlighter
()
returns
nothing
columnSorted
()
returns
(int)
contentsDragEnterEvent
(a0)
returns
nothing
Argument
Type
Default
a0
TQDragEnterEvent
contentsDragLeaveEvent
(event)
returns
nothing
Argument
Type
Default
event
TQDragLeaveEvent
contentsDragMoveEvent
(event)
returns
nothing
Argument
Type
Default
event
TQDragMoveEvent
contentsDropEvent
(a0)
returns
nothing
Argument
Type
Default
a0
TQDropEvent
contentsMouseDoubleClickEvent
(e)
returns
nothing
Argument
Type
Default
e
TQMouseEvent
contentsMouseMoveEvent
(e)
returns
nothing
Argument
Type
Default
e
TQMouseEvent
contentsMousePressEvent
(e)
returns
nothing
Argument
Type
Default
e
TQMouseEvent
contentsMouseReleaseEvent
(a0)
returns
nothing
Argument
Type
Default
a0
TQMouseEvent
contextMenu
(l, i, p)
returns
nothing
Argument
Type
Default
l
TDEListView
i
TQListViewItem
p
TQPoint
createChildren
()
returns
(bool)
deactivateAutomaticSelection
()
returns
nothing
depthToPixels
(depth)
returns
(int)
Argument
Type
Default
depth
int
disableAutoSelection
()
returns
nothing
In versions KDE 3.2.0 and above only
doneEditing
(item, row)
returns
nothing
Argument
Type
Default
item
TQListViewItem
row
int
doubleClicked
(item, pos, c)
returns
nothing
In versions KDE 3.3.0 and above only
Argument
Type
Default
item
TQListViewItem
pos
TQPoint
c
int
doubleClicked
(a0, a1, a2)
returns
nothing
In versions
less than
KDE 3.3.0 only
Argument
Type
Default
a0
TQListViewItem
a1
TQPoint
a2
int
dragEnabled
()
returns
(bool)
dragObject
()
Not Implemented
dragObject
()
returns
(TQDragObject)
drawDropVisualizer
(p, parent, after)
returns
(TQRect)
Argument
Type
Default
p
TQPainter
parent
TQListViewItem
after
TQListViewItem
drawItemHighlighter
(painter, item)
returns
(TQRect)
Argument
Type
Default
painter
TQPainter
item
TQListViewItem
dropHighlighter
()
returns
(bool)
dropVisualizer
()
returns
(bool)
dropVisualizerWidth
()
returns
(int)
dropped
(e, after)
returns
nothing
Argument
Type
Default
e
TQDropEvent
after
TQListViewItem
dropped
(list, e, after)
returns
nothing
Argument
Type
Default
list
TDEListView
e
TQDropEvent
after
TQListViewItem
dropped
(list, e, parent, after)
returns
nothing
Argument
Type
Default
list
TDEListView
e
TQDropEvent
parent
TQListViewItem
after
TQListViewItem
dropped
(e, parent, after)
returns
nothing
Argument
Type
Default
e
TQDropEvent
parent
TQListViewItem
after
TQListViewItem
emitContextMenu
(a0, a1, a2)
returns
nothing
Argument
Type
Default
a0
TQListViewItem
a1
TQPoint
a2
int
emitContextMenu
(a0, a1)
returns
nothing
Argument
Type
Default
a0
TDEListView
a1
TQListViewItem
emitExecute
(item, pos, c)
returns
nothing
Argument
Type
Default
item
TQListViewItem
pos
TQPoint
c
int
event
(a0)
returns
(bool)
Argument
Type
Default
a0
TQEvent
executed
(item)
returns
nothing
Argument
Type
Default
item
TQListViewItem
executed
(item, pos, c)
returns
nothing
Argument
Type
Default
item
TQListViewItem
pos
TQPoint
c
int
fileManagerKeyPressEvent
(a0)
returns
nothing
Argument
Type
Default
a0
TQKeyEvent
findDrop
(pos, parent, after)
returns
nothing
Argument
Type
Default
pos
TQPoint
parent
TQListViewItem
after
TQListViewItem
focusInEvent
(fe)
returns
nothing
Argument
Type
Default
fe
TQFocusEvent
focusOutEvent
(fe)
returns
nothing
Argument
Type
Default
fe
TQFocusEvent
fullWidth
()
returns
(bool)
isExecuteArea
(point)
returns
(bool)
Argument
Type
Default
point
TQPoint
isExecuteArea
(x)
returns
(bool)
Argument
Type
Default
x
int
isRenameable
(column)
returns
(bool)
Argument
Type
Default
column
int
itemAdded
(item)
returns
nothing
In versions KDE 3.3.0 and above only
Argument
Type
Default
item
TQListViewItem
itemAtIndex
(index)
returns
(TQListViewItem)
Argument
Type
Default
index
int
itemIndex
(item)
returns
(int)
Argument
Type
Default
item
TQListViewItem
itemRemoved
(item)
returns
nothing
In versions KDE 3.3.0 and above only
Argument
Type
Default
item
TQListViewItem
itemRenamed
(item, str, col)
returns
nothing
Argument
Type
Default
item
TQListViewItem
str
TQString
col
int
itemRenamed
(item)
returns
nothing
Argument
Type
Default
item
TQListViewItem
itemsMovable
()
returns
(bool)
itemsRenameable
()
returns
(bool)
keyPressEvent
(a0)
returns
nothing
Argument
Type
Default
a0
TQKeyEvent
lastChild
()
returns
(TQListViewItem)
lastItem
()
returns
(TQListViewItem)
leaveEvent
(e)
returns
nothing
Argument
Type
Default
e
TQEvent
menuShortCutPressed
(list, item)
returns
nothing
Argument
Type
Default
list
TDEListView
item
TQListViewItem
movableDropEvent
(parent, afterme)
returns
nothing
Argument
Type
Default
parent
TQListViewItem
afterme
TQListViewItem
moveItem
(item, parent, after)
returns
nothing
Argument
Type
Default
item
TQListViewItem
parent
TQListViewItem
after
TQListViewItem
moved
()
returns
nothing
moved
(item, afterFirst, afterNow)
returns
nothing
Argument
Type
Default
item
TQListViewItem
afterFirst
TQListViewItem
afterNow
TQListViewItem
moved
(items, afterFirst, afterNow)
returns
nothing
Argument
Type
Default
items
TQPtrList
afterFirst
TQPtrList
afterNow
TQPtrList
removeColumn
(index)
returns
nothing
In versions KDE 3.0.1 and above only
Argument
Type
Default
index
int
rename
(item, c)
returns
nothing
Argument
Type
Default
item
TQListViewItem
c
int
renameLineEdit
()
returns
(KLineEdit)
In versions KDE 3.1.0 and above only
resetAutoSelection
()
returns
nothing
In versions KDE 3.2.0 and above only
restoreLayout
(config, group)
returns
nothing
Argument
Type
Default
config
TDEConfig
group
TQString
saveLayout
(config, group)
returns
nothing
Argument
Type
Default
config
TDEConfig
group
TQString
selectedItems
()
returns
(TQPtrList
)
selectedItems
(includeHiddenItems)
returns
(TQPtrList
)
In versions KDE 3.4.0 and above only
Argument
Type
Default
includeHiddenItems
bool
selectionModeExt
()
returns
(SelectionModeExt)
setAcceptDrops
(a0)
returns
nothing
Argument
Type
Default
a0
bool
setAlternateBackground
(c)
returns
nothing
Argument
Type
Default
c
TQColor
setAutoOpen
(b)
returns
nothing
Argument
Type
Default
b
bool
setCreateChildren
(b)
returns
nothing
Argument
Type
Default
b
bool
setDragEnabled
(b)
returns
nothing
Argument
Type
Default
b
bool
setDropHighlighter
(b)
returns
nothing
Argument
Type
Default
b
bool
setDropVisualizer
(b)
returns
nothing
Argument
Type
Default
b
bool
setDropVisualizerWidth
(w)
returns
nothing
Argument
Type
Default
w
int
setFullWidth
()
returns
nothing
setFullWidth
(fullWidth)
returns
nothing
Argument
Type
Default
fullWidth
bool
setItemsMovable
(b)
returns
nothing
Argument
Type
Default
b
bool
setItemsRenameable
(b)
returns
nothing
Argument
Type
Default
b
bool
setRenameable
(column, yesno = 1)
returns
nothing
Argument
Type
Default
column
int
yesno
bool
1
setSelectionModeExt
(mode)
returns
nothing
Argument
Type
Default
mode
TDEListView.SelectionModeExt
setShadeSortColumn
(shadeSortColumn)
returns
nothing
In versions KDE 3.4.0 and above only
Argument
Type
Default
shadeSortColumn
bool
setSorting
(column, ascending = 1)
returns
nothing
Argument
Type
Default
column
int
ascending
bool
1
setTabOrderedRenaming
(b)
returns
nothing
In versions KDE 3.1.0 and above only
Argument
Type
Default
b
bool
setTooltipColumn
(column)
returns
nothing
Argument
Type
Default
column
int
shadeSortColumn
()
returns
(bool)
In versions KDE 3.4.0 and above only
showTooltip
(item, pos, column)
returns
(bool)
Argument
Type
Default
item
TQListViewItem
pos
TQPoint
column
int
slotAutoSelect
()
returns
nothing
slotDragExpand
()
returns
nothing
In versions KDE 3.2.0 and above only
slotHeaderChanged
()
returns
nothing
slotMouseButtonClicked
(btn, item, pos, c)
returns
nothing
Argument
Type
Default
btn
int
item
TQListViewItem
pos
TQPoint
c
int
slotOnItem
(item)
returns
nothing
Argument
Type
Default
item
TQListViewItem
slotOnViewport
()
returns
nothing
slotSettingsChanged
(a0)
returns
nothing
Argument
Type
Default
a0
int
startDrag
()
returns
nothing
tabOrderedRenaming
()
returns
(bool)
In versions KDE 3.1.0 and above only
takeItem
(i)
returns
nothing
In versions KDE 3.2.0 and above only
Argument
Type
Default
i
TQListViewItem
tooltip
(item, column)
returns
(TQString)
Argument
Type
Default
item
TQListViewItem
column
int
tooltipColumn
()
returns
(int)
viewportPaintEvent
(a0)
returns
nothing
Argument
Type
Default
a0
TQPaintEvent
viewportResizeEvent
(e)
returns
nothing
Argument
Type
Default
e
TQResizeEvent