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

Last change on this file since 459 was 2, checked in by Dmitry A. Kuminov, 17 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;