ZIMA CAD Parts
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
dxfproductview.h
Go to the documentation of this file.
1 #ifndef DXFPRODUCTVIEW_H
2 #define DXFPRODUCTVIEW_H
3 
4 #include <QWidget>
5 
6 #include "abstractproductview.h"
7 
8 namespace Ui {
9 class DxfProductView;
10 }
11 
12 class DXFInterface;
13 
14 
20 {
21  Q_OBJECT
22 
23 public:
24  explicit DxfProductView(QWidget *parent = 0);
26 
27  QString title();
28  QList<File::FileTypes> canHandle();
29  bool handle(File *f);
30 
31 private:
32  Ui::DxfProductView *ui;
33  DXFInterface *dxf;
34 };
35 
36 #endif // DXFPRODUCTVIEW_H
bool handle(File *f)
Display the file.
Definition: dxfproductview.cpp:31
The abstract base for all &quot;file preview&quot; processing.
Definition: abstractproductview.h:17
The DxfProductView class is a product view for DXF files.
Definition: dxfproductview.h:19
QString title()
Returns title for current product view.
Definition: dxfproductview.cpp:21
Definition: item.h:41
DxfProductView(QWidget *parent=0)
Definition: dxfproductview.cpp:8
QList< File::FileTypes > canHandle()
Returns a list with file types available in current product type.
Definition: dxfproductview.cpp:26
~DxfProductView()
Definition: dxfproductview.cpp:16