changeset 17:17e78fc76e1f

Start editing Ccn-Frame.
author pyon@macmini
date Wed, 13 Jul 2011 21:09:10 +0900
parents b67c74848dd0
children 2221c7aa5958
files .hgignore include/ccnframe.h src/ccnframe.cpp
diffstat 3 files changed, 91 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/.hgignore	Sat Jul 09 08:30:00 2011 +0900
+++ b/.hgignore	Wed Jul 13 21:09:10 2011 +0900
@@ -1,6 +1,7 @@
 syntax: glob
 obj/*.o
 img/*
+tmp/*
 db/*
 *.app/*
 .DS_Store
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/include/ccnframe.h	Wed Jul 13 21:09:10 2011 +0900
@@ -0,0 +1,1 @@
+///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Sep 12 2010)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////

#ifndef __noname__
#define __noname__

#include <wx/string.h>
#include <wx/stattext.h>
#include <wx/gdicmn.h>
#include <wx/font.h>
#include <wx/colour.h>
#include <wx/settings.h>
#include <wx/listctrl.h>
#include <wx/sizer.h>
#include <wx/button.h>
#include <wx/datectrl.h>
#include <wx/dateevt.h>
#include <wx/gbsizer.h>
#include <wx/frame.h>

///////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////////
/// Class FrameCcn
///////////////////////////////////////////////////////////////////////////////
class FrameCcn : public wxFrame 
{
	private:
	
	protected:
		enum
		{
			ID_FRAMECCN = 1000,
			ID_M_STATICTEXT1,
			ID_M_STATICTEXT2,
			ID_M_STATICTEXT3,
			ID_YMD,
			ID_CCN,
			ID_M_STATICTEXT5,
			ID_HHS,
			ID_PRVTHU,
			ID_NXTTHU,
			ID_DTPICKER,
			ID_MKIDX,
			ID_CLOSE,
		};
		
		wxStaticText* m_staticText1;
		
		wxStaticText* m_staticText2;
		
		wxStaticText* m_staticText3;
		wxListCtrl* m_listCtrlYmd;
		wxStaticText* m_staticText4;
		wxListCtrl* m_listCtrlCcn;
		wxStaticText* m_staticText5;
		wxListCtrl* m_listCtrlHhs;
		wxButton* m_btnPrevThu;
		wxButton* m_btnNextThu;
		wxDatePickerCtrl* m_datePicker;
		wxButton* m_btnMkIdX;
		wxButton* m_btnClose;
	
	public:
		
		FrameCcn( wxWindow* parent, wxWindowID id = ID_FRAMECCN, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 762,300 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL );
		~FrameCcn();
	
};

#endif //__noname__
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/ccnframe.cpp	Wed Jul 13 21:09:10 2011 +0900
@@ -0,0 +1,89 @@
+///////////////////////////////////////////////////////////////////////////
+// C++ code generated with wxFormBuilder (version Sep 12 2010)
+// http://www.wxformbuilder.org/
+//
+// PLEASE DO "NOT" EDIT THIS FILE!
+///////////////////////////////////////////////////////////////////////////
+
+#include "noname.h"
+
+///////////////////////////////////////////////////////////////////////////
+
+FrameCcn::FrameCcn( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style )
+{
+	this->SetSizeHints( wxDefaultSize, wxDefaultSize );
+	
+	wxBoxSizer* bSizer;
+	bSizer = new wxBoxSizer( wxHORIZONTAL );
+	
+	wxGridSizer* gSizer;
+	gSizer = new wxGridSizer( 2, 5, 0, 0 );
+	
+	m_staticText1 = new wxStaticText( this, ID_M_STATICTEXT1, wxT("開催年月日"), wxDefaultPosition, wxDefaultSize, 0 );
+	m_staticText1->Wrap( -1 );
+	gSizer->Add( m_staticText1, 0, wxALL, 5 );
+	
+	
+	gSizer->Add( 0, 0, 1, wxEXPAND, 5 );
+	
+	m_staticText2 = new wxStaticText( this, ID_M_STATICTEXT2, wxT("合議体"), wxDefaultPosition, wxDefaultSize, 0 );
+	m_staticText2->Wrap( -1 );
+	gSizer->Add( m_staticText2, 0, wxALL, 5 );
+	
+	
+	gSizer->Add( 0, 0, 1, wxEXPAND, 5 );
+	
+	m_staticText3 = new wxStaticText( this, ID_M_STATICTEXT3, wxT("被保険者"), wxDefaultPosition, wxDefaultSize, 0 );
+	m_staticText3->Wrap( -1 );
+	gSizer->Add( m_staticText3, 0, wxALL, 5 );
+	
+	m_listCtrlYmd = new wxListCtrl( this, ID_YMD, wxDefaultPosition, wxDefaultSize, wxLC_LIST );
+	gSizer->Add( m_listCtrlYmd, 0, wxALL|wxEXPAND, 5 );
+	
+	m_staticText4 = new wxStaticText( this, wxID_ANY, wxT("→"), wxDefaultPosition, wxDefaultSize, 0 );
+	m_staticText4->Wrap( -1 );
+	gSizer->Add( m_staticText4, 0, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 );
+	
+	m_listCtrlCcn = new wxListCtrl( this, ID_CCN, wxDefaultPosition, wxDefaultSize, wxLC_LIST );
+	gSizer->Add( m_listCtrlCcn, 0, wxALL|wxEXPAND, 5 );
+	
+	m_staticText5 = new wxStaticText( this, ID_M_STATICTEXT5, wxT("→"), wxDefaultPosition, wxDefaultSize, 0 );
+	m_staticText5->Wrap( -1 );
+	gSizer->Add( m_staticText5, 0, wxALL, 5 );
+	
+	m_listCtrlHhs = new wxListCtrl( this, ID_HHS, wxDefaultPosition, wxDefaultSize, wxLC_LIST );
+	gSizer->Add( m_listCtrlHhs, 0, wxALL|wxEXPAND, 5 );
+	
+	bSizer->Add( gSizer, 1, wxEXPAND, 5 );
+	
+	wxGridBagSizer* gbSizer;
+	gbSizer = new wxGridBagSizer( 0, 0 );
+	gbSizer->SetFlexibleDirection( wxBOTH );
+	gbSizer->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
+	
+	m_btnPrevThu = new wxButton( this, ID_PRVTHU, wxT("前木"), wxDefaultPosition, wxDefaultSize, 0 );
+	gbSizer->Add( m_btnPrevThu, wxGBPosition( 0, 0 ), wxGBSpan( 1, 1 ), wxALL, 5 );
+	
+	m_btnNextThu = new wxButton( this, ID_NXTTHU, wxT("次木"), wxDefaultPosition, wxDefaultSize, 0 );
+	gbSizer->Add( m_btnNextThu, wxGBPosition( 0, 1 ), wxGBSpan( 1, 1 ), wxALL, 5 );
+	
+	m_datePicker = new wxDatePickerCtrl( this, ID_DTPICKER, wxDefaultDateTime, wxDefaultPosition, wxDefaultSize, wxDP_DEFAULT|wxDP_SHOWCENTURY );
+	gbSizer->Add( m_datePicker, wxGBPosition( 0, 2 ), wxGBSpan( 1, 1 ), wxALL, 5 );
+	
+	m_btnMkIdX = new wxButton( this, ID_MKIDX, wxT("作成"), wxDefaultPosition, wxDefaultSize, 0 );
+	gbSizer->Add( m_btnMkIdX, wxGBPosition( 0, 3 ), wxGBSpan( 1, 1 ), wxALL, 5 );
+	
+	m_btnClose = new wxButton( this, ID_CLOSE, wxT("閉じる"), wxDefaultPosition, wxDefaultSize, 0 );
+	gbSizer->Add( m_btnClose, wxGBPosition( 0, 4 ), wxGBSpan( 1, 1 ), wxALL, 5 );
+	
+	bSizer->Add( gbSizer, 1, wxEXPAND, 5 );
+	
+	this->SetSizer( bSizer );
+	this->Layout();
+	
+	this->Centre( wxBOTH );
+}
+
+FrameCcn::~FrameCcn()
+{
+}