-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathglidenote.h
57 lines (49 loc) · 1023 Bytes
/
glidenote.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
#ifndef GLIDENOTE_H
#define GLIDENOTE_H
#include <QtGui>
#include <QWidget>
#include <QxtGlobalShortcut>
#include <QStringList>
class Glidenote : public QMainWindow
{
Q_OBJECT
public:
Glidenote();
private slots:
void open();
void save();
void anim();
void about();
void scale();
void open(QString);
void save(QString);
private:
QWidget *mainWidget;
QTextEdit *textEdit;
QLineEdit *searchEdit;
QPushButton *addButton;
QGridLayout *mainLayout;
QPropertyAnimation *animation;
QAction *openAction;
QAction *saveAction;
QAction *animAction;
QAction *exitAction;
QAction *aboutAction;
QMenu *fileMenu;
QxtGlobalShortcut *shortcut;
bool winstatus;
int screenheight;
int screenwidth;
float heightratio;
int appheight;
int appwidth;
int appvpos;
int apphpos;
int animdur;
int starthpos;
int endhpos;
int startvpos;
int endvpos;
QStringList *arguments;
};
#endif // GLIDENOTE_H