Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
qSlicerTextsReader.h
Go to the documentation of this file.
1/*==============================================================================
2
3 Copyright (c) Laboratory for Percutaneous Surgery (PerkLab)
4 Queen's University, Kingston, ON, Canada. All Rights Reserved.
5
6 See COPYRIGHT.txt
7 or http://www.slicer.org/copyright/copyright.txt for details.
8
9 Unless required by applicable law or agreed to in writing, software
10 distributed under the License is distributed on an "AS IS" BASIS,
11 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 See the License for the specific language governing permissions and
13 limitations under the License.
14
15 This file was originally developed by Kyle Sunderland, PerkLab, Queen's University
16 and was supported through CANARIE's Research Software Program, and Cancer
17 Care Ontario.
18
19==============================================================================*/
20
21#ifndef __qSlicerTextsReader_h
22#define __qSlicerTextsReader_h
23
24// Slicer includes
25#include "qSlicerFileReader.h"
26class qSlicerTextsReaderPrivate;
27
28//-----------------------------------------------------------------------------
30{
31 Q_OBJECT
32public:
34 qSlicerTextsReader(QObject* parent = nullptr);
36
37 QString description() const override;
38 IOFileType fileType() const override;
39 QStringList extensions() const override;
40
41 bool load(const IOProperties& properties) override;
42
43protected:
44 QScopedPointer< qSlicerTextsReaderPrivate > d_ptr;
45
46private:
47 Q_DECLARE_PRIVATE(qSlicerTextsReader);
48 Q_DISABLE_COPY(qSlicerTextsReader);
49};
50
51#endif
qSlicerFileReader(QObject *parent=nullptr)
QString IOFileType
Definition qSlicerIO.h:52
QVariantMap IOProperties
Definition qSlicerIO.h:53
qSlicerFileReader Superclass
~qSlicerTextsReader() override
QScopedPointer< qSlicerTextsReaderPrivate > d_ptr
QString description() const override
Unique name of the reader/writer.
bool load(const IOProperties &properties) override
Properties available: fileMode, multipleFiles, fileType.
QStringList extensions() const override
IOFileType fileType() const override
Multiple readers can share the same file type.
qSlicerTextsReader(QObject *parent=nullptr)