summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QScrollView.java
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QScrollView.java')
-rw-r--r--qtjava/javalib/org/kde/qt/QScrollView.java160
1 files changed, 160 insertions, 0 deletions
diff --git a/qtjava/javalib/org/kde/qt/QScrollView.java b/qtjava/javalib/org/kde/qt/QScrollView.java
new file mode 100644
index 00000000..187c8ecd
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QScrollView.java
@@ -0,0 +1,160 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QScrollViewSignals} for signals emitted by QScrollView
+*/
+public class QScrollView extends QFrame {
+ protected QScrollView(Class dummy){super((Class) null);}
+ public static final int Default = 0;
+ public static final int Manual = 1;
+ public static final int AutoOne = 2;
+ public static final int AutoOneFit = 3;
+
+ public static final int Auto = 0;
+ public static final int AlwaysOff = 1;
+ public static final int AlwaysOn = 2;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QScrollView(QWidget parent, String name, int f) {
+ super((Class) null);
+ newQScrollView(parent,name,f);
+ }
+ private native void newQScrollView(QWidget parent, String name, int f);
+ public QScrollView(QWidget parent, String name) {
+ super((Class) null);
+ newQScrollView(parent,name);
+ }
+ private native void newQScrollView(QWidget parent, String name);
+ public QScrollView(QWidget parent) {
+ super((Class) null);
+ newQScrollView(parent);
+ }
+ private native void newQScrollView(QWidget parent);
+ public QScrollView() {
+ super((Class) null);
+ newQScrollView();
+ }
+ private native void newQScrollView();
+ public native void setResizePolicy(int arg1);
+ public native int resizePolicy();
+ public native void styleChange(QStyle arg1);
+ public native void removeChild(QWidget child);
+ public native void addChild(QWidget child, int x, int y);
+ public native void addChild(QWidget child, int x);
+ public native void addChild(QWidget child);
+ public native void moveChild(QWidget child, int x, int y);
+ public native int childX(QWidget child);
+ public native int childY(QWidget child);
+ public native boolean childIsVisible(QWidget child);
+ public native void showChild(QWidget child, boolean yes);
+ public native void showChild(QWidget child);
+ public native int vScrollBarMode();
+ public native void setVScrollBarMode(int arg1);
+ public native int hScrollBarMode();
+ public native void setHScrollBarMode(int arg1);
+ public native QWidget cornerWidget();
+ public native void setCornerWidget(QWidget arg1);
+ public native QScrollBar horizontalScrollBar();
+ public native QScrollBar verticalScrollBar();
+ public native QWidget viewport();
+ public native QWidget clipper();
+ public native int visibleWidth();
+ public native int visibleHeight();
+ public native int contentsWidth();
+ public native int contentsHeight();
+ public native int contentsX();
+ public native int contentsY();
+ public native void resize(int w, int h);
+ public native void resize(QSize arg1);
+ public native void show();
+ public native void updateContents(int x, int y, int w, int h);
+ public native void updateContents(QRect r);
+ public native void updateContents();
+ public native void repaintContents(int x, int y, int w, int h, boolean erase);
+ public native void repaintContents(int x, int y, int w, int h);
+ public native void repaintContents(QRect r, boolean erase);
+ public native void repaintContents(QRect r);
+ public native void repaintContents(boolean erase);
+ public native void repaintContents();
+ public native void contentsToViewport(int x, int y, int[] vx, int[] vy);
+ public native void viewportToContents(int vx, int vy, int[] x, int[] y);
+ public native QPoint contentsToViewport(QPoint arg1);
+ public native QPoint viewportToContents(QPoint arg1);
+ public native void enableClipper(boolean y);
+ public native void setStaticBackground(boolean y);
+ public native boolean hasStaticBackground();
+ public native QSize viewportSize(int arg1, int arg2);
+ public native QSize sizeHint();
+ public native QSize minimumSizeHint();
+ public native void removeChild(QObject child);
+ public native boolean isHorizontalSliderPressed();
+ public native boolean isVerticalSliderPressed();
+ public native void setDragAutoScroll(boolean b);
+ public native boolean dragAutoScroll();
+ public native void disableSizeHintCaching();
+ public native void resizeContents(int w, int h);
+ public native void scrollBy(int dx, int dy);
+ public native void setContentsPos(int x, int y);
+ public native void ensureVisible(int x, int y);
+ public native void ensureVisible(int x, int y, int xmargin, int ymargin);
+ public native void center(int x, int y);
+ public native void center(int x, int y, float xmargin, float ymargin);
+ public native void updateScrollBars();
+ public native void setEnabled(boolean enable);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void drawContents(QPainter arg1, int cx, int cy, int cw, int ch);
+ protected native void drawContentsOffset(QPainter arg1, int ox, int oy, int cx, int cy, int cw, int ch);
+ protected native void contentsMousePressEvent(QMouseEvent arg1);
+ protected native void contentsMouseReleaseEvent(QMouseEvent arg1);
+ protected native void contentsMouseDoubleClickEvent(QMouseEvent arg1);
+ protected native void contentsMouseMoveEvent(QMouseEvent arg1);
+ protected native void contentsDragEnterEvent(QDragEnterEvent arg1);
+ protected native void contentsDragMoveEvent(QDragMoveEvent arg1);
+ protected native void contentsDragLeaveEvent(QDragLeaveEvent arg1);
+ protected native void contentsDropEvent(QDropEvent arg1);
+ protected native void contentsWheelEvent(QWheelEvent arg1);
+ protected native void contentsContextMenuEvent(QContextMenuEvent arg1);
+ protected native void viewportPaintEvent(QPaintEvent arg1);
+ protected native void viewportResizeEvent(QResizeEvent arg1);
+ protected native void viewportMousePressEvent(QMouseEvent arg1);
+ protected native void viewportMouseReleaseEvent(QMouseEvent arg1);
+ protected native void viewportMouseDoubleClickEvent(QMouseEvent arg1);
+ protected native void viewportMouseMoveEvent(QMouseEvent arg1);
+ protected native void viewportDragEnterEvent(QDragEnterEvent arg1);
+ protected native void viewportDragMoveEvent(QDragMoveEvent arg1);
+ protected native void viewportDragLeaveEvent(QDragLeaveEvent arg1);
+ protected native void viewportDropEvent(QDropEvent arg1);
+ protected native void viewportWheelEvent(QWheelEvent arg1);
+ protected native void viewportContextMenuEvent(QContextMenuEvent arg1);
+ protected native void frameChanged();
+ protected native void setMargins(int left, int top, int right, int bottom);
+ protected native int leftMargin();
+ protected native int topMargin();
+ protected native int rightMargin();
+ protected native int bottomMargin();
+ protected native boolean focusNextPrevChild(boolean next);
+ protected native void setHBarGeometry(QScrollBar hbar, int x, int y, int w, int h);
+ protected native void setVBarGeometry(QScrollBar vbar, int x, int y, int w, int h);
+ protected native void resizeEvent(QResizeEvent arg1);
+ protected native void mousePressEvent(QMouseEvent arg1);
+ protected native void mouseReleaseEvent(QMouseEvent arg1);
+ protected native void mouseDoubleClickEvent(QMouseEvent arg1);
+ protected native void mouseMoveEvent(QMouseEvent arg1);
+ protected native void wheelEvent(QWheelEvent arg1);
+ protected native void contextMenuEvent(QContextMenuEvent arg1);
+ public native boolean eventFilter(QObject arg1, QEvent e);
+ protected native void setCachedSizeHint(QSize sh);
+ protected native QSize cachedSizeHint();
+ protected native void fontChange(QFont arg1);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}