forked from atilacamurca/vokoscreen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathQvkMagnifier.h
73 lines (56 loc) · 1.2 KB
/
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
63
64
65
66
67
68
69
70
71
72
73
#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>
#include <QPushButton>
#include "ui_QvkMagnifierDialog.h"
#include "QvkSettings.h"
class QvkMagnifier: public QDialog
{
Q_OBJECT
public:
QvkMagnifier();
virtual ~QvkMagnifier();
public slots:
void getDialogMagnifier( QWidget *parent );
void magnifierShow();
int getFormValue();
private slots:
void closeEvent( QCloseEvent * event );
int NewDistanceXLeft();
int NewDistanceXRight();
void mytimer();
void setMagnifier();
void Magnifier200x200();
void Magnifier400x200();
void Magnifier600x200();
int getDistanceX();
int getDistanceY();
void closeDialog();
protected:
signals:
void closeMagnifier();
private:
QLabel *label;
int border;
int distanceX;
int distanceY;
QRadioButton *radioButton1;
QRadioButton *radioButton2;
QRadioButton *radioButton3;
int faktor;
int formValue;
//QDialog *dialog;
QDialog *newDialog;
QTimer *timer;
QvkSettings vkSettings;
};
#endif