33 lines
484 B
C++
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;
|
|
};
|