~ubuntu-branches/ubuntu/wily/ginkgocadx/wily-proposed

« back to all changes in this revision

Viewing changes to src/cadxcore/main/gui/export/datospersistentesexportacion.h

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Tille
  • Date: 2011-05-02 08:09:26 UTC
  • Revision ID: james.westby@ubuntu.com-20110502080926-bql5wep49c7hg91t
Tags: upstream-2.4.1.1
ImportĀ upstreamĀ versionĀ 2.4.1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *  
 
3
 *  $Id: datospersistentesexportacion.h 3521 2011-03-16 14:54:22Z carlos $
 
4
 *  Ginkgo CADx Project
 
5
 *
 
6
 *  Copyright 2008-10 MetaEmotion S.L. All rights reserved.
 
7
 *  http://ginkgo-cadx.com
 
8
 *
 
9
 *  This file is licensed under LGPL v3 license.
 
10
 *  See License.txt for details
 
11
 *
 
12
 *
 
13
 */
 
14
 
 
15
#pragma once
 
16
 
 
17
#include <string>
 
18
#include <vector>
 
19
#include <api/idicommanager.h>
 
20
#include <export/icontratoscore.h>
 
21
 
 
22
namespace GNC {
 
23
        namespace GCS {
 
24
                class IVista;
 
25
        }
 
26
}
 
27
 
 
28
 
 
29
namespace GNC {
 
30
        namespace GUI {
 
31
                typedef enum {DICOM, BMP, JPEG, PNG} FormatoDestino;
 
32
 
 
33
                typedef struct TipoWizardExportacion{
 
34
                        std::string   m_pathDestino;
 
35
 
 
36
                        GNC::GCS::IVista* m_pVista;
 
37
                        //parametros principales
 
38
                        FormatoDestino m_formatoDestino;
 
39
                        bool m_ficheroActual;
 
40
 
 
41
                        //exportacion ginkgo
 
42
                        GIL::DICOM::TipoJerarquia m_base;
 
43
                        bool m_incluirTagsGinkgo;
 
44
                        bool m_exportarDiagnostico;
 
45
 
 
46
                        //imagenes
 
47
                        bool m_incluirWidgets;
 
48
                        typedef GNC::GCS::IContratoExportacionImages::MapaMapasValoracion MapaMapasValoracion;
 
49
                        MapaMapasValoracion m_mapasValoracion;
 
50
 
 
51
                        //jpeg
 
52
                        int m_jpegCalidad;
 
53
                        
 
54
                        TipoWizardExportacion(){
 
55
                                m_pathDestino="";
 
56
                                m_formatoDestino=DICOM;                                                 
 
57
                                m_incluirTagsGinkgo=true;
 
58
                                m_exportarDiagnostico=true;
 
59
                                m_ficheroActual=true;
 
60
                                m_pVista=NULL;
 
61
                                m_incluirWidgets = false;
 
62
                                m_jpegCalidad = 95;
 
63
                        }
 
64
 
 
65
                        ~TipoWizardExportacion(){
 
66
                                m_pVista=NULL;
 
67
                                m_mapasValoracion.clear();
 
68
                        }
 
69
 
 
70
                } TipoWizardExportacion;
 
71
        }
 
72
}