SWBF2-Classic-Msh-Viewer/MeshViewerQt/Header/MainWindow.h

33 lines
484 B
C
Raw Normal View History

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