Changeset 8127 in ntrip for trunk/BNC/qwt/qwt_picker_machine.h


Ignore:
Timestamp:
May 10, 2017, 3:20:54 PM (7 years ago)
Author:
stoecker
Message:

update qwt and qwtpolar, many QT5 fixes (unfinished)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/qwt/qwt_picker_machine.h

    r4271 r8127  
    169169
    170170/*!
     171  \brief A state machine for line selections
     172   
     173  Pressing QwtEventPattern::MouseSelect1 selects
     174  the first point, releasing it the second point.
     175  Pressing QwtEventPattern::KeySelect1 also selects the
     176  first point, a second press selects the second point and terminates
     177  the selection.
     178
     179  A common use case of QwtPickerDragLineMachine are pickers for
     180  distance measurements.
     181 
     182  \sa QwtEventPattern::MousePatternCode, QwtEventPattern::KeyPatternCode
     183*/             
     184                   
     185class QWT_EXPORT QwtPickerDragLineMachine: public QwtPickerMachine
     186{
     187public:
     188    QwtPickerDragLineMachine();
     189
     190    virtual QList<Command> transition(
     191        const QwtEventPattern &, const QEvent * );
     192};
     193
     194/*!
    171195  \brief A state machine for polygon selections
    172196
Note: See TracChangeset for help on using the changeset viewer.