source: trunk/src/qt3support/widgets/q3popupmenu.cpp@ 494

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

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

File size: 3.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 Qt3Support 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#include "q3popupmenu.h"
42
43QT_BEGIN_NAMESPACE
44
45/*!
46 \fn void Q3PopupMenu::setFrameRect(QRect)
47 \internal
48*/
49
50/*!
51 \fn QRect Q3PopupMenu::frameRect() const
52 \internal
53*/
54/*!
55 \enum Q3PopupMenu::DummyFrame
56 \internal
57
58 \value Box
59 \value Sunken
60 \value Plain
61 \value Raised
62 \value MShadow
63 \value NoFrame
64 \value Panel
65 \value StyledPanel
66 \value HLine
67 \value VLine
68 \value GroupBoxPanel
69 \value WinPanel
70 \value ToolBarPanel
71 \value MenuBarPanel
72 \value PopupPanel
73 \value LineEditPanel
74 \value TabWidgetPanel
75 \value MShape
76*/
77
78/*!
79 \fn void Q3PopupMenu::setFrameShadow(DummyFrame)
80 \internal
81*/
82
83/*!
84 \fn DummyFrame Q3PopupMenu::frameShadow() const
85 \internal
86*/
87
88/*!
89 \fn void Q3PopupMenu::setFrameShape(DummyFrame)
90 \internal
91*/
92
93/*!
94 \fn DummyFrame Q3PopupMenu::frameShape() const
95 \internal
96*/
97
98/*!
99 \fn void Q3PopupMenu::setFrameStyle(int)
100 \internal
101*/
102
103/*!
104 \fn int Q3PopupMenu::frameStyle() const
105 \internal
106*/
107
108/*!
109 \fn int Q3PopupMenu::frameWidth() const
110 \internal
111*/
112
113/*!
114 \fn void Q3PopupMenu::setLineWidth(int)
115 \internal
116*/
117
118/*!
119 \fn int Q3PopupMenu::lineWidth() const
120 \internal
121*/
122
123/*!
124 \fn void Q3PopupMenu::setMargin(int margin)
125 \since 4.2
126
127 Sets the width of the margin around the contents of the widget to \a margin.
128
129 This function uses QWidget::setContentsMargins() to set the margin.
130 \sa margin(), QWidget::setContentsMargins()
131*/
132
133/*!
134 \fn int Q3PopupMenu::margin() const
135 \since 4.2
136
137 Returns the with of the the margin around the contents of the widget.
138
139 This function uses QWidget::getContentsMargins() to get the margin.
140 \sa setMargin(), QWidget::getContentsMargins()
141*/
142
143/*!
144 \fn void Q3PopupMenu::setMidLineWidth(int)
145 \internal
146*/
147
148/*!
149 \fn int Q3PopupMenu::midLineWidth() const
150 \internal
151*/
152
153QT_END_NAMESPACE
Note: See TracBrowser for help on using the repository browser.