ZIMA CAD Parts
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
filefiltermodel.h
Go to the documentation of this file.
1 #ifndef FILEFILTERMODEL_H
2 #define FILEFILTERMODEL_H
3 
4 #include <QSortFilterProxyModel>
5 
6 class FileFilterModel : public QSortFilterProxyModel
7 {
8  Q_OBJECT
9 public:
10  explicit FileFilterModel(QObject *parent = 0);
11  void setShowProeVersions(bool show);
12 
13 protected:
14  virtual bool filterAcceptsRow(int source_row, const QModelIndex& source_parent) const;
15 
16 private:
17  bool m_showProeVersions;
18 
19 };
20 
21 #endif // FILEFILTERMODEL_H
FileFilterModel(QObject *parent=0)
Definition: filefiltermodel.cpp:7
virtual bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const
Definition: filefiltermodel.cpp:18
Definition: filefiltermodel.h:6
void setShowProeVersions(bool show)
Definition: filefiltermodel.cpp:13