blob: 1073233509e236e56913d3c5ae1cc75863b20a72 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
|
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;
import org.kde.qt.Qt;
import org.kde.qt.TQRect;
import org.kde.qt.TQMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.TQPopupMenu;
import org.kde.qt.TQPixmap;
import org.kde.qt.TQPoint;
import org.kde.qt.TQFrame;
/**
@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 TQFrame {
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 TQMetaObject 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(TQPoint positionOffset);
public native void unsetClient();
/**
Sets the window icon pointer.
@short Sets the window icon pointer.
*/
public native void setIcon(TQPixmap pxm);
/**
Returns the child frame icon.
@short Returns the child frame icon.
*/
public native TQPixmap 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 TQRect mdiAreaContentsRect();
/**
Returns the geometry that will be restored by calling restore().
@short Returns the geometry that will be restored by calling restore().
*/
public native TQRect 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(TQRect 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 TQPopupMenu 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();
}
|