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