mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-20 12:12:15 +00:00
IFC file successfully parsed and loaded in Qt OpenGL widget
This commit is contained in:
@@ -7,8 +7,7 @@
|
||||
#include <QAction>
|
||||
#include <QOpenGLWidget>
|
||||
#include <QPlainTextEdit>
|
||||
|
||||
#include "ParseIfcFile.h"
|
||||
#include <string>
|
||||
|
||||
class MainWindow : public QMainWindow
|
||||
{
|
||||
@@ -17,6 +16,9 @@ class MainWindow : public QMainWindow
|
||||
public:
|
||||
MainWindow(qreal dpiScale, QWidget *parent = nullptr);
|
||||
|
||||
signals:
|
||||
void loadFileInViewerWidget(const std::string& filePath);
|
||||
|
||||
public slots:
|
||||
void openFile();
|
||||
void appendToOutputText(const QString& message);
|
||||
@@ -40,12 +42,8 @@ private:
|
||||
QAction *m_backgroundAction;
|
||||
QAction *m_outlineAction;
|
||||
|
||||
QString m_currentPath;
|
||||
|
||||
QOpenGLWidget *m_glWidget;
|
||||
QPlainTextEdit *m_outputText;
|
||||
|
||||
ParseIfcFile m_parser;
|
||||
};
|
||||
|
||||
#endif // MAINWINDOW_H
|
||||
|
||||
Reference in New Issue
Block a user