PyKDE - Python Bindings for KDE
class KJanusWidget
Table of contents
Modules
kdeui Classes
All Classes
Module
kdeui
Class
KJanusWidget
Inherits
QWidget
enums
Face
= {TreeList, Tabbed, Plain, Swallow, IconList }
methods
FindParent
()
returns
(QWidget)
InsertTreeListItem
(items, pixmap, page)
returns
nothing
Argument
Type
Default
items
QStringList
pixmap
QPixmap
page
QFrame
KJanusWidget
(parent = 0, name = 0, face = Plain)
returns
a KJanusWidget instance
Argument
Type
Default
parent
QWidget
0
name
char
0
face
int
Plain
aboutToShowPage
(page)
returns
nothing
Argument
Type
Default
page
QWidget
activePageIndex
()
returns
(int)
addButtonBelowList
(text, recv, slot)
returns
nothing
In versions KDE 3.2.0 and above only
Argument
Type
Default
text
QString
recv
QObject
slot
char
addButtonBelowList
(guiitem, recv, slot)
returns
nothing
In versions KDE 3.2.0 and above only
Argument
Type
Default
guiitem
KGuiItem
recv
QObject
slot
char
addGridPage
(n, dir, itemName, header = QString .null, pixmap = QPixmap ())
returns
(QGrid)
Argument
Type
Default
n
int
dir
Qt.Orientation
itemName
QString
header
QString
QString .null
pixmap
QPixmap
QPixmap ()
addGridPage
(n, dir, items, header = QString .null, pixmap = QPixmap ())
returns
(QGrid)
Argument
Type
Default
n
int
dir
Qt.Orientation
items
QStringList
header
QString
QString .null
pixmap
QPixmap
QPixmap ()
addHBoxPage
(itemName, header = QString .null, pixmap = QPixmap ())
returns
(QHBox)
Argument
Type
Default
itemName
QString
header
QString
QString .null
pixmap
QPixmap
QPixmap ()
addHBoxPage
(items, header = QString .null, pixmap = QPixmap ())
returns
(QHBox)
Argument
Type
Default
items
QStringList
header
QString
QString .null
pixmap
QPixmap
QPixmap ()
addPage
(item, header = QString .null, pixmap = QPixmap ())
returns
(QFrame)
Argument
Type
Default
item
QString
header
QString
QString .null
pixmap
QPixmap
QPixmap ()
addPage
(items, header = QString .null, pixmap = QPixmap ())
returns
(QFrame)
Argument
Type
Default
items
QStringList
header
QString
QString .null
pixmap
QPixmap
QPixmap ()
addPageWidget
(page, items, header, pixmap)
returns
nothing
Argument
Type
Default
page
QFrame
items
QStringList
header
QString
pixmap
QPixmap
addVBoxPage
(item, header = QString .null, pixmap = QPixmap ())
returns
(QVBox)
Argument
Type
Default
item
QString
header
QString
QString .null
pixmap
QPixmap
QPixmap ()
addVBoxPage
(items, header = QString .null, pixmap = QPixmap ())
returns
(QVBox)
Argument
Type
Default
items
QStringList
header
QString
QString .null
pixmap
QPixmap
QPixmap ()
addWidgetBelowList
(widget)
returns
nothing
In versions KDE 3.2.0 and above only
Argument
Type
Default
widget
QWidget
eventFilter
(o, e)
returns
(bool)
Argument
Type
Default
o
QObject
e
QEvent
face
()
returns
(int)
isValid
()
returns
(bool)
minimumSizeHint
()
returns
(QSize)
pageIndex
(widget)
returns
(int)
Argument
Type
Default
widget
QWidget
pageTitle
(index)
returns
(QString)
In versions KDE 3.2.0 and above only
Argument
Type
Default
index
int
pageWidget
(index)
returns
(QWidget)
In versions KDE 3.2.0 and above only
Argument
Type
Default
index
int
plainPage
()
returns
(QFrame)
removePage
(page)
returns
nothing
In versions KDE 3.1.0 and above only
Argument
Type
Default
page
QWidget
setFocus
()
returns
nothing
setFolderIcon
(path, pixmap)
returns
nothing
Argument
Type
Default
path
QStringList
pixmap
QPixmap
setIconListAllVisible
(state)
returns
nothing
Argument
Type
Default
state
bool
setRootIsDecorated
(state)
returns
nothing
Argument
Type
Default
state
bool
setShowIconsInTreeList
(state)
returns
nothing
Argument
Type
Default
state
bool
setSwallowedWidget
(widget)
returns
(bool)
Argument
Type
Default
widget
QWidget
setTreeListAutoResize
(state)
returns
nothing
Argument
Type
Default
state
bool
showEvent
(a0)
returns
nothing
Argument
Type
Default
a0
QShowEvent
showPage
(index)
returns
(bool)
Argument
Type
Default
index
int
showPage
(w)
returns
(bool)
Argument
Type
Default
w
QWidget
sizeHint
()
returns
(QSize)
unfoldTreeList
(persist = 0)
returns
nothing
In versions KDE 3.2.0 and above only
Argument
Type
Default
persist
bool
0