|  | Qt 6.x
    The Qt SDK | 
#include "qcommonstyle.h"#include "qcommonstyle_p.h"#include <qfile.h>#include <qapplication.h>#include <private/qguiapplication_p.h>#include <qpa/qplatformtheme.h>#include <qbitmap.h>#include <qcache.h>#include <qdrawutil.h>#include <qlayout.h>#include <qmath.h>#include <qpainter.h>#include <qpaintengine.h>#include <qpainterpath.h>#include <qstyleoption.h>#include <private/qcommonstylepixmaps_p.h>#include <private/qmath_p.h>#include <qdebug.h>#include <qtextformat.h>#include <qfileinfo.h>#include <qdir.h>#include <qvariant.h>#include <qpixmapcache.h>#include <qloggingcategory.h>#include <limits.h>#include <private/qtextengine_p.h>#include <private/qstylehelper_p.h>#include "moc_qcommonstyle.cpp" Include dependency graph for qcommonstyle.cpp:
 Include dependency graph for qcommonstyle.cpp:Go to the source code of this file.
| Functions | |
| QT_BEGIN_NAMESPACE | Q_LOGGING_CATEGORY (lcCommonStyle, "qt.widgets.commonstyle") | 
| static qreal | qt_getDevicePixelRatio (const QWidget *widget) | 
| static QSizeF | viewItemTextLayout (QTextLayout &textLayout, int lineWidth, int maxHeight=-1, int *lastVisibleLine=nullptr) | 
| static QString | clearText16IconPath () | 
| static uint | qt_intensity (uint r, uint g, uint b) | 
| 
 | inlinestatic | 
Definition at line 5515 of file qcommonstyle.cpp.
References QStringLiteral.
Referenced by QCommonStyle::standardPixmap().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| QT_BEGIN_NAMESPACE Q_LOGGING_CATEGORY | ( | lcCommonStyle | , | 
| "qt.widgets.commonstyle" | |||
| ) | 
Definition at line 94 of file qcommonstyle.cpp.
References QPaintDevice::devicePixelRatio(), qApp, and widget.
Referenced by QCommonStyle::standardIcon(), and QCommonStyle::subElementRect().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:Definition at line 6484 of file qcommonstyle.cpp.
Referenced by QCommonStyle::generatedIconPixmap().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Definition at line 838 of file qcommonstyle.cpp.
References QTextLayout::beginLayout(), QTextLayout::createLine(), QTextLayout::endLayout(), i, QTextLine::isValid(), line, and qMax().
Referenced by QCommonStylePrivate::calculateElidedText().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function: