forked from atilacamurca/vokoscreen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
QvkMagnifier.h
62 lines (47 loc) · 1006 Bytes
/
QvkMagnifier.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#ifndef QvkMagnifier_H
#define QvkMagnifier_H
#include <QDialog>
#include <QLabel>
#include <QPixmap>
#include <QDesktopWidget>
#include <QDebug>
#include <QApplication>
#include <QTimer>
#include <QObject>
#include <QRadioButton>
#include <QPropertyAnimation>
class QvkMagnifier: public QDialog
{
Q_OBJECT
public:
QvkMagnifier();
virtual ~QvkMagnifier();
//QDialog *dialog;
public slots:
void getDialogMagnifier( QWidget *parent );
private slots:
void closeEvent( QCloseEvent * event );
int NewDistanceXLeft();
int NewDistanceXRight();
void mytimer();
void setMagnifier();
void Magnifier200x200();
void Magnifier400x200();
void Magnifier600x200();
int getDistanceX();
int getDistanceY();
protected:
signals:
void closeMagnifier();
private:
QLabel *label;
int border;
int distanceX;
int distanceY;
QRadioButton *radioButton1;
QRadioButton *radioButton2;
QRadioButton *radioButton3;
int faktor;
int formValue;
};
#endif