ZIMA CAD Parts
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Slots | Public Member Functions | Protected Member Functions | List of all members
ProductView Class Reference

The user interface for Product Views. More...

#include <productview.h>

Inheritance diagram for ProductView:
Inheritance graph
[legend]
Collaboration diagram for ProductView:
Collaboration graph
[legend]

Public Slots

void fileDownloaded (File *f)
 Finally display the file. More...
 

Public Member Functions

 ProductView (QWidget *parent=0)
 
 ~ProductView ()
 
bool expectFile (File *f)
 Set the file which will be downloaded. More...
 
bool canHandle (File::FileTypes t)
 Returns true if the one of registered product views can handle given file type. More...
 

Protected Member Functions

void hideEvent (QHideEvent *e)
 
void showEvent (QShowEvent *e)
 

Detailed Description

The user interface for Product Views.

See Also
AbstractProductView

Each product view must register itself in the ProductView constructor to be used.

Constructor & Destructor Documentation

ProductView::ProductView ( QWidget *  parent = 0)
explicit
ProductView::~ProductView ( )

Member Function Documentation

bool ProductView::canHandle ( File::FileTypes  t)

Returns true if the one of registered product views can handle given file type.

bool ProductView::expectFile ( File f)

Set the file which will be downloaded.

The comparation is done later in fileDownloaded() slot

void ProductView::fileDownloaded ( File f)
slot

Finally display the file.

void ProductView::hideEvent ( QHideEvent *  e)
protected
void ProductView::showEvent ( QShowEvent *  e)
protected

The documentation for this class was generated from the following files: