~ubuntu-branches/ubuntu/trusty/ginkgocadx/trusty

« back to all changes in this revision

Viewing changes to src/cadxcore/main/gui/anonymize/anonymizepanel.h

  • Committer: Package Import Robot
  • Author(s): Dmitry Smirnov
  • Date: 2013-07-21 11:58:53 UTC
  • mfrom: (7.2.1 sid)
  • Revision ID: package-import@ubuntu.com-20130721115853-44e7n1xujqglu78e
Tags: 3.4.0.928.29+dfsg-1
* New upstream release [July 2013]
  + new B-D: "libjsoncpp-dev".
  + new patch "unbundle-libjsoncpp.patch" to avoid building bundled
    "libjsoncpp-dev".
  + new patch "fix-wx.patch" to avoid FTBFS due to missing
    "-lwx_gtk2u_html-2.8".
* Removed unnecessary versioned Build-Depends.
* Removed obsolete lintian override.
* Reference get-orig-source implementation for orig.tar clean-up and
  DFSG-repackaging.
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *  
 
3
 *  $Id: anonymizedialog.h $
 
4
 *  Ginkgo CADx Project
 
5
 *
 
6
 *  Copyright 2008-12 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
#pragma once
 
15
#include "anonymizepanelbase.h"
 
16
 
 
17
#include <api/autoptr.h>
 
18
#include <api/dicom/idicom.h>
 
19
#include <api/internationalization/internationalization.h>
 
20
 
 
21
 
 
22
namespace GNC {
 
23
        namespace GUI {
 
24
                class AnonymizePanel: public AnonymizePanelBase
 
25
                {
 
26
                public:
 
27
                        AnonymizePanel(wxWindow* pParent);
 
28
                        AnonymizePanel(wxWindow* pParent, const std::list<long>& seriesPk);
 
29
                        ~AnonymizePanel();
 
30
                        
 
31
                        void GetTagsAnonymized(GIL::DICOM::DicomDataset & base);
 
32
                        bool AnonymizePrivateTags();
 
33
                protected:
 
34
                        void InitSeries(long pkSeries);
 
35
                        void SetTags(GIL::DICOM::DicomDataset & base,wxPGPropArg idPadre,GIL::DICOM::IDICOMManager*     pDICOMManager);
 
36
                        virtual void OnCheckNombreApellidos( wxCommandEvent& event );
 
37
                        virtual void OnCheckIdPaciente( wxCommandEvent& event );
 
38
                        virtual void OnCheckInstituciones( wxCommandEvent& event );
 
39
                        virtual void OnCheckPhysician( wxCommandEvent& event );
 
40
                        virtual void OnCheckComentarios( wxCommandEvent& event );
 
41
 
 
42
                        void Anonymize(const std::string& clave, bool anonimizar);
 
43
                        void Anonymize(const std::string& clave, bool anonimizar, const std::string& value);
 
44
                        void RemoveFromTable(const std::string& clave);
 
45
 
 
46
                        void OnPropertyChanged(wxPropertyGridEvent& event);
 
47
                        void OnPropertyDobleClick(wxPropertyGridEvent& event);
 
48
 
 
49
                        GIL::DICOM::DicomDataset m_base;
 
50
                        std::map <std::string, wxCheckBox*> MapOfCheck;
 
51
                };
 
52
        }
 
53
}