Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qwizard.cpp File Reference

(618b1faf37ddda4cdeff6934f5af7e699c9aad63)

#include "qwizard.h"
#include <QtWidgets/private/qtwidgetsglobal_p.h>
#include "qalgorithms.h"
#include "qapplication.h"
#include "qboxlayout.h"
#include "qlayoutitem.h"
#include "qevent.h"
#include "qframe.h"
#include "qlabel.h"
#include <qpointer.h>
#include "qstylepainter.h"
#include "qwindow.h"
#include "qpushbutton.h"
#include "qset.h"
#include "qstyle.h"
#include "qstyleoption.h"
#include "qvarlengtharray.h"
#include "private/qdialog_p.h"
#include <qdebug.h>
#include <string.h>
#include <algorithm>
#include "moc_qwizard.cpp"
+ Include dependency graph for qwizard.cpp:

Go to the source code of this file.

Classes

class  QWizardDefaultProperty
 
class  QWizardField
 
class  QWizardLayoutInfo
 
class  QWizardHeader
 
class  QWizardRuler
 
class  QWatermarkLabel
 
class  QWizardPagePrivate
 
class  QWizardAntiFlickerWidget
 
class  QWizardPrivate
 

Functions

static void changeSpacerSize (QLayout *layout, int index, int width, int height)
 
static QWidgetiWantTheFocus (QWidget *ancestor)
 
static bool objectInheritsXAndXIsCloserThanY (const QObject *object, const QByteArray &classX, const QByteArray &classY)
 
static const char * changed_signal (int which)
 
 Q_DECLARE_TYPEINFO (QWizardDefaultProperty, Q_RELOCATABLE_TYPE)
 
 Q_DECLARE_TYPEINFO (QWizardField, Q_RELOCATABLE_TYPE)
 
static QString buttonDefaultText (int wstyle, int which, const QWizardPrivate *wizardPrivate)
 
static const char * buttonSlots (QWizard::WizardButton which)
 
static QString object_name_for_button (QWizard::WizardButton which)
 

Variables

const int GapBetweenLogoAndRightEdge = 5
 
const int ModernHeaderTopMargin = 2
 
const int ClassicHMargin = 4
 
const int MacButtonTopMargin = 13
 
const int MacLayoutLeftMargin = 20
 
const int MacLayoutRightMargin = 20
 
const int MacLayoutBottomMargin = 17
 
struct { 
 
   const char   className [16] 
 
   const char   property [13] 
 
fallbackProperties [] 
 
const size_t NFallbackDefaultProperties = sizeof fallbackProperties / sizeof *fallbackProperties
 

Function Documentation

◆ buttonDefaultText()

static QString buttonDefaultText ( int wstyle,
int which,
const QWizardPrivate * wizardPrivate )
static

Definition at line 613 of file qwizard.cpp.

References QWizardPrivate::isVistaThemeEnabled().

+ Here is the call graph for this function:

◆ buttonSlots()

static const char * buttonSlots ( QWizard::WizardButton which)
static

Definition at line 832 of file qwizard.cpp.

◆ changed_signal()

static const char * changed_signal ( int which)
static

Definition at line 113 of file qwizard.cpp.

◆ changeSpacerSize()

static void changeSpacerSize ( QLayout * layout,
int index,
int width,
int height )
static

Definition at line 58 of file qwizard.cpp.

◆ iWantTheFocus()

static QWidget * iWantTheFocus ( QWidget * ancestor)
static

Definition at line 66 of file qwizard.cpp.

References QPainter::QWidget.

◆ object_name_for_button()

static QString object_name_for_button ( QWizard::WizardButton which)
static

Definition at line 1326 of file qwizard.cpp.

◆ objectInheritsXAndXIsCloserThanY()

static bool objectInheritsXAndXIsCloserThanY ( const QObject * object,
const QByteArray & classX,
const QByteArray & classY )
static

Definition at line 84 of file qwizard.cpp.

◆ Q_DECLARE_TYPEINFO() [1/2]

Q_DECLARE_TYPEINFO ( QWizardDefaultProperty ,
Q_RELOCATABLE_TYPE  )

◆ Q_DECLARE_TYPEINFO() [2/2]

Q_DECLARE_TYPEINFO ( QWizardField ,
Q_RELOCATABLE_TYPE  )

Variable Documentation

◆ ClassicHMargin

const int ClassicHMargin = 4

Definition at line 51 of file qwizard.cpp.

Referenced by QWizardPrivate::recreateLayout(), and QWizardHeader::setup().

◆ className

QPushButton::staticMetaObject className ( )

[1]

[2]

Definition at line 99 of file qwizard.cpp.

◆ [struct]

const struct { ... } fallbackProperties
Initial value:
= {
{ "QAbstractButton", "checked" },
{ "QAbstractSlider", "value" },
{ "QComboBox", "currentIndex" },
{ "QDateTimeEdit", "dateTime" },
{ "QLineEdit", "text" },
{ "QListWidget", "currentRow" },
{ "QSpinBox", "value" },
}

◆ GapBetweenLogoAndRightEdge

const int GapBetweenLogoAndRightEdge = 5

Definition at line 49 of file qwizard.cpp.

◆ MacButtonTopMargin

const int MacButtonTopMargin = 13

Definition at line 52 of file qwizard.cpp.

◆ MacLayoutBottomMargin

const int MacLayoutBottomMargin = 17

Definition at line 56 of file qwizard.cpp.

◆ MacLayoutLeftMargin

const int MacLayoutLeftMargin = 20

Definition at line 53 of file qwizard.cpp.

◆ MacLayoutRightMargin

const int MacLayoutRightMargin = 20

Definition at line 55 of file qwizard.cpp.

◆ ModernHeaderTopMargin

const int ModernHeaderTopMargin = 2

Definition at line 50 of file qwizard.cpp.

◆ NFallbackDefaultProperties

const size_t NFallbackDefaultProperties = sizeof fallbackProperties / sizeof *fallbackProperties

Definition at line 111 of file qwizard.cpp.

◆ property

managed property ( )

Definition at line 100 of file qwizard.cpp.