org.kde.qt

Class QScrollView

public class QScrollView extends QFrame

See QScrollViewSignals for signals emitted by QScrollView
Field Summary
static intAlwaysOff
static intAlwaysOn
static intAuto
static intAutoOne
static intAutoOneFit
static intDefault
static intManual
Constructor Summary
protected QScrollView(Class dummy)
QScrollView(QWidget parent, String name, int f)
QScrollView(QWidget parent, String name)
QScrollView(QWidget parent)
QScrollView()
Method Summary
voidaddChild(QWidget child, int x, int y)
voidaddChild(QWidget child, int x)
voidaddChild(QWidget child)
protected intbottomMargin()
protected QSizecachedSizeHint()
voidcenter(int x, int y)
voidcenter(int x, int y, float xmargin, float ymargin)
booleanchildIsVisible(QWidget child)
intchildX(QWidget child)
intchildY(QWidget child)
StringclassName()
QWidgetclipper()
protected voidcontentsContextMenuEvent(QContextMenuEvent arg1)
protected voidcontentsDragEnterEvent(QDragEnterEvent arg1)
protected voidcontentsDragLeaveEvent(QDragLeaveEvent arg1)
protected voidcontentsDragMoveEvent(QDragMoveEvent arg1)
protected voidcontentsDropEvent(QDropEvent arg1)
intcontentsHeight()
protected voidcontentsMouseDoubleClickEvent(QMouseEvent arg1)
protected voidcontentsMouseMoveEvent(QMouseEvent arg1)
protected voidcontentsMousePressEvent(QMouseEvent arg1)
protected voidcontentsMouseReleaseEvent(QMouseEvent arg1)
voidcontentsToViewport(int x, int y, int[] vx, int[] vy)
QPointcontentsToViewport(QPoint arg1)
protected voidcontentsWheelEvent(QWheelEvent arg1)
intcontentsWidth()
intcontentsX()
intcontentsY()
protected voidcontextMenuEvent(QContextMenuEvent arg1)
QWidgetcornerWidget()
voiddisableSizeHintCaching()
voiddispose()
Delete the wrapped C++ instance ahead of finalize()
booleandragAutoScroll()
protected voiddrawContents(QPainter arg1, int cx, int cy, int cw, int ch)
protected voiddrawContentsOffset(QPainter arg1, int ox, int oy, int cx, int cy, int cw, int ch)
voidenableClipper(boolean y)
voidensureVisible(int x, int y)
voidensureVisible(int x, int y, int xmargin, int ymargin)
booleaneventFilter(QObject arg1, QEvent e)
protected voidfinalize()
Deletes the wrapped C++ instance
protected booleanfocusNextPrevChild(boolean next)
protected voidfontChange(QFont arg1)
protected voidframeChanged()
booleanhasStaticBackground()
QScrollBarhorizontalScrollBar()
inthScrollBarMode()
booleanisDisposed()
Has the wrapped C++ instance been deleted?
booleanisHorizontalSliderPressed()
booleanisVerticalSliderPressed()
protected intleftMargin()
QMetaObjectmetaObject()
QSizeminimumSizeHint()
protected voidmouseDoubleClickEvent(QMouseEvent arg1)
protected voidmouseMoveEvent(QMouseEvent arg1)
protected voidmousePressEvent(QMouseEvent arg1)
protected voidmouseReleaseEvent(QMouseEvent arg1)
voidmoveChild(QWidget child, int x, int y)
voidremoveChild(QWidget child)
voidremoveChild(QObject child)
voidrepaintContents(int x, int y, int w, int h, boolean erase)
voidrepaintContents(int x, int y, int w, int h)
voidrepaintContents(QRect r, boolean erase)
voidrepaintContents(QRect r)
voidrepaintContents(boolean erase)
voidrepaintContents()
voidresize(int w, int h)
voidresize(QSize arg1)
voidresizeContents(int w, int h)
protected voidresizeEvent(QResizeEvent arg1)
intresizePolicy()
protected intrightMargin()
voidscrollBy(int dx, int dy)
protected voidsetCachedSizeHint(QSize sh)
voidsetContentsPos(int x, int y)
voidsetCornerWidget(QWidget arg1)
voidsetDragAutoScroll(boolean b)
voidsetEnabled(boolean enable)
protected voidsetHBarGeometry(QScrollBar hbar, int x, int y, int w, int h)
voidsetHScrollBarMode(int arg1)
protected voidsetMargins(int left, int top, int right, int bottom)
voidsetResizePolicy(int arg1)
voidsetStaticBackground(boolean y)
protected voidsetVBarGeometry(QScrollBar vbar, int x, int y, int w, int h)
voidsetVScrollBarMode(int arg1)
voidshow()
voidshowChild(QWidget child, boolean yes)
voidshowChild(QWidget child)
QSizesizeHint()
voidstyleChange(QStyle arg1)
protected inttopMargin()
static Stringtr(String arg1, String arg2)
static Stringtr(String arg1)
voidupdateContents(int x, int y, int w, int h)
voidupdateContents(QRect r)
voidupdateContents()
voidupdateScrollBars()
QScrollBarverticalScrollBar()
QWidgetviewport()
protected voidviewportContextMenuEvent(QContextMenuEvent arg1)
protected voidviewportDragEnterEvent(QDragEnterEvent arg1)
protected voidviewportDragLeaveEvent(QDragLeaveEvent arg1)
protected voidviewportDragMoveEvent(QDragMoveEvent arg1)
protected voidviewportDropEvent(QDropEvent arg1)
protected voidviewportMouseDoubleClickEvent(QMouseEvent arg1)
protected voidviewportMouseMoveEvent(QMouseEvent arg1)
protected voidviewportMousePressEvent(QMouseEvent arg1)
protected voidviewportMouseReleaseEvent(QMouseEvent arg1)
protected voidviewportPaintEvent(QPaintEvent arg1)
protected voidviewportResizeEvent(QResizeEvent arg1)
QSizeviewportSize(int arg1, int arg2)
voidviewportToContents(int vx, int vy, int[] x, int[] y)
QPointviewportToContents(QPoint arg1)
protected voidviewportWheelEvent(QWheelEvent arg1)
intvisibleHeight()
intvisibleWidth()
intvScrollBarMode()
protected voidwheelEvent(QWheelEvent arg1)

Field Detail

AlwaysOff

public static final int AlwaysOff

AlwaysOn

public static final int AlwaysOn

Auto

public static final int Auto

AutoOne

public static final int AutoOne

AutoOneFit

public static final int AutoOneFit

Default

public static final int Default

Manual

public static final int Manual

Constructor Detail

QScrollView

protected QScrollView(Class dummy)

QScrollView

public QScrollView(QWidget parent, String name, int f)

QScrollView

public QScrollView(QWidget parent, String name)

QScrollView

public QScrollView(QWidget parent)

QScrollView

public QScrollView()

Method Detail

addChild

public void addChild(QWidget child, int x, int y)

addChild

public void addChild(QWidget child, int x)

addChild

public void addChild(QWidget child)

bottomMargin

protected int bottomMargin()

cachedSizeHint

protected QSize cachedSizeHint()

center

public void center(int x, int y)

center

public void center(int x, int y, float xmargin, float ymargin)

childIsVisible

public boolean childIsVisible(QWidget child)

childX

public int childX(QWidget child)

childY

public int childY(QWidget child)

className

public String className()

clipper

public QWidget clipper()

contentsContextMenuEvent

protected void contentsContextMenuEvent(QContextMenuEvent arg1)

contentsDragEnterEvent

protected void contentsDragEnterEvent(QDragEnterEvent arg1)

contentsDragLeaveEvent

protected void contentsDragLeaveEvent(QDragLeaveEvent arg1)

contentsDragMoveEvent

protected void contentsDragMoveEvent(QDragMoveEvent arg1)

contentsDropEvent

protected void contentsDropEvent(QDropEvent arg1)

contentsHeight

public int contentsHeight()

contentsMouseDoubleClickEvent

protected void contentsMouseDoubleClickEvent(QMouseEvent arg1)

contentsMouseMoveEvent

protected void contentsMouseMoveEvent(QMouseEvent arg1)

contentsMousePressEvent

protected void contentsMousePressEvent(QMouseEvent arg1)

contentsMouseReleaseEvent

protected void contentsMouseReleaseEvent(QMouseEvent arg1)

contentsToViewport

public void contentsToViewport(int x, int y, int[] vx, int[] vy)

contentsToViewport

public QPoint contentsToViewport(QPoint arg1)

contentsWheelEvent

protected void contentsWheelEvent(QWheelEvent arg1)

contentsWidth

public int contentsWidth()

contentsX

public int contentsX()

contentsY

public int contentsY()

contextMenuEvent

protected void contextMenuEvent(QContextMenuEvent arg1)

cornerWidget

public QWidget cornerWidget()

disableSizeHintCaching

public void disableSizeHintCaching()

dispose

public void dispose()
Delete the wrapped C++ instance ahead of finalize()

dragAutoScroll

public boolean dragAutoScroll()

drawContents

protected void drawContents(QPainter arg1, int cx, int cy, int cw, int ch)

drawContentsOffset

protected void drawContentsOffset(QPainter arg1, int ox, int oy, int cx, int cy, int cw, int ch)

enableClipper

public void enableClipper(boolean y)

ensureVisible

public void ensureVisible(int x, int y)

ensureVisible

public void ensureVisible(int x, int y, int xmargin, int ymargin)

eventFilter

public boolean eventFilter(QObject arg1, QEvent e)

finalize

protected void finalize()
Deletes the wrapped C++ instance

focusNextPrevChild

protected boolean focusNextPrevChild(boolean next)

fontChange

protected void fontChange(QFont arg1)

frameChanged

protected void frameChanged()

hasStaticBackground

public boolean hasStaticBackground()

horizontalScrollBar

public QScrollBar horizontalScrollBar()

hScrollBarMode

public int hScrollBarMode()

isDisposed

public boolean isDisposed()
Has the wrapped C++ instance been deleted?

isHorizontalSliderPressed

public boolean isHorizontalSliderPressed()

isVerticalSliderPressed

public boolean isVerticalSliderPressed()

leftMargin

protected int leftMargin()

metaObject

public QMetaObject metaObject()

minimumSizeHint

public QSize minimumSizeHint()

mouseDoubleClickEvent

protected void mouseDoubleClickEvent(QMouseEvent arg1)

mouseMoveEvent

protected void mouseMoveEvent(QMouseEvent arg1)

mousePressEvent

protected void mousePressEvent(QMouseEvent arg1)

mouseReleaseEvent

protected void mouseReleaseEvent(QMouseEvent arg1)

moveChild

public void moveChild(QWidget child, int x, int y)

removeChild

public void removeChild(QWidget child)

removeChild

public void removeChild(QObject child)

repaintContents

public void repaintContents(int x, int y, int w, int h, boolean erase)

repaintContents

public void repaintContents(int x, int y, int w, int h)

repaintContents

public void repaintContents(QRect r, boolean erase)

repaintContents

public void repaintContents(QRect r)

repaintContents

public void repaintContents(boolean erase)

repaintContents

public void repaintContents()

resize

public void resize(int w, int h)

resize

public void resize(QSize arg1)

resizeContents

public void resizeContents(int w, int h)

resizeEvent

protected void resizeEvent(QResizeEvent arg1)

resizePolicy

public int resizePolicy()

rightMargin

protected int rightMargin()

scrollBy

public void scrollBy(int dx, int dy)

setCachedSizeHint

protected void setCachedSizeHint(QSize sh)

setContentsPos

public void setContentsPos(int x, int y)

setCornerWidget

public void setCornerWidget(QWidget arg1)

setDragAutoScroll

public void setDragAutoScroll(boolean b)

setEnabled

public void setEnabled(boolean enable)

setHBarGeometry

protected void setHBarGeometry(QScrollBar hbar, int x, int y, int w, int h)

setHScrollBarMode

public void setHScrollBarMode(int arg1)

setMargins

protected void setMargins(int left, int top, int right, int bottom)

setResizePolicy

public void setResizePolicy(int arg1)

setStaticBackground

public void setStaticBackground(boolean y)

setVBarGeometry

protected void setVBarGeometry(QScrollBar vbar, int x, int y, int w, int h)

setVScrollBarMode

public void setVScrollBarMode(int arg1)

show

public void show()

showChild

public void showChild(QWidget child, boolean yes)

showChild

public void showChild(QWidget child)

sizeHint

public QSize sizeHint()

styleChange

public void styleChange(QStyle arg1)

topMargin

protected int topMargin()

tr

public static String tr(String arg1, String arg2)

tr

public static String tr(String arg1)

updateContents

public void updateContents(int x, int y, int w, int h)

updateContents

public void updateContents(QRect r)

updateContents

public void updateContents()

updateScrollBars

public void updateScrollBars()

verticalScrollBar

public QScrollBar verticalScrollBar()

viewport

public QWidget viewport()

viewportContextMenuEvent

protected void viewportContextMenuEvent(QContextMenuEvent arg1)

viewportDragEnterEvent

protected void viewportDragEnterEvent(QDragEnterEvent arg1)

viewportDragLeaveEvent

protected void viewportDragLeaveEvent(QDragLeaveEvent arg1)

viewportDragMoveEvent

protected void viewportDragMoveEvent(QDragMoveEvent arg1)

viewportDropEvent

protected void viewportDropEvent(QDropEvent arg1)

viewportMouseDoubleClickEvent

protected void viewportMouseDoubleClickEvent(QMouseEvent arg1)

viewportMouseMoveEvent

protected void viewportMouseMoveEvent(QMouseEvent arg1)

viewportMousePressEvent

protected void viewportMousePressEvent(QMouseEvent arg1)

viewportMouseReleaseEvent

protected void viewportMouseReleaseEvent(QMouseEvent arg1)

viewportPaintEvent

protected void viewportPaintEvent(QPaintEvent arg1)

viewportResizeEvent

protected void viewportResizeEvent(QResizeEvent arg1)

viewportSize

public QSize viewportSize(int arg1, int arg2)

viewportToContents

public void viewportToContents(int vx, int vy, int[] x, int[] y)

viewportToContents

public QPoint viewportToContents(QPoint arg1)

viewportWheelEvent

protected void viewportWheelEvent(QWheelEvent arg1)

visibleHeight

public int visibleHeight()

visibleWidth

public int visibleWidth()

vScrollBarMode

public int vScrollBarMode()

wheelEvent

protected void wheelEvent(QWheelEvent arg1)