org.kde.koala

Class KMdiChildFrm

public class KMdiChildFrm extends QFrame

UNKNOWN: Internal class. It's an MDI child frame widget. It contains a view widget and a frame caption. Usually you derive from its view.

Field Summary
static intMaximized
static intMinimized
static intNormal
Constructor Summary
protected KMdiChildFrm(Class dummy)
Method Summary
Stringcaption()
Gets the caption of this mdi child.
intcaptionHeight()
Returns the caption bar height
StringclassName()
voidenableClose(boolean bEnable)
Enables or disables the close button
QPixmapicon()
Returns the child frame icon.
booleanisInDrag()
returns the mouse state "In Drag"
booleanisInResize()
returns the mouse state "In Resize"
QRectmdiAreaContentsRect()
Returns the inner client area of the parent of this (which is KMdiChildArea).
QMetaObjectmetaObject()
voidraiseAndActivate()
Internally called from the signal focusInEventOccurs.
voidredecorateButtons()
sets new raise behavior and pixmaps of the buttons depending on the current decoration style
QRectrestoreGeometry()
Returns the geometry that will be restored by calling restore().
voidsetCaption(String text)
Sets the caption of this window
voidsetClient(KMdiChildView w, boolean bAutomaticResize)
Reparents the widget w to this KMdiChildFrm (if this is not already done) Installs an event filter to catch focus events.
voidsetClient(KMdiChildView w)
voidsetIcon(QPixmap pxm)
Sets the window icon pointer.
voidsetMinimumSize(int minw, int minh)
Sets the minimum size of the widget to w by h pixels.
voidsetRestoreGeometry(QRect newRestGeo)
Sets the geometry that will be restored by calling restore().
voidsetState(int state, boolean bAnimate)
Minimizes, Maximizes, or restores the window.
voidsetState(int state)
voidslot_resizeViaSystemMenu()
intstate()
Returns the current state of the window
QPopupMenusystemMenu()
Returns the system menu.
voidunsetClient(QPoint positionOffset)
Reparents the client widget to 0 (desktop), moves with an offset from the original position Removes the event filter.
voidunsetClient()
voidupdateRects()
Forces updating the rects of the caption and so...

Field Detail

Maximized

public static final int Maximized

Minimized

public static final int Minimized

Normal

public static final int Normal

Constructor Detail

KMdiChildFrm

protected KMdiChildFrm(Class dummy)

Method Detail

caption

public String caption()
Gets the caption of this mdi child.

UNKNOWN: Gets the caption of this mdi child.

captionHeight

public int captionHeight()
Returns the caption bar height

UNKNOWN: Returns the caption bar height

className

public String className()

enableClose

public void enableClose(boolean bEnable)
Enables or disables the close button

UNKNOWN: Enables or disables the close button

icon

public QPixmap icon()
Returns the child frame icon.

UNKNOWN: Returns the child frame icon.

isInDrag

public boolean isInDrag()
returns the mouse state "In Drag"

UNKNOWN: returns the mouse state "In Drag"

isInResize

public boolean isInResize()
returns the mouse state "In Resize"

UNKNOWN: returns the mouse state "In Resize"

mdiAreaContentsRect

public QRect mdiAreaContentsRect()
Returns the inner client area of the parent of this (which is KMdiChildArea).

UNKNOWN: Returns the inner client area of the parent of this (which is KMdiChildArea).

metaObject

public QMetaObject metaObject()

raiseAndActivate

public void raiseAndActivate()
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.

UNKNOWN: Internally called from the signal focusInEventOccurs.

redecorateButtons

public void redecorateButtons()
sets new raise behavior and pixmaps of the buttons depending on the current decoration style

UNKNOWN: sets new raise behavior and pixmaps of the buttons depending on the current decoration style

restoreGeometry

public QRect restoreGeometry()
Returns the geometry that will be restored by calling restore().

UNKNOWN: Returns the geometry that will be restored by calling restore().

setCaption

public void setCaption(String text)
Sets the caption of this window

UNKNOWN: Sets the caption of this window

setClient

public void setClient(KMdiChildView w, boolean bAutomaticResize)
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.

UNKNOWN: Reparents the widget w to this KMdiChildFrm (if this is not already done) Installs an event filter to catch focus events.

setClient

public void setClient(KMdiChildView w)

setIcon

public void setIcon(QPixmap pxm)
Sets the window icon pointer.

UNKNOWN: Sets the window icon pointer.

setMinimumSize

public void setMinimumSize(int minw, int minh)
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.

UNKNOWN: Sets the minimum size of the widget to w by h pixels.

setRestoreGeometry

public void setRestoreGeometry(QRect newRestGeo)
Sets the geometry that will be restored by calling restore().

UNKNOWN: Sets the geometry that will be restored by calling restore().

setState

public void setState(int state, boolean bAnimate)
Minimizes, Maximizes, or restores the window.

UNKNOWN: Minimizes, Maximizes, or restores the window.

setState

public void setState(int state)

slot_resizeViaSystemMenu

public void slot_resizeViaSystemMenu()

state

public int state()
Returns the current state of the window

UNKNOWN: Returns the current state of the window

systemMenu

public QPopupMenu systemMenu()
Returns the system menu.

UNKNOWN: Returns the system menu.

unsetClient

public void unsetClient(QPoint positionOffset)
Reparents the client widget to 0 (desktop), moves with an offset from the original position Removes the event filter.

UNKNOWN: Reparents the client widget to 0 (desktop), moves with an offset from the original position Removes the event filter.

unsetClient

public void unsetClient()

updateRects

public void updateRects()
Forces updating the rects of the caption and so... It may be useful when setting the mdiCaptionFont of the MdiManager

UNKNOWN: Forces updating the rects of the caption and so.