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
5void MyGroupBoxWidget::initStyleOption(QStyleOption *option) const
6{
8 if (QStyleOptionGroupBox *box = qstyleoption_cast<QStyleOptionGroupBox *>(option)) {
9 // Add group box specific state.
10 box->flat = isFlat();
11 ...
12 }
13}
15
16
18setTabOrder(a, b); // a to b
19setTabOrder(b, c); // a to b to c
20setTabOrder(c, d); // a to b to c to d
22
23
25// WRONG
26setTabOrder(c, d); // c to d
27setTabOrder(a, b); // a to b AND c to d
28setTabOrder(b, c); // a to b to c, but not c to d
virtual void initStyleOption(QStyleOption *option) const
Populates a style option object for this widget based on its current state, and stores the output in ...
\variable QStyleOptionFrame::features
The QStyleOption class stores the parameters used by QStyle functions.
GLboolean GLboolean GLboolean b
GLboolean GLboolean GLboolean GLboolean a
[7]
GLsizei const GLint * box
const GLubyte * c
GLuint GLenum option
setTabOrder(a, b)
[0]