1 /*=========================================================================
4 Module: $RCSfile: wxMaracasDataBrowser.h,v $
6 Date: $Date: 2008/10/31 16:32:09 $
7 Version: $Revision: 1.1 $
9 Copyright: (c) 2002, 2003
12 This software is distributed WITHOUT ANY WARRANTY; without even
13 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 PURPOSE. See the above copyright notice for more information.
16 =========================================================================*/
18 #ifndef __WX__DATA__BROWSER__
19 #define __WX__DATA__BROWSER__
23 #include <wx/listctrl.h>
24 #include <wx/splitter.h>
26 #include <kernel/marInterface.h>
29 * \brief Panel class showing patient name etc...
31 class wxMaracasDataBrowser : public wxPanel
34 wxMaracasDataBrowser( wxFrame* parent, marInterface* mar, wxWindowID id = -1 );
37 void CreateDicomFile( );
39 void LoadDicomData(int type, wxString msg);
40 void OnChangeDir( wxCommandEvent& event );
41 void OnChangeDicomFile( wxCommandEvent& event );
42 void OnCreateDicomFile( wxCommandEvent& event );
43 void OnStudySelected( wxListEvent& event );
44 void OnSerieSelected( wxListEvent& event );
45 void OnActivated( wxListEvent& event );
51 wxSplitterWindow *_splitter;
55 wxFrame *frame_parent;
57 DECLARE_EVENT_TABLE( );
63 ID_STUDIES_LIST = 0x2000,
64 ID_SERIES_LIST = 0x2001,
65 ID_BUTTON_CHANGEDIR = 0x2002,
66 ID_BUTTON_CHANGEDICOMFILE = 0x2003,
67 ID_BUTTON_CREATEDICOMFILE = 0x2004,
70 #endif // __WX__DATA__BROWSER__