- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
#ifndef QRSELECTOR_H
#define QRSELECTOR_H
#include "ui_qrselector.h"
#include <QMouseEvent>
#include <QRubberBand>
#include <QPixmap>
#include <QVBoxLayout>
class QRSelector : public QWidget, private Ui::QRSelector
{
Q_OBJECT
public:
explicit QRSelector(QWidget *parent = 0);
QRubberBand *rubberBand;
QPoint origin;
protected:
void changeEvent(QEvent *e);
void mousePressEvent(QMouseEvent *e);
void mouseMoveEvent(QMouseEvent *e);
};
#endif // QRSELECTOR_H
Комментарии (0) RSS
Добавить комментарий