Mercurial > mercurial > hgweb_lesearcher.cgi
comparison include/bprint.h @ 0:615a15029602 default tip
first commit.
author | pyon@macmini |
---|---|
date | Sun, 10 Nov 2019 08:39:41 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:615a15029602 |
---|---|
1 /* Filename : bprint.h | |
2 Last Change: 2019-11-08 金 14:19:58. | |
3 by Takayuki Mutoh | |
4 */ | |
5 #pragma once | |
6 | |
7 #include <wx/frame.h> | |
8 #include <wx/dataview.h> | |
9 #include <wx/gbsizer.h> | |
10 #include <wx/button.h> | |
11 | |
12 class BPrintFrame : public wxFrame | |
13 { | |
14 private: | |
15 | |
16 protected: | |
17 enum | |
18 { | |
19 ID_BP_ADD = 1000, | |
20 ID_BP_DEL, | |
21 ID_BP_PRINT | |
22 }; | |
23 | |
24 wxDataViewListCtrl* m_dataViewListCtrl; | |
25 wxDataViewColumn* m_dataViewListColumnNo; | |
26 wxDataViewColumn* m_dataViewListColumnHhs; | |
27 wxDataViewColumn* m_dataViewListColumnName; | |
28 wxDataViewColumn* m_dataViewListColumnDir; | |
29 wxDataViewColumn* m_dataViewListColumnSet; | |
30 wxDataViewColumn* m_dataViewListColumnMask; | |
31 wxDataViewColumn* m_dataViewListColumnStat; | |
32 wxButton* m_buttonAdd; | |
33 wxButton* m_buttonDel; | |
34 wxButton* m_buttonPrint; | |
35 | |
36 // Virtual event handlers, overide them in your derived class | |
37 virtual void OnAdd( wxCommandEvent& event ) { event.Skip(); } | |
38 virtual void OnDelete( wxCommandEvent& event ) { event.Skip(); } | |
39 virtual void OnPrint( wxCommandEvent& event ) { event.Skip(); } | |
40 | |
41 public: | |
42 BPrintFrame( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("バッチ印刷"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,300 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL ); | |
43 ~BPrintFrame(); | |
44 }; | |
45 |