Scanframe Modular Application
0.1.0
Toggle main menu visibility
Loading...
Searching...
No Matches
test-DxfWindow.h
Go to the documentation of this file.
1
#pragma once
2
#include <QDialog>
3
#include <
dxf/GraphicsScene.h
>
4
#include <
dxf/GraphicsView.h
>
5
#include <
dxf/Reader.h
>
6
7
namespace
Ui
8
{
9
class
DxfWindow;
10
}
11
12
class
DxfWindow
final :
public
QDialog
13
{
14
Q_OBJECT
15
16
public
:
17
explicit
DxfWindow
(QWidget* parent =
nullptr
);
18
19
private
Q_SLOTS:
20
void
onLoadDxf();
21
22
private
:
23
// Pointer to the main window.
24
Ui::DxfWindow* ui;
25
//
26
sf::dxf::Reader
* _reader;
27
sf::dxf::GraphicsScene
* _graphicsScene2D;
28
sf::dxf::GraphicsScene
* _graphicsScene3D;
29
sf::dxf::GraphicsView
* _graphicsView2D;
30
sf::dxf::GraphicsView
* _graphicsView3D;
31
QPushButton* _openFileButton;
32
};
GraphicsScene.h
GraphicsView.h
Reader.h
DxfWindow::DxfWindow
DxfWindow(QWidget *parent=nullptr)
sf::dxf::GraphicsScene
The GraphicsScene class is a custom QGraphicsScene for rendering DXF entities.
Definition
GraphicsScene.h:15
sf::dxf::GraphicsView
The GraphicsView class provides a custom QGraphicsView with panning and zooming capabilities.
Definition
GraphicsView.h:13
sf::dxf::Reader
The Reader class parses DXF files using 'dxflib' and stores entities by layer.
Definition
Reader.h:13
Ui
Definition
ApplicationPropertyPage.h:7
src
com
dxf
tests
app
qt
show
test-DxfWindow.h
Generated by
1.18.0