SAE-terra-aventura/mainwindow.h

33 lines
568 B
C++

#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
QT_BEGIN_NAMESPACE
namespace Ui {
class MainWindow;
}
QT_END_NAMESPACE
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
MainWindow(QWidget *parent = nullptr);
~MainWindow();
void updatePathView();
void updateStepView(size_t num);
void onTextChanged();
void loadPath(QTextStream &in);
void addNewPath();
void addNewStep();
void exportHTMLMap();
private:
Ui::MainWindow *ui;
QString currentFile;
bool textChanged;
};
#endif // MAINWINDOW_H