mod_geo-tp/src/main_window.h

29 lines
393 B
C
Raw Normal View History

2021-09-20 20:36:29 +02:00
#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
2021-10-02 20:47:02 +02:00
QToolBar toolbar;
QAction *open_action;
QList<QAction *> toolbar_actions;
2021-09-20 20:36:29 +02:00
2021-10-02 20:47:02 +02:00
signals:
void open(const QString &path);
public:
2021-09-20 20:36:29 +02:00
MeshViewer mesh_viewer;
2021-10-02 20:47:02 +02:00
MainWindow(QWidget *parent=nullptr);
2021-09-20 20:36:29 +02:00
};
#endif