File: TEliteLaChromLogDialog.h

package info (click to toggle)
gentle 1.9+cvs20100605+dfsg1-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 12,224 kB
  • ctags: 6,214
  • sloc: cpp: 41,569; ansic: 3,978; sh: 1,420; makefile: 243
file content (53 lines) | stat: -rw-r--r-- 1,587 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#ifndef __TEliteLaChromLogDialog__H__
#define __TEliteLaChromLogDialog__H__

#include "main.h"

#define ELL_DATE 0
#define ELL_TIME 1
#define ELL_SAMPLE 2
#define ELL_FILE 3
#define ELL_METHOD 4
#define ELL_USER 5
#define ELL_VIAL 6
#define ELL_VOLUME 7
#define ELL_AUTOSAMPLER 8
#define ELL_PROGRAM 9
#define ELL_FORMA 10
#define ELL_DATE_TIME 11
#define ELL_DATA1 9
#define ELL_DATA2 10
#define ELL_DATA3 11

using namespace std ;

class TEliteLaChromLogDialog : public wxDialog
{
    public :
    TEliteLaChromLogDialog ( wxWindow *parent, const wxString& title , wxString basefile ) ;
    
    virtual void OnCharHook(wxKeyEvent& event) ; ///< Key event handler
    virtual void OnDatesList(wxCommandEvent &event);
    virtual void OnUserList(wxCommandEvent &event);
    virtual void OnExcel(wxCommandEvent &event);
    
    private :
    void ReadFile ( wxString filename , wxArrayString &data ) ;
    void Uniquify ( wxArrayString &data , vector <wxArrayString> &tabs ) ;
    void FilterLines () ;
    void UpdateLines () ;
    void SortTabs ( vector <wxArrayString> &tabs ) ;
    void MergeWith ( vector <wxArrayString> &tabs , int col ) ;
    
    wxString filename_apex , filename_area , filename_estdconc ;
    wxArrayString data_apex , data_area , data_estdconc ;
    wxArrayString unique[12] , col_headers ;
    vector <wxArrayString> tabs_apex , tabs_area , tabs_estdconc , tabs_merged , tabs_display ;
    
    wxListBox *unique_dates , *unique_users ;
    wxListCtrl *lines ;
    
    DECLARE_EVENT_TABLE()
} ;

#endif