Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qabstractbutton_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3// Qt-Security score:significant reason:default
4
5#ifndef QABSTRACTBUTTON_P_H
6#define QABSTRACTBUTTON_P_H
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is not part of the Qt API. It exists purely as an
13// implementation detail. This header file may change from version to
14// version without notice, or even be removed.
15//
16// We mean it.
17//
18
19#include <QtWidgets/private/qtwidgetsglobal_p.h>
21
22#include "QtCore/qbasictimer.h"
23#include "private/qwidget_p.h"
24
26
28{
29 Q_DECLARE_PUBLIC(QAbstractButton)
30public:
32
36#ifndef QT_NO_SHORTCUT
39#endif
47
48#if QT_CONFIG(buttongroup)
50#endif
53
55
57 mutable QSize sizeHint;
58
59 void init();
60 void click();
61 void refresh();
62
65 void notifyChecked();
66 void moveFocus(int key);
67 void fixFocusPolicy();
68
69 void emitPressed();
70 void emitReleased();
71 void emitClicked();
72 void emitToggled(bool checked);
73};
74
75QT_END_NAMESPACE
76
77#endif // QABSTRACTBUTTON_P_H
QList< QAbstractButton * > queryButtonList() const
QSizePolicy::ControlType controlType
QAbstractButton * queryCheckedButton() const
void emitToggled(bool checked)
friend class QWidget
Definition qpainter.h:431
#define AUTO_REPEAT_INTERVAL
#define AUTO_REPEAT_DELAY
Q_WIDGETS_EXPORT bool qt_tab_all_widgets()