SWBF2-Classic-Msh-Viewer/QtMeshViewer/Header/MainWindow.h
Anakin 6ead5d7bc6 working on changing the texture names to materials,
problems with call by value/reference
2017-01-15 12:26:15 +01:00

38 lines
644 B
C++

#pragma once
#include <QtWidgets/QMainWindow>
#include <QByteArray>
#include <QStringList>
#include "ui_MainWindow.h"
struct Material;
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
MainWindow(QWidget *parent = Q_NULLPTR);
~MainWindow();
private:
Ui::MainWindowClass* ui;
int m_curSeverity;
void setupWidgets();
QByteArray m_fileInfo;
private:
void openFile();
void aboutFile();
void aboutTool();
void takeScreenShot();
public slots:
void printMessage(QString message, int severity);
void setFileInfo(QString name, QVector<Material>* materials, int vertices, int triangle);
signals:
void loadFile(QString);
};