Qt 4.8
qnsframeview_mac_p.h
Go to the documentation of this file.
1 /****************************************************************************
2 **
3 ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
4 ** Contact: http://www.qt-project.org/legal
5 **
6 ** This file is part of the QtGui module of the Qt Toolkit.
7 **
8 ** $QT_BEGIN_LICENSE:LGPL$
9 ** Commercial License Usage
10 ** Licensees holding valid commercial Qt licenses may use this file in
11 ** accordance with the commercial license agreement provided with the
12 ** Software or, alternatively, in accordance with the terms contained in
13 ** a written agreement between you and Digia. For licensing terms and
14 ** conditions see http://qt.digia.com/licensing. For further information
15 ** use the contact form at http://qt.digia.com/contact-us.
16 **
17 ** GNU Lesser General Public License Usage
18 ** Alternatively, this file may be used under the terms of the GNU Lesser
19 ** General Public License version 2.1 as published by the Free Software
20 ** Foundation and appearing in the file LICENSE.LGPL included in the
21 ** packaging of this file. Please review the following information to
22 ** ensure the GNU Lesser General Public License version 2.1 requirements
23 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
24 **
25 ** In addition, as a special exception, Digia gives you certain additional
26 ** rights. These rights are described in the Digia Qt LGPL Exception
27 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
28 **
29 ** GNU General Public License Usage
30 ** Alternatively, this file may be used under the terms of the GNU
31 ** General Public License version 3.0 as published by the Free Software
32 ** Foundation and appearing in the file LICENSE.GPL included in the
33 ** packaging of this file. Please review the following information to
34 ** ensure the GNU General Public License version 3.0 requirements will be
35 ** met: http://www.gnu.org/copyleft/gpl.html.
36 **
37 **
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 
58 @interface NSFrameView : NSView
59 {
60  unsigned int styleMask;
61  NSString *_title;
62  NSCell *titleCell;
63  NSButton *closeButton;
64  NSButton *zoomButton;
65  NSButton *minimizeButton;
68  unsigned char tabViewCount;
71 }
72 
73 + (void)initialize;
74 + (void)initTitleCell:fp8 styleMask:(unsigned int)fp12;
75 + (struct _NSRect)frameRectForContentRect:(struct _NSRect)fp8 styleMask:(unsigned int)fp24;
76 + (struct _NSRect)contentRectForFrameRect:(struct _NSRect)fp8 styleMask:(unsigned int)fp24;
77 + (struct _NSSize)minFrameSizeForMinContentSize:(struct _NSSize)fp8 styleMask:(unsigned int)fp16;
78 + (struct _NSSize)minContentSizeForMinFrameSize:(struct _NSSize)fp8 styleMask:(unsigned int)fp16;
79 + (float)minFrameWidthWithTitle:fp8 styleMask:(unsigned int)fp12;
80 + (unsigned int)_validateStyleMask:(unsigned int)fp8;
81 - initWithFrame:(struct _NSRect)fp8 styleMask:(unsigned int)fp24 owner:fp28;
82 - initWithFrame:(struct _NSRect)fp8;
83 - (void)dealloc;
84 - (void)shapeWindow;
85 - (void)tileAndSetWindowShape:(char)fp8;
86 - (void)tile;
87 - (void)drawRect:(struct _NSRect)fp8;
88 - (void)_drawFrameRects:(struct _NSRect)fp8;
89 - (void)drawFrame:(struct _NSRect)fp8;
90 - (void)drawThemeContentFill:(struct _NSRect)fp8 inView:fp24;
91 - (void)drawWindowBackgroundRect:(struct _NSRect)fp8;
92 - (void)drawWindowBackgroundRegion:(void *)fp8;
93 - (float)contentAlpha;
95 - (void)_updateButtonState;
96 - (char)_isSheet;
97 - (char)_isUtility;
98 - (void)setShadowState:(int)fp8;
99 - (int)shadowState;
100 - (char)_canHaveToolbar;
101 - (char)_toolbarIsInTransition;
102 - (char)_toolbarIsShown;
103 - (char)_toolbarIsHidden;
104 - (void)_showToolbarWithAnimation:(char)fp8;
105 - (void)_hideToolbarWithAnimation:(char)fp8;
107 - (int)_shadowType;
108 - (unsigned int)_shadowFlags;
109 - (void)_setShadowParameters;
110 - (void)_drawFrameShadowAndFlushContext:fp8;
111 - (void)setUpGState;
112 - (void)adjustHalftonePhase;
113 - (void)systemColorsDidChange:fp8;
114 - frameColor;
115 - contentFill;
116 - (void)tabViewAdded;
117 - (void)tabViewRemoved;
118 - title;
119 - (void)setTitle:fp8;
120 - titleCell;
121 - (void)initTitleCell:fp8;
122 - (void)setResizeIncrements:(struct _NSSize)fp8;
123 - (struct _NSSize)resizeIncrements;
124 - (void)setAspectRatio:(struct _NSSize)fp8;
125 - (struct _NSSize)aspectRatio;
126 - (unsigned int)styleMask;
128 - (void)setRepresentedFilename:fp8;
129 - (void)setDocumentEdited:(char)fp8;
130 - (void)_setFrameNeedsDisplay:(char)fp8;
131 - (char)frameNeedsDisplay;
132 - titleFont;
133 - (struct _NSRect)_maxTitlebarTitleRect;
134 - (struct _NSRect)titlebarRect;
135 - (void)_setUtilityWindow:(char)fp8;
136 - (void)_setNonactivatingPanel:(char)fp8;
137 - (void)setIsClosable:(char)fp8;
138 - (void)setIsResizable:(char)fp8;
139 - closeButton;
141 - zoomButton;
142 - (struct _NSSize)miniaturizedSize;
143 - (void)_clearDragMargins;
144 - (void)_resetDragMargins;
145 - (void)setTitle:fp8 andDefeatWrap:(char)fp12;
146 - (struct _NSRect)frameRectForContentRect:(struct _NSRect)fp8 styleMask:(unsigned int)fp24;
147 - (struct _NSRect)contentRectForFrameRect:(struct _NSRect)fp8 styleMask:(unsigned int)fp24;
148 - (struct _NSSize)minFrameSizeForMinContentSize:(struct _NSSize)fp8 styleMask:(unsigned int)fp16;
149 - (struct _NSRect)dragRectForFrameRect:(struct _NSRect)fp8;
150 - (struct _NSRect)contentRect;
151 - (struct _NSSize)minFrameSize;
152 - (void)_recursiveDisplayRectIfNeededIgnoringOpacity:(struct _NSRect)fp8 isVisibleRect:(char)fp24 rectIsVisibleRectForView:fp28 topView:(char)fp32;
153 
154 @end
unsigned int _shadowFlags()
NSButton * closeButton
char _toolbarIsHidden()
unsigned int styleMask
void _updateButtonState()
void _clearDragMargins()
struct _NSSize aspectRatio()
void shapeWindow()
unsigned char tabViewCount
char _isUtility()
void adjustHalftonePhase()
struct _NSRect _maxTitlebarTitleRect()
NSString * _title
void initialize()
void tabViewRemoved()
char _toolbarIsShown()
void setUpGState()
void _setShadowParameters()
id representedFilename()
NSCell * titleCell
struct _NSRect titlebarRect()
void _resetDragMargins()
struct _NSRect contentRect()
NSButton * zoomButton
void _windowChangedKeyState()
NSSize resizeParameter
struct _NSSize miniaturizedSize()
struct _NSSize minFrameSize()
float _distanceFromToolbarBaseToTitlebar()
char frameNeedsDisplay()
NSButton * minimizeButton
void tabViewAdded()
struct _NSSize resizeIncrements()
unsigned int styleMask()
float contentAlpha()
char _canHaveToolbar()
char _toolbarIsInTransition()