mirror of
https://github.com/TheGameratorT/NitroModel_ConverterGUI.git
synced 2025-06-19 06:05:40 -04:00
40 lines
711 B
C++
40 lines
711 B
C++
#ifndef TEXTURETONSBTX_H
|
|
#define TEXTURETONSBTX_H
|
|
|
|
#include <QMainWindow>
|
|
#include <QProcess>
|
|
#include <QFile>
|
|
|
|
namespace Ui {
|
|
class TextureToNSBTX;
|
|
}
|
|
|
|
class TextureToNSBTX : public QMainWindow
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit TextureToNSBTX(QWidget *parent = nullptr);
|
|
~TextureToNSBTX();
|
|
|
|
private slots:
|
|
void on_addTexture_pb_clicked();
|
|
|
|
void on_removeTexture_pb_clicked();
|
|
|
|
void on_selectNsbtxPath_pb_clicked();
|
|
|
|
void on_convert_pb_clicked();
|
|
|
|
private:
|
|
Ui::TextureToNSBTX *ui;
|
|
|
|
void printToConsole(const QString &text);
|
|
void printAppOutputToConsole(QProcess* process);
|
|
|
|
void WriteOBJFile(QFile* file);
|
|
void WriteMTLFile(QFile* file);
|
|
};
|
|
|
|
#endif // TEXTURETONSBTX_H
|