Qt 4.8
|
#include <qplatformdefs.h>
#include <private/qabstractspinbox_p.h>
#include <private/qdatetime_p.h>
#include <private/qlineedit_p.h>
#include <qabstractspinbox.h>
#include <qapplication.h>
#include <qclipboard.h>
#include <qdatetime.h>
#include <qdatetimeedit.h>
#include <qevent.h>
#include <qmenu.h>
#include <qpainter.h>
#include <qpalette.h>
#include <qstylepainter.h>
#include <qdebug.h>
#include <qaccessible.h>
#include <limits.h>
#include "moc_qabstractspinbox.cpp"
Go to the source code of this file.
Macros | |
#define | QASBDEBUG if (false) qDebug |
Functions | |
static int | getKeyboardAutoRepeatRate () |
Used when acceleration is turned on. More... | |
QVariant | operator* (const QVariant &arg1, double multiplier) |
Multiplies arg1 by multiplier and returns the result. More... | |
QVariant | operator+ (const QVariant &arg1, const QVariant &arg2) |
Adds two variants together and returns the result. More... | |
QVariant | operator- (const QVariant &arg1, const QVariant &arg2) |
Subtracts two variants and returns the result. More... | |
double | operator/ (const QVariant &arg1, const QVariant &arg2) |
Definition at line 77 of file qabstractspinbox.cpp.
Referenced by QAbstractSpinBoxPrivate::interpret().
|
static |
Used when acceleration is turned on.
We need to get the keyboard auto repeat rate from OS. This value is used as argument when starting acceleration related timers.
Every platform should, either, use native calls to obtain the value or hard code some reasonable rate.
Remember that time value should be given in msecs.
Definition at line 1227 of file qabstractspinbox.cpp.
Referenced by QAbstractSpinBox::timerEvent().
Multiplies arg1 by multiplier and returns the result.
Definition at line 2111 of file qabstractspinbox.cpp.
Adds two variants together and returns the result.
Definition at line 2045 of file qabstractspinbox.cpp.
Subtracts two variants and returns the result.
Definition at line 2074 of file qabstractspinbox.cpp.
Definition at line 2135 of file qabstractspinbox.cpp.