Mercurial > mercurial > hgweb_lesearcher.cgi
comparison include/user.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 : user.h | |
| 2 Last Change: 2019-11-08 金 14:19:40. | |
| 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 UserFrame : public wxFrame | |
| 13 { | |
| 14 private: | |
| 15 | |
| 16 protected: | |
| 17 enum | |
| 18 { | |
| 19 ID_USR_ADD = 1000, | |
| 20 ID_USR_DEL, | |
| 21 ID_USR_SAVE | |
| 22 }; | |
| 23 | |
| 24 wxDataViewListCtrl* m_dataViewListCtrlUser; | |
| 25 wxDataViewColumn* m_dataViewListColumnId; | |
| 26 wxDataViewColumn* m_dataViewListColumnGroup; | |
| 27 wxDataViewColumn* m_dataViewListColumnName; | |
| 28 wxButton* m_buttonAdd; | |
| 29 wxButton* m_buttonDel; | |
| 30 wxButton* m_buttonSave; | |
| 31 | |
| 32 // Virtual event handlers, overide them in your derived class | |
| 33 virtual void OnAdd( wxCommandEvent& event ) { event.Skip(); } | |
| 34 virtual void OnDelete( wxCommandEvent& event ) { event.Skip(); } | |
| 35 virtual void OnSave( wxCommandEvent& event ) { event.Skip(); } | |
| 36 | |
| 37 public: | |
| 38 UserFrame( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("ユーザ管理"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 422,300 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL ); | |
| 39 ~UserFrame(); | |
| 40 }; | |
| 41 | |
| 42 |
