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

« back to all changes in this revision

Viewing changes to src/cadxcore/main/gui/acquisition/dialogoadquisicion.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:
28
28
class IModeloDicom;
29
29
class wxAnimationCtrl;
30
30
 
31
 
namespace Descargas {
32
 
        class DescargasGridTable;
33
 
}
34
 
 
35
31
namespace GNC {
36
32
 
37
33
        namespace GUI {
38
 
                class DownloadElementContainerPanel;
39
34
 
40
35
                class DialogoAdquisicion: public DialogoAdquisicionBase, public GADAPI::PACS::IComandoPACSNotificador, public GNC::GCS::IEventsObserver
41
36
                {
62
57
                                virtual void OnLimpiarClick( wxCommandEvent& event );
63
58
                                virtual void OnCloseClick( wxCommandEvent& event );
64
59
                                virtual void OnDescargarClick( wxCommandEvent& event);
 
60
                                virtual void OnLinkClick( wxCommandEvent& event);
65
61
 
66
62
                                virtual void OnTreeSelChanged(wxTreeEvent& event);
67
63
                                virtual void OnTreeItemActivated(wxTreeEvent& event);
73
69
                        //---------------------------------------------------------------------------
74
70
                        //region Helpers
75
71
                        std::string GetServerSeleccionado();
76
 
                        void AddDescarga(bool lanzarBusqueda);
 
72
                        bool IsLinkSupported();
 
73
                        void AddDescarga(bool link = false);
77
74
                        void ShowProperties();
78
75
                        bool IsAllowedToDownload(const std::string& modality);
79
76
                        void ShowAnimation(bool show);
83
80
 
84
81
                        //---------------------------------------------------------------------------
85
82
                        //region realizacion de la interfaz IComandoPACSNotificador
86
 
                                virtual void PACSCargarListado(IModeloDicom *);
 
83
                        virtual void PACSCargarListado(IModeloDicom *);
87
84
                        //endregion
88
85
 
89
 
                                //para enterarse si ha parado un comando...
 
86
                        //para enterarse si ha parado un comando...
90
87
                        virtual void ProcesarEvento(GNC::GCS::Events::IEvent *evt);
91
 
                                //
 
88
                        //
 
89
 
 
90
                        /** Init download **/
 
91
                        bool AddDownload(const std::string& server, const std::string& modality, bool seriesMode, const std::string& studyUID, const std::string& seriesUID, bool link);
92
92
 
93
93
                        private:
94
94
                                static DialogoAdquisicion* m_pInstance;
101
101
                                wxImageList*                   m_pImageList;
102
102
                                GADAPI::ComandoPACS*           m_pComandoPACS;
103
103
                                wxTreeItemId                   m_lastExpanded;
104
 
                                GNC::GCS::Ptr<IModeloDicom>           m_pModeloDicom;
105
 
 
106
 
                                DownloadElementContainerPanel* m_pDownloadPanel;
 
104
                                GNC::GCS::Ptr<IModeloDicom>    m_pModeloDicom;
107
105
 
108
106
                                bool        m_SizeRestriction;
109
107
                                bool        m_SizeOK;
110
 
                                bool                    m_reverseOrder;
 
108
                                bool        m_reverseOrder;
111
109
 
112
 
                                bool         m_AutoAddSeries;     // Indica que se auto-anyadiran a las descargas todas las series del proximo despliegue
113
 
                                wxTreeItemId m_AutoAddSeriesItem; // Elemento desplegado sobre el que se auto-anyadira
114
110
 
115
111
                                typedef enum TDialogMode
116
112
                                {
119
115
                                }TDialogMode;
120
116
                                TDialogMode m_Mode;
121
117
 
122
 
                                Descargas::DescargasGridTable* m_pDescargasGridTable;
123
118
                                GNC::GCS::ILockable m_TreeListResultadosLocker; // Necesario para evitar problemas con el treelistcontrol.
124
119
 
125
120
                                typedef std::list<wxCheckBox*>  TModalitiesVector;
126
121
                                TModalitiesVector m_modalitiesList;
 
122
                                DicomServerList::TServerList ListOfServers;
127
123
 
128
124
                };
129
125
        }