-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspecappwindow.h
55 lines (47 loc) · 944 Bytes
/
specappwindow.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
#ifndef SPECAPPWINDOW_H
#define SPECAPPWINDOW_H
#include <QMainWindow>
#include <QtGui>
#include <QList>
#include "specplotwidget.h"
#include <QSettings>
class specShortcutDialog ;
class specAppWindow : public QMainWindow
{
Q_OBJECT
public:
specAppWindow();
~specAppWindow();
private slots:
void newFile();
void openFile();
void openFile(const QString&) ;
#ifdef QT_DEBUG
void dumpInfo() ;
#endif
protected:
void closeEvent(QCloseEvent*) ;
private:
QSettings settings ;
void createActions();
void createMenus();
void createToolBars() ;
void addDock(specPlotWidget*) ;
QMenu* fileMenu;
QMenu* helpMenu;
QToolBar* fileToolBar;
QAction* newAction;
QAction* openAction;
QAction* whatsThisAction ;
QAction* restoreSessionAction ;
QAction* shortCutAction ;
QAction* searchPathAction ;
#ifdef QT_DEBUG
QAction* dumpAction ;
#endif
private slots:
void about() ;
void whatsThisMode() ;
void editShortcuts() ;
};
#endif