qstyleoption.cpp

Absolute File Name:/home/qt/qt5_coco/qt5/qtbase/src/widgets/styles/qstyleoption.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6QStyleOption::QStyleOption(int version, int type)-
7 : version(version), type(type), state(QStyle::State_None),-
8 direction(QApplication::layoutDirection()), fontMetrics(QFont()), styleObject(0)-
9{-
10}
never executed: end of block
0
11-
12-
13-
14-
15-
16QStyleOption::~QStyleOption()-
17{-
18}-
19void QStyleOption::init(const QWidget *widget)-
20{-
21 QWidget *window = widget->window();-
22 state = QStyle::State_None;-
23 if (widget->isEnabled()
widget->isEnabled()Description
TRUEnever evaluated
FALSEnever evaluated
)
0
24 state |= QStyle::State_Enabled;
never executed: state |= QStyle::State_Enabled;
0
25 if (widget->hasFocus()
widget->hasFocus()Description
TRUEnever evaluated
FALSEnever evaluated
)
0
26 state |= QStyle::State_HasFocus;
never executed: state |= QStyle::State_HasFocus;
0
27 if (window->testAttribute(Qt::WA_KeyboardFocusChange)
window->testAt...rdFocusChange)Description
TRUEnever evaluated
FALSEnever evaluated
)
0
28 state |= QStyle::State_KeyboardFocusChange;
never executed: state |= QStyle::State_KeyboardFocusChange;
0
29 if (widget->underMouse()
widget->underMouse()Description
TRUEnever evaluated
FALSEnever evaluated
)
0
30 state |= QStyle::State_MouseOver;
never executed: state |= QStyle::State_MouseOver;
0
31 if (window->isActiveWindow()
window->isActiveWindow()Description
TRUEnever evaluated
FALSEnever evaluated
)
0
32 state |= QStyle::State_Active;
never executed: state |= QStyle::State_Active;
0
33 if (widget->isWindow()
widget->isWindow()Description
TRUEnever evaluated
FALSEnever evaluated
)
0
34 state |= QStyle::State_Window;
never executed: state |= QStyle::State_Window;
0
35 direction = widget->layoutDirection();-
36 rect = widget->rect();-
37 palette = widget->palette();-
38 fontMetrics = widget->fontMetrics();-
39 styleObject = const_cast<QWidget*>(widget);-
40}
never executed: end of block
0
41-
42-
43-
44-
45QStyleOption::QStyleOption(const QStyleOption &other)-
46 : version(Version), type(Type), state(other.state),-
47 direction(other.direction), rect(other.rect), fontMetrics(other.fontMetrics),-
48 palette(other.palette), styleObject(other.styleObject)-
49{-
50}
never executed: end of block
0
51-
52-
53-
54-
55QStyleOption &QStyleOption::operator=(const QStyleOption &other)-
56{-
57 state = other.state;-
58 direction = other.direction;-
59 rect = other.rect;-
60 fontMetrics = other.fontMetrics;-
61 palette = other.palette;-
62 styleObject = other.styleObject;-
63 return
never executed: return *this;
*this;
never executed: return *this;
0
64}-
65QStyleOptionFocusRect::QStyleOptionFocusRect()-
66 : QStyleOption(Version, SO_FocusRect)-
67{-
68 state |= QStyle::State_KeyboardFocusChange;-
69}
never executed: end of block
0
70-
71-
72-
73-
74QStyleOptionFocusRect::QStyleOptionFocusRect(int version)-
75 : QStyleOption(version, SO_FocusRect)-
76{-
77 state |= QStyle::State_KeyboardFocusChange;-
78}
never executed: end of block
0
79QStyleOptionFrame::QStyleOptionFrame()-
80 : QStyleOption(Version, SO_Frame), lineWidth(0), midLineWidth(0),-
81 features(None), frameShape(QFrame::NoFrame)-
82{-
83}
never executed: end of block
0
84-
85-
86-
87-
88QStyleOptionFrame::QStyleOptionFrame(int version)-
89 : QStyleOption(version, SO_Frame), lineWidth(0), midLineWidth(0),-
90 features(None), frameShape(QFrame::NoFrame)-
91{-
92}
never executed: end of block
0
93QStyleOptionGroupBox::QStyleOptionGroupBox()-
94 : QStyleOptionComplex(Version, Type), features(QStyleOptionFrame::None),-
95 textAlignment(Qt::AlignLeft), lineWidth(0), midLineWidth(0)-
96{-
97}
never executed: end of block
0
98QStyleOptionGroupBox::QStyleOptionGroupBox(int version)-
99 : QStyleOptionComplex(version, Type), features(QStyleOptionFrame::None),-
100 textAlignment(Qt::AlignLeft), lineWidth(0), midLineWidth(0)-
101{-
102}
never executed: end of block
0
103QStyleOptionHeader::QStyleOptionHeader()-
104 : QStyleOption(QStyleOptionHeader::Version, SO_Header),-
105 section(0), textAlignment(Qt::AlignLeft), iconAlignment(Qt::AlignLeft),-
106 position(QStyleOptionHeader::Beginning),-
107 selectedPosition(QStyleOptionHeader::NotAdjacent), sortIndicator(None),-
108 orientation(Qt::Horizontal)-
109{-
110}
never executed: end of block
0
111-
112-
113-
114-
115QStyleOptionHeader::QStyleOptionHeader(int version)-
116 : QStyleOption(version, SO_Header),-
117 section(0), textAlignment(Qt::AlignLeft), iconAlignment(Qt::AlignLeft),-
118 position(QStyleOptionHeader::Beginning),-
119 selectedPosition(QStyleOptionHeader::NotAdjacent), sortIndicator(None),-
120 orientation(Qt::Horizontal)-
121{-
122}
never executed: end of block
0
123QStyleOptionButton::QStyleOptionButton()-
124 : QStyleOption(QStyleOptionButton::Version, SO_Button), features(None)-
125{-
126}
never executed: end of block
0
127-
128-
129-
130-
131QStyleOptionButton::QStyleOptionButton(int version)-
132 : QStyleOption(version, SO_Button), features(None)-
133{-
134}
never executed: end of block
0
135QStyleOptionToolBar::QStyleOptionToolBar()-
136 : QStyleOption(Version, SO_ToolBar), positionOfLine(OnlyOne), positionWithinLine(OnlyOne),-
137 toolBarArea(Qt::TopToolBarArea), features(None), lineWidth(0), midLineWidth(0)-
138{-
139}
never executed: end of block
0
140QStyleOptionToolBar::QStyleOptionToolBar(int version)-
141: QStyleOption(version, SO_ToolBar), positionOfLine(OnlyOne), positionWithinLine(OnlyOne),-
142 toolBarArea(Qt::TopToolBarArea), features(None), lineWidth(0), midLineWidth(0)-
143{-
144-
145}
never executed: end of block
0
146QStyleOptionTab::QStyleOptionTab()-
147 : QStyleOption(QStyleOptionTab::Version, SO_Tab),-
148 shape(QTabBar::RoundedNorth),-
149 row(0),-
150 position(Beginning),-
151 selectedPosition(NotAdjacent), cornerWidgets(QStyleOptionTab::NoCornerWidgets),-
152 documentMode(false),-
153 features(QStyleOptionTab::None)-
154{-
155}
never executed: end of block
0
156-
157-
158-
159-
160QStyleOptionTab::QStyleOptionTab(int version)-
161 : QStyleOption(version, SO_Tab),-
162 shape(QTabBar::RoundedNorth),-
163 row(0),-
164 position(Beginning),-
165 selectedPosition(NotAdjacent), cornerWidgets(QStyleOptionTab::NoCornerWidgets),-
166 documentMode(false),-
167 features(QStyleOptionTab::None)-
168{-
169}
never executed: end of block
0
170QStyleOptionProgressBar::QStyleOptionProgressBar()-
171 : QStyleOption(QStyleOptionProgressBar::Version, SO_ProgressBar),-
172 minimum(0), maximum(0), progress(0), textAlignment(Qt::AlignLeft), textVisible(false),-
173 orientation(Qt::Horizontal), invertedAppearance(false), bottomToTop(false)-
174{-
175}
never executed: end of block
0
176-
177-
178-
179-
180QStyleOptionProgressBar::QStyleOptionProgressBar(int version)-
181 : QStyleOption(version, SO_ProgressBar),-
182 minimum(0), maximum(0), progress(0), textAlignment(Qt::AlignLeft), textVisible(false),-
183 orientation(Qt::Horizontal), invertedAppearance(false), bottomToTop(false)-
184{-
185}
never executed: end of block
0
186QStyleOptionMenuItem::QStyleOptionMenuItem()-
187 : QStyleOption(QStyleOptionMenuItem::Version, SO_MenuItem), menuItemType(Normal),-
188 checkType(NotCheckable), checked(false), menuHasCheckableItems(true), maxIconWidth(0), tabWidth(0)-
189{-
190}
never executed: end of block
0
191-
192-
193-
194-
195QStyleOptionMenuItem::QStyleOptionMenuItem(int version)-
196 : QStyleOption(version, SO_MenuItem), menuItemType(Normal),-
197 checkType(NotCheckable), checked(false), menuHasCheckableItems(true), maxIconWidth(0), tabWidth(0)-
198{-
199}
never executed: end of block
0
200QStyleOptionComplex::QStyleOptionComplex(int version, int type)-
201 : QStyleOption(version, type), subControls(QStyle::SC_All), activeSubControls(QStyle::SC_None)-
202{-
203}
never executed: end of block
0
204QStyleOptionSlider::QStyleOptionSlider()-
205 : QStyleOptionComplex(Version, SO_Slider), orientation(Qt::Horizontal), minimum(0), maximum(0),-
206 tickPosition(QSlider::NoTicks), tickInterval(0), upsideDown(false),-
207 sliderPosition(0), sliderValue(0), singleStep(0), pageStep(0), notchTarget(0.0),-
208 dialWrapping(false)-
209{-
210}
never executed: end of block
0
211-
212-
213-
214-
215QStyleOptionSlider::QStyleOptionSlider(int version)-
216 : QStyleOptionComplex(version, SO_Slider), orientation(Qt::Horizontal), minimum(0), maximum(0),-
217 tickPosition(QSlider::NoTicks), tickInterval(0), upsideDown(false),-
218 sliderPosition(0), sliderValue(0), singleStep(0), pageStep(0), notchTarget(0.0),-
219 dialWrapping(false)-
220{-
221}
never executed: end of block
0
222QStyleOptionSpinBox::QStyleOptionSpinBox()-
223 : QStyleOptionComplex(Version, SO_SpinBox), buttonSymbols(QAbstractSpinBox::UpDownArrows),-
224 stepEnabled(QAbstractSpinBox::StepNone), frame(false)-
225{-
226}
never executed: end of block
0
227-
228-
229-
230-
231QStyleOptionSpinBox::QStyleOptionSpinBox(int version)-
232 : QStyleOptionComplex(version, SO_SpinBox), buttonSymbols(QAbstractSpinBox::UpDownArrows),-
233 stepEnabled(QAbstractSpinBox::StepNone), frame(false)-
234{-
235}
never executed: end of block
0
236QStyleOptionDockWidget::QStyleOptionDockWidget()-
237 : QStyleOption(Version, SO_DockWidget), closable(false),-
238 movable(false), floatable(false), verticalTitleBar(false)-
239{-
240}
never executed: end of block
0
241-
242-
243-
244-
245QStyleOptionDockWidget::QStyleOptionDockWidget(int version)-
246 : QStyleOption(version, SO_DockWidget), closable(false),-
247 movable(false), floatable(false), verticalTitleBar(false)-
248{-
249}
never executed: end of block
0
250QStyleOptionToolButton::QStyleOptionToolButton()-
251 : QStyleOptionComplex(Version, SO_ToolButton), features(None), arrowType(Qt::DownArrow)-
252 , toolButtonStyle(Qt::ToolButtonIconOnly)-
253{-
254}
never executed: end of block
0
255-
256-
257-
258-
259QStyleOptionToolButton::QStyleOptionToolButton(int version)-
260 : QStyleOptionComplex(version, SO_ToolButton), features(None), arrowType(Qt::DownArrow)-
261 , toolButtonStyle(Qt::ToolButtonIconOnly)-
262-
263{-
264}
never executed: end of block
0
265QStyleOptionComboBox::QStyleOptionComboBox()-
266 : QStyleOptionComplex(Version, SO_ComboBox), editable(false), frame(true)-
267{-
268}
never executed: end of block
0
269-
270-
271-
272-
273QStyleOptionComboBox::QStyleOptionComboBox(int version)-
274 : QStyleOptionComplex(version, SO_ComboBox), editable(false), frame(true)-
275{-
276}
never executed: end of block
0
277QStyleOptionToolBox::QStyleOptionToolBox()-
278 : QStyleOption(Version, SO_ToolBox), position(Beginning), selectedPosition(NotAdjacent)-
279{-
280}
never executed: end of block
0
281-
282-
283-
284-
285QStyleOptionToolBox::QStyleOptionToolBox(int version)-
286 : QStyleOption(version, SO_ToolBox), position(Beginning), selectedPosition(NotAdjacent)-
287{-
288}
never executed: end of block
0
289QStyleOptionRubberBand::QStyleOptionRubberBand()-
290 : QStyleOption(Version, SO_RubberBand), shape(QRubberBand::Line), opaque(false)-
291{-
292}
never executed: end of block
0
293-
294-
295-
296-
297QStyleOptionRubberBand::QStyleOptionRubberBand(int version)-
298 : QStyleOption(version, SO_RubberBand), shape(QRubberBand::Line), opaque(false)-
299{-
300}
never executed: end of block
0
301QStyleOptionTitleBar::QStyleOptionTitleBar()-
302 : QStyleOptionComplex(Version, SO_TitleBar), titleBarState(0), titleBarFlags(0)-
303{-
304}
never executed: end of block
0
305QStyleOptionTitleBar::QStyleOptionTitleBar(int version)-
306 : QStyleOptionComplex(version, SO_TitleBar), titleBarState(0), titleBarFlags(0)-
307{-
308}
never executed: end of block
0
309QStyleOptionViewItem::QStyleOptionViewItem()-
310 : QStyleOption(Version, SO_ViewItem),-
311 displayAlignment(Qt::AlignLeft), decorationAlignment(Qt::AlignLeft),-
312 textElideMode(Qt::ElideMiddle), decorationPosition(Left),-
313 showDecorationSelected(false), features(None), widget(0),-
314 checkState(Qt::Unchecked), viewItemPosition(QStyleOptionViewItem::Invalid)-
315{-
316}
never executed: end of block
0
317-
318-
319-
320-
321QStyleOptionViewItem::QStyleOptionViewItem(int version)-
322 : QStyleOption(version, SO_ViewItem),-
323 displayAlignment(Qt::AlignLeft), decorationAlignment(Qt::AlignLeft),-
324 textElideMode(Qt::ElideMiddle), decorationPosition(Left),-
325 showDecorationSelected(false), features(None), widget(0),-
326 checkState(Qt::Unchecked), viewItemPosition(QStyleOptionViewItem::Invalid)-
327{-
328}
never executed: end of block
0
329QStyleOptionTabWidgetFrame::QStyleOptionTabWidgetFrame()-
330 : QStyleOption(Version, SO_TabWidgetFrame), lineWidth(0), midLineWidth(0),-
331 shape(QTabBar::RoundedNorth)-
332{-
333}
never executed: end of block
0
334QStyleOptionTabWidgetFrame::QStyleOptionTabWidgetFrame(int version)-
335 : QStyleOption(version, SO_TabWidgetFrame), lineWidth(0), midLineWidth(0),-
336 shape(QTabBar::RoundedNorth)-
337{-
338}
never executed: end of block
0
339QStyleOptionTabBarBase::QStyleOptionTabBarBase()-
340 : QStyleOption(Version, SO_TabBarBase), shape(QTabBar::RoundedNorth),-
341 documentMode(false)-
342{-
343}
never executed: end of block
0
344-
345-
346QStyleOptionTabBarBase::QStyleOptionTabBarBase(int version)-
347 : QStyleOption(version, SO_TabBarBase), shape(QTabBar::RoundedNorth),-
348 documentMode(false)-
349{-
350}
never executed: end of block
0
351QStyleOptionSizeGrip::QStyleOptionSizeGrip()-
352 : QStyleOptionComplex(Version, Type), corner(Qt::BottomRightCorner)-
353{-
354}
never executed: end of block
0
355QStyleOptionSizeGrip::QStyleOptionSizeGrip(int version)-
356 : QStyleOptionComplex(version, Type), corner(Qt::BottomRightCorner)-
357{-
358}
never executed: end of block
0
359QStyleOptionGraphicsItem::QStyleOptionGraphicsItem()-
360 : QStyleOption(Version, Type), levelOfDetail(1)-
361{-
362}
never executed: end of block
0
363-
364-
365-
366-
367QStyleOptionGraphicsItem::QStyleOptionGraphicsItem(int version)-
368 : QStyleOption(version, Type), levelOfDetail(1)-
369{-
370}
never executed: end of block
0
371qreal QStyleOptionGraphicsItem::levelOfDetailFromTransform(const QTransform &worldTransform)-
372{-
373 if (worldTransform.type() <= QTransform::TxTranslate
worldTransform...m::TxTranslateDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
374 return
never executed: return 1;
1;
never executed: return 1;
0
375-
376-
377 QLineF v1(0, 0, 1, 0);-
378 QLineF v2(0, 0, 0, 1);-
379-
380 return
never executed: return qSqrt(worldTransform.map(v1).length() * worldTransform.map(v2).length());
qSqrt(worldTransform.map(v1).length() * worldTransform.map(v2).length());
never executed: return qSqrt(worldTransform.map(v1).length() * worldTransform.map(v2).length());
0
381}-
382QStyleHintReturn::QStyleHintReturn(int version, int type)-
383 : version(version), type(type)-
384{-
385}
never executed: end of block
0
386-
387-
388-
389-
390-
391QStyleHintReturn::~QStyleHintReturn()-
392{-
393-
394}-
395QStyleHintReturnMask::QStyleHintReturnMask() : QStyleHintReturn(Version, Type)-
396{-
397}
never executed: end of block
0
398-
399-
400-
401-
402QStyleHintReturnMask::~QStyleHintReturnMask()-
403{-
404}-
405QStyleHintReturnVariant::QStyleHintReturnVariant() : QStyleHintReturn(Version, Type)-
406{-
407}
never executed: end of block
0
408-
409-
410-
411-
412QStyleHintReturnVariant::~QStyleHintReturnVariant()-
413{-
414}-
415QDebug operator<<(QDebug debug, const QStyleOption::OptionType &optionType)-
416{-
417-
418 switch (optionType) {-
419 case
never executed: case QStyleOption::SO_Default:
QStyleOption::SO_Default:
never executed: case QStyleOption::SO_Default:
0
420 debug << "SO_Default"; break;
never executed: break;
0
421 case
never executed: case QStyleOption::SO_FocusRect:
QStyleOption::SO_FocusRect:
never executed: case QStyleOption::SO_FocusRect:
0
422 debug << "SO_FocusRect"; break;
never executed: break;
0
423 case
never executed: case QStyleOption::SO_Button:
QStyleOption::SO_Button:
never executed: case QStyleOption::SO_Button:
0
424 debug << "SO_Button"; break;
never executed: break;
0
425 case
never executed: case QStyleOption::SO_Tab:
QStyleOption::SO_Tab:
never executed: case QStyleOption::SO_Tab:
0
426 debug << "SO_Tab"; break;
never executed: break;
0
427 case
never executed: case QStyleOption::SO_MenuItem:
QStyleOption::SO_MenuItem:
never executed: case QStyleOption::SO_MenuItem:
0
428 debug << "SO_MenuItem"; break;
never executed: break;
0
429 case
never executed: case QStyleOption::SO_Frame:
QStyleOption::SO_Frame:
never executed: case QStyleOption::SO_Frame:
0
430 debug << "SO_Frame"; break;
never executed: break;
0
431 case
never executed: case QStyleOption::SO_ProgressBar:
QStyleOption::SO_ProgressBar:
never executed: case QStyleOption::SO_ProgressBar:
0
432 debug << "SO_ProgressBar"; break;
never executed: break;
0
433 case
never executed: case QStyleOption::SO_ToolBox:
QStyleOption::SO_ToolBox:
never executed: case QStyleOption::SO_ToolBox:
0
434 debug << "SO_ToolBox"; break;
never executed: break;
0
435 case
never executed: case QStyleOption::SO_Header:
QStyleOption::SO_Header:
never executed: case QStyleOption::SO_Header:
0
436 debug << "SO_Header"; break;
never executed: break;
0
437 case
never executed: case QStyleOption::SO_DockWidget:
QStyleOption::SO_DockWidget:
never executed: case QStyleOption::SO_DockWidget:
0
438 debug << "SO_DockWidget"; break;
never executed: break;
0
439 case
never executed: case QStyleOption::SO_ViewItem:
QStyleOption::SO_ViewItem:
never executed: case QStyleOption::SO_ViewItem:
0
440 debug << "SO_ViewItem"; break;
never executed: break;
0
441 case
never executed: case QStyleOption::SO_TabWidgetFrame:
QStyleOption::SO_TabWidgetFrame:
never executed: case QStyleOption::SO_TabWidgetFrame:
0
442 debug << "SO_TabWidgetFrame"; break;
never executed: break;
0
443 case
never executed: case QStyleOption::SO_TabBarBase:
QStyleOption::SO_TabBarBase:
never executed: case QStyleOption::SO_TabBarBase:
0
444 debug << "SO_TabBarBase"; break;
never executed: break;
0
445 case
never executed: case QStyleOption::SO_RubberBand:
QStyleOption::SO_RubberBand:
never executed: case QStyleOption::SO_RubberBand:
0
446 debug << "SO_RubberBand"; break;
never executed: break;
0
447 case
never executed: case QStyleOption::SO_Complex:
QStyleOption::SO_Complex:
never executed: case QStyleOption::SO_Complex:
0
448 debug << "SO_Complex"; break;
never executed: break;
0
449 case
never executed: case QStyleOption::SO_Slider:
QStyleOption::SO_Slider:
never executed: case QStyleOption::SO_Slider:
0
450 debug << "SO_Slider"; break;
never executed: break;
0
451 case
never executed: case QStyleOption::SO_SpinBox:
QStyleOption::SO_SpinBox:
never executed: case QStyleOption::SO_SpinBox:
0
452 debug << "SO_SpinBox"; break;
never executed: break;
0
453 case
never executed: case QStyleOption::SO_ToolButton:
QStyleOption::SO_ToolButton:
never executed: case QStyleOption::SO_ToolButton:
0
454 debug << "SO_ToolButton"; break;
never executed: break;
0
455 case
never executed: case QStyleOption::SO_ComboBox:
QStyleOption::SO_ComboBox:
never executed: case QStyleOption::SO_ComboBox:
0
456 debug << "SO_ComboBox"; break;
never executed: break;
0
457 case
never executed: case QStyleOption::SO_TitleBar:
QStyleOption::SO_TitleBar:
never executed: case QStyleOption::SO_TitleBar:
0
458 debug << "SO_TitleBar"; break;
never executed: break;
0
459 case
never executed: case QStyleOption::SO_CustomBase:
QStyleOption::SO_CustomBase:
never executed: case QStyleOption::SO_CustomBase:
0
460 debug << "SO_CustomBase"; break;
never executed: break;
0
461 case
never executed: case QStyleOption::SO_GroupBox:
QStyleOption::SO_GroupBox:
never executed: case QStyleOption::SO_GroupBox:
0
462 debug << "SO_GroupBox"; break;
never executed: break;
0
463 case
never executed: case QStyleOption::SO_ToolBar:
QStyleOption::SO_ToolBar:
never executed: case QStyleOption::SO_ToolBar:
0
464 debug << "SO_ToolBar"; break;
never executed: break;
0
465 case
never executed: case QStyleOption::SO_ComplexCustomBase:
QStyleOption::SO_ComplexCustomBase:
never executed: case QStyleOption::SO_ComplexCustomBase:
0
466 debug << "SO_ComplexCustomBase"; break;
never executed: break;
0
467 case
never executed: case QStyleOption::SO_SizeGrip:
QStyleOption::SO_SizeGrip:
never executed: case QStyleOption::SO_SizeGrip:
0
468 debug << "SO_SizeGrip"; break;
never executed: break;
0
469 case
never executed: case QStyleOption::SO_GraphicsItem:
QStyleOption::SO_GraphicsItem:
never executed: case QStyleOption::SO_GraphicsItem:
0
470 debug << "SO_GraphicsItem"; break;
never executed: break;
0
471 }-
472-
473-
474-
475 return
never executed: return debug;
debug;
never executed: return debug;
0
476}-
477-
478QDebug operator<<(QDebug debug, const QStyleOption &option)-
479{-
480-
481 debug << "QStyleOption(";-
482 debug << QStyleOption::OptionType(option.type);-
483 debug << ',' << (option.direction == Qt::RightToLeft ? "RightToLeft" : "LeftToRight");-
484 debug << ',' << option.state;-
485 debug << ',' << option.rect;-
486 debug << ',' << option.styleObject;-
487 debug << ')';-
488-
489-
490-
491 return
never executed: return debug;
debug;
never executed: return debug;
0
492}-
493-
494-
495-
Switch to Source codePreprocessed file

Generated by Squish Coco Non-Commercial 4.3.0-BETA-master-30-08-2018-4cb69e9