summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KMdiChildFrm.java
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/org/kde/koala/KMdiChildFrm.java')
-rw-r--r--kdejava/koala/org/kde/koala/KMdiChildFrm.java141
1 files changed, 141 insertions, 0 deletions
diff --git a/kdejava/koala/org/kde/koala/KMdiChildFrm.java b/kdejava/koala/org/kde/koala/KMdiChildFrm.java
new file mode 100644
index 00000000..5f991b77
--- /dev/null
+++ b/kdejava/koala/org/kde/koala/KMdiChildFrm.java
@@ -0,0 +1,141 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.koala;
+
+import org.kde.qt.Qt;
+import org.kde.qt.QRect;
+import org.kde.qt.QMetaObject;
+import org.kde.qt.QtSupport;
+import org.kde.qt.QPopupMenu;
+import org.kde.qt.QPixmap;
+import org.kde.qt.QPoint;
+import org.kde.qt.QFrame;
+
+/**
+
+ @short Internal class. It's an MDI child frame widget. It contains a view widget and a frame caption. Usually you derive from its view.
+
+*/
+public class KMdiChildFrm extends QFrame {
+ protected KMdiChildFrm(Class dummy){super((Class) null);}
+ public static final int Normal = 0;
+ public static final int Maximized = 1;
+ public static final int Minimized = 2;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ /**
+ Creates a new KMdiChildFrm class.
+ @short Creates a new KMdiChildFrm class.
+ */
+ /**
+ Reparents the widget w to this KMdiChildFrm (if this is not already done)
+ Installs an event filter to catch focus events.
+ Resizes this mdi child in a way that the child fits perfectly in.
+ @short Reparents the widget w to this KMdiChildFrm (if this is not already done) Installs an event filter to catch focus events.
+ */
+ public native void setClient(KMdiChildView w, boolean bAutomaticResize);
+ public native void setClient(KMdiChildView w);
+ /**
+ Reparents the client widget to 0 (desktop), moves with an offset from the original position
+ Removes the event filter.
+ @short Reparents the client widget to 0 (desktop), moves with an offset from the original position Removes the event filter.
+ */
+ public native void unsetClient(QPoint positionOffset);
+ public native void unsetClient();
+ /**
+ Sets the window icon pointer.
+ @short Sets the window icon pointer.
+ */
+ public native void setIcon(QPixmap pxm);
+ /**
+ Returns the child frame icon.
+ @short Returns the child frame icon.
+ */
+ public native QPixmap icon();
+ /**
+ Enables or disables the close button
+ @short Enables or disables the close button
+ */
+ public native void enableClose(boolean bEnable);
+ /**
+ Sets the caption of this window
+ @short Sets the caption of this window
+ */
+ public native void setCaption(String text);
+ /**
+ Gets the caption of this mdi child.
+ @short Gets the caption of this mdi child.
+ */
+ public native String caption();
+ /**
+ Minimizes, Maximizes, or restores the window.
+ @short Minimizes, Maximizes, or restores the window.
+ */
+ public native void setState(int state, boolean bAnimate);
+ public native void setState(int state);
+ /**
+ Returns the current state of the window
+ @short Returns the current state of the window
+ */
+ public native int state();
+ /**
+ Returns the inner client area of the parent of this (which is KMdiChildArea).
+ @short Returns the inner client area of the parent of this (which is KMdiChildArea).
+ */
+ public native QRect mdiAreaContentsRect();
+ /**
+ Returns the geometry that will be restored by calling restore().
+ @short Returns the geometry that will be restored by calling restore().
+ */
+ public native QRect restoreGeometry();
+ /**
+ Sets the geometry that will be restored by calling restore().
+ @short Sets the geometry that will be restored by calling restore().
+ */
+ public native void setRestoreGeometry(QRect newRestGeo);
+ /**
+ Forces updating the rects of the caption and so...
+ It may be useful when setting the mdiCaptionFont of the MdiManager
+ @short Forces updating the rects of the caption and so.
+ */
+ public native void updateRects();
+ /**
+ Returns the system menu.
+ @short Returns the system menu.
+ */
+ public native QPopupMenu systemMenu();
+ /**
+ Returns the caption bar height
+ @short Returns the caption bar height
+ */
+ public native int captionHeight();
+ /**
+ sets new raise behavior and pixmaps of the buttons depending on the current decoration style
+ @short sets new raise behavior and pixmaps of the buttons depending on the current decoration style
+ */
+ public native void redecorateButtons();
+ /**
+ returns the mouse state "In Drag"
+ @short returns the mouse state "In Drag"
+ */
+ public native boolean isInDrag();
+ /**
+ returns the mouse state "In Resize"
+ @short returns the mouse state "In Resize"
+ */
+ public native boolean isInResize();
+ /**
+ Internally called from the signal focusInEventOccurs.
+ It raises the MDI childframe to the top of all other MDI child frames and sets the focus on it.
+ @short Internally called from the signal focusInEventOccurs.
+ */
+ public native void raiseAndActivate();
+ /**
+ Sets the minimum size of the widget to w by h pixels.
+ It extends it's base clase method in a way that the minimum size of
+ the child area will be set additionally if the view is maximized.
+ @short Sets the minimum size of the widget to w by h pixels.
+ */
+ public native void setMinimumSize(int minw, int minh);
+ public native void slot_resizeViaSystemMenu();
+}