qframe
public:
explicit QFrame(QWidget* parent = 0, Qt::WindowFlags f = 0);
~QFrame();
int frameStyle() const;
void setFrameStyle(int);
int frameWidth() const;
QSize sizeHint() const;
enum Shape {
NoFrame = 0,
Box = 0x0001,
Panel = 0x0002,
WinPanel = 0x0003,
HLine = 0x0004,
VLine = 0x0005,
StyledPanel = 0x0006
#if defined(QT3_SUPPORT) && !defined(Q_MOC_RUN)
,PopupPanel = StyledPanel,
MenuBarPanel = StyledPanel,
ToolBarPanel = StyledPanel,
LineEditPanel = StyledPanel,
TabWidgetPanel = StyledPanel,
GroupBoxPanel = StyledPanel
#endif
};
enum Shadow {
Plain = 0x0010,
Raised = 0x0020,
Sunken = 0x0030
};
enum StyleMask {
Shadow_Mask = 0x00f0,
Shape_Mask = 0x000f
#if defined(QT3_SUPPORT)
,MShadow = Shadow_Mask,
MShape = Shape_Mask
#endif
};
Shape frameShape() const;
void setFrameShape(Shape);
Shadow frameShadow() const;
void setFrameShadow(Shadow);
int lineWidth() const;
void setLineWidth(int);
int midLineWidth() const;
void setMidLineWidth(int);
QRect frameRect() const;
void setFrameRect(const QRect &);