Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QWizardPrivate Class Reference
+ Inheritance diagram for QWizardPrivate:
+ Collaboration diagram for QWizardPrivate:

Public Types

enum  Direction { Backward , Forward }
 
typedef QMap< int, QWizardPage * > PageMap
 
- Public Types inherited from QWidgetPrivate
enum  DrawWidgetFlag {
  DrawAsRoot = 0x01 , DrawPaintOnScreen = 0x02 , DrawRecursive = 0x04 , DrawInvisible = 0x08 ,
  DontSubtractOpaqueChildren = 0x10 , DontDrawOpaqueChildren = 0x20 , DontDrawNativeChildren = 0x40 , DontSetCompositionMode = 0x80 ,
  UseEffectRegionBounds = 0x100
}
 
enum  Direction { DirectionNorth = 0x01 , DirectionEast = 0x10 , DirectionSouth = 0x02 , DirectionWest = 0x20 }
 
enum class  WindowHandleMode { Direct , Closest , TopLevel }
 
enum  CloseMode { CloseNoEvent , CloseWithEvent , CloseWithSpontaneousEvent }
 
enum class  FocusDirection { Previous , Next }
 
enum class  FocusChainRemovalRule { EnsureFocusOut = 0x01 , AssertConsistency = 0x02 }
 
- Public Types inherited from QObjectPrivate
typedef void(* StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **)
 
using ConnectionDataPointer = QExplicitlySharedDataPointer<ConnectionData>
 

Public Member Functions

void init ()
 
void reset ()
 
void cleanupPagesNotInHistory ()
 
void addField (const QWizardField &field)
 
void removeFieldAt (int index)
 
void switchToPage (int newId, Direction direction)
 
QWizardLayoutInfo layoutInfoForCurrentPage ()
 
void recreateLayout (const QWizardLayoutInfo &info)
 
void updateLayout ()
 
void updatePalette ()
 
void updateMinMaxSizes (const QWizardLayoutInfo &info)
 
void updateCurrentPage ()
 
bool ensureButton (QWizard::WizardButton which) const
 
void connectButton (QWizard::WizardButton which) const
 
void updateButtonTexts ()
 
void updateButtonLayout ()
 
void setButtonLayout (const QWizard::WizardButton *array, int size)
 
bool buttonLayoutContains (QWizard::WizardButton which)
 
void updatePixmap (QWizard::WizardPixmap which)
 
bool isVistaThemeEnabled () const
 
void disableUpdates ()
 
void enableUpdates ()
 
void _q_emitCustomButtonClicked ()
 
void _q_updateButtonStates ()
 
void _q_handleFieldObjectDestroyed (QObject *)
 
void setStyle (QStyle *style)
 
- Public Member Functions inherited from QDialogPrivate
 QDialogPrivate ()
 
 ~QDialogPrivate ()
 
virtual void setVisible (bool visible)
 
QWindowtransientParentWindow () const
 
bool setNativeDialogVisible (bool visible)
 
QVariant styleHint (QPlatformDialogHelper::StyleHint hint) const
 
void resetModalitySetByOpen ()
 
QPlatformDialogHelperplatformHelper () const
 
virtual bool canBeNativeDialog () const
 
void close (int resultCode)
 
- Public Member Functions inherited from QWidgetPrivate
 QWidgetPrivate (int version=QObjectPrivateVersion)
 
 ~QWidgetPrivate ()
 
QWExtraextraData () const
 
QTLWExtratopData () const
 
QTLWExtramaybeTopData () const
 
QPaintersharedPainter () const
 
void setSharedPainter (QPainter *painter)
 
QWidgetRepaintManagermaybeRepaintManager () const
 
QRhirhi () const
 
QWindowwindowHandle (WindowHandleMode mode=WindowHandleMode::Direct) const
 
QWindow_q_closestWindowHandle () const
 
QScreenassociatedScreen () const
 
template<typename T >
void repaint (T t)
 
template<typename T >
void update (T t)
 
void init (QWidget *desktopWidget, Qt::WindowFlags f)
 
void create ()
 
void createRecursively ()
 
void createWinId ()
 
bool setScreenForPoint (const QPoint &pos)
 
bool setScreen (QScreen *screen)
 
void createTLExtra ()
 
void createExtra ()
 
void deleteExtra ()
 
void createSysExtra ()
 
void deleteSysExtra ()
 
void createTLSysExtra ()
 
void deleteTLSysExtra ()
 
void updateSystemBackground ()
 
void propagatePaletteChange ()
 
void setPalette_helper (const QPalette &)
 
void resolvePalette ()
 
QPalette naturalWidgetPalette (QPalette::ResolveMask inheritedMask) const
 
void setMask_sys (const QRegion &)
 
void raise_sys ()
 
void lower_sys ()
 
void stackUnder_sys (QWidget *)
 
QWidgetdeepestFocusProxy () const
 
void setFocus_sys ()
 
void updateFocusChild ()
 
void updateFont (const QFont &)
 
void setFont_helper (const QFont &font)
 
QFont localFont () const
 
void resolveFont ()
 
QFont naturalWidgetFont (uint inheritedMask) const
 
void setLayoutDirection_helper (Qt::LayoutDirection)
 
void resolveLayoutDirection ()
 
void setLocale_helper (const QLocale &l, bool forceUpdate=false)
 
void resolveLocale ()
 
void setStyle_helper (QStyle *newStyle, bool propagate)
 
void inheritStyle ()
 
void setUpdatesEnabled_helper (bool)
 
bool updateBrushOrigin (QPainter *, const QBrush &brush) const
 
void paintBackground (QPainter *, const QRegion &, DrawWidgetFlags flags=DrawAsRoot) const
 
bool isAboutToShow () const
 The graphicsEffect function returns a pointer to the widget's graphics effect.
 
QRegion prepareToRender (const QRegion &region, QWidget::RenderFlags renderFlags)
 
void render_helper (QPainter *painter, const QPoint &targetOffset, const QRegion &sourceRegion, QWidget::RenderFlags renderFlags)
 
void render (QPaintDevice *target, const QPoint &targetOffset, const QRegion &sourceRegion, QWidget::RenderFlags renderFlags)
 
void drawWidget (QPaintDevice *pdev, const QRegion &rgn, const QPoint &offset, DrawWidgetFlags flags, QPainter *sharedPainter=nullptr, QWidgetRepaintManager *repaintManager=nullptr)
 
void sendPaintEvent (const QRegion &toBePainted)
 
void paintSiblingsRecursive (QPaintDevice *pdev, const QObjectList &children, int index, const QRegion &rgn, const QPoint &offset, DrawWidgetFlags flags, QPainter *sharedPainter, QWidgetRepaintManager *repaintManager)
 
bool shouldPaintOnScreen () const
 
void paintOnScreen (const QRegion &rgn)
 
QRect clipRect () const
 
QRegion clipRegion () const
 
void setSystemClip (QPaintEngine *paintEngine, qreal devicePixelRatio, const QRegion &region)
 
void subtractOpaqueChildren (QRegion &rgn, const QRect &clipRect) const
 
void subtractOpaqueSiblings (QRegion &source, bool *hasDirtySiblingsAbove=nullptr, bool alsoNonOpaque=false) const
 
void clipToEffectiveMask (QRegion &region) const
 
void updateIsOpaque ()
 
void setOpaque (bool opaque)
 
void updateIsTranslucent ()
 
const QRegiongetOpaqueChildren () const
 
void setDirtyOpaqueRegion ()
 
bool close ()
 
bool handleClose (CloseMode mode)
 
void setWindowIcon_helper ()
 
void setWindowIcon_sys ()
 
void setWindowOpacity_sys (qreal opacity)
 
void adjustQuitOnCloseAttribute ()
 
void scrollChildren (int dx, int dy)
 
void moveRect (const QRect &, int dx, int dy)
 
void scrollRect (const QRect &, int dx, int dy)
 
void invalidateBackingStore_resizeHelper (const QPoint &oldPos, const QSize &oldSize)
 Invalidates the backing store when the widget is resized.
 
template<class T >
void invalidateBackingStore (const T &)
 
QRegion overlappedRegion (const QRect &rect, bool breakAfterFirst=false) const
 
bool isOverlapped (const QRect &rect) const
 
void syncBackingStore ()
 
void syncBackingStore (const QRegion &region)
 
bool shouldDiscardSyncRequest () const
 
void updateWidgetTransform (QEvent *event)
 
void reparentFocusWidgets (QWidget *oldtlw)
 
void setWinId (WId)
 
void showChildren (bool spontaneous)
 
void hideChildren (bool spontaneous)
 
void setParent_sys (QWidget *parent, Qt::WindowFlags)
 
void reparentWidgetWindows (QWidget *parentWithWindow, Qt::WindowFlags windowFlags={})
 
void reparentWidgetWindowChildren (QWidget *parentWithWindow)
 
void scroll_sys (int dx, int dy)
 
void scroll_sys (int dx, int dy, const QRect &r)
 
void deactivateWidgetCleanup ()
 
void setGeometry_sys (int, int, int, int, bool)
 
void fixPosIncludesFrame ()
 
void sendPendingMoveAndResizeEvents (bool recursive=false, bool disableUpdates=false)
 
void activateChildLayoutsRecursively ()
 
void show_recursive ()
 
void show_helper ()
 
void show_sys ()
 
void hide_sys ()
 
void hide_helper ()
 
bool isExplicitlyHidden () const
 
void _q_showIfNotHidden ()
 
void setVisible (bool)
 
void setEnabled_helper (bool)
 
void updateFrameStrut ()
 
QRect frameStrut () const
 
void setWindowIconText_sys (const QString &cap)
 
void setWindowIconText_helper (const QString &cap)
 
void setWindowTitle_sys (const QString &cap)
 
void setWindowFilePath_sys (const QString &filePath)
 
void setCursor_sys (const QCursor &cursor)
 
void unsetCursor_sys ()
 
void setWindowTitle_helper (const QString &cap)
 
void setWindowFilePath_helper (const QString &filePath)
 
void setWindowModified_helper ()
 
virtual void setWindowFlags (Qt::WindowFlags windowFlags)
 
bool setMinimumSize_helper (int &minw, int &minh)
 
bool setMaximumSize_helper (int &maxw, int &maxh)
 
void setConstraints_sys ()
 
bool pointInsideRectAndMask (const QPoint &) const
 
QWidgetchildAt_helper (const QPoint &, bool) const
 
QWidgetchildAtRecursiveHelper (const QPoint &p, bool) const
 
void updateGeometry_helper (bool forceUpdate)
 
void getLayoutItemMargins (int *left, int *top, int *right, int *bottom) const
 
void setLayoutItemMargins (int left, int top, int right, int bottom)
 
void setLayoutItemMargins (QStyle::SubElement element, const QStyleOption *opt=nullptr)
 
void updateContentsRect ()
 
QMargins safeAreaMargins () const
 
virtual void aboutToDestroy ()
 
QWidgeteffectiveFocusWidget ()
 
void setModal_sys ()
 
void setRedirected (QPaintDevice *replacement, const QPoint &offset)
 
QPaintDeviceredirected (QPoint *offset) const
 
void restoreRedirected ()
 
void enforceNativeChildren ()
 
bool nativeChildrenForced () const
 
QRect effectiveRectFor (const QRegion &region) const
 
QRect effectiveRectFor (const QRect &rect) const
 
QSize adjustedSize () const
 
void handleSoftwareInputPanel (Qt::MouseButton button, bool clickCausedFocus)
 
void handleSoftwareInputPanel (bool clickCausedFocus=false)
 
void setWSGeometry ()
 
QPoint mapToWS (const QPoint &p) const
 
QPoint mapFromWS (const QPoint &p) const
 
QRect mapToWS (const QRect &r) const
 
QRect mapFromWS (const QRect &r) const
 
virtual QObjectfocusObject ()
 
virtual QPlatformBackingStoreRhiConfig rhiConfig () const
 
virtual TextureData texture () const
 
virtual QPlatformTextureList::Flags textureListFlags ()
 
virtual QImage grabFramebuffer ()
 
virtual void beginBackingStorePainting ()
 
virtual void endBackingStorePainting ()
 
virtual void beginCompose ()
 
virtual void endCompose ()
 
void setRenderToTexture ()
 
void setTextureChildSeen ()
 
virtual void initializeViewportFramebuffer ()
 
virtual void resizeViewportFramebuffer ()
 
virtual void resolveSamples ()
 
virtual bool isStereoEnabled ()
 
virtual bool toggleStereoTargetBuffer ()
 
std::string flagsForDumping () const override
 
QWidgetclosestParentWidgetWithWindowHandle () const
 
QWidgetnextPrevElementInFocusChain (FocusDirection direction) const
 
bool removeFromFocusChain (FocusChainRemovalRules rules=FocusChainRemovalRules(), FocusDirection direction=FocusDirection::Next)
 
bool insertIntoFocusChain (FocusDirection direction, QWidget *position)
 
bool insertIntoFocusChainBefore (QWidget *position)
 
bool insertIntoFocusChainAfter (QWidget *position)
 
void reparentFocusChildren (FocusDirection direction)
 
QWidgetdetermineLastFocusChild (QWidget *noFurtherThan)
 
void initFocusChain ()
 
bool isInFocusChain () const
 
bool isFocusChainConsistent () const
 
void setNetWmWindowTypes (bool skipIfMissing=false)
 
bool stealKeyboardGrab (bool grab)
 
bool stealMouseGrab (bool grab)
 
bool hasChildWithFocusPolicy (Qt::FocusPolicy policy, const QWidget *excludeChildrenOf=nullptr) const
 
- Public Member Functions inherited from QObjectPrivate
void ensureExtraData ()
 
 QObjectPrivate (int version=QObjectPrivateVersion)
 
virtual ~QObjectPrivate ()
 
void deleteChildren ()
 
void clearBindingStorage ()
 
void checkForIncompatibleLibraryVersion (int version) const
 
void setParent_helper (QObject *)
 
void moveToThread_helper ()
 
void setThreadData_helper (QThreadData *currentData, QThreadData *targetData, QBindingStatus *status)
 
QObjectList receiverList (const char *signal) const
 
void ensureConnectionData ()
 
void addConnection (int signal, Connection *c)
 
int signalIndex (const char *signalName, const QMetaObject **meta=nullptr) const
 
bool isSignalConnected (uint signalIdx, bool checkDeclarative=true) const
 
bool maybeSignalConnected (uint signalIndex) const
 
bool isDeclarativeSignalConnected (uint signalIdx) const
 
void connectNotify (const QMetaMethod &signal)
 
void disconnectNotify (const QMetaMethod &signal)
 
void reinitBindingStorageAfterThreadMove ()
 
virtual void writeToDebugStream (QDebug &) const
 
QtPrivate::QPropertyAdaptorSlotObjectgetPropertyAdaptorSlotObject (const QMetaProperty &property)
 
- Public Member Functions inherited from QObjectData
 QObjectData ()=default
 
virtual ~QObjectData ()=0
 
QMetaObjectdynamicMetaObject () const
 

Public Attributes

PageMap pageMap
 
QList< QWizardFieldfields
 
QMap< QString, int > fieldIndexMap
 
QList< QWizardDefaultPropertydefaultPropertyTable
 
QList< int > history
 
int start = -1
 
bool startSetByUser = false
 
int current = -1
 
bool canContinue = false
 
bool canFinish = false
 
QWizardLayoutInfo layoutInfo
 
int disableUpdatesCount = 0
 
QWizard::WizardStyle wizStyle = QWizard::ClassicStyle
 
QWizard::WizardOptions opts
 
QMap< int, QStringbuttonCustomTexts
 
bool buttonsHaveCustomLayout = false
 
QList< QWizard::WizardButtonbuttonsCustomLayout
 
Qt::TextFormat titleFmt = Qt::AutoText
 
Qt::TextFormat subTitleFmt = Qt::AutoText
 
QPixmap defaultPixmaps [QWizard::NPixmaps]
 
union { 
 
   struct { 
 
      QAbstractButton *   back 
 
      QAbstractButton *   next 
 
      QAbstractButton *   commit 
 
      QAbstractButton *   finish 
 
      QAbstractButton *   cancel 
 
      QAbstractButton *   help 
 
   }   btn 
 
   QAbstractButton *   btns [QWizard::NButtons
 
};  
 
QWizardAntiFlickerWidgetantiFlickerWidget = nullptr
 
QWidgetplaceholderWidget1 = nullptr
 
QWidgetplaceholderWidget2 = nullptr
 
QWizardHeaderheaderWidget = nullptr
 
QWatermarkLabelwatermarkLabel = nullptr
 
QWidgetsideWidget = nullptr
 
QFramepageFrame = nullptr
 
QLabeltitleLabel = nullptr
 
QLabelsubTitleLabel = nullptr
 
QWizardRulerbottomRuler = nullptr
 
QVBoxLayoutpageVBoxLayout = nullptr
 
QHBoxLayoutbuttonLayout = nullptr
 
QGridLayoutmainLayout = nullptr
 
int minimumWidth = 0
 
int minimumHeight = 0
 
int maximumWidth = QWIDGETSIZE_MAX
 
int maximumHeight = QWIDGETSIZE_MAX
 
- Public Attributes inherited from QDialogPrivate
Qt::Orientation orientation
 
QWidgetextension
 
bool doShowExtension
 
QSize size
 
QSize min
 
QSize max
 
QPoint lastRMBPress
 
int rescode
 
int resetModalityTo
 
bool wasModalitySet
 
QPointer< QEventLoopeventLoop
 
bool nativeDialogInUse
 
- Public Attributes inherited from QWidgetPrivate
std::unique_ptr< QWExtraextra
 
QWidgetfocus_next
 
QWidgetfocus_prev
 
QWidgetfocus_child
 
QLayoutlayout
 
QRegionneedsFlush
 
QPaintDeviceredirectDev
 
QWidgetItemV2widgetItem
 
QPaintEngineextraPaintEngine
 
const QMetaObjectpolished
 
QGraphicsEffectgraphicsEffect
 
Qt::InputMethodHints imHints
 
QRegion opaqueChildren
 
QRegion dirty
 
uint directFontResolveMask
 
uint inheritedFontResolveMask
 
decltype(std::declval< QPalette >().resolveMask()) directPaletteResolveMask
 
QPalette::ResolveMask inheritedPaletteResolveMask
 
short leftmargin
 
short topmargin
 
short rightmargin
 
short bottommargin
 
signed char leftLayoutItemMargin
 
signed char topLayoutItemMargin
 
signed char rightLayoutItemMargin
 
signed char bottomLayoutItemMargin
 
Qt::HANDLE hd
 
QWidgetData data
 
QSizePolicy size_policy
 
QLocale locale
 
QPoint redirectOffset
 
QList< QAction * > actions
 
QMap< Qt::GestureType, Qt::GestureFlags > gestureContext
 
uint high_attributes [4]
 
QPalette::ColorRole fg_role: 8
 
QPalette::ColorRole bg_role: 8
 
uint dirtyOpaqueChildren: 1
 
uint isOpaque: 1
 
uint retainSizeWhenHiddenChanged: 1
 
uint inDirtyList: 1
 
uint isScrolled: 1
 
uint isMoved: 1
 
uint usesDoubleBufferedGLContext: 1
 
uint mustHaveWindowHandle: 1
 
uint renderToTexture: 1
 
uint textureChildSeen: 1
 
uint inheritsInputMethodHints: 1
 
uint renderToTextureReallyDirty: 1
 
uint usesRhiFlush: 1
 
uint childrenHiddenByWState: 1
 
uint childrenShownByExpose: 1
 
- Public Attributes inherited from QObjectPrivate
ExtraDataextraData
 
QAtomicPointer< QThreadDatathreadData
 
QAtomicPointer< ConnectionDataconnections
 
union { 
 
   QObject *   currentChildBeingDeleted 
 
   QAbstractDeclarativeData *   declarativeData 
 
};  
 
QAtomicPointer< QtSharedPointer::ExternalRefCountDatasharedRefcount
 
- Public Attributes inherited from QObjectData
QObjectq_ptr
 
QObjectparent
 
QObjectList children
 
uint isWidget: 1
 
uint blockSig: 1
 
uint wasDeleted: 1
 
uint isDeletingChildren: 1
 
uint sendChildEvents: 1
 
uint receiveChildEvents: 1
 
uint isWindow: 1
 
uint deleteLaterCalled: 1
 
uint isQuickItem: 1
 
uint willBeWidget: 1
 
uint wasWidget: 1
 
uint receiveParentEvents: 1
 
uint unused: 20
 
QAtomicInt postedEvents
 
QDynamicMetaObjectDatametaObject
 
QBindingStorage bindingStorage
 

Additional Inherited Members

- Static Public Member Functions inherited from QWidgetPrivate
static QWidgetPrivateget (QWidget *w)
 
static const QWidgetPrivateget (const QWidget *w)
 
static void checkRestoredGeometry (const QRect &availableGeometry, QRect *restoredGeometry, int frameHeight)
 
static void adjustFlags (Qt::WindowFlags &flags, QWidget *w=nullptr)
 
static QWidgetparentGraphicsView (const QWidget *widget)
 
static QRect screenGeometry (const QWidget *widget)
 
static QRect availableScreenGeometry (const QWidget *widget)
 
static QScreenscreen (const QWidget *widget, const QPoint &globalPosition, bool hasPosition=true)
 
static QRect screenGeometry (const QWidget *widget, const QPoint &globalPosition, bool hasPosition=true)
 
static QRect availableScreenGeometry (const QWidget *widget, const QPoint &globalPosition, bool hasPosition=true)
 
static void sendComposeStatus (QWidget *w, bool end)
 
static void setWidgetParentHelper (QObject *widgetAsObject, QObject *newParent)
 
static bool insertIntoFocusChain (const QWidgetList &toBeInserted, FocusDirection direction, QWidget *position)
 
static QWidgetList takeFromFocusChain (QWidget *from, QWidget *to, FocusDirection direction=FocusDirection::Next)
 
- Static Public Member Functions inherited from QObjectPrivate
static bool removeConnection (Connection *c)
 
static QObjectPrivateget (QObject *o)
 
static const QObjectPrivateget (const QObject *o)
 
template<typename Func1 , typename Func2 >
static QMetaObject::Connection connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection)
 
template<typename Func1 , typename Func2 >
static bool disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot)
 
static QMetaObject::Connection connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject)
 
static QMetaObject::Connection connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
 
static QMetaObject::Connection connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
 
static bool disconnect (const QObject *sender, int signal_index, void **slot)
 
static bool disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot)
 
- Static Public Attributes inherited from QWidgetPrivate
static QWidgetMappermapper = nullptr
 
static QWidgetSetallWidgets = nullptr
 
static int instanceCounter = 0
 
static int maxInstances = 0
 
- Protected Member Functions inherited from QDialogPrivate
virtual int dialogCode () const
 

Detailed Description

Definition at line 503 of file qwizard.cpp.

Member Typedef Documentation

◆ PageMap

Definition at line 508 of file qwizard.cpp.

Member Enumeration Documentation

◆ Direction

Enumerator
Backward 
Forward 

Definition at line 510 of file qwizard.cpp.

Member Function Documentation

◆ _q_emitCustomButtonClicked()

void QWizardPrivate::_q_emitCustomButtonClicked ( )

Definition at line 1606 of file qwizard.cpp.

References btns, button, emit, i, QWizard::NButtons, QWizard::NStandardButtons, and QObject::sender().

Referenced by connectButton().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _q_handleFieldObjectDestroyed()

void QWizardPrivate::_q_handleFieldObjectDestroyed ( QObject * object)

Definition at line 1669 of file qwizard.cpp.

References QList< T >::begin(), QMap< Key, T >::begin(), QList< T >::end(), QMap< Key, T >::end(), QList< T >::erase(), fieldIndexMap, fields, QMap< Key, T >::insert(), it, QWizardField::name, QWizardField::object, QMap< Key, T >::remove(), and QMap< Key, T >::value().

Referenced by addField(), and removeFieldAt().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _q_updateButtonStates()

void QWizardPrivate::_q_updateButtonStates ( )

Definition at line 1618 of file qwizard.cpp.

References QList< T >::at(), QWizard::BackButton, btn, buttonLayoutContains(), QWizard::CancelButton, canContinue, canFinish, QWizard::CommitButton, QWizard::DisabledBackButtonOnLastPage, disableUpdates(), enableUpdates(), QWizard::FinishButton, QWizard::HaveFinishButtonOnEarlyPages, QWizard::HaveNextButtonOnLastPage, history, isVistaThemeEnabled(), QWizard::NextButton, QWizard::NoBackButtonOnLastPage, QWizard::NoBackButtonOnStartPage, QWizard::NoCancelButton, QWizard::NoCancelButtonOnLastPage, QWizard::NoDefaultButton, opts, page, and QList< T >::size().

Referenced by setButtonLayout(), switchToPage(), and updateCurrentPage().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addField()

void QWizardPrivate::addField ( const QWizardField & field)

◆ buttonLayoutContains()

bool QWizardPrivate::buttonLayoutContains ( QWizard::WizardButton which)

Definition at line 1494 of file qwizard.cpp.

References buttonsCustomLayout, buttonsHaveCustomLayout, and QListSpecialMethodsBase< T >::contains().

Referenced by _q_updateButtonStates().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ cleanupPagesNotInHistory()

void QWizardPrivate::cleanupPagesNotInHistory ( )

Definition at line 706 of file qwizard.cpp.

References QMap< Key, T >::begin(), QListSpecialMethodsBase< T >::contains(), QMap< Key, T >::end(), history, it, page, and pageMap.

Referenced by reset().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ connectButton()

void QWizardPrivate::connectButton ( QWizard::WizardButton which) const

Definition at line 1382 of file qwizard.cpp.

References _q_emitCustomButtonClicked(), btns, buttonSlots(), QObject::connect(), QWizard::NStandardButtons, SIGNAL, and SLOT.

+ Here is the call graph for this function:

◆ disableUpdates()

void QWizardPrivate::disableUpdates ( )

Definition at line 1588 of file qwizard.cpp.

References antiFlickerWidget, disableUpdatesCount, and QWidget::hide().

Referenced by _q_updateButtonStates(), switchToPage(), and updateLayout().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ enableUpdates()

void QWizardPrivate::enableUpdates ( )

Definition at line 1597 of file qwizard.cpp.

References antiFlickerWidget, disableUpdatesCount, and QWidget::show().

Referenced by _q_updateButtonStates(), switchToPage(), and updateLayout().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ensureButton()

bool QWizardPrivate::ensureButton ( QWizard::WizardButton which) const

Definition at line 1353 of file qwizard.cpp.

References antiFlickerWidget, btns, buttonDefaultText(), connectButton, QWidget::hide(), QWizard::NButtons, QWizard::NStandardButtons, object_name_for_button(), pushButton, QPushButton, QPushButton::setAutoDefault(), QObject::setObjectName(), QWidget::setStyle(), QAbstractButton::setText(), QApplication::style(), and wizStyle.

Referenced by init(), and setButtonLayout().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ init()

◆ isVistaThemeEnabled()

bool QWizardPrivate::isVistaThemeEnabled ( ) const

Definition at line 1579 of file qwizard.cpp.

References QWizard::AeroStyle, and wizStyle.

Referenced by _q_updateButtonStates(), updateButtonTexts(), and updateMinMaxSizes().

+ Here is the caller graph for this function:

◆ layoutInfoForCurrentPage()

QWizardLayoutInfo QWizardPrivate::layoutInfoForCurrentPage ( )

Definition at line 857 of file qwizard.cpp.

References QWizard::AeroStyle, QWizard::BackgroundPixmap, QWizard::ClassicStyle, QSizePolicy::DefaultType, QWizard::ExtendedWatermarkPixmap, Qt::Horizontal, QWizard::IgnoreSubTitles, info, QStyleOption::initFrom(), QStyle::layoutSpacing(), QWizard::MacStyle, QWizard::ModernStyle, opts, page, QStyle::pixelMetric(), QStyle::PM_LayoutBottomMargin, QStyle::PM_LayoutHorizontalSpacing, QStyle::PM_LayoutLeftMargin, QStyle::PM_LayoutRightMargin, QStyle::PM_LayoutTopMargin, QStyle::PM_LayoutVerticalSpacing, QSizePolicy::PushButton, QT_CONFIG, sideWidget, titleLabel, QWizard::WatermarkPixmap, and wizStyle.

Referenced by updateLayout().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ recreateLayout()

void QWizardPrivate::recreateLayout ( const QWizardLayoutInfo & info)

Definition at line 918 of file qwizard.cpp.

References QGridLayout::addLayout(), QGridLayout::addWidget(), QWizard::AeroStyle, Qt::AlignLeft, Qt::AlignTop, QColor::alpha(), antiFlickerWidget, QPalette::Base, bottomRuler, QFrame::Box, QPalette::brush(), buttonLayout, changeSpacerSize(), ClassicHMargin, QWizard::ClassicStyle, QBrush::color(), QGridLayout::columnCount(), QGridLayout::count(), QSizePolicy::Expanding, QSizePolicy::Fixed, headerWidget, hMargin, i, info, QBoxLayout::insertWidget(), item, layoutInfo, MacButtonTopMargin, MacLayoutBottomMargin, MacLayoutLeftMargin, MacLayoutRightMargin, QWizard::MacStyle, mainLayout, QWizard::ModernStyle, QFrame::NoFrame, pageFrame, pageVBoxLayout, QWidget::palette, placeholderWidget1, placeholderWidget2, QFont::pointSize(), qMin(), QFrame::Raised, QGridLayout::rowCount(), QLabel::setAlignment(), QWidget::setAutoFillBackground(), QWidget::setBackgroundRole(), QFont::setBold(), QPalette::setBrush(), QPalette::setColor(), QGridLayout::setColumnMinimumWidth(), QLayout::setContentsMargins(), QWidget::setContentsMargins(), QWidget::setFixedHeight(), QWidget::setFont(), QFrame::setFrameStyle(), QGridLayout::setHorizontalSpacing(), QLabel::setIndent(), QFrame::setLineWidth(), QFrame::setMidLineWidth(), QWidget::setMinimumHeight(), QWidget::setPalette(), QFont::setPointSize(), QGridLayout::setRowMinimumHeight(), QWidget::setSizePolicy(), QBoxLayout::setSpacing(), QGridLayout::setSpacing(), QGridLayout::setVerticalSpacing(), QWidget::setVisible(), QLabel::setWordWrap(), sideWidget, subTitleLabel, QGridLayout::takeAt(), QPalette::Text, titleLabel, vMargin, watermarkLabel, and QPalette::Window.

Referenced by updateLayout().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ removeFieldAt()

void QWizardPrivate::removeFieldAt ( int index)

Definition at line 742 of file qwizard.cpp.

References _q_handleFieldObjectDestroyed(), QList< T >::at(), QWizardField::changedSignal, QObject::disconnect(), fieldIndexMap, fields, QByteArray::isEmpty(), QWizardField::mandatory, QWizardField::name, QWizardField::object, QWizardField::page, QMap< Key, T >::remove(), QList< T >::remove(), SIGNAL, and SLOT.

+ Here is the call graph for this function:

◆ reset()

void QWizardPrivate::reset ( )

Definition at line 688 of file qwizard.cpp.

References cleanupPagesNotInHistory(), QList< T >::clear(), QList< T >::crbegin(), QList< T >::crend(), current, emit, history, it, page, and pageMap.

+ Here is the call graph for this function:

◆ setButtonLayout()

void QWizardPrivate::setButtonLayout ( const QWizard::WizardButton * array,
int size )

Definition at line 1461 of file qwizard.cpp.

References _q_updateButtonStates(), QBoxLayout::addStretch(), QBoxLayout::addWidget(), QWizard::BackButton, btns, buttonLayout, QWizard::CommitButton, QBoxLayout::count(), ensureButton(), QWizard::FinishButton, QWidget::hide(), i, item, QWizard::NextButton, QWizard::NoButton, pageFrame, QWidget::setTabOrder(), QWidget::show(), QDialogPrivate::size, QWizard::Stretch, QBoxLayout::takeAt(), and widget.

Referenced by updateButtonLayout().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setStyle()

void QWizardPrivate::setStyle ( QStyle * style)

Definition at line 1696 of file qwizard.cpp.

References btns, QMap< Key, T >::constBegin(), QMap< Key, T >::constEnd(), i, it, QWizard::NButtons, pageMap, and QWidget::setStyle().

+ Here is the call graph for this function:

◆ switchToPage()

◆ updateButtonLayout()

void QWizardPrivate::updateButtonLayout ( )

Definition at line 1421 of file qwizard.cpp.

References QWizard::BackButton, buttonsCustomLayout, buttonsHaveCustomLayout, QWizard::CancelButton, QWizard::CancelButtonOnLeft, QList< T >::cbegin(), QList< T >::cend(), QWizard::CommitButton, QWizard::CustomButton1, QWizard::CustomButton2, QWizard::CustomButton3, QWizard::FinishButton, QWizard::HaveCustomButton1, QWizard::HaveCustomButton2, QWizard::HaveCustomButton3, QWizard::HaveHelpButton, QWizard::HelpButton, QWizard::HelpButtonOnRight, i, QWizard::NextButton, QWizard::NoButton, QWizard::NoCancelButton, opts, Q_ASSERT, setButtonLayout(), and QWizard::Stretch.

Referenced by init().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateButtonTexts()

void QWizardPrivate::updateButtonTexts ( )

Definition at line 1392 of file qwizard.cpp.

References Qt::ALT, animateClick(), btns, buttonCustomTexts, buttonDefaultText(), QMap< Key, T >::contains(), i, isVistaThemeEnabled(), Qt::Key_Right, QWizard::NButtons, QWizard::NextButton, QWizard::NStandardButtons, QAbstractButton::setText(), SLOT, QMap< Key, T >::value(), and wizStyle.

Referenced by switchToPage(), and updateCurrentPage().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateCurrentPage()

void QWizardPrivate::updateCurrentPage ( )

Definition at line 1313 of file qwizard.cpp.

References _q_updateButtonStates(), canContinue, canFinish, and updateButtonTexts().

+ Here is the call graph for this function:

◆ updateLayout()

void QWizardPrivate::updateLayout ( )

Definition at line 1192 of file qwizard.cpp.

References QWizard::BannerPixmap, QBoxLayout::count(), disableUpdates(), enableUpdates(), QLayoutItem::expandingDirections(), headerWidget, QSizePolicy::Ignored, QLayout::indexOf(), info, QBoxLayout::invalidate(), QBoxLayout::itemAt(), layoutInfo, layoutInfoForCurrentPage(), QWizard::LogoPixmap, QSizePolicy::MinimumExpanding, page, pageVBoxLayout, pix, Q_ASSERT, recreateLayout(), QLabel::setPixmap(), QLabel::setText(), QLabel::setTextFormat(), QWizardHeader::setup(), QLayoutItem::spacerItem(), subTitleFmt, subTitleLabel, titleFmt, titleLabel, updateMinMaxSizes(), Qt::Vertical, watermarkLabel, and QWizard::WatermarkPixmap.

Referenced by switchToPage(), and updatePixmap().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateMinMaxSizes()

void QWizardPrivate::updateMinMaxSizes ( const QWizardLayoutInfo & info)

Definition at line 1277 of file qwizard.cpp.

References headerWidget, QSize::height(), info, isVistaThemeEnabled(), mainLayout, maximumHeight, maximumWidth, QWidget::maximumWidth, minimumHeight, minimumWidth, QWIDGETSIZE_MAX, QSize::setHeight(), QSize::setWidth(), QLayout::totalMaximumSize(), QLayout::totalMinimumSize(), QLayout::totalSizeHint(), and QSize::width().

Referenced by updateLayout().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updatePalette()

void QWizardPrivate::updatePalette ( )

Definition at line 1253 of file qwizard.cpp.

References QPalette::Base, QWizard::MacStyle, pageFrame, QApplication::palette(), QColor::setAlpha(), QWidget::setPalette(), QPalette::Window, and wizStyle.

Referenced by switchToPage().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updatePixmap()

void QWizardPrivate::updatePixmap ( QWizard::WizardPixmap which)

Definition at line 1499 of file qwizard.cpp.

References QWizard::BackgroundPixmap, QWizard::MacStyle, updateLayout(), and wizStyle.

+ Here is the call graph for this function:

Member Data Documentation

◆ [union]

union { ... } QWizardPrivate

◆ antiFlickerWidget

QWizardAntiFlickerWidget* QWizardPrivate::antiFlickerWidget = nullptr

Definition at line 583 of file qwizard.cpp.

Referenced by disableUpdates(), enableUpdates(), ensureButton(), init(), and recreateLayout().

◆ back

QAbstractButton* QWizardPrivate::back

Definition at line 574 of file qwizard.cpp.

◆ bottomRuler

QWizardRuler* QWizardPrivate::bottomRuler = nullptr

Definition at line 592 of file qwizard.cpp.

Referenced by recreateLayout().

◆ [struct]

struct { ... } QWizardPrivate::btn

Referenced by _q_updateButtonStates().

◆ btns

◆ buttonCustomTexts

QMap<int, QString> QWizardPrivate::buttonCustomTexts

Definition at line 564 of file qwizard.cpp.

Referenced by updateButtonTexts().

◆ buttonLayout

QHBoxLayout* QWizardPrivate::buttonLayout = nullptr

Definition at line 595 of file qwizard.cpp.

Referenced by init(), recreateLayout(), and setButtonLayout().

◆ buttonsCustomLayout

QList<QWizard::WizardButton> QWizardPrivate::buttonsCustomLayout

Definition at line 566 of file qwizard.cpp.

Referenced by buttonLayoutContains(), and updateButtonLayout().

◆ buttonsHaveCustomLayout

bool QWizardPrivate::buttonsHaveCustomLayout = false

Definition at line 565 of file qwizard.cpp.

Referenced by buttonLayoutContains(), and updateButtonLayout().

◆ cancel

QAbstractButton* QWizardPrivate::cancel

Definition at line 578 of file qwizard.cpp.

◆ canContinue

bool QWizardPrivate::canContinue = false

Definition at line 557 of file qwizard.cpp.

Referenced by _q_updateButtonStates(), switchToPage(), and updateCurrentPage().

◆ canFinish

bool QWizardPrivate::canFinish = false

Definition at line 558 of file qwizard.cpp.

Referenced by _q_updateButtonStates(), switchToPage(), and updateCurrentPage().

◆ commit

QAbstractButton* QWizardPrivate::commit

Definition at line 576 of file qwizard.cpp.

◆ current

int QWizardPrivate::current = -1

Definition at line 556 of file qwizard.cpp.

Referenced by reset(), and switchToPage().

◆ defaultPixmaps

QPixmap QWizardPrivate::defaultPixmaps[QWizard::NPixmaps]
mutable

Definition at line 569 of file qwizard.cpp.

◆ defaultPropertyTable

QList<QWizardDefaultProperty> QWizardPrivate::defaultPropertyTable

Definition at line 552 of file qwizard.cpp.

Referenced by addField(), and init().

◆ disableUpdatesCount

int QWizardPrivate::disableUpdatesCount = 0

Definition at line 560 of file qwizard.cpp.

Referenced by disableUpdates(), and enableUpdates().

◆ fieldIndexMap

QMap<QString, int> QWizardPrivate::fieldIndexMap

Definition at line 551 of file qwizard.cpp.

Referenced by _q_handleFieldObjectDestroyed(), addField(), and removeFieldAt().

◆ fields

QList<QWizardField> QWizardPrivate::fields

Definition at line 550 of file qwizard.cpp.

Referenced by _q_handleFieldObjectDestroyed(), addField(), and removeFieldAt().

◆ finish

QAbstractButton* QWizardPrivate::finish

Definition at line 577 of file qwizard.cpp.

◆ headerWidget

QWizardHeader* QWizardPrivate::headerWidget = nullptr

Definition at line 586 of file qwizard.cpp.

Referenced by recreateLayout(), updateLayout(), and updateMinMaxSizes().

◆ help

QAbstractButton* QWizardPrivate::help

Definition at line 579 of file qwizard.cpp.

◆ history

QList<int> QWizardPrivate::history

Definition at line 553 of file qwizard.cpp.

Referenced by _q_updateButtonStates(), cleanupPagesNotInHistory(), reset(), and switchToPage().

◆ layoutInfo

QWizardLayoutInfo QWizardPrivate::layoutInfo

Definition at line 559 of file qwizard.cpp.

Referenced by recreateLayout(), and updateLayout().

◆ mainLayout

QGridLayout* QWizardPrivate::mainLayout = nullptr

Definition at line 596 of file qwizard.cpp.

Referenced by init(), recreateLayout(), and updateMinMaxSizes().

◆ maximumHeight

int QWizardPrivate::maximumHeight = QWIDGETSIZE_MAX

Definition at line 611 of file qwizard.cpp.

Referenced by updateMinMaxSizes().

◆ maximumWidth

int QWizardPrivate::maximumWidth = QWIDGETSIZE_MAX

Definition at line 610 of file qwizard.cpp.

Referenced by updateMinMaxSizes().

◆ minimumHeight

int QWizardPrivate::minimumHeight = 0

Definition at line 609 of file qwizard.cpp.

Referenced by updateMinMaxSizes().

◆ minimumWidth

int QWizardPrivate::minimumWidth = 0

Definition at line 608 of file qwizard.cpp.

Referenced by updateMinMaxSizes().

◆ next

QAbstractButton* QWizardPrivate::next

Definition at line 575 of file qwizard.cpp.

◆ opts

QWizard::WizardOptions QWizardPrivate::opts

◆ pageFrame

QFrame* QWizardPrivate::pageFrame = nullptr

Definition at line 589 of file qwizard.cpp.

Referenced by init(), recreateLayout(), setButtonLayout(), and updatePalette().

◆ pageMap

PageMap QWizardPrivate::pageMap

Definition at line 549 of file qwizard.cpp.

Referenced by cleanupPagesNotInHistory(), reset(), and setStyle().

◆ pageVBoxLayout

QVBoxLayout* QWizardPrivate::pageVBoxLayout = nullptr

Definition at line 594 of file qwizard.cpp.

Referenced by init(), recreateLayout(), and updateLayout().

◆ placeholderWidget1

QWidget* QWizardPrivate::placeholderWidget1 = nullptr

Definition at line 584 of file qwizard.cpp.

Referenced by recreateLayout().

◆ placeholderWidget2

QWidget* QWizardPrivate::placeholderWidget2 = nullptr

Definition at line 585 of file qwizard.cpp.

Referenced by recreateLayout().

◆ sideWidget

QWidget* QWizardPrivate::sideWidget = nullptr

Definition at line 588 of file qwizard.cpp.

Referenced by layoutInfoForCurrentPage(), and recreateLayout().

◆ start

int QWizardPrivate::start = -1

Definition at line 554 of file qwizard.cpp.

◆ startSetByUser

bool QWizardPrivate::startSetByUser = false

Definition at line 555 of file qwizard.cpp.

◆ subTitleFmt

Qt::TextFormat QWizardPrivate::subTitleFmt = Qt::AutoText

Definition at line 568 of file qwizard.cpp.

Referenced by updateLayout().

◆ subTitleLabel

QLabel* QWizardPrivate::subTitleLabel = nullptr

Definition at line 591 of file qwizard.cpp.

Referenced by recreateLayout(), and updateLayout().

◆ titleFmt

Qt::TextFormat QWizardPrivate::titleFmt = Qt::AutoText

Definition at line 567 of file qwizard.cpp.

Referenced by updateLayout().

◆ titleLabel

QLabel* QWizardPrivate::titleLabel = nullptr

Definition at line 590 of file qwizard.cpp.

Referenced by layoutInfoForCurrentPage(), recreateLayout(), and updateLayout().

◆ watermarkLabel

QWatermarkLabel* QWizardPrivate::watermarkLabel = nullptr

Definition at line 587 of file qwizard.cpp.

Referenced by recreateLayout(), and updateLayout().

◆ wizStyle


The documentation for this class was generated from the following file: