2015-03-27 10:26:07 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2022-12-13 20:47:28 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b)
|
2015-03-27 10:26:07 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2020-08-17 22:34:02 +00:00
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
2015-03-27 10:26:07 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2020-08-17 22:34:02 +00:00
|
|
|
#pragma once
|
2015-03-27 10:26:07 +00:00
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
|
|
|
#include <wx/intl.h>
|
2022-03-26 11:05:10 +00:00
|
|
|
class BITMAP_BUTTON;
|
2022-12-13 20:47:28 +00:00
|
|
|
class STD_BITMAP_BUTTON;
|
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/string.h>
|
2022-03-25 14:56:51 +00:00
|
|
|
#include <wx/stattext.h>
|
|
|
|
#include <wx/gdicmn.h>
|
2018-02-08 12:16:07 +00:00
|
|
|
#include <wx/font.h>
|
2022-03-25 14:56:51 +00:00
|
|
|
#include <wx/colour.h>
|
|
|
|
#include <wx/settings.h>
|
|
|
|
#include <wx/sizer.h>
|
2018-02-08 12:16:07 +00:00
|
|
|
#include <wx/grid.h>
|
2020-08-17 22:34:02 +00:00
|
|
|
#include <wx/bmpbuttn.h>
|
2018-02-08 12:16:07 +00:00
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
2015-03-27 10:26:07 +00:00
|
|
|
#include <wx/button.h>
|
2018-02-08 12:16:07 +00:00
|
|
|
#include <wx/checkbox.h>
|
2022-03-26 11:05:10 +00:00
|
|
|
#include <wx/choice.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:
|
2020-08-17 22:34:02 +00:00
|
|
|
|
2015-03-27 10:26:07 +00:00
|
|
|
protected:
|
2022-03-25 14:56:51 +00:00
|
|
|
wxStaticText* m_staticTextPinNumbers;
|
|
|
|
wxStaticText* m_pin_numbers_summary;
|
|
|
|
wxStaticText* m_staticTextPinCount;
|
|
|
|
wxStaticText* m_pin_count;
|
2022-03-26 11:05:10 +00:00
|
|
|
wxStaticText* m_staticTextDuplicatePins;
|
|
|
|
wxStaticText* m_duplicate_pins;
|
2018-05-30 10:52:19 +00:00
|
|
|
WX_GRID* m_grid;
|
2022-12-13 20:47:28 +00:00
|
|
|
STD_BITMAP_BUTTON* m_addButton;
|
|
|
|
STD_BITMAP_BUTTON* m_deleteButton;
|
2022-03-26 11:05:10 +00:00
|
|
|
BITMAP_BUTTON* m_divider1;
|
2018-02-08 12:16:07 +00:00
|
|
|
wxCheckBox* m_cbGroup;
|
2022-03-26 19:54:57 +00:00
|
|
|
wxButton* m_groupSelected;
|
2022-12-13 20:47:28 +00:00
|
|
|
STD_BITMAP_BUTTON* m_refreshButton;
|
2022-03-26 11:05:10 +00:00
|
|
|
BITMAP_BUTTON* m_divider2;
|
|
|
|
wxCheckBox* m_cbFilterByUnit;
|
|
|
|
wxChoice* m_unitFilter;
|
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;
|
2020-08-17 22:34:02 +00:00
|
|
|
|
2022-12-13 20:47:28 +00:00
|
|
|
// Virtual event handlers, override them in your derived class
|
2018-11-16 15:10:53 +00:00
|
|
|
virtual void OnClose( wxCloseEvent& event ) = 0;
|
2018-02-08 12:16:07 +00:00
|
|
|
virtual void OnUpdateUI( wxUpdateUIEvent& event ) = 0;
|
|
|
|
virtual void OnCellEdited( wxGridEvent& event ) = 0;
|
2023-06-07 11:46:10 +00:00
|
|
|
virtual void OnCellSelected( wxGridEvent& event ) = 0;
|
2018-02-08 12:16:07 +00:00
|
|
|
virtual void OnSize( wxSizeEvent& event ) = 0;
|
|
|
|
virtual void OnAddRow( wxCommandEvent& event ) = 0;
|
|
|
|
virtual void OnDeleteRow( wxCommandEvent& event ) = 0;
|
|
|
|
virtual void OnRebuildRows( wxCommandEvent& event ) = 0;
|
2022-03-26 19:54:57 +00:00
|
|
|
virtual void OnGroupSelected( wxCommandEvent& event ) = 0;
|
2022-03-26 11:05:10 +00:00
|
|
|
virtual void OnFilterCheckBox( wxCommandEvent& event ) = 0;
|
|
|
|
virtual void OnFilterChoice( wxCommandEvent& event ) = 0;
|
2018-11-16 15:10:53 +00:00
|
|
|
virtual void OnCancel( wxCommandEvent& event ) = 0;
|
2020-08-17 22:34:02 +00:00
|
|
|
|
|
|
|
|
2015-03-27 10:26:07 +00:00
|
|
|
public:
|
2020-08-17 22:34:02 +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 );
|
2022-12-13 20:47:28 +00:00
|
|
|
|
2015-03-27 10:26:07 +00:00
|
|
|
~DIALOG_LIB_EDIT_PIN_TABLE_BASE();
|
2020-08-17 22:34:02 +00:00
|
|
|
|
2015-03-27 10:26:07 +00:00
|
|
|
};
|
|
|
|
|