archivage initial
This commit is contained in:
32
src/main_window.h
Normal file
32
src/main_window.h
Normal file
@ -0,0 +1,32 @@
|
||||
#ifndef MAIN_WINDOW_H
|
||||
#define MAIN_WINDOW_H
|
||||
|
||||
#include <QMainWindow>
|
||||
#include <QToolBar>
|
||||
|
||||
#include "mesh_viewer.h"
|
||||
#include "my_mesh.h"
|
||||
|
||||
|
||||
class MainWindow : public QMainWindow {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
MainWindow(QWidget *parent=nullptr);
|
||||
void open(const QString &path);
|
||||
|
||||
private slots:
|
||||
void meshViewerInitialized();
|
||||
|
||||
private:
|
||||
MyMesh mesh;
|
||||
MeshViewer mesh_viewer;
|
||||
OpenGLMesh *glm = nullptr;
|
||||
QToolBar toolbar;
|
||||
QAction *open_action;
|
||||
QList<QAction *> toolbar_actions;
|
||||
|
||||
};
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user