CTK
0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
Libs
DICOM
Core
ctkDICOMFilterProxyModel.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Library: CTK
4
5
Copyright (c) Kitware Inc.
6
7
Licensed under the Apache License, Version 2.0 (the "License");
8
you may not use this file except in compliance with the License.
9
You may obtain a copy of the License at
10
11
http://www.apache.org/licenses/LICENSE-2.0.txt
12
13
Unless required by applicable law or agreed to in writing, software
14
distributed under the License is distributed on an "AS IS" BASIS,
15
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
See the License for the specific language governing permissions and
17
limitations under the License.
18
19
=========================================================================*/
20
21
#ifndef __ctkDICOMFilterProxyModel_h
22
#define __ctkDICOMFilterProxyModel_h
23
24
// Qt includes
25
#include <QSortFilterProxyModel>
26
27
#include "ctkDICOMCoreExport.h"
28
29
class
ctkDICOMFilterProxyModelPrivate;
30
32
class
CTK_DICOM_CORE_EXPORT
ctkDICOMFilterProxyModel
:
public
QSortFilterProxyModel{
33
Q_OBJECT
34
35
public
:
36
typedef
QSortFilterProxyModel
Superclass
;
37
explicit
ctkDICOMFilterProxyModel
(QObject* parent = 0);
38
virtual
~
ctkDICOMFilterProxyModel
();
39
40
virtual
bool
filterAcceptsRow (
int
source_row,
const
QModelIndex & source_parent )
const
;
41
42
protected
:
43
QScopedPointer<ctkDICOMFilterProxyModelPrivate>
d_ptr
;
44
45
private
:
46
Q_DECLARE_PRIVATE(
ctkDICOMFilterProxyModel
);
47
Q_DISABLE_COPY(
ctkDICOMFilterProxyModel
);
48
49
public
Q_SLOTS:
50
void
setNameSearchText(
const
QString& text);
51
void
setStudySearchText(
const
QString& text);
52
void
setSeriesSearchText(
const
QString& text);
53
void
setIdSearchText(
const
QString& text);
54
};
55
56
#endif
ctkDICOMFilterProxyModel::Superclass
QSortFilterProxyModel Superclass
Definition:
ctkDICOMFilterProxyModel.h:36
ctkDICOMFilterProxyModel
Definition:
ctkDICOMFilterProxyModel.h:32
ctkDICOMFilterProxyModel::d_ptr
QScopedPointer< ctkDICOMFilterProxyModelPrivate > d_ptr
Definition:
ctkDICOMFilterProxyModel.h:43
Generated on Fri Feb 17 2017 21:53:40 for CTK by
1.8.13