Addressed Issue #10

This commit is contained in:
amazing-username
2018-03-31 15:04:20 -05:00
parent d1662f12fb
commit 30bc1f8245
10 changed files with 67 additions and 65 deletions
+11
View File
@@ -1,20 +1,31 @@
#ifndef SAVEFILE_H_
#define SAVEFILE_H_
#include<iostream>
#include<string>
#include"CommonWindow.h"
#include"MainWindow.h"
#include"ViewingWindow.h"
class MainWindow;
using namespace std;
class SaveFile : public QDialog, public CommonWindow, public ViewingWindow
{
Q_OBJECT
public:
SaveFile(QWidget* parent = 0);
explicit SaveFile(QWidget* parent = 0, MainWindow* mw = 0);
static string filenameStr;
private:
void setupWindow();
void connections();
unique_ptr<QLineEdit> filename;
unique_ptr<QPushButton> saveIt;
unique_ptr<MainWindow> mw;
private slots:
void saveFileAs();
};