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
src_gui_graphicsview_qgraphicswidget.cpp
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3
5
void
MyGroupBoxWidget::initStyleOption(
QStyleOption
*
option
)
const
6
{
7
QGraphicsWidget::initStyleOption
(
option
);
8
if
(
QStyleOptionGroupBox
*
box
= qstyleoption_cast<QStyleOptionGroupBox *>(
option
)) {
9
// Add group box specific state.
10
box
->flat = isFlat();
11
...
12
}
13
}
15
16
18
setTabOrder
(
a
,
b
);
// a to b
19
setTabOrder
(
b
,
c
);
// a to b to c
20
setTabOrder
(
c
,
d
);
// a to b to c to d
22
23
25
// WRONG
26
setTabOrder
(
c
,
d
);
// c to d
27
setTabOrder
(
a
,
b
);
// a to b AND c to d
28
setTabOrder
(
b
,
c
);
// a to b to c, but not c to d
QGraphicsWidget::initStyleOption
virtual void initStyleOption(QStyleOption *option) const
Populates a style option object for this widget based on its current state, and stores the output in ...
Definition
qgraphicswidget.cpp:659
QStyleOptionGroupBox
\variable QStyleOptionFrame::features
Definition
qstyleoption.h:614
QStyleOption
The QStyleOption class stores the parameters used by QStyle functions.
Definition
qstyleoption.h:39
b
GLboolean GLboolean GLboolean b
Definition
qopengles2ext.h:337
a
GLboolean GLboolean GLboolean GLboolean a
[7]
Definition
qopengles2ext.h:337
box
GLsizei const GLint * box
Definition
qopengles2ext.h:2284
c
const GLubyte * c
Definition
qopenglext.h:12701
option
GLuint GLenum option
Definition
qopenglext.h:5929
d
double d
Definition
src_corelib_text_qlocale.cpp:9
setTabOrder
setTabOrder(a, b)
[0]
qtbase
src
widgets
doc
snippets
code
src_gui_graphicsview_qgraphicswidget.cpp
Generated by
1.10.0