![]() |
Qt 6.x
The Qt SDK
|
#include <QtWidgets/private/qtwidgetsglobal_p.h>#include "QtWidgets/qabstractspinbox.h"#include "QtWidgets/qlineedit.h"#include "QtWidgets/qstyleoption.h"#include "QtGui/qvalidator.h"#include "QtCore/qdatetime.h"#include "QtCore/qvariant.h"#include "private/qwidget_p.h"
Include dependency graph for qabstractspinbox_p.h:Go to the source code of this file.
Classes | |
| class | QAbstractSpinBoxPrivate |
| class | QSpinBoxValidator |
Enumerations | |
| enum | EmitPolicy { EmitIfChanged , AlwaysEmit , NeverEmit } |
| enum | Button { None = 0x000 , Keyboard = 0x001 , Mouse = 0x002 , Wheel = 0x004 , ButtonMask = 0x008 , Up = 0x010 , Down = 0x020 , DirectionMask = 0x040 } |
Functions | |
| QT_REQUIRE_CONFIG (spinbox) | |
| QT_BEGIN_NAMESPACE QVariant | operator+ (const QVariant &arg1, const QVariant &arg2) |
| QVariant | operator- (const QVariant &arg1, const QVariant &arg2) |
| QVariant | operator* (const QVariant &arg1, double multiplier) |
| double | operator/ (const QVariant &arg1, const QVariant &arg2) |
| enum Button |
| Enumerator | |
|---|---|
| None | |
| Keyboard | |
| Mouse | |
| Wheel | |
| ButtonMask | |
| Up | |
| Down | |
| DirectionMask | |
Definition at line 43 of file qabstractspinbox_p.h.
| enum EmitPolicy |
| Enumerator | |
|---|---|
| EmitIfChanged | |
| AlwaysEmit | |
| NeverEmit | |
Definition at line 37 of file qabstractspinbox_p.h.
Multiplies arg1 by multiplier and returns the result.
Definition at line 2056 of file qabstractspinbox.cpp.
References QDATETIMEEDIT_DATE_MIN, and ret.
| QT_BEGIN_NAMESPACE QVariant operator+ | ( | const QVariant & | arg1, |
| const QVariant & | arg2 | ||
| ) |
Adds two variants together and returns the result.
Definition at line 1980 of file qabstractspinbox.cpp.
References a1, a2, Q_UNLIKELY, QDATETIMEEDIT_DATE_MIN, qWarning, and ret.
Subtracts two variants and returns the result.
Definition at line 2022 of file qabstractspinbox.cpp.
References a1, a2, QTime::addMSecs(), Q_UNLIKELY, qMax(), qWarning, ret, QDateTime::setTime(), and QDateTime::time().
Here is the call graph for this function:Definition at line 2084 of file qabstractspinbox.cpp.
References a1, a2, and QDATETIMEEDIT_DATE_MIN.
| QT_REQUIRE_CONFIG | ( | spinbox | ) |