-
Notifications
You must be signed in to change notification settings - Fork 4
/
nerdmain.h
53 lines (43 loc) · 954 Bytes
/
nerdmain.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
#ifndef NERDMAIN_H
#define NERDMAIN_H
#include <QMainWindow>
#include <QFileDialog>
#include <QVBoxLayout>
#include <QDesktopServices>
#include <QUrl>
#include <QShortcut>
#include <QShortcut>
#include <about.h>
#include <fileopen.h>
#include <navigate.h>
namespace Ui {
class NerdMain;
}
class NerdMain : public QMainWindow
{
Q_OBJECT
public:
explicit NerdMain(QWidget *parent = 0);
~NerdMain();
public slots:
void openFile(void);
void toggleLayout(int control);
protected:
void setSignalSlot(void);
void setMenuKeys(void);
protected slots:
void toggleState(void);
void toggleNext(bool tf);
void toggleNextCell(bool tf);
void togglePrev(bool tf);
void togglePrevCell(bool tf);
private slots:
void openHomepage(void); // Open CCi homepage.
private:
Ui::NerdMain *ui;
Navigate *data;
FileOpen *open;
About *aboutWin;
QVBoxLayout *mainLayout;
};
#endif // NERDMAIN_H