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

(d0d5794a3decca8501d26387bc8281c61f0bd4ba)

#include "qstyle.h"
#include "qapplication.h"
#include "qpainter.h"
#include "qwidget.h"
#include "qbitmap.h"
#include "qpixmapcache.h"
#include "qstyleoption.h"
#include "private/qstyle_p.h"
#include "private/qguiapplication_p.h"
#include <qpa/qplatformtheme.h>
#include "qdebug.h"
#include <limits.h>
#include <algorithm>
#include "moc_qstyle.cpp"
+ Include dependency graph for qstyle.cpp:

Go to the source code of this file.

Functions

static int unpackControlTypes (QSizePolicy::ControlTypes controls, QSizePolicy::ControlType *array)
 

Variables

static QT_BEGIN_NAMESPACE const int MaxBits = 8 * sizeof(QSizePolicy::ControlType)
 

Function Documentation

◆ unpackControlTypes()

static int unpackControlTypes ( QSizePolicy::ControlTypes controls,
QSizePolicy::ControlType * array )
static

Definition at line 25 of file qstyle.cpp.

References i, MaxBits, and qPopulationCount().

Referenced by QStyle::combinedLayoutSpacing().

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

Variable Documentation

◆ MaxBits

QT_BEGIN_NAMESPACE const int MaxBits = 8 * sizeof(QSizePolicy::ControlType)
static

Definition at line 23 of file qstyle.cpp.

Referenced by QStyle::combinedLayoutSpacing(), and unpackControlTypes().