16
|
1 // Filename : batchprint.h
|
|
2 // Last Change: 2019-07-09 ‰Î 08:18:52.
|
|
3 //
|
|
4
|
|
5 #pragma once
|
|
6
|
|
7 #include <wx/artprov.h>
|
|
8 #include <wx/xrc/xmlres.h>
|
|
9 #include <wx/gdicmn.h>
|
|
10 #include <wx/font.h>
|
|
11 #include <wx/colour.h>
|
|
12 #include <wx/settings.h>
|
|
13 #include <wx/string.h>
|
|
14 #include <wx/dataview.h>
|
|
15 #include <wx/listbox.h>
|
|
16 #include <wx/button.h>
|
|
17 #include <wx/sizer.h>
|
|
18 #include <wx/gbsizer.h>
|
|
19 #include <wx/frame.h>
|
|
20 #include <wx/stattext.h>
|
|
21 #include <wx/datectrl.h>
|
|
22 #include <wx/dateevt.h>
|
|
23 #include <wx/filepicker.h>
|
|
24
|
|
25 class BatchPrintFrame : public wxFrame
|
|
26 {
|
|
27 DECLARE_EVENT_TABLE()
|
|
28 private:
|
|
29
|
|
30 protected:
|
|
31 wxStaticText* m_staticText;
|
|
32 wxFilePickerCtrl* m_filePicker;
|
|
33 wxButton* m_buttonLoad;
|
|
34
|
|
35 wxDataViewListCtrl* m_dataViewListCtrl;
|
|
36 wxDataViewColumn* m_dataViewListColumnCheck;
|
|
37 wxDataViewColumn* m_dataViewListColumnNo;
|
|
38 wxDataViewColumn* m_dataViewListColumnHno;
|
|
39 wxDataViewColumn* m_dataViewListColumnName;
|
|
40 wxDataViewColumn* m_dataViewListColumnKana;
|
|
41 wxDataViewColumn* m_dataViewListColumnStatus;
|
|
42
|
|
43 wxButton* m_buttonMaskPrint;
|
|
44 wxButton* m_buttonPrint;
|
|
45 wxButton* m_buttonUnCheckAll;
|
|
46 wxButton* m_buttonCheckAll;
|
|
47 wxButton* m_buttonClear;
|
|
48 wxButton* m_buttonDel;
|
|
49 wxButton* m_buttonClose;
|
|
50
|
|
51 public:
|
|
52 BatchPrintFrame( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,300 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL );
|
|
53 ~BatchPrintFrame();
|
|
54
|
|
55 void OnCheckAll();
|
|
56 void OnUnCheckAll();
|
|
57 void OnClear();
|
|
58 };
|
|
59
|