NothingPad/mainwindow.h

54 lines
876 B
C
Raw Normal View History

#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QFile>
#include <QFileDialog>
#include <QTextStream>
#include <QMessageBox>
#include <QPrinter>
#include <QPrintDialog>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
private slots:
void on_actionNew_triggered();
void on_actionOpen_triggered();
void on_actionSave_as_triggered();
void on_actionClose_triggered();
void on_actionPrint_triggered();
void on_actionQuit_triggered();
void on_actionCopy_triggered();
void on_actionPaste_triggered();
void on_actionCut_triggered();
void on_actionUndo_triggered();
void on_actionRedo_triggered();
private:
Ui::MainWindow *ui;
QString currFile = "" ;
};
#endif // MAINWINDOW_H