Mercurial > mercurial > hgweb_golang.cgi
comparison src/kaigo/horori/searcher/include/searcher.h @ 56:7396e7407abd
searcher version up.
| author | pyon@macmini |
|---|---|
| date | Sat, 27 Jun 2020 16:25:13 +0900 |
| parents | 638e1ad05cae |
| children | 0369656be06c |
comparison
equal
deleted
inserted
replaced
| 55:4877160411cc | 56:7396e7407abd |
|---|---|
| 1 // Filename : searcher.h | 1 // Filename : searcher.h |
| 2 // Last Change: 2020-04-24 金 09:50:28. | 2 // Last Change: 2020-06-26 金 10:07:26. |
| 3 // | 3 // |
| 4 #pragma once | 4 #pragma once |
| 5 | 5 |
| 6 #include <wx/artprov.h> | 6 #include <wx/artprov.h> |
| 7 #include <wx/xrc/xmlres.h> | 7 #include <wx/xrc/xmlres.h> |
| 76 wxString m_workdir; | 76 wxString m_workdir; |
| 77 wxString m_hhscsv; | 77 wxString m_hhscsv; |
| 78 wxString m_addr, m_port; | 78 wxString m_addr, m_port; |
| 79 wxRect m_mask1, m_mask2, m_mask3; | 79 wxRect m_mask1, m_mask2, m_mask3; |
| 80 int m_searchmode; | 80 int m_searchmode; |
| 81 wxArrayString m_hist; | 81 wxList m_hist; |
| 82 wxString m_user, m_usergroup; | 82 wxString m_user, m_usergroup; |
| 83 | 83 |
| 84 MyStaticBitmap* m_staticBitmap1; | 84 MyStaticBitmap* m_staticBitmap1; |
| 85 MyStaticBitmap* m_staticBitmap2; | 85 MyStaticBitmap* m_staticBitmap2; |
| 86 MyStaticBitmap* m_staticBitmap3; | 86 MyStaticBitmap* m_staticBitmap3; |
| 140 wxDataViewListCtrl* m_dataViewListCtrlDrv; | 140 wxDataViewListCtrl* m_dataViewListCtrlDrv; |
| 141 wxDataViewColumn* m_dataViewListColumnDrvNo; | 141 wxDataViewColumn* m_dataViewListColumnDrvNo; |
| 142 wxDataViewColumn* m_dataViewListColumnDrvHno; | 142 wxDataViewColumn* m_dataViewListColumnDrvHno; |
| 143 wxDataViewColumn* m_dataViewListColumnDrvName; | 143 wxDataViewColumn* m_dataViewListColumnDrvName; |
| 144 | 144 |
| 145 wxStaticLine* m_staticline; | 145 wxStaticLine* m_staticline1; |
| 146 | 146 |
| 147 wxStaticText* m_staticTextDBmainte; | 147 wxStaticText* m_staticTextDBmainte; |
| 148 wxStaticText* m_staticTextHhsDB; | 148 wxStaticText* m_staticTextHhsDB; |
| 149 wxFilePickerCtrl* m_filePickerHhsDB; | 149 wxFilePickerCtrl* m_filePickerHhsDB; |
| 150 wxButton* m_buttonRegHhs; | 150 wxButton* m_buttonRegHhs; |
| 152 | 152 |
| 153 wxStaticText* m_staticTextRegImg; | 153 wxStaticText* m_staticTextRegImg; |
| 154 wxDatePickerCtrl* m_datePicker; | 154 wxDatePickerCtrl* m_datePicker; |
| 155 wxButton* m_buttonRegImg; | 155 wxButton* m_buttonRegImg; |
| 156 wxTextCtrl* m_textCtrlLastIndex; | 156 wxTextCtrl* m_textCtrlLastIndex; |
| 157 | |
| 158 wxStaticText* m_staticTextCSV; | |
| 159 wxFilePickerCtrl* m_filePickerCSV; | |
| 160 wxButton* m_buttonCSV; | |
| 161 | |
| 162 wxStaticLine* m_staticline2; | |
| 163 | |
| 164 wxStaticText* m_staticTextVersion; | |
| 165 wxTextCtrl* m_textCtrlVersion; | |
| 157 | 166 |
| 158 // Setup | 167 // Setup |
| 159 wxPanel* m_panelSetup; | 168 wxPanel* m_panelSetup; |
| 160 wxDataViewListCtrl* m_dataViewListCtrlPw; | 169 wxDataViewListCtrl* m_dataViewListCtrlPw; |
| 161 wxDataViewColumn* m_dataViewListColumnUId; | 170 wxDataViewColumn* m_dataViewListColumnUId; |
| 165 wxTextCtrl* m_textCtrlUPassword; | 174 wxTextCtrl* m_textCtrlUPassword; |
| 166 wxButton* m_buttonPw; | 175 wxButton* m_buttonPw; |
| 167 | 176 |
| 168 // Right-Pane | 177 // Right-Pane |
| 169 wxSearchCtrl* m_searchCtrl; | 178 wxSearchCtrl* m_searchCtrl; |
| 170 wxButton* m_buttonHist; | 179 wxButton* m_buttonPaste; |
| 171 wxTextCtrl* m_textCtrlName; | 180 wxTextCtrl* m_textCtrlName; |
| 172 wxTextCtrl* m_textCtrlAddr; | 181 wxTextCtrl* m_textCtrlAddr; |
| 173 wxDataViewListCtrl* m_dataViewListCtrlAny; | 182 wxDataViewListCtrl* m_dataViewListCtrlAny; |
| 174 wxDataViewColumn* m_dataViewListColumnAnyNo; | 183 wxDataViewColumn* m_dataViewListColumnAnyNo; |
| 175 wxDataViewColumn* m_dataViewListColumnAny1; // ymd, hno, kana | 184 wxDataViewColumn* m_dataViewListColumnAny1; // ymd, hno, kana |
| 203 virtual void OnDrvCcnDClicked(wxDataViewEvent& event); | 212 virtual void OnDrvCcnDClicked(wxDataViewEvent& event); |
| 204 virtual void OnDrvDClicked(wxDataViewEvent& event); | 213 virtual void OnDrvDClicked(wxDataViewEvent& event); |
| 205 | 214 |
| 206 virtual void OnUploadHhsDB(wxCommandEvent& event); | 215 virtual void OnUploadHhsDB(wxCommandEvent& event); |
| 207 virtual void OnUploadImage(wxCommandEvent& event); | 216 virtual void OnUploadImage(wxCommandEvent& event); |
| 217 virtual void OnDB2CSV(wxCommandEvent& event); | |
| 208 | 218 |
| 209 virtual void OnUPassword(wxCommandEvent& event); | 219 virtual void OnUPassword(wxCommandEvent& event); |
| 210 virtual void OnSavePw(wxCommandEvent& event); | 220 virtual void OnSavePw(wxCommandEvent& event); |
| 211 | 221 |
| 212 virtual void OnChar(wxKeyEvent& event); | 222 virtual void OnChar(wxKeyEvent& event); |
| 213 virtual void OnHist(wxCommandEvent& event); | 223 virtual void OnPaste(wxCommandEvent& event); |
| 214 virtual void OnSelectAnyListItem(wxDataViewEvent& event); | 224 virtual void OnSelectAnyListItem(wxDataViewEvent& event); |
| 215 virtual void OnPrint(wxCommandEvent& event); | 225 virtual void OnPrint(wxCommandEvent& event); |
| 216 virtual void OnPassword(wxCommandEvent& event); | 226 virtual void OnPassword(wxCommandEvent& event); |
| 217 | 227 |
| 218 virtual void OnClose(wxCloseEvent& event); | 228 virtual void OnClose(wxCloseEvent& event); |
| 219 | 229 |
| 220 void CreateControls(); | 230 void CreateControls(); |
| 221 void InitializeControlsValue(); | 231 void InitializeControlsValue(); |
| 232 void SearchByHno(wxString hno); | |
| 222 void SetHhsInfo(wxString h); | 233 void SetHhsInfo(wxString h); |
| 223 void SetListAny(wxString s); | 234 void SetListAnyHeader(int mode); |
| 224 void SetImages(); | 235 void SetImages(); |
| 225 void LoadBookImage(MyStaticBitmap& mysb, wxString file); | 236 void LoadBookImage(MyStaticBitmap& mysb, wxString file); |
| 226 void LoadBookImages(); | 237 void LoadBookImages(); |
| 227 void ReadCSV(); | 238 void ReadCSV(); |
| 228 void LoadPasswd(bool show); | 239 void LoadPasswd(bool show); |
| 229 void SavePasswd(); | 240 void SavePasswd(); |
| 230 void RemoveTemp(); | 241 void RemoveTemp(); |
| 231 void MaskImage1(); | 242 void MaskImage1(); |
| 243 void SetVersionInfo(); | |
| 232 | 244 |
| 233 public: | 245 public: |
| 234 SearchFrame(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 800,697 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL); | 246 SearchFrame(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 800,697 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL); |
| 235 ~SearchFrame(); | 247 ~SearchFrame(); |
| 236 }; | 248 }; |
