ctkDICOMModelObject.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /*=============================================================================
  2. Library: CTK
  3. Copyright (c) University of Sheffield
  4. Licensed under the Apache License, Version 2.0 (the "License");
  5. you may not use this file except in compliance with the License.
  6. You may obtain a copy of the License at
  7. http://www.apache.org/licenses/LICENSE-2.0
  8. Unless required by applicable law or agreed to in writing, software
  9. distributed under the License is distributed on an "AS IS" BASIS,
  10. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. See the License for the specific language governing permissions and
  12. limitations under the License.
  13. =============================================================================*/
  14. #ifndef __ctkDICOMModelObject_h
  15. #define __ctkDICOMModelObject_h
  16. // Qt includes
  17. #include <QStandardItemModel>
  18. #include <QString>
  19. #include <QStringList>
  20. #include <QMetaType>
  21. #include "ctkDICOMCoreExport.h"
  22. #include <string>
  23. //class ctkDICOMModelObjectData;
  24. class ctkDICOMModelObjectPrivate;
  25. /// \ingroup DICOM_Core
  26. ///
  27. /// \brief .
  28. ///
  29. class CTK_DICOM_CORE_EXPORT ctkDICOMModelObject
  30. //class ctkDICOMModelObject
  31. : public QStandardItemModel
  32. {
  33. typedef QStandardItemModel Superclass;
  34. public:
  35. explicit ctkDICOMModelObject(QObject* parent = 0);
  36. ctkDICOMModelObject(const ctkDICOMModelObject& other);
  37. virtual ~ctkDICOMModelObject();
  38. void setFile (const QString& fileName);
  39. protected:
  40. QScopedPointer<ctkDICOMModelObjectPrivate> d_ptr;
  41. private:
  42. Q_DECLARE_PRIVATE(ctkDICOMModelObject);
  43. };
  44. #endif // ctkDICOMModelObject_h