Public Member Functions | Public Attributes

QwtPanner::PrivateData Class Reference

List of all members.

Public Member Functions

 PrivateData ()
 ~PrivateData ()

Public Attributes

int button
int buttonState
int abortKey
int abortKeyState
QPoint initialPos
QPoint pos
QPixmap pixmap
QCursor * cursor
QCursor * restoreCursor
bool hasCursor
bool isEnabled
bool orientations [2]

Detailed Description

Definition at line 63 of file qwt_panner.cpp.


Constructor & Destructor Documentation

QwtPanner::PrivateData::PrivateData (  ) [inline]

Definition at line 66 of file qwt_panner.cpp.

References orientations.

                 :
        button(Qt::LeftButton),
        buttonState(Qt::NoButton),
        abortKey(Qt::Key_Escape),
        abortKeyState(Qt::NoButton),
#ifndef QT_NO_CURSOR
        cursor(NULL),
        restoreCursor(NULL),
        hasCursor(false),
#endif
        isEnabled(false)
    {
#if QT_VERSION >= 0x040000
        orientations = Qt::Vertical | Qt::Horizontal;
#else
        orientations[Qt::Vertical] = true;
        orientations[Qt::Horizontal] = true;
#endif
    }
QwtPanner::PrivateData::~PrivateData (  ) [inline]

Definition at line 86 of file qwt_panner.cpp.

References cursor, and restoreCursor.

    {
#ifndef QT_NO_CURSOR
        delete cursor;
        delete restoreCursor;
#endif
    }

Member Data Documentation

Definition at line 104 of file qwt_panner.cpp.

Referenced by QwtPanner::cursor(), QwtPanner::setCursor(), and ~PrivateData().

Definition at line 106 of file qwt_panner.cpp.

Definition at line 108 of file qwt_panner.cpp.

Referenced by QwtPanner::isEnabled(), and QwtPanner::setEnabled().

Definition at line 105 of file qwt_panner.cpp.

Referenced by ~PrivateData().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines