#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 "qdebug.h"
#include <qx11info_x11.h>
#include <limits.h>
Include dependency graph for qstyle.cpp:

Go to the source code of this file.
Functions | |
| QDebug | operator<< (QDebug debug, QStyle::State state) |
| QDebug operator<< | ( | QDebug | debug, | |
| QStyle::State | state | |||
| ) |
Definition at line 2017 of file qstyle.cpp.
02018 { 02019 debug << "QStyle::State("; 02020 02021 QStringList states; 02022 if (state & QStyle::State_Active) states << QLatin1String("Active"); 02023 if (state & QStyle::State_AutoRaise) states << QLatin1String("AutoRaise"); 02024 if (state & QStyle::State_Bottom) states << QLatin1String("Bottom"); 02025 if (state & QStyle::State_Children) states << QLatin1String("Children"); 02026 if (state & QStyle::State_DownArrow) states << QLatin1String("DownArrow"); 02027 if (state & QStyle::State_Editing) states << QLatin1String("Editing"); 02028 if (state & QStyle::State_Enabled) states << QLatin1String("Enabled"); 02029 if (state & QStyle::State_FocusAtBorder) states << QLatin1String("FocusAtBorder"); 02030 if (state & QStyle::State_HasFocus) states << QLatin1String("HasFocus"); 02031 if (state & QStyle::State_Horizontal) states << QLatin1String("Horizontal"); 02032 if (state & QStyle::State_Item) states << QLatin1String("Item"); 02033 if (state & QStyle::State_KeyboardFocusChange) states << QLatin1String("KeyboardFocusChange"); 02034 if (state & QStyle::State_MouseOver) states << QLatin1String("MouseOver"); 02035 if (state & QStyle::State_NoChange) states << QLatin1String("NoChange"); 02036 if (state & QStyle::State_Off) states << QLatin1String("Off"); 02037 if (state & QStyle::State_On) states << QLatin1String("On"); 02038 if (state & QStyle::State_Open) states << QLatin1String("Open"); 02039 if (state & QStyle::State_Raised) states << QLatin1String("Raised"); 02040 if (state & QStyle::State_Selected) states << QLatin1String("Selected"); 02041 if (state & QStyle::State_Sibling) states << QLatin1String("Sibling"); 02042 if (state & QStyle::State_Sunken) states << QLatin1String("Sunken"); 02043 if (state & QStyle::State_Top) states << QLatin1String("Top"); 02044 if (state & QStyle::State_UpArrow) states << QLatin1String("UpArrow"); 02045 02046 qSort(states); 02047 debug << states.join(QLatin1String(" | ")); 02048 debug << ")"; 02049 return debug; 02050 }
1.5.1