SWBF2-Classic-Msh-Viewer/MeshViewerQt/Header/MainWindow.h
Anakin 481256e8ea added open file ability from the old project to Qt,
texture seams not to open,
texture display does not work
2016-12-12 16:47:38 +01:00

33 lines
484 B
C++

#pragma once
#include <QtWidgets/QMainWindow>
#include "ui_MainWindow.h"
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
MainWindow(QWidget *parent = Q_NULLPTR);
~MainWindow();
// Variables
private:
Ui::MainWindowClass* ui;
// Functions
private:
void setupWindow();
void import(const char* path);
// Slots
private slots:
void openFile();
void aboutFile();
// Override Functions
protected:
virtual void keyPressEvent(QKeyEvent * keyEvent) override final;
};