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
qstylekitstyle.cpp File Reference

(2a750cddd7e6f140843b088352fd2c4c065d8a22)

#include "qstylekitstyle.h"
#include "qstylekitstyle_p.h"
#include <QtWidgets/qstyleoption.h>
#include <QtWidgets/qstyle.h>
#include <QtWidgets/qapplication.h>
#include <QtWidgets/private/qwidget_p.h>
#include <QtGui/qpainter.h>
#include <QtGui/qpainterpath.h>
#include <QtGui/qpainterstateguard.h>
#include <QtGui/qstylehints.h>
#include <QtCore/qloggingcategory.h>
#include <QtQml/private/qqmlcomponent_p.h>
#include <QtQml/qqmlengine.h>
#include <QtLabsStyleKit/private/qqstylekit_p.h>
#include <QtLabsStyleKit/private/qqstylekitcontrolproperties_p.h>
#include <QtLabsStyleKit/private/qqstylekitstyle_p.h>
#include "moc_qstylekitstyle.cpp"
Include dependency graph for qstylekitstyle.cpp:

Go to the source code of this file.

Functions

static QQStyleKitReader::ControlType controlTypeForWidget (const QWidget *widget)
static bool isSelfPaintingWidget (const QWidget *widget)
static QWidgetmanagedViewport (QWidget *widget)
static uint resolvedAlignment (uint raw, Qt::Alignment hDefault, Qt::Alignment vDefault)
static qreal resolvedImplicitWidth (const QQStyleKitDelegateProperties *element, qreal availableW)
static qreal resolvedImplicitHeight (const QQStyleKitDelegateProperties *element, qreal avilableH)
static QMargins elementMargins (const QQStyleKitDelegateProperties *element)
static const QWidgetcontainerWidget (const QWidget *w)
static QUrl urlFromStylePath (const QString &filePath)

Function Documentation

◆ containerWidget()

const QWidget * containerWidget ( const QWidget * w)
static

Definition at line 404 of file qstylekitstyle.cpp.

◆ controlTypeForWidget()

QQStyleKitReader::ControlType controlTypeForWidget ( const QWidget * widget)
static

Definition at line 267 of file qstylekitstyle.cpp.

◆ elementMargins()

QMargins elementMargins ( const QQStyleKitDelegateProperties * element)
static

Definition at line 397 of file qstylekitstyle.cpp.

◆ isSelfPaintingWidget()

bool isSelfPaintingWidget ( const QWidget * widget)
static

Definition at line 344 of file qstylekitstyle.cpp.

◆ managedViewport()

QWidget * managedViewport ( QWidget * widget)
static

Definition at line 360 of file qstylekitstyle.cpp.

◆ resolvedAlignment()

uint resolvedAlignment ( uint raw,
Qt::Alignment hDefault,
Qt::Alignment vDefault )
static

Definition at line 377 of file qstylekitstyle.cpp.

◆ resolvedImplicitHeight()

qreal resolvedImplicitHeight ( const QQStyleKitDelegateProperties * element,
qreal avilableH )
static

Definition at line 392 of file qstylekitstyle.cpp.

◆ resolvedImplicitWidth()

qreal resolvedImplicitWidth ( const QQStyleKitDelegateProperties * element,
qreal availableW )
static

Definition at line 387 of file qstylekitstyle.cpp.

◆ urlFromStylePath()

QUrl urlFromStylePath ( const QString & filePath)
static

Definition at line 438 of file qstylekitstyle.cpp.