source: trunk/src/gui/kernel/qnstitledframe_mac_p.h@ 467

Last change on this file since 467 was 2, checked in by Dmitry A. Kuminov, 16 years ago

Initially imported qt-all-opensource-src-4.5.1 from Trolltech.

File size: 7.8 KB
Line 
1/****************************************************************************
2**
3** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
4** Contact: Qt Software Information ([email protected])
5**
6** This file is part of the QtGui module of the Qt Toolkit.
7**
8** $QT_BEGIN_LICENSE:LGPL$
9** Commercial Usage
10** Licensees holding valid Qt Commercial licenses may use this file in
11** accordance with the Qt Commercial License Agreement provided with the
12** Software or, alternatively, in accordance with the terms contained in
13** a written agreement between you and Nokia.
14**
15** GNU Lesser General Public License Usage
16** Alternatively, this file may be used under the terms of the GNU Lesser
17** General Public License version 2.1 as published by the Free Software
18** Foundation and appearing in the file LICENSE.LGPL included in the
19** packaging of this file. Please review the following information to
20** ensure the GNU Lesser General Public License version 2.1 requirements
21** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
22**
23** In addition, as a special exception, Nokia gives you certain
24** additional rights. These rights are described in the Nokia Qt LGPL
25** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
26** package.
27**
28** GNU General Public License Usage
29** Alternatively, this file may be used under the terms of the GNU
30** General Public License version 3.0 as published by the Free Software
31** Foundation and appearing in the file LICENSE.GPL included in the
32** packaging of this file. Please review the following information to
33** ensure the GNU General Public License version 3.0 requirements will be
34** met: http://www.gnu.org/copyleft/gpl.html.
35**
36** If you are unsure which license is appropriate for your use, please
37** contact the sales department at [email protected].
38** $QT_END_LICENSE$
39**
40****************************************************************************/
41
42//
43// W A R N I N G
44// -------------
45//
46// This file is not part of the Qt API. It exists for the convenience
47// of qapplication_*.cpp, qwidget*.cpp, qcolor_x11.cpp, qfiledialog.cpp
48// and many other. This header file may change from version to version
49// without notice, or even be removed.
50//
51// We mean it.
52//
53
54// Private AppKit class (dumped from classdump).
55
56#import <Cocoa/Cocoa.h>
57#import "qnsframeview_mac_p.h"
58
59
60@interface NSTitledFrame : NSFrameView
61{
62 int resizeFlags;
63 id fileButton; /* NSDocumentDragButton* */
64 NSSize titleCellSize;
65}
66
67+ (float)_windowBorderThickness:(unsigned int)fp8;
68+ (float)_minXWindowBorderWidth:(unsigned int)fp8;
69+ (float)_maxXWindowBorderWidth:(unsigned int)fp8;
70+ (float)_minYWindowBorderHeight:(unsigned int)fp8;
71+ (char)_resizeFromEdge;
72+ (NSRect)frameRectForContentRect:(NSRect)fp8 styleMask:(unsigned int)fp24;
73+ (NSRect)contentRectForFrameRect:(NSRect)fp8 styleMask:(unsigned int)fp24;
74+ (struct _NSSize)minFrameSizeForMinContentSize:(struct _NSSize)fp8 styleMask:(unsigned int)fp16;
75+ (struct _NSSize)minContentSizeForMinFrameSize:(struct _NSSize)fp8 styleMask:(unsigned int)fp16;
76+ (float)minFrameWidthWithTitle:fp8 styleMask:(unsigned int)fp12;
77+ (struct _NSSize)_titleCellSizeForTitle:fp8 styleMask:(unsigned int)fp12;
78+ (float)_titleCellHeight:(unsigned int)fp8;
79+ (float)_windowTitlebarTitleMinHeight:(unsigned int)fp8;
80+ (float)_titlebarHeight:(unsigned int)fp8;
81+ (struct _NSSize)sizeOfTitlebarButtons:(unsigned int)fp8;
82+ (float)windowTitlebarLinesSpacingWidth:(unsigned int)fp8;
83+ (float)windowTitlebarTitleLinesSpacingWidth:(unsigned int)fp8;
84+ (float)_contentToFrameMinXWidth:(unsigned int)fp8;
85+ (float)_contentToFrameMaxXWidth:(unsigned int)fp8;
86+ (float)_contentToFrameMinYHeight:(unsigned int)fp8;
87+ (float)_contentToFrameMaxYHeight:(unsigned int)fp8;
88- initWithFrame:(NSRect)fp8 styleMask:(unsigned int)fp24 owner:fp28;
89- (void)dealloc;
90- (void)setIsClosable:(char)fp8;
91- (void)setIsResizable:(char)fp8;
92- (void)_resetTitleFont;
93- (void)_setUtilityWindow:(char)fp8;
94- (char)isOpaque;
95- (char)worksWhenModal;
96- (void)propagateFrameDirtyRects:(NSRect)fp8;
97- (void)_showDrawRect:(NSRect)fp8;
98- (void)_drawFrameInterior:(NSRect *)fp8 clip:(NSRect)fp12;
99- (void)drawFrame:(NSRect)fp8;
100- (void)_drawFrameRects:(NSRect)fp8;
101- (void)_drawTitlebar:(NSRect)fp8;
102- (void)_drawTitlebarPattern:(int)fp8 inRect:(NSRect)fp12 clippedByRect:(NSRect)fp28 forKey:(char)fp44 alignment:(int)fp48;
103- (void)_drawTitlebarLines:(int)fp8 inRect:(NSRect)fp12 clippedByRect:(NSRect)fp28;
104- frameHighlightColor;
105- frameShadowColor;
106- (void)setFrameSize:(struct _NSSize)fp8;
107- (void)setFrameOrigin:(struct _NSPoint)fp8;
108- (void)tileAndSetWindowShape:(char)fp8;
109- (void)tile;
110- (void)_tileTitlebar;
111- (void)setTitle:fp8;
112- (char)_shouldRepresentFilename;
113- (void)setRepresentedFilename:fp8;
114- (void)_drawTitleStringIn:(NSRect)fp8 withColor:fp24;
115- titleFont;
116- (void)_drawResizeIndicators:(NSRect)fp8;
117- titleButtonOfClass:(Class)fp8;
118- initTitleButton:fp8;
119- newCloseButton;
120- newZoomButton;
121- newMiniaturizeButton;
122- newFileButton;
123- fileButton;
124- (void)_removeButtons;
125- (void)_updateButtons;
126- (char)_eventInTitlebar:fp8;
127- (char)acceptsFirstMouse:fp8;
128- (void)mouseDown:fp8;
129- (void)mouseUp:fp8;
130- (void)rightMouseDown:fp8;
131- (void)rightMouseUp:fp8;
132- (int)resizeEdgeForEvent:fp8;
133- (struct _NSSize)_resizeDeltaFromPoint:(struct _NSPoint)fp8 toEvent:fp16;
134- (NSRect)_validFrameForResizeFrame:(NSRect)fp8 fromResizeEdge:(int)fp24;
135- (NSRect)frame:(NSRect)fp8 resizedFromEdge:(int)fp24 withDelta:(struct _NSSize)fp28;
136- (char)constrainResizeEdge:(int *)fp8 withDelta:(struct _NSSize)fp12 elapsedTime:(float)fp20;
137- (void)resizeWithEvent:fp8;
138- (int)resizeFlags;
139- (void)resetCursorRects;
140- (void)setDocumentEdited:(char)fp8;
141- (struct _NSSize)miniaturizedSize;
142- (struct _NSSize)minFrameSize;
143- (float)_windowBorderThickness;
144- (float)_windowTitlebarXResizeBorderThickness;
145- (float)_windowTitlebarYResizeBorderThickness;
146- (float)_windowResizeBorderThickness;
147- (float)_minXWindowBorderWidth;
148- (float)_maxXWindowBorderWidth;
149- (float)_minYWindowBorderHeight;
150- (void)_invalidateTitleCellSize;
151- (void)_invalidateTitleCellWidth;
152- (float)_titleCellHeight;
153- (struct _NSSize)_titleCellSize;
154- (float)_titlebarHeight;
155- (NSRect)titlebarRect;
156- (NSRect)_maxTitlebarTitleRect;
157- (NSRect)_titlebarTitleRect;
158- (float)_windowTitlebarTitleMinHeight;
159- (NSRect)dragRectForFrameRect:(NSRect)fp8;
160- (struct _NSSize)sizeOfTitlebarButtons;
161- (struct _NSSize)_sizeOfTitlebarFileButton;
162- (float)_windowTitlebarButtonSpacingWidth;
163- (float)_minXTitlebarButtonsWidth;
164- (float)_maxXTitlebarButtonsWidth;
165- (int)_numberOfTitlebarLines;
166- (float)windowTitlebarLinesSpacingWidth;
167- (float)windowTitlebarTitleLinesSpacingWidth;
168- (float)_minLinesWidthWithSpace;
169- (NSRect)_minXTitlebarLinesRectWithTitleCellRect:(NSRect)fp8;
170- (NSRect)_maxXTitlebarLinesRectWithTitleCellRect:(NSRect)fp8;
171- (float)_minXTitlebarDecorationMinWidth;
172- (float)_maxXTitlebarDecorationMinWidth;
173- (struct _NSPoint)_closeButtonOrigin;
174- (struct _NSPoint)_zoomButtonOrigin;
175- (struct _NSPoint)_collapseButtonOrigin;
176- (struct _NSPoint)_fileButtonOrigin;
177- (float)_maxYTitlebarDragHeight;
178- (float)_minXTitlebarDragWidth;
179- (float)_maxXTitlebarDragWidth;
180- (float)_contentToFrameMinXWidth;
181- (float)_contentToFrameMaxXWidth;
182- (float)_contentToFrameMinYHeight;
183- (float)_contentToFrameMaxYHeight;
184- (NSRect)contentRect;
185- (float)_windowResizeCornerThickness;
186- (NSRect)_minYResizeRect;
187- (NSRect)_minYminXResizeRect;
188- (NSRect)_minYmaxXResizeRect;
189- (NSRect)_minXResizeRect;
190- (NSRect)_minXminYResizeRect;
191- (NSRect)_minXmaxYResizeRect;
192- (NSRect)_maxYResizeRect;
193- (NSRect)_maxYminXResizeRect;
194- (NSRect)_maxYmaxXResizeRect;
195- (NSRect)_maxXResizeRect;
196- (NSRect)_maxXminYResizeRect;
197- (NSRect)_maxXmaxYResizeRect;
198- (NSRect)_minXTitlebarResizeRect;
199- (NSRect)_maxXTitlebarResizeRect;
200- (NSRect)_minXBorderRect;
201- (NSRect)_maxXBorderRect;
202- (NSRect)_maxYBorderRect;
203- (NSRect)_minYBorderRect;
204
205@end
Note: See TracBrowser for help on using the repository browser.