QtBase  v6.3.1
Classes | Macros | Typedefs | Functions
tst_qmacstyle.cpp File Reference
#include <QTest>
#include <QtWidgets>
#include <private/qstylehelper_p.h>
#include "tst_qmacstyle.moc"
Include dependency graph for tst_qmacstyle.cpp:

Go to the source code of this file.

Classes

class  tst_QMacStyle
 

Macros

#define CT(E)    static const ControlType E = QSizePolicy::E;
 
#define SIZE(x, y, z)    ((size == QStyleHelper::SizeLarge) ? (x) : (size == QStyleHelper::SizeSmall) ? (y) : (z))
 

Typedefs

typedef QSizePolicy::ControlType ControlType
 

Functions

 Q_DECLARE_METATYPE (QStyleHelper::WidgetSizePolicy)
 

Macro Definition Documentation

◆ CT

#define CT (   E)     static const ControlType E = QSizePolicy::E;

Definition at line 36 of file tst_qmacstyle.cpp.

◆ SIZE

#define SIZE (   x,
  y,
  z 
)     ((size == QStyleHelper::SizeLarge) ? (x) : (size == QStyleHelper::SizeSmall) ? (y) : (z))

Definition at line 83 of file tst_qmacstyle.cpp.

Typedef Documentation

◆ ControlType

Definition at line 39 of file tst_qmacstyle.cpp.

Function Documentation

◆ Q_DECLARE_METATYPE()

Q_DECLARE_METATYPE ( QStyleHelper::WidgetSizePolicy  )