7#include <QtWidgets/qtwidgetsglobal.h>
8#include <QtWidgets/qwidget.h>
14class QStyleOptionFrame;
16class Q_WIDGETS_EXPORT
QFrame :
public QWidget
20 Q_PROPERTY(Shape frameShape READ frameShape WRITE setFrameShape)
21 Q_PROPERTY(Shadow frameShadow READ frameShadow WRITE setFrameShadow)
22 Q_PROPERTY(
int lineWidth READ lineWidth WRITE setLineWidth)
23 Q_PROPERTY(
int midLineWidth READ midLineWidth WRITE setMidLineWidth)
24 Q_PROPERTY(
int frameWidth READ frameWidth)
25 Q_PROPERTY(QRect frameRect READ frameRect WRITE setFrameRect DESIGNABLE
false)
28 explicit QFrame(QWidget* parent =
nullptr, Qt::WindowFlags f = Qt::WindowFlags());
31 int frameStyle()
const;
32 void setFrameStyle(
int);
34 int frameWidth()
const;
36 QSize sizeHint()
const override;
60 Shape frameShape()
const;
61 void setFrameShape(Shape);
62 Shadow frameShadow()
const;
63 void setFrameShadow(Shadow);
65 int lineWidth()
const;
66 void setLineWidth(
int);
68 int midLineWidth()
const;
69 void setMidLineWidth(
int);
71 QRect frameRect()
const;
72 void setFrameRect(
const QRect &);
75 bool event(QEvent *e) override;
76 void paintEvent(QPaintEvent *) override;
77 void changeEvent(QEvent *) override;
78 void drawFrame(QPainter *);
82 QFrame(QFramePrivate &dd, QWidget* parent =
nullptr, Qt::WindowFlags f = Qt::WindowFlags());
83 virtual void initStyleOption(QStyleOptionFrame *option)
const;
86 Q_DISABLE_COPY(QFrame)
87 Q_DECLARE_PRIVATE(QFrame)
90Q_DECLARE_MIXED_ENUM_OPERATORS_SYMMETRIC(
int, QFrame::Shape, QFrame::Shadow)
The QBoxLayout class lines up child widgets horizontally or vertically.
The QFrame class is the base class of widgets that can have a frame.
The QHBoxLayout class lines up widgets horizontally.
The QLayoutItem class provides an abstract item that a QLayout manipulates.
The QSpacerItem class provides blank space in a layout.
The QStylePainter class is a convenience class for drawing QStyle elements inside a widget.
The QVBoxLayout class lines up widgets vertically.
QSize minimumSizeHint() const override
\reimp
void setSideWidget(QWidget *widget)
QWatermarkLabel(QWidget *parent, QWidget *sideWidget)
QWidget * sideWidget() const
QWizardDefaultProperty(const char *className, const char *property, const char *changedSignal)
void resolve(const QList< QWizardDefaultProperty > &defaultPropertyTable)
QWizardField(QWizardPage *page, const QString &spec, QObject *object, const char *property, const char *changedSignal)
void findProperty(const QWizardDefaultProperty *properties, int propertyCount)
bool operator!=(const QWizardLayoutInfo &other) const
bool operator==(const QWizardLayoutInfo &other) const
void _q_maybeEmitCompleteChanged()
QMap< int, QString > buttonCustomTexts
void _q_updateCachedCompleteState()
bool cachedIsComplete() const
QPixmap pixmaps[QWizard::NPixmaps]
QList< QWizardField > pendingFields
The QWizardPage class is the base class for wizard pages.
QMap< int, QString > buttonCustomTexts
QMap< QString, int > fieldIndexMap
void setStyle(QStyle *style)
QList< QWizardDefaultProperty > defaultPropertyTable
bool buttonLayoutContains(QWizard::WizardButton which)
void _q_updateButtonStates()
QVBoxLayout * pageVBoxLayout
QWatermarkLabel * watermarkLabel
QWizardLayoutInfo layoutInfoForCurrentPage()
void connectButton(QWizard::WizardButton which) const
void removeFieldAt(int index)
void recreateLayout(const QWizardLayoutInfo &info)
QWizardAntiFlickerWidget * antiFlickerWidget
QWizardHeader * headerWidget
QHBoxLayout * buttonLayout
void updateMinMaxSizes(const QWizardLayoutInfo &info)
void _q_emitCustomButtonClicked()
void setButtonLayout(const QWizard::WizardButton *array, int size)
bool isVistaThemeEnabled() const
void updatePixmap(QWizard::WizardPixmap which)
void _q_handleFieldObjectDestroyed(QObject *)
void switchToPage(int newId, Direction direction)
QList< QWizard::WizardButton > buttonsCustomLayout
QPixmap defaultPixmaps[QWizard::NPixmaps]
QWidget * placeholderWidget2
QWizardRuler * bottomRuler
Qt::TextFormat subTitleFmt
void updateButtonLayout()
QList< QWizardField > fields
bool ensureButton(QWizard::WizardButton which) const
bool buttonsHaveCustomLayout
void cleanupPagesNotInHistory()
QAbstractButton * btns[QWizard::NButtons]
QWidget * placeholderWidget1
void addField(const QWizardField &field)
QWizardLayoutInfo layoutInfo
QWizardRuler(QWidget *parent=nullptr)
The QWizard class provides a framework for wizards.
Combined button and popup list for selecting options.
QT_BEGIN_NAMESPACE constexpr int QLAYOUTSIZE_MAX
static const char * buttonSlots(QWizard::WizardButton which)
static QString buttonDefaultText(int wstyle, int which, const QWizardPrivate *wizardPrivate)
static QString object_name_for_button(QWizard::WizardButton which)
Q_DECLARE_TYPEINFO(QWizardDefaultProperty, Q_RELOCATABLE_TYPE)
const int ModernHeaderTopMargin
static void changeSpacerSize(QLayout *layout, int index, int width, int height)
const int MacLayoutLeftMargin
const int GapBetweenLogoAndRightEdge
static bool objectInheritsXAndXIsCloserThanY(const QObject *object, const QByteArray &classX, const QByteArray &classY)
static QWidget * iWantTheFocus(QWidget *ancestor)
Q_DECLARE_TYPEINFO(QWizardField, Q_RELOCATABLE_TYPE)
const int MacLayoutBottomMargin
const int MacLayoutRightMargin
static const char * changed_signal(int which)
const size_t NFallbackDefaultProperties
const int MacButtonTopMargin
const char className[16]
[1]
QT_REQUIRE_CONFIG(wizard)