/*========================================================================= Program: wxMaracas Module: $RCSfile: wxMaracasDataBrowser.h,v $ Language: C++ Date: $Date: 2008/10/31 16:32:09 $ Version: $Revision: 1.1 $ Copyright: (c) 2002, 2003 License: This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the above copyright notice for more information. =========================================================================*/ #ifndef __WX__DATA__BROWSER__ #define __WX__DATA__BROWSER__ #include #include #include #include #include /** * \brief Panel class showing patient name etc... */ class wxMaracasDataBrowser : public wxPanel { public: wxMaracasDataBrowser( wxFrame* parent, marInterface* mar, wxWindowID id = -1 ); void LoadData( ); void CreateDicomFile( ); void LoadDicomData(int type, wxString msg); void OnChangeDir( wxCommandEvent& event ); void OnChangeDicomFile( wxCommandEvent& event ); void OnCreateDicomFile( wxCommandEvent& event ); void OnStudySelected( wxListEvent& event ); void OnSerieSelected( wxListEvent& event ); void OnActivated( wxListEvent& event ); private: bool _parseDir; wxSplitterWindow *_splitter; wxListCtrl *_studies; wxListCtrl *_series; marInterface *_mar; wxFrame *frame_parent; DECLARE_EVENT_TABLE( ); }; enum { ID_STUDIES_LIST = 0x2000, ID_SERIES_LIST = 0x2001, ID_BUTTON_CHANGEDIR = 0x2002, ID_BUTTON_CHANGEDICOMFILE = 0x2003, ID_BUTTON_CREATEDICOMFILE = 0x2004, }; #endif // __WX__DATA__BROWSER__