Mercurial > mercurial > hgweb_lesearcher.cgi
comparison include/search.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 : search.h | |
2 Last Change: 2019-11-08 金 14:16:50. | |
3 by Takayuki Mutoh | |
4 */ | |
5 #pragma once | |
6 | |
7 #include <wx/artprov.h> | |
8 #include <wx/xrc/xmlres.h> | |
9 #include <wx/string.h> | |
10 #include <wx/bitmap.h> | |
11 #include <wx/image.h> | |
12 #include <wx/icon.h> | |
13 #include <wx/menu.h> | |
14 #include <wx/gdicmn.h> | |
15 #include <wx/font.h> | |
16 #include <wx/colour.h> | |
17 #include <wx/settings.h> | |
18 #include <wx/stattext.h> | |
19 #include <wx/srchctrl.h> | |
20 #include <wx/textctrl.h> | |
21 #include <wx/dataview.h> | |
22 #include <wx/statbmp.h> | |
23 #include <wx/gbsizer.h> | |
24 #include <wx/frame.h> | |
25 #include <wx/button.h> | |
26 #include <wx/sizer.h> | |
27 | |
28 class SearcherFrame : public wxFrame | |
29 { | |
30 private: | |
31 | |
32 protected: | |
33 enum | |
34 { | |
35 ID_MN_UPDB = 1000, | |
36 ID_MN_USER, | |
37 ID_MN_SETTING, | |
38 ID_MN_VERSION, | |
39 ID_MN_KANA, | |
40 ID_MN_HIST, | |
41 ID_MN_INDEX, | |
42 ID_MN_BPRINT, | |
43 ID_MN_MRGMV | |
44 }; | |
45 | |
46 wxMenuBar* m_menubar; | |
47 wxMenu* m_menuFile; | |
48 wxMenu* m_menuTool; | |
49 wxStaticText* m_staticTextCommand; | |
50 wxSearchCtrl* m_searchCtrl; | |
51 wxStaticText* m_staticTextMessage; | |
52 wxTextCtrl* m_textCtrlMessage; | |
53 wxStaticText* m_staticTextResult; | |
54 wxDataViewListCtrl* m_dataViewListCtrlResult; | |
55 wxDataViewColumn* m_dataViewListColumnNo; | |
56 wxDataViewColumn* m_dataViewListColumnDate; | |
57 wxDataViewColumn* m_dataViewListColumnDir; | |
58 wxStaticBitmap* m_bitmapLogo; | |
59 | |
60 // Virtual event handlers, overide them in your derived class | |
61 virtual void OnMenuVersion( wxCommandEvent& event ) { event.Skip(); } | |
62 virtual void OnText( wxCommandEvent& event ) { event.Skip(); } | |
63 virtual void OnSearch( wxCommandEvent& event ) { event.Skip(); } | |
64 virtual void OnDclickResult( wxDataViewEvent& event ) { event.Skip(); } | |
65 | |
66 public: | |
67 SearcherFrame( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Le Searcher"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 420,440 ), long style = wxCAPTION|wxCLOSE_BOX|wxMINIMIZE_BOX|wxTAB_TRAVERSAL ); | |
68 ~SearcherFrame(); | |
69 }; | |
70 | |
71 |