#include "qstyleoption.h"
#include "qapplication.h"
#include "private/qt_mac_p.h"
#include "qmacstyle_mac.h"
#include <qdebug.h>
#include <QtCore/qmath.h>
Go to the source code of this file.
◆ operator<<() [1/2]
Definition at line 6396 of file qstyleoption.cpp.
Referenced by qstyleoption_cast().
6398 #if !defined(QT_NO_DEBUG) 6399 switch (optionType) {
6401 debug <<
"SO_Default";
break;
6403 debug <<
"SO_FocusRect";
break;
6405 debug <<
"SO_Button";
break;
6407 debug <<
"SO_Tab";
break;
6409 debug <<
"SO_MenuItem";
break;
6411 debug <<
"SO_Frame";
break;
6413 debug <<
"SO_ProgressBar";
break;
6415 debug <<
"SO_ToolBox";
break;
6417 debug <<
"SO_Header";
break;
6419 debug <<
"SO_Q3DockWindow";
break;
6421 debug <<
"SO_DockWidget";
break;
6423 debug <<
"SO_Q3ListViewItem";
break;
6425 debug <<
"SO_ViewItem";
break;
6427 debug <<
"SO_TabWidgetFrame";
break;
6429 debug <<
"SO_TabBarBase";
break;
6431 debug <<
"SO_RubberBand";
break;
6433 debug <<
"SO_Complex";
break;
6435 debug <<
"SO_Slider";
break;
6437 debug <<
"SO_SpinBox";
break;
6439 debug <<
"SO_ToolButton";
break;
6441 debug <<
"SO_ComboBox";
break;
6443 debug <<
"SO_Q3ListView";
break;
6445 debug <<
"SO_TitleBar";
break;
6447 debug <<
"SO_CustomBase";
break;
6449 debug <<
"SO_GroupBox";
break;
6451 debug <<
"SO_ToolBar";
break;
6453 debug <<
"SO_ComplexCustomBase";
break;
6455 debug <<
"SO_SizeGrip";
break;
6457 debug <<
"SO_GraphicsItem";
break;
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
◆ operator<<() [2/2]
Definition at line 6465 of file qstyleoption.cpp.
6467 #if !defined(QT_NO_DEBUG) 6468 debug <<
"QStyleOption(";
6471 debug <<
',' << option.
state;
6472 debug <<
',' << option.
rect;
int type
the option type of the style option
QStyle::State state
the style flags that are used when drawing the control
OptionType
This enum is used internally by QStyleOption, its subclasses, and qstyleoption_cast() to determine th...
Qt::LayoutDirection direction
the text layout direction that should be used when drawing text in the control
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
QRect rect
the area that should be used for various calculations and painting