All Objects| Statics| Objects| KJSEmbed Objects| Qt Objects| KDE Objects| Exceptions| Uncreatable Objects

# KListBox

Bindings for the KListBox class.

## Properties

None

## Methods

addChild(...)
adjustSize(...)
center(...)
center4(...)
child(...)
childCount(...)
children(...)
className(...)
clear(...)
clearFocus(...)
clearSelection(...)
close(...)
connect(...)
constPolish(...)
deleteLater(...)
disconnect(...)
drawLine(...)
drawText(...)
ensureCurrentVisible(...)
ensureVisible(...)
ensureVisible4(...)
getAttribute(...)
getElementById(...)
getParentNode(...)
grabWidget(...)
hasAttribute(...)
hide(...)
iconify(...)
insertItem(...)
invertSelection(...)
isWidgetType(...)
lower(...)
move(...)
move1(...)
parent(...)
polish(...)
properties(...)
raise(...)
repaint(...)
repaint1(...)
repaint2(...)
repaint4(...)
repaint5(...)
resize(...)
resize1(...)
resizeContents(...)
scrollBy(...)
selectAll(...)
setAttribute(...)
setCaption(...)
setContentsPos(...)
setDisabled(...)
setEnabled(...)
setEnabled1(...)
setFocus(...)
setGeometry(...)
setGeometry1(...)
setHidden(...)
setIcon(...)
setIconText(...)
setMouseTracking(...)
setShown(...)
setUpdatesEnabled(...)
show(...)
showFullScreen(...)
showMaximized(...)
showMinimized(...)
showNormal(...)
signals(...)
slots(...)
stackUnder(...)
superClassName(...)
update(...)
update1(...)
update4(...)
updateScrollBars(...)
viewport(...)

## Qt Properties

Type | Name | Value
--- | --- | ---
bool | acceptDrops | false
bool | autoMask | false
QBrush | backgroundBrush |
BackgroundMode | backgroundMode | 12
BackgroundOrigin | backgroundOrigin | 0
QSize | baseSize |
QString | caption |
QRect | childrenRect |
QRegion | childrenRegion |
QColorGroup | colorGroup |
LayoutMode | columnMode | 0
int | contentsHeight | 1
QRect | contentsRect |
int | contentsWidth | 1
int | contentsX | 0
int | contentsY | 0
uint | count | 0
int | currentItem | -1
QString | currentText |
QCursor | cursor |
bool | customWhatsThis | false
bool | dragAutoScroll | true
bool | enabled | true
bool | focus | false
bool | focusEnabled | true
FocusPolicy | focusPolicy | 15
QFont | font | Arial,12,-1,5,50,0,0,0,0,0
QRect | frameGeometry |
QRect | frameRect |
Shadow | frameShadow | 48
Shape | frameShape | 6
QSize | frameSize |
int | frameWidth | 2
bool | fullScreen | false
QRect | geometry |
ScrollBarMode | hScrollBarMode | 0
int | height | 409
bool | hidden | true
QPixmap | icon |
QString | iconText |
bool | inputMethodEnabled | false
bool | isActiveWindow | false
bool | isDesktop | false
bool | isDialog | false
bool | isModal | false
bool | isPopup | false
bool | isTopLevel | true
int | lineWidth | 2
int | margin | 0
bool | maximized | false
int | maximumHeight | 32767
QSize | maximumSize |
int | maximumWidth | 32767
QRect | microFocusHint |
int | midLineWidth | 0
bool | minimized | false
int | minimumHeight | 0
QSize | minimumSize |
QSize | minimumSizeHint |
int | minimumWidth | 0
bool | mouseTracking | true
bool | multiSelection | false
QCString | name | unnamed
int | numColumns | 0
int | numItemsVisible | 0
int | numRows | 0
bool | ownCursor | true
bool | ownFont | false
bool | ownPalette | false
QPalette | palette |
QColor | paletteBackgroundColor | #ffffff
QPixmap | paletteBackgroundPixmap |
QColor | paletteForegroundColor | #000000
QPoint | pos |
QRect | rect |
ResizePolicy | resizePolicy | 1
LayoutMode | rowMode | 2
SelectionMode | selectionMode | 0
bool | shown | false
QSize | size |
QSize | sizeHint |
QSize | sizeIncrement |
QSizePolicy | sizePolicy |
int | topItem | 0
bool | underMouse | false
bool | updatesEnabled | true
ScrollBarMode | vScrollBarMode | 0
bool | variableHeight | true
bool | variableWidth | false
bool | visible | false
int | visibleHeight | 405
QRect | visibleRect |
int | visibleWidth | 636
int | width | 640
double | windowOpacity | 1
int | x | 320
int | y | 307

## Qt Signals

clicked(QListBoxItem*)
clicked(QListBoxItem*,const QPoint&)
contentsMoving(int,int)
contextMenuRequested(QListBoxItem*,const QPoint&)
currentChanged(QListBoxItem*)
destroyed()
destroyed(QObject*)
doubleClicked(QListBoxItem*)
doubleClicked(QListBoxItem*,const QPoint&)
executed(QListBoxItem*)
executed(QListBoxItem*,const QPoint&)
highlighted(QListBoxItem*)
highlighted(const QString&)
highlighted(int)
horizontalSliderPressed()
horizontalSliderReleased()
mouseButtonClicked(int,QListBoxItem*,const QPoint&)
mouseButtonPressed(int,QListBoxItem*,const QPoint&)
onItem(QListBoxItem*)
onViewport()
pressed(QListBoxItem*)
pressed(QListBoxItem*,const QPoint&)
returnPressed(QListBoxItem*)
rightButtonClicked(QListBoxItem*,const QPoint&)
rightButtonPressed(QListBoxItem*,const QPoint&)
selected(QListBoxItem*)
selected(const QString&)
selected(int)
selectionChanged()
selectionChanged(QListBoxItem*)
verticalSliderPressed()
verticalSliderReleased()

## Qt Slots

void | adjustItems()
void | adjustSize()
void | center(int,int)
void | center(int,int,float,float)
void | cleanupEventFilter(QObject*)
void | clear()
void | clearFocus()
void | clearInputString()
void | clearSelection()
bool | close()
void | constPolish()
void | deleteLater()
void | doAutoScroll()
void | doDragAutoScroll()
void | ensureCurrentVisible()
void | ensureVisible(int,int)
void | ensureVisible(int,int,int,int)
void | focusProxyDestroyed()
void | hbarIsPressed()
void | hbarIsReleased()
void | hide()
void | hslide(int)
void | iconify()
void | invertSelection()
void | lower()
void | move(const QPoint&)
void | move(int,int)
void | polish()
void | raise()
void | refreshSlot()
void | repaint()
void | repaint(bool)
void | repaint(const QRect&)
void | repaint(const QRect&,bool)
void | repaint(const QRegion&)
void | repaint(const QRegion&,bool)
void | repaint(int,int,int,int)
void | repaint(int,int,int,int,bool)
void | resize(const QSize&)
void | resize(int,int)
void | resizeContents(int,int)
void | scrollBy(int,int)
void | selectAll(bool)
void | setCaption(const QString&)
void | setContentsPos(int,int)
void | setDisabled(bool)
void | setEnabled(bool)
void | setEnabled(bool)
void | setFocus()
void | setGeometry(const QRect&)
void | setGeometry(int,int,int,int)
void | setHidden(bool)
void | setIcon(const QPixmap&)
void | setIconText(const QString&)
void | setMouseTracking(bool)
void | setShown(bool)
void | setUpdatesEnabled(bool)
void | show()
void | showFullScreen()
void | showMaximized()
void | showMinimized()
void | showNormal()
void | slotAutoSelect()
void | slotMouseButtonClicked(int,QListBoxItem*,const QPoint&)
void | slotOnItem(QListBoxItem*)
void | slotOnViewport()
void | slotSettingsChanged(int)
void | stackUnder(QWidget*)
void | startDragAutoScroll()
void | stopDragAutoScroll()
void | update()
void | update(const QRect&)
void | update(int,int,int,int)
void | updateScrollBars()
void | vbarIsPressed()
void | vbarIsReleased()
void | vslide(int)