2016-12-24 15:03:37 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QtWidgets/QMainWindow>
|
|
|
|
#include "ui_MainWindow.h"
|
|
|
|
|
|
|
|
class MainWindow : public QMainWindow
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
MainWindow(QWidget *parent = Q_NULLPTR);
|
|
|
|
~MainWindow();
|
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::MainWindowClass* ui;
|
2017-01-04 13:35:27 +00:00
|
|
|
int m_curSeverity;
|
2016-12-31 15:18:35 +00:00
|
|
|
|
|
|
|
private slots:
|
|
|
|
void openFile();
|
|
|
|
void aboutFile();
|
|
|
|
void aboutTool();
|
|
|
|
|
2017-01-04 13:35:27 +00:00
|
|
|
public slots:
|
|
|
|
void showMessage(QString message, int severity);
|
|
|
|
|
add exe icon,
signal-slot for openFile,
resetView on openFile,
cleanup when open a new file,
triangulate quad poly now correctly, more not working, bug from previous version,
next:
fix 5,6,.. triangulation,
triClothMan, IC Helmet, still buggy,
2017-01-02 11:21:32 +00:00
|
|
|
signals:
|
|
|
|
void loadFile(const char*);
|
2016-12-24 15:03:37 +00:00
|
|
|
};
|