![]() |
Qt 6.x
The Qt SDK
|
#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"
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 QWidget * | iWantTheFocus (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 | |
|
static |
Definition at line 614 of file qwizard.cpp.
References QWizard::BackButton, QWizard::CancelButton, QWizard::CommitButton, QWizard::FinishButton, QWizard::HelpButton, QWizardPrivate::isVistaThemeEnabled(), QWizard::MacStyle, QWizard::NextButton, and Q_UNUSED.
Referenced by QWizard::buttonText(), QWizardPrivate::ensureButton(), and QWizardPrivate::updateButtonTexts().
|
static |
Definition at line 833 of file qwizard.cpp.
References QWizard::BackButton, QWizard::CancelButton, QWizard::CommitButton, QWizard::CustomButton1, QWizard::CustomButton2, QWizard::CustomButton3, QWizard::FinishButton, QWizard::HelpButton, next, QWizard::NextButton, QWizard::NoButton, SIGNAL, SLOT, and QWizard::Stretch.
Referenced by QWizardPrivate::connectButton().
|
static |
Definition at line 114 of file qwizard.cpp.
References NFallbackDefaultProperties, SIGNAL, and textChanged().
Referenced by QWizardPrivate::init().
Definition at line 59 of file qwizard.cpp.
References QSpacerItem::changeSize(), QBoxLayout::itemAt(), layout, and QLayoutItem::spacerItem().
Referenced by QWizardPrivate::recreateLayout().
Definition at line 67 of file qwizard.cpp.
References QWidget::focusPolicy, i, QWidget::isAncestorOf(), QWidget::nextInFocusChain(), and Qt::TabFocus.
Referenced by QWizardPrivate::switchToPage().
|
static |
Definition at line 1327 of file qwizard.cpp.
References QWizard::BackButton, QWizard::CancelButton, QWizard::CommitButton, QWizard::CustomButton1, QWizard::CustomButton2, QWizard::CustomButton3, QWizard::FinishButton, QWizard::HelpButton, QWizard::NextButton, QWizard::NoButton, QString::number(), and QWizard::Stretch.
Referenced by QWizardPrivate::ensureButton().
|
static |
Definition at line 85 of file qwizard.cpp.
References metaObject().
Referenced by QWizardField::findProperty().
Q_DECLARE_TYPEINFO | ( | QWizardDefaultProperty | , |
Q_RELOCATABLE_TYPE | |||
) |
Q_DECLARE_TYPEINFO | ( | QWizardField | , |
Q_RELOCATABLE_TYPE | |||
) |
const int ClassicHMargin = 4 |
Definition at line 52 of file qwizard.cpp.
Referenced by QWizardPrivate::recreateLayout(), and QWizardHeader::setup().
QPushButton::staticMetaObject className | ( | ) |
[1]
[2]
Definition at line 100 of file qwizard.cpp.
Referenced by QIODevice::QIODevice(), QIODevice::QIODevice(), QMacAutoReleasePool::QMacAutoReleasePool(), QWidget::~QWidget(), language::_formatStackVariable(), WriteIncludesBase::acceptCustomWidget(), CPP::WriteDeclaration::acceptLayout(), CPP::WriteInitialization::acceptLayout(), CPP::WriteDeclaration::acceptUI(), CPP::WriteInitialization::acceptUI(), CPP::WriteDeclaration::acceptWidget(), CPP::WriteInitialization::acceptWidget(), QLayout::activate(), WriteIncludesBase::add(), addQQmlMetaTypeInterfaces(), QGridLayout::addWidget(), QNetworkAccessBackend::advanceReadPointer(), QQuickPointerHandler::approveGrabTransition(), QtPrivate::assertObjectType(), QColorDialogPrivate::canBeNativeDialog(), QFileDialogPrivate::canBeNativeDialog(), QFontDialogPrivate::canBeNativeDialog(), QMessageBoxPrivate::canBeNativeDialog(), convertToNativeQObject(), QWindowsContext::createDummyWindow(), createTrayIconMessageWindow(), CPP::WriteIncludes::doAdd(), Python::WriteImports::doAdd(), doRegisterInlineComponentType(), QQC2::QCommonStyle::drawPrimitive(), QCommonStyle::drawPrimitive(), QObject::dumpObjectInfo(), CustomWidgetsInfo::extends(), CustomWidgetsInfo::extendsOneOf(), MetaTypesJsonProcessor::extractRegisteredTypes(), QtAndroidPrivate::findClass(), QWizardField::findProperty(), language::fixClassName(), QApplication::font(), formatConnectionSignature(), formatGestureHeader(), funcSig(), Generator::generateCode(), QGuiApplicationPrivate::handlePaletteChanged(), QApplicationPrivate::handlePaletteChanged(), QNetworkAccessBackend::ignoreSslErrors(), QNetworkAccessBackend::ignoreSslErrors(), QV4::increaseFreedCountForClass(), QWizardPrivate::init(), QNetworkReplyImplPrivate::initCacheSaveDevice(), QWindowsScreenManager::initialize(), QQmlDelegateModelItemMetaType::initializeMetaObject(), QApplicationPrivate::initializeWidgetPalettesFromTheme(), Python::insertClass(), CustomWidgetsInfo::isAmbiguousSignal(), Uic::isButton(), isCapturableWindow(), Uic::isContainer(), CustomWidgetsInfo::isCustomWidgetContainer(), Uic::isMenu(), QMetaEnum::keysToValue(), QMetaEnum::keyToValue(), QObject::killTimer(), org.qtproject.qt.android.QtActivityDelegate::loadApplication(), org.qtproject.qt.android.QtServiceDelegate::loadApplication(), QJniObjectPrivate::loadClass(), QGeoServiceProviderPrivate::manager(), QApplication::palette(), QObject::property(), qDBusInterfaceFromMetaObject(), QNetworkAccessBackend::read(), QNetworkAccessBackend::readPointer(), CustomWidgetsInfo::realClassName(), QDBusAdaptorConnector::relaySlot(), QWizard::setDefaultProperty(), QWidget::setFocusProxy(), QApplication::setFont(), QGraphicsWidget::setLayout(), QWidget::setLayout(), QQmlAdaptorModelEngineData::setModelDataType(), QWindowsWindow::setMouseGrabEnabled(), QApplication::setPalette(), QWidget::setParent(), QWaylandWlShellSurfacePrivate::shell_surface_set_class(), QComboBox::showPopup(), QJniObjectPrivate::toBinaryEncClassName(), QTest::toString(), Driver::unique(), valueForStaticField(), valueFromStaticFieldCache(), QXcbIntegration::wmClass(), QDBusMetaObjectGenerator::write(), and QmlTypeRegistrar::write().
const struct { ... } fallbackProperties[] |
Referenced by QWizardPrivate::init().
const int GapBetweenLogoAndRightEdge = 5 |
Definition at line 50 of file qwizard.cpp.
Referenced by QWizardHeader::QWizardHeader(), and QWizardHeader::setup().
const int MacButtonTopMargin = 13 |
Definition at line 53 of file qwizard.cpp.
Referenced by QWizardPrivate::recreateLayout().
const int MacLayoutBottomMargin = 17 |
Definition at line 57 of file qwizard.cpp.
Referenced by QWizardPrivate::recreateLayout().
const int MacLayoutLeftMargin = 20 |
Definition at line 54 of file qwizard.cpp.
Referenced by QWizardPrivate::recreateLayout().
const int MacLayoutRightMargin = 20 |
Definition at line 56 of file qwizard.cpp.
Referenced by QWizardPrivate::recreateLayout().
const int ModernHeaderTopMargin = 2 |
Definition at line 51 of file qwizard.cpp.
Referenced by QWizardHeader::setup().
const size_t NFallbackDefaultProperties = sizeof fallbackProperties / sizeof *fallbackProperties |
Definition at line 112 of file qwizard.cpp.
Referenced by changed_signal(), and QWizardPrivate::init().
managed property | ( | ) |
Definition at line 101 of file qwizard.cpp.
Referenced by BindingFixer::BindingFixer(), QQmlListReference::QQmlListReference(), QQuickGridScaledImage::QQuickGridScaledImage(), QUntypedBindable::QUntypedBindable(), QXcbVirtualDesktop::QXcbVirtualDesktop(), QQmlSettingsPrivate::_q_propertyChanged(), TreeWalker::acceptProperty(), QQuickParentChange::actions(), QQuickPropertyChanges::actions(), qstdweb::EventCallback::activate(), QQuickDesignerSupportStates::activateState(), OrgBluezLEAdvertisingManager1Interface::activeInstances(), OrgBluezDevice1Interface::adapter(), QMetaObjectBuilder::addProperty(), OrgBluezAdapter1Interface::address(), OrgBluezDevice1Interface::address(), QQmlWatcher::addWatch(), OrgBluezAdapter1Interface::alias(), OrgBluezDevice1Interface::alias(), QTextCharFormat::anchorNames(), QDeclarativeGeoMapCopyrightNotice::anchorToBottomLeft(), OrgBluezDevice1Interface::appearance(), QSSGRuntimeUtils::applyPropertyValue(), availableRevisions(), QtQuickPrivate::beginDeferred(), QtQuickPrivate::beginDeferred(), OrgBluezDevice1Interface::blocked(), QV4::Runtime::LoadSuperProperty::call(), QV4::Runtime::StoreSuperProperty::call(), QV4::Runtime::CreateClass::call(), QQuickTransitionManager::cancel(), QtQuickPrivate::cancelDeferred(), QQmlPrivate::AOTCompiledContext::captureLookup(), QQmlPrivate::captureObjectProperty(), QQmlEngine::captureProperty(), QQmlPrivate::AOTCompiledContext::captureQmlContextPropertyLookup(), QQmlPrivate::changeObjectProperty(), OrgBluezGattDescriptor1Interface::characteristic(), OrgBluezGattDescriptor1Adaptor::characteristic(), QQmlJSImportVisitor::checkRequiredProperties(), QQuickWindowQmlImpl::classBegin(), OrgBluezAdapter1Interface::classProperty(), OrgBluezDevice1Interface::classProperty(), QXcbClipboard::clipboardReadIncrementalProperty(), QXcbClipboard::clipboardReadProperty(), QQmlMetaType::clone(), QtQuickPrivate::completeDeferred(), OrgBluezDevice1Interface::connected(), QQmlBinding::create(), QQmlBinding::create(), QQmlBinding::create(), QV4::QQmlValueTypeWrapper::create(), QQmlCppBinding::createBindingForBindable(), QQmlCppBinding::createBindingForNonBindable(), QQmlPropertyBinding::createFromScriptString(), QQmlDesignerMetaObject::createNewDynamicProperty(), QQmlDMObjectDataMetaObject::createProperty(), QQmlSA::PropertyPrivate::createProperty(), QQmlCppBinding::createTranslationBindingForBindable(), QQmlCppBinding::createTranslationBindingForNonBindable(), QV4::Heap::DECLARE_HEAP_OBJECT(), QV4::Heap::DECLARE_HEAP_OBJECT(), QV4::Heap::DECLARE_HEAP_OBJECT(), QQuickPropertyChangesPrivate::decodeBinding(), QQmlBindPrivate::decodeBinding(), QQmlPropertyCache::defaultProperty(), QQmlData::deferData(), QQmlDelegateChooser::delegate(), QQmlBinding::dependencies(), QV4::Compiler::Codegen::destructurePropertyList(), OrgBluezGattService1Interface::device(), OrgBluezGattService1Adaptor::device(), OrgBluezAdapter1Interface::discoverable(), OrgBluezLEAdvertisement1Adaptor::discoverable(), OrgBluezAdapter1Interface::discoverableTimeout(), OrgBluezAdapter1Interface::discovering(), doWriteProperties(), doWriteProperties(), doWriteProperties(), doWriteProperty(), QMacStyle::drawPrimitive(), QV4::Moth::dumpBytecode(), QWidget::event(), findPropertyIn(), firstOrLastIndexOf(), OrgBluezGattCharacteristic1Interface::flags(), OrgBluezGattCharacteristic1Adaptor::flags(), flush_vme_signal(), QTextCharFormat::fontFamilies(), QTextCharFormat::fontStyleName(), for(), QV4::ExecutionEngine::fromData(), QV4::Compiler::Codegen::Reference::fromSuperProperty(), QV4::ExecutionEngine::fromVariant(), QQmlJSCodeGenerator::generate_LoadSuperProperty(), QQmlJSTypePropagator::generate_LoadSuperProperty(), QQmlJSCodeGenerator::generate_SetLookup(), QQmlJSTypePropagator::generate_StoreProperty(), QQmlJSCodeGenerator::generate_StoreSuperProperty(), QQmlJSTypePropagator::generate_StoreSuperProperty(), QQuickLayoutItemProxy::geometryChange(), QQuickFolderListModel::get(), QSSGQmlUtilities::getAnimationSourceName(), QGstObject::getBool(), QSSGQmlUtilities::PropertyMap::getDefaultValue(), QGstObject::getDouble(), QGstObject::getFloat(), QGstObject::getInt(), QGstObject::getInt64(), QIIOFHelper::getIntProperty(), QGstObject::getObject(), QV4::QObjectWrapper::getProperty(), QObjectPrivate::getPropertyAdaptorSlotObject(), QV4::QQmlContextWrapper::getPropertyAndBase(), QXcbClipboard::getSelection(), QGstObject::getString(), QGstObject::getStructure(), QGstObject::getUInt(), QGstObject::getUInt64(), QXcbClipboard::handleSelectionRequest(), OrgBluezDevice1Interface::icon(), OrgBluezGattService1Interface::includes(), OrgBluezLEAdvertisement1Adaptor::includes(), QMetaObjectBuilder::indexOfProperty(), QWizardPrivate::init(), QV4::Heap::QmlListWrapper::init(), QV4::Heap::QmlListWrapper::init(), QQuickStackElement::initialize(), QQmlPrivate::initObjectLookup(), QQmlPropertyPrivate::initProperty(), QPlainTextEdit::inputMethodQuery(), QTextEdit::inputMethodQuery(), QLineEdit::inputMethodQuery(), QWidgetTextControl::inputMethodQuery(), QWaylandQtTextInputMethod::inputMethodQuery(), QWaylandTextInput::inputMethodQuery(), QWaylandTextInputPrivate::inputMethodQuery(), QWaylandTextInputV4::inputMethodQuery(), QWaylandTextInputV4Private::inputMethodQuery(), QLineEdit::inputMethodQuery(), QQmlJSScope::insertPropertyIdentifier(), QDBusAbstractInterface::internalPropGet(), QV4::Moth::VME::interpret(), QSSGQmlUtilities::PropertyMap::isDefaultValue(), QtPrivate::isPropertyInBindingWrapper(), QmlIR::IRBuilder::isRedundantNullInitializerForPropertyDeclaration(), QQuickDesignerSupportStates::isStateActive(), QInputDialogSpinBox::keyPressEvent(), QInputDialogDoubleSpinBox::keyPressEvent(), OrgBluezDevice1Interface::legacyPairing(), QQmlJSLinter::lintModule(), QQmlSettingsPrivate::load(), QV4::Compiler::Codegen::Reference::loadInAccumulator(), QQmlPrivate::loadObjectProperty(), QV4::loadProperty(), OrgBluezLEAdvertisement1Adaptor::localName(), QV4::QQmlContextWrapper::lookupInParentContextHierarchy(), QV4::QObjectWrapper::lookupMethodGetterImpl(), QV4::QObjectWrapper::lookupPropertyGetterImpl(), OrgBluezDevice1Interface::manufacturerData(), OrgBluezLEAdvertisement1Adaptor::manufacturerData(), OrgBluezLEAdvertisement1Adaptor::maxInterval(), QQmlVMEMetaObject::metaCall(), VDMListDelegateDataType::metaCall(), QV4::PropertyListPrototype::method_get_length(), QV4::PropertyListPrototype::method_indexOf(), QV4::PropertyListPrototype::method_lastIndexOf(), QV4::PropertyListPrototype::method_pop(), QV4::PropertyListPrototype::method_push(), QV4::PropertyListPrototype::method_set_length(), QV4::PropertyListPrototype::method_shift(), QV4::PropertyListPrototype::method_sort(), QV4::PropertyListPrototype::method_splice(), QV4::PropertyListPrototype::method_unshift(), OrgBluezLEAdvertisement1Adaptor::minInterval(), OrgBluezAdapter1Interface::modalias(), OrgBluezDevice1Interface::modalias(), OrgBluezAdapter1Interface::name(), OrgBluezDevice1Interface::name(), QV4::QObjectWrapperOwnPropertyKeyIterator::next(), OrgBluezGattCharacteristic1Interface::notifying(), OrgBluezGattCharacteristic1Adaptor::notifying(), FileProperty::operator==(), QQmlPropertyCache::overrideData(), QTextTableData::paddingProperty(), OrgBluezAdapter1Interface::pairable(), OrgBluezAdapter1Interface::pairableTimeout(), OrgBluezDevice1Interface::paired(), QQuickPath::pathElements_append(), QQuickPath::pathElements_at(), QQuickPath::pathElements_clear(), QQuickPath::pathElements_count(), OrgBluezBattery1Interface::percentage(), OrgBluezAdapter1Interface::powered(), OrgBluezGattService1Interface::primary(), OrgBluezGattService1Adaptor::primary(), QQmlJSImportVisitor::processPropertyBindingObjects(), QQmlJSImportVisitor::processPropertyBindings(), QQmlJSImportVisitor::processPropertyTypes(), QQuickPropertyChangesPrivate::property(), quickBeginDeferred(), quickCancelDeferred(), quickCompleteDeferred(), readObjectProperty(), QQmlPropertyData::readProperty(), QV4::referenceFlags(), QV4::Compiler::Codegen::referenceForPropertyName(), QXcbXSettings::registerCallbackForProperty(), QWizardPage::registerField(), QmlLintQuickPlugin::registerPasses(), QXcbXSettings::removeCallbackForHandle(), QMetaObjectBuilder::removeMethod(), QQmlPropertyPrivate::reset(), QQmlPrivate::resetObjectProperty(), QQmlJSUtils::resolveAlias(), QQmlJSUtils::resolveAlias(), resolveAlias(), QQmlLSUtils::resolveExpressionType(), QTextFormatPrivate::resolveFont(), OrgBluezDevice1Interface::rSSI(), ControlsSwipeDelegateValidatorPass::run(), QQmlJSFunctionInitializer::run(), QQmlJSLiteralBindingCheck::run(), sequenceInterface(), OrgBluezGattCharacteristic1Interface::service(), OrgBluezGattCharacteristic1Adaptor::service(), OrgBluezDevice1Interface::serviceData(), OrgBluezDevice1Interface::servicesResolved(), OrgBluezLEAdvertisement1Adaptor::serviceUUIDs(), QGstObject::set(), QGstObject::set(), QGstObject::set(), QGstObject::set(), QGstObject::set(), QGstObject::set(), QGstObject::set(), QGstObject::set(), QGstObject::set(), QQmlCppOnAssignmentHelper::set(), QQmlCppOnAssignmentHelper::set(), QQmlContext::setContextProperties(), QQmlListModel::setData(), QWizard::setDefaultProperty(), QV4::QObjectWrapper::setProperty(), QV4::QObjectWrapper::setProperty(), QQmlListModel::setProperty(), QQmlListModelWorkerAgent::setProperty(), QMacPrintEngine::setProperty(), QWin32PrintEngine::setProperty(), QSSGQmlUtilities::setProperty(), QQuickTableViewPrivate::setRequiredProperty(), QPropertyObserver::setSource(), QQuickBoundaryRule::setTarget(), QQuickBehavior::setTarget(), QQuickImageSelector::setTarget(), QXcbXSettings::setting(), QIOSWindow::setVisible(), QXcbWindow::setWindowFlags(), QQmlPropertyResolver::signal(), ssgn_append(), QJUnitTestLogger::startLogging(), QQmlPrivate::storeObjectProperty(), OrgBluezLEAdvertisingManager1Interface::supportedIncludes(), OrgBluezLEAdvertisingManager1Interface::supportedInstances(), QTextBlockFormat::tabPositions(), QQmlPropertyCache::toMetaObjectBuilder(), QQuickTransitionManager::transition(), OrgBluezDevice1Interface::trusted(), tryConvertAndAssign(), OrgBluezDevice1Interface::txPower(), OrgBluezLEAdvertisement1Adaptor::type(), QQmlPropertyToPropertyBinding::update(), ImeState::update(), QQuickBasePositioner::updateAttachedProperties(), QDeclarativeGeoMap::updateItemToWindowTransform(), QQuickLayoutItemProxy::updatePos(), QQuick3DCustomMaterial::updateSpatialNode(), QQuick3DEffect::updateSpatialNode(), QMetaObject::userProperty(), OrgBluezGattCharacteristic1Interface::uUID(), OrgBluezGattCharacteristic1Adaptor::uUID(), OrgBluezGattDescriptor1Interface::uUID(), OrgBluezGattDescriptor1Adaptor::uUID(), OrgBluezGattService1Interface::uUID(), OrgBluezGattService1Adaptor::uUID(), OrgBluezAdapter1Interface::uUIDs(), OrgBluezDevice1Interface::uUIDs(), OrgBluezGattCharacteristic1Interface::value(), OrgBluezGattCharacteristic1Adaptor::value(), OrgBluezGattDescriptor1Interface::value(), OrgBluezGattDescriptor1Adaptor::value(), VDMListDelegateDataType::value(), QSSGQmlUtilities::valueToQml(), QQmlJSTypeResolver::valueType(), QListView::viewportSizeHint(), QV4::QQmlValueTypeWrapper::virtualPut(), QV4::QObjectWrapper::virtualResolveLookupGetter(), QV4::QQmlTypeWrapper::virtualResolveLookupGetter(), QQmlJS::Dom::Rewriter::visit(), QV4::Compiler::Codegen::visit(), QmlIR::IRBuilder::visit(), vpe_append(), vpe_clear(), QQmlPropertyPrivate::write(), and QSSGQmlUtilities::writeNodeProperties().