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