2019-09-27 00:09:09 -07:00
|
|
|
#pragma once
|
|
|
|
|
2019-10-03 12:17:16 -07:00
|
|
|
#include "common.h"
|
2019-10-04 10:37:34 -07:00
|
|
|
|
2019-09-27 00:09:09 -07:00
|
|
|
#include "quam/ui_main_window.h"
|
|
|
|
|
|
|
|
#include <QMainWindow>
|
|
|
|
#include <QWidget>
|
|
|
|
|
2019-09-28 22:29:31 -07:00
|
|
|
class QErrorMessage;
|
|
|
|
|
2019-09-27 00:09:09 -07:00
|
|
|
class MainWindow : public QMainWindow, private Ui::MainWindow {
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit MainWindow(QWidget *parent = nullptr);
|
2019-09-28 22:29:31 -07:00
|
|
|
virtual ~MainWindow();
|
2019-09-27 00:09:09 -07:00
|
|
|
|
|
|
|
public slots:
|
2019-09-28 01:17:55 -07:00
|
|
|
void fileOpen();
|
2019-09-28 22:29:31 -07:00
|
|
|
void fileClose();
|
2019-09-28 01:17:55 -07:00
|
|
|
|
2019-11-06 22:42:59 -08:00
|
|
|
bool goBack();
|
|
|
|
bool goForward();
|
|
|
|
bool goTop();
|
|
|
|
bool goUp();
|
|
|
|
|
2019-09-28 01:17:55 -07:00
|
|
|
private:
|
2019-09-29 22:30:32 -07:00
|
|
|
QErrorMessage *m_errors;
|
2019-09-27 00:09:09 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
// EOF
|