2015-03-27 10:26:07 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2018-02-08 12:16:07 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version Dec 30 2017)
|
2015-03-27 10:26:07 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2017-12-26 14:38:45 +00:00
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
2015-03-27 10:26:07 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef __DIALOG_LIB_EDIT_PIN_TABLE_BASE_H__
|
|
|
|
#define __DIALOG_LIB_EDIT_PIN_TABLE_BASE_H__
|
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
|
|
|
#include <wx/intl.h>
|
2018-05-30 10:52:19 +00:00
|
|
|
class WX_GRID;
|
|
|
|
|
2015-03-27 10:26:07 +00:00
|
|
|
#include "dialog_shim.h"
|
|
|
|
#include <wx/colour.h>
|
|
|
|
#include <wx/settings.h>
|
|
|
|
#include <wx/string.h>
|
2018-02-08 12:16:07 +00:00
|
|
|
#include <wx/font.h>
|
|
|
|
#include <wx/grid.h>
|
|
|
|
#include <wx/gdicmn.h>
|
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
|
|
|
#include <wx/bmpbuttn.h>
|
2015-03-27 10:26:07 +00:00
|
|
|
#include <wx/button.h>
|
2018-02-08 12:16:07 +00:00
|
|
|
#include <wx/statline.h>
|
|
|
|
#include <wx/checkbox.h>
|
|
|
|
#include <wx/stattext.h>
|
|
|
|
#include <wx/sizer.h>
|
2015-03-27 10:26:07 +00:00
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class DIALOG_LIB_EDIT_PIN_TABLE_BASE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
class DIALOG_LIB_EDIT_PIN_TABLE_BASE : public DIALOG_SHIM
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
|
|
|
|
protected:
|
2018-05-30 10:52:19 +00:00
|
|
|
WX_GRID* m_grid;
|
2018-02-08 12:16:07 +00:00
|
|
|
wxBitmapButton* m_addButton;
|
|
|
|
wxBitmapButton* m_deleteButton;
|
|
|
|
wxStaticLine* m_staticline1;
|
|
|
|
wxCheckBox* m_cbGroup;
|
|
|
|
wxBitmapButton* m_refreshButton;
|
|
|
|
wxStaticLine* m_staticline2;
|
|
|
|
wxStaticText* m_staticText1;
|
|
|
|
wxStaticText* m_summary;
|
2015-03-27 10:26:07 +00:00
|
|
|
wxStdDialogButtonSizer* m_Buttons;
|
|
|
|
wxButton* m_ButtonsOK;
|
2018-02-08 12:16:07 +00:00
|
|
|
wxButton* m_ButtonsCancel;
|
2015-03-27 10:26:07 +00:00
|
|
|
|
|
|
|
// Virtual event handlers, overide them in your derived class
|
2018-02-08 12:16:07 +00:00
|
|
|
virtual void OnUpdateUI( wxUpdateUIEvent& event ) = 0;
|
|
|
|
virtual void OnCellEdited( wxGridEvent& event ) = 0;
|
|
|
|
virtual void OnSize( wxSizeEvent& event ) = 0;
|
|
|
|
virtual void OnAddRow( wxCommandEvent& event ) = 0;
|
|
|
|
virtual void OnDeleteRow( wxCommandEvent& event ) = 0;
|
|
|
|
virtual void OnRebuildRows( wxCommandEvent& event ) = 0;
|
2015-03-27 10:26:07 +00:00
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
2017-12-26 14:38:45 +00:00
|
|
|
DIALOG_LIB_EDIT_PIN_TABLE_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Pin Table"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
2015-03-27 10:26:07 +00:00
|
|
|
~DIALOG_LIB_EDIT_PIN_TABLE_BASE();
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif //__DIALOG_LIB_EDIT_PIN_TABLE_BASE_H__
|