mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-10 06:00:51 +00:00
Implemented: Application icons; OpenSceneGraph to handle OpenGL with Qt; devicePixelRatio() for handing render on highDPI displays; Sample 3D with handler; MouseHandler not yet working as expected (WIP)
This commit is contained in:
committed by
Thomas Krijnen
parent
f824ee8ca4
commit
9e9b294f44
@@ -1,4 +1,4 @@
|
||||
#ifndef MAINWINDOW_H
|
||||
#ifndef MAINWINDOW_H
|
||||
#define MAINWINDOW_H
|
||||
|
||||
#include <QObject>
|
||||
@@ -15,17 +15,19 @@ class MainWindow : public QMainWindow
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
MainWindow(QWidget *parent = nullptr);
|
||||
MainWindow(qreal dpiScale, QWidget *parent = nullptr);
|
||||
|
||||
public slots:
|
||||
void openFile();
|
||||
void appendToOutputText(const QString& message);
|
||||
|
||||
private:
|
||||
void createActions();
|
||||
void createMenus();
|
||||
void createConnections();
|
||||
void appendToOutputText(const QString& message);
|
||||
private:
|
||||
qreal m_dpiScale;
|
||||
|
||||
QMenu *fileMenu;
|
||||
QAction *openAction;
|
||||
QAction *quitAction;
|
||||
|
||||
Reference in New Issue
Block a user