summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QGLWidget.java
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QGLWidget.java')
-rw-r--r--qtjava/javalib/org/kde/qt/QGLWidget.java136
1 files changed, 136 insertions, 0 deletions
diff --git a/qtjava/javalib/org/kde/qt/QGLWidget.java b/qtjava/javalib/org/kde/qt/QGLWidget.java
new file mode 100644
index 00000000..83af7d6c
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QGLWidget.java
@@ -0,0 +1,136 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QGLWidget extends QGL {
+ protected QGLWidget(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QGLWidget(QWidget parent, String name, QGLWidget shareWidget, int f) {
+ super((Class) null);
+ newQGLWidget(parent,name,shareWidget,f);
+ }
+ private native void newQGLWidget(QWidget parent, String name, QGLWidget shareWidget, int f);
+ public QGLWidget(QWidget parent, String name, QGLWidget shareWidget) {
+ super((Class) null);
+ newQGLWidget(parent,name,shareWidget);
+ }
+ private native void newQGLWidget(QWidget parent, String name, QGLWidget shareWidget);
+ public QGLWidget(QWidget parent, String name) {
+ super((Class) null);
+ newQGLWidget(parent,name);
+ }
+ private native void newQGLWidget(QWidget parent, String name);
+ public QGLWidget(QWidget parent) {
+ super((Class) null);
+ newQGLWidget(parent);
+ }
+ private native void newQGLWidget(QWidget parent);
+ public QGLWidget() {
+ super((Class) null);
+ newQGLWidget();
+ }
+ private native void newQGLWidget();
+ public QGLWidget(QGLContext context, QWidget parent, String name, QGLWidget shareWidget, int f) {
+ super((Class) null);
+ newQGLWidget(context,parent,name,shareWidget,f);
+ }
+ private native void newQGLWidget(QGLContext context, QWidget parent, String name, QGLWidget shareWidget, int f);
+ public QGLWidget(QGLContext context, QWidget parent, String name, QGLWidget shareWidget) {
+ super((Class) null);
+ newQGLWidget(context,parent,name,shareWidget);
+ }
+ private native void newQGLWidget(QGLContext context, QWidget parent, String name, QGLWidget shareWidget);
+ public QGLWidget(QGLContext context, QWidget parent, String name) {
+ super((Class) null);
+ newQGLWidget(context,parent,name);
+ }
+ private native void newQGLWidget(QGLContext context, QWidget parent, String name);
+ public QGLWidget(QGLContext context, QWidget parent) {
+ super((Class) null);
+ newQGLWidget(context,parent);
+ }
+ private native void newQGLWidget(QGLContext context, QWidget parent);
+ public QGLWidget(QGLFormat format, QWidget parent, String name, QGLWidget shareWidget, int f) {
+ super((Class) null);
+ newQGLWidget(format,parent,name,shareWidget,f);
+ }
+ private native void newQGLWidget(QGLFormat format, QWidget parent, String name, QGLWidget shareWidget, int f);
+ public QGLWidget(QGLFormat format, QWidget parent, String name, QGLWidget shareWidget) {
+ super((Class) null);
+ newQGLWidget(format,parent,name,shareWidget);
+ }
+ private native void newQGLWidget(QGLFormat format, QWidget parent, String name, QGLWidget shareWidget);
+ public QGLWidget(QGLFormat format, QWidget parent, String name) {
+ super((Class) null);
+ newQGLWidget(format,parent,name);
+ }
+ private native void newQGLWidget(QGLFormat format, QWidget parent, String name);
+ public QGLWidget(QGLFormat format, QWidget parent) {
+ super((Class) null);
+ newQGLWidget(format,parent);
+ }
+ private native void newQGLWidget(QGLFormat format, QWidget parent);
+ public QGLWidget(QGLFormat format) {
+ super((Class) null);
+ newQGLWidget(format);
+ }
+ private native void newQGLWidget(QGLFormat format);
+ public native void qglColor(QColor c);
+ public native void qglClearColor(QColor c);
+ public native boolean isValid();
+ public native boolean isSharing();
+ public native void makeCurrent();
+ public native void doneCurrent();
+ public native boolean doubleBuffer();
+ public native void swapBuffers();
+ public native QGLFormat format();
+ public native void setFormat(QGLFormat format);
+ public native QGLContext context();
+ public native void setContext(QGLContext context, QGLContext shareContext, boolean deleteOldContext);
+ public native void setContext(QGLContext context, QGLContext shareContext);
+ public native void setContext(QGLContext context);
+ public native QPixmap renderPixmap(int w, int h, boolean useContext);
+ public native QPixmap renderPixmap(int w, int h);
+ public native QPixmap renderPixmap(int w);
+ public native QPixmap renderPixmap();
+ public native QImage grabFrameBuffer(boolean withAlpha);
+ public native QImage grabFrameBuffer();
+ public native void makeOverlayCurrent();
+ public native QGLContext overlayContext();
+ public native void setMouseTracking(boolean enable);
+ public native void reparent(QWidget parent, int f, QPoint p, boolean showIt);
+ public native void reparent(QWidget parent, int f, QPoint p);
+ public native QGLColormap colormap();
+ public native void setColormap(QGLColormap map);
+ public native void renderText(int x, int y, String str, QFont fnt, int listBase);
+ public native void renderText(int x, int y, String str, QFont fnt);
+ public native void renderText(int x, int y, String str);
+ public native void renderText(double x, double y, double z, String str, QFont fnt, int listBase);
+ public native void renderText(double x, double y, double z, String str, QFont fnt);
+ public native void renderText(double x, double y, double z, String str);
+ public native void updateGL();
+ public native void updateOverlayGL();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ public static native QImage convertToGLFormat(QImage img);
+ protected native void initializeGL();
+ protected native void resizeGL(int w, int h);
+ protected native void paintGL();
+ protected native void initializeOverlayGL();
+ protected native void resizeOverlayGL(int w, int h);
+ protected native void paintOverlayGL();
+ protected native void setAutoBufferSwap(boolean on);
+ protected native boolean autoBufferSwap();
+ protected native void paintEvent(QPaintEvent arg1);
+ protected native void resizeEvent(QResizeEvent arg1);
+ protected native void glInit();
+ protected native void glDraw();
+ /** 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();
+}