mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-14 03:14:23 +00:00
42 lines
762 B
C++
42 lines
762 B
C++
#ifndef MAINWINDOW_H
|
|
#define MAINWINDOW_H
|
|
|
|
#include <QObject>
|
|
#include <QMainWindow>
|
|
#include <QString>
|
|
#include <QAction>
|
|
#include <QOpenGLWidget>
|
|
|
|
class MainWindow : public QMainWindow
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
MainWindow(QWidget *parent = nullptr);
|
|
|
|
public slots:
|
|
void openFile();
|
|
|
|
private:
|
|
void createActions();
|
|
void createMenus();
|
|
void createConnections();
|
|
private:
|
|
QMenu *fileMenu;
|
|
QAction *openAction;
|
|
QAction *quitAction;
|
|
|
|
QMenu *viewMenu;
|
|
QAction *m_nativeAction;
|
|
QAction *m_glAction;
|
|
QAction *m_imageAction;
|
|
QAction *m_highQualityAntialiasingAction;
|
|
QAction *m_backgroundAction;
|
|
QAction *m_outlineAction;
|
|
|
|
QString m_currentPath;
|
|
QOpenGLWidget *m_glWidget;
|
|
};
|
|
|
|
#endif // MAINWINDOW_H
|