45 #include <QtGui/qwidget.h> 71 int frameStyle() const;
72 void setFrameStyle(
int);
74 int frameWidth() const;
76 QSize sizeHint() const;
87 #if defined(QT3_SUPPORT) && !defined(Q_MOC_RUN) 88 ,PopupPanel = StyledPanel,
89 MenuBarPanel = StyledPanel,
90 ToolBarPanel = StyledPanel,
91 LineEditPanel = StyledPanel,
92 TabWidgetPanel = StyledPanel,
93 GroupBoxPanel = StyledPanel
103 Shadow_Mask = 0x00f0,
105 #if defined(QT3_SUPPORT) 106 ,MShadow = Shadow_Mask,
111 Shape frameShape()
const;
112 void setFrameShape(
Shape);
113 Shadow frameShadow()
const;
114 void setFrameShadow(
Shadow);
116 int lineWidth()
const;
117 void setLineWidth(
int);
119 int midLineWidth()
const;
120 void setMidLineWidth(
int);
122 QRect frameRect()
const;
123 void setFrameRect(
const QRect &);
133 QT3_SUPPORT_CONSTRUCTOR
QFrame(
QWidget* parent,
const char*
name, Qt::WindowFlags f = 0);
The QPainter class performs low-level painting on widgets and other paint devices.
#define QT_END_NAMESPACE
This macro expands to.
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
Shape
This enum type defines the shapes of frame available.
#define QT_BEGIN_NAMESPACE
This macro expands to.
Shadow
This enum type defines the types of shadow that are used to give a 3D effect to frames.
StyleMask
This enum defines two constants that can be used to extract the two components of frameStyle(): ...
The QRect class defines a rectangle in the plane using integer precision.
The QSize class defines the size of a two-dimensional object using integer point precision.
#define Q_DECLARE_PRIVATE(Class)
The QPaintEvent class contains event parameters for paint events.
The QEvent class is the base class of all event classes.
The QFrame class is the base class of widgets that can have a frame.