You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
194 lines
7.9 KiB
194 lines
7.9 KiB
15 years ago
|
//Auto-generated by kalyptus. DO NOT EDIT.
|
||
11 years ago
|
package org.trinitydesktop.koala;
|
||
15 years ago
|
|
||
11 years ago
|
import org.trinitydesktop.qt.Qt;
|
||
|
import org.trinitydesktop.qt.TQColor;
|
||
|
import org.trinitydesktop.qt.TQFont;
|
||
|
import org.trinitydesktop.qt.TQMetaObject;
|
||
|
import org.trinitydesktop.qt.QtSupport;
|
||
|
import org.trinitydesktop.qt.TQPoint;
|
||
|
import org.trinitydesktop.qt.TQMouseEvent;
|
||
|
import org.trinitydesktop.qt.TQWidget;
|
||
|
import org.trinitydesktop.qt.TQResizeEvent;
|
||
|
import org.trinitydesktop.qt.TQFrame;
|
||
15 years ago
|
|
||
|
/**
|
||
|
|
||
|
The main frame widget KMdiMainFrm consists of 2 child widgets. One is this class.
|
||
|
It's the widget where the child frames (emulated toplevel MDI views) live in.
|
||
|
This class is the manager for the child frame widgets because it controls the
|
||
|
Z-order widget stack of KMdiChildFrm's.
|
||
|
It provides all placing and positioning algorithms for docked (attached) MDI views.
|
||
|
KMdiChildArea doesn't know anything about the actual MDI views. It only knows
|
||
|
and manages the frame widgets of attached MDI views.
|
||
|
All actions and stuff concerning only to childframes are handled here.
|
||
|
See {@link KMdiChildAreaSignals} for signals emitted by KMdiChildArea
|
||
|
@short Internal class.
|
||
|
|
||
|
*/
|
||
13 years ago
|
public class KMdiChildArea extends TQFrame {
|
||
15 years ago
|
protected KMdiChildArea(Class dummy){super((Class) null);}
|
||
13 years ago
|
public native TQMetaObject metaObject();
|
||
15 years ago
|
public native String className();
|
||
11 years ago
|
/**
|
||
15 years ago
|
Consruction. Note: This class needn't to know about KMdiMainFrm .
|
||
|
@short Consruction.
|
||
|
*/
|
||
13 years ago
|
public KMdiChildArea(TQWidget parent) {
|
||
15 years ago
|
super((Class) null);
|
||
|
newKMdiChildArea(parent);
|
||
|
}
|
||
13 years ago
|
private native void newKMdiChildArea(TQWidget parent);
|
||
11 years ago
|
/**
|
||
15 years ago
|
Appends a new KMdiChildFrm to this manager.
|
||
|
The child is shown,raised and gets focus if this window has it.
|
||
|
@short Appends a new KMdiChildFrm to this manager.
|
||
|
*/
|
||
|
public native void manageChild(KMdiChildFrm lpC, boolean bShow, boolean bCascade);
|
||
|
public native void manageChild(KMdiChildFrm lpC, boolean bShow);
|
||
|
public native void manageChild(KMdiChildFrm lpC);
|
||
11 years ago
|
/**
|
||
15 years ago
|
Destroys a managed KMdiChildFrm
|
||
|
Also deletes the client attached to this child.
|
||
|
@short Destroys a managed KMdiChildFrm Also deletes the client attached to this child.
|
||
|
*/
|
||
|
public native void destroyChild(KMdiChildFrm child, boolean focusTopChild);
|
||
|
public native void destroyChild(KMdiChildFrm child);
|
||
11 years ago
|
/**
|
||
15 years ago
|
Destroys a managed KMdiChildFrm
|
||
|
Clients attached to the KMdiChildFrm are not deleted.
|
||
|
@short Destroys a managed KMdiChildFrm Clients attached to the KMdiChildFrm are not deleted.
|
||
|
*/
|
||
|
public native void destroyChildButNotItsView(KMdiChildFrm lpC, boolean bFocusTopChild);
|
||
|
public native void destroyChildButNotItsView(KMdiChildFrm lpC);
|
||
11 years ago
|
/**
|
||
15 years ago
|
Brings the child to the top of the stack
|
||
|
The child is focused if setFocus is true. If setFocus is false, the
|
||
|
child is just raised.
|
||
|
@short Brings the child to the top of the stack The child is focused if setFocus is true.
|
||
|
*/
|
||
|
public native void setTopChild(KMdiChildFrm child, boolean setFocus);
|
||
|
public native void setTopChild(KMdiChildFrm child);
|
||
11 years ago
|
/**
|
||
15 years ago
|
Returns the topmost child (the active one) or 0 if there are no children.
|
||
|
Note that the topmost child may be also hidded , if ALL the windows are minimized.
|
||
|
@short Returns the topmost child (the active one) or 0 if there are no children.
|
||
|
*/
|
||
|
public native KMdiChildFrm topChild();
|
||
11 years ago
|
/**
|
||
15 years ago
|
Returns the number of visible children
|
||
|
@short Returns the number of visible children
|
||
|
*/
|
||
|
public native int getVisibleChildCount();
|
||
11 years ago
|
/**
|
||
15 years ago
|
Calculates the cascade point for the given index. If index is -1
|
||
|
the cascade point is calculated for the window following the last window
|
||
|
@param indexOfWindow the index of the window in relation the z-ordered window list
|
||
|
@short Calculates the cascade point for the given index.
|
||
|
*/
|
||
13 years ago
|
public native TQPoint getCascadePoint(int indexOfWindow);
|
||
|
public native TQPoint getCascadePoint();
|
||
11 years ago
|
/**
|
||
15 years ago
|
Sets the MDI childframe window caption font
|
||
|
A relayout does not occur when using this function
|
||
|
@short Sets the MDI childframe window caption font A relayout does not occur when using this function
|
||
|
*/
|
||
13 years ago
|
public native void setMdiCaptionFont(TQFont fnt);
|
||
11 years ago
|
/**
|
||
15 years ago
|
Sets the foreground color of the active MDI childframe window caption
|
||
|
A relayout does not occur when using this function
|
||
|
@short Sets the foreground color of the active MDI childframe window caption A relayout does not occur when using this function
|
||
|
*/
|
||
13 years ago
|
public native void setMdiCaptionActiveForeColor(TQColor clr);
|
||
11 years ago
|
/**
|
||
15 years ago
|
Sets the background color of the active MDI childframe window captions
|
||
|
A relayout does not occur when using this function
|
||
|
@short Sets the background color of the active MDI childframe window captions A relayout does not occur when using this function
|
||
|
*/
|
||
13 years ago
|
public native void setMdiCaptionActiveBackColor(TQColor clr);
|
||
11 years ago
|
/**
|
||
15 years ago
|
Sets the foreground color of inactive MDI childframe window captions
|
||
|
A relayout does not occur when using this function
|
||
|
@short Sets the foreground color of inactive MDI childframe window captions A relayout does not occur when using this function
|
||
|
*/
|
||
13 years ago
|
public native void setMdiCaptionInactiveForeColor(TQColor clr);
|
||
11 years ago
|
/**
|
||
15 years ago
|
Sets the background color of inactive MDI childframe window captions
|
||
|
A relayout does not occur when using this function
|
||
|
@short Sets the background color of inactive MDI childframe window captions A relayout does not occur when using this function
|
||
|
*/
|
||
13 years ago
|
public native void setMdiCaptionInactiveBackColor(TQColor clr);
|
||
11 years ago
|
/**
|
||
15 years ago
|
Cascades all windows resizing them to the minimum size.
|
||
|
@short Cascades all windows resizing them to the minimum size.
|
||
|
*/
|
||
|
public native void cascadeWindows();
|
||
11 years ago
|
/**
|
||
15 years ago
|
Cascades all windows resizing them to the maximum available size.
|
||
|
@short Cascades all windows resizing them to the maximum available size.
|
||
|
*/
|
||
|
public native void cascadeMaximized();
|
||
11 years ago
|
/**
|
||
15 years ago
|
Maximize all windows but only in vertical direction
|
||
|
@short Maximize all windows but only in vertical direction
|
||
|
*/
|
||
|
public native void expandVertical();
|
||
11 years ago
|
/**
|
||
15 years ago
|
Maximize all windows but only in horizontal direction
|
||
|
@short Maximize all windows but only in horizontal direction
|
||
|
*/
|
||
|
public native void expandHorizontal();
|
||
11 years ago
|
/**
|
||
15 years ago
|
Gives focus to the topmost child if it doesn't get focus
|
||
|
automatically or you want to wait to give it focus
|
||
|
@short Gives focus to the topmost child if it doesn't get focus automatically or you want to wait to give it focus
|
||
|
*/
|
||
|
public native void focusTopChild();
|
||
11 years ago
|
/**
|
||
15 years ago
|
Tile Pragma
|
||
|
@short Tile Pragma
|
||
|
*/
|
||
|
public native void tilePragma();
|
||
11 years ago
|
/**
|
||
15 years ago
|
Tile Anodine
|
||
|
@short Tile Anodine
|
||
|
*/
|
||
|
public native void tileAnodine();
|
||
11 years ago
|
/**
|
||
15 years ago
|
Tile all the windows in the child area vertically
|
||
|
@short Tile all the windows in the child area vertically
|
||
|
*/
|
||
|
public native void tileVertically();
|
||
11 years ago
|
/**
|
||
15 years ago
|
Position and layout the minimized child frames
|
||
|
@short Position and layout the minimized child frames
|
||
|
*/
|
||
|
public native void layoutMinimizedChildren();
|
||
11 years ago
|
/**
|
||
15 years ago
|
Internally used for the tile algorithm
|
||
|
@short Internally used for the tile algorithm
|
||
|
*/
|
||
|
protected native void tileAllInternal(int maxWnds);
|
||
11 years ago
|
/**
|
||
15 years ago
|
Automatically resizes a maximized MDI view and layouts the positions of minimized MDI views.
|
||
|
@short Automatically resizes a maximized MDI view and layouts the positions of minimized MDI views.
|
||
|
*/
|
||
13 years ago
|
protected native void resizeEvent(TQResizeEvent arg1);
|
||
11 years ago
|
/**
|
||
15 years ago
|
Shows the 'Window' popup menu on right mouse button click
|
||
|
@short Shows the 'Window' popup menu on right mouse button click
|
||
|
*/
|
||
13 years ago
|
protected native void mousePressEvent(TQMouseEvent e);
|
||
11 years ago
|
/**
|
||
15 years ago
|
Internally used. Actions that are necessary when an MDI view gets minimized
|
||
|
@short Internally used.
|
||
|
*/
|
||
|
protected native void childMinimized(KMdiChildFrm lpC, boolean bWasMaximized);
|
||
|
/** 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();
|
||
|
}
|