ZIMA CAD Parts
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Types | Public Member Functions | Public Attributes | Protected Attributes | List of all members
FileFilter Class Referenceabstract

#include <filefilter.h>

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

Public Types

enum  FileFilters { Extension, Version }
 

Public Member Functions

 FileFilter (File::FileTypes type)
 
virtual FileFilters filterType ()=0
 
virtual void load (QSettings *settings)=0
 
virtual void save (QSettings *settings)=0
 
virtual QTreeWidgetItem * widget ()=0
 
virtual void apply ()
 

Public Attributes

File::FileTypes type
 
bool enabled
 
FilterGroupgroup
 

Protected Attributes

QTreeWidgetItem * item
 

Member Enumeration Documentation

Enumerator
Extension 
Version 

Constructor & Destructor Documentation

FileFilter::FileFilter ( File::FileTypes  type)

Member Function Documentation

void FileFilter::apply ( )
virtual
virtual FileFilters FileFilter::filterType ( )
pure virtual

Implemented in VersionFilter, and ExtensionFilter.

virtual void FileFilter::load ( QSettings *  settings)
pure virtual

Implemented in VersionFilter, and ExtensionFilter.

virtual void FileFilter::save ( QSettings *  settings)
pure virtual

Implemented in VersionFilter, and ExtensionFilter.

virtual QTreeWidgetItem* FileFilter::widget ( )
pure virtual

Implemented in VersionFilter, and ExtensionFilter.

Member Data Documentation

bool FileFilter::enabled
FilterGroup* FileFilter::group
QTreeWidgetItem* FileFilter::item
protected
File::FileTypes FileFilter::type

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