CustusX  2023.01.05-dev+develop.0da12
An IGT application
cxFilePreviewProperty.h
Go to the documentation of this file.
1 /*=========================================================================
2 This file is part of CustusX, an Image Guided Therapy Application.
3 
4 Copyright (c) SINTEF Department of Medical Technology.
5 All rights reserved.
6 
7 CustusX is released under a BSD 3-Clause license.
8 
9 See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10 =========================================================================*/
11 
12 #ifndef CXFILEPREVIEWPROPERTY_H
13 #define CXFILEPREVIEWPROPERTY_H
14 
15 //#include "cxStringPropertyBase.h"
16 #include "cxFilePathPropertyBase.h"
17 
18 namespace cx
19 {
20 
21 typedef boost::shared_ptr<class FilePreviewProperty> FilePreviewPropertyPtr;
22 
31 class cxResource_EXPORT FilePreviewProperty: public FilePathPropertyBase
32 {
33  Q_OBJECT
34 public:
38  static FilePreviewPropertyPtr initialize(const QString& uid, QString name, QString help, QString value,
39  QStringList paths, QDomNode root = QDomNode());
40 
41 protected:
43 };
44 
45 }//cx
46 
47 #endif // CXFILEPREVIEWPROPERTY_H
boost::shared_ptr< class FilePreviewProperty > FilePreviewPropertyPtr
Property that connects to a file. Allows file preview and edit.
Base class for properties using a file path.
Namespace for all CustusX production code.