2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2014-12-20 17:26:37 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version Jun 5 2014)
|
2013-05-26 04:36:44 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
|
|
|
// PLEASE DO "NOT" EDIT THIS FILE!
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef __DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_FBP_H__
|
|
|
|
#define __DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_FBP_H__
|
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
|
|
|
#include <wx/intl.h>
|
2013-06-05 19:23:55 +00:00
|
|
|
class DIALOG_SHIM;
|
|
|
|
|
|
|
|
#include "dialog_shim.h"
|
2013-05-26 04:36:44 +00:00
|
|
|
#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/choice.h>
|
|
|
|
#include <wx/sizer.h>
|
2013-12-14 19:03:38 +00:00
|
|
|
#include <wx/radiobox.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/checkbox.h>
|
2014-09-17 16:04:04 +00:00
|
|
|
#include <wx/textctrl.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/button.h>
|
|
|
|
#include <wx/statbox.h>
|
2014-09-17 16:04:04 +00:00
|
|
|
#include <wx/statline.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/listctrl.h>
|
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_FBP
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2013-06-05 19:23:55 +00:00
|
|
|
class DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_FBP : public DIALOG_SHIM
|
2013-05-26 04:36:44 +00:00
|
|
|
{
|
|
|
|
private:
|
|
|
|
|
|
|
|
protected:
|
|
|
|
wxStaticText* m_staticTextUnit;
|
|
|
|
wxChoice* unitChoice;
|
2013-12-14 19:03:38 +00:00
|
|
|
wxStaticText* unitsInterchageableText;
|
|
|
|
wxStaticText* unitsInterchageableLabel;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxRadioBox* orientationRadioBox;
|
|
|
|
wxRadioBox* mirrorRadioBox;
|
|
|
|
wxCheckBox* convertCheckBox;
|
2014-09-17 16:04:04 +00:00
|
|
|
wxTextCtrl* chipnameTextCtrl;
|
|
|
|
wxButton* m_buttonTestChipName;
|
|
|
|
wxButton* m_buttonSelectChipName;
|
2013-12-14 19:03:38 +00:00
|
|
|
wxStaticText* m_staticTextTimeStamp;
|
|
|
|
wxTextCtrl* m_textCtrlTimeStamp;
|
2014-09-17 16:04:04 +00:00
|
|
|
wxStaticLine* m_staticline1;
|
|
|
|
wxButton* defaultsButton;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxListCtrl* fieldListCtrl;
|
|
|
|
wxButton* addFieldButton;
|
|
|
|
wxButton* deleteFieldButton;
|
|
|
|
wxButton* moveUpButton;
|
|
|
|
wxRadioBox* m_FieldHJustifyCtrl;
|
|
|
|
wxRadioBox* m_FieldVJustifyCtrl;
|
|
|
|
wxCheckBox* showCheckBox;
|
|
|
|
wxCheckBox* rotateCheckBox;
|
|
|
|
wxRadioBox* m_StyleRadioBox;
|
|
|
|
wxStaticText* fieldNameLabel;
|
|
|
|
wxTextCtrl* fieldNameTextCtrl;
|
|
|
|
wxStaticText* fieldValueLabel;
|
|
|
|
wxTextCtrl* fieldValueTextCtrl;
|
2013-08-08 16:12:41 +00:00
|
|
|
wxButton* m_show_datasheet_button;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* textSizeLabel;
|
|
|
|
wxTextCtrl* textSizeTextCtrl;
|
|
|
|
wxStaticText* m_staticTextUnitSize;
|
|
|
|
wxStaticText* posXLabel;
|
|
|
|
wxTextCtrl* posXTextCtrl;
|
|
|
|
wxStaticText* m_staticTextUnitPosX;
|
|
|
|
wxStaticText* posYLabel;
|
|
|
|
wxTextCtrl* posYTextCtrl;
|
|
|
|
wxStaticText* m_staticTextUnitPosY;
|
|
|
|
wxStdDialogButtonSizer* stdDialogButtonSizer;
|
|
|
|
wxButton* stdDialogButtonSizerOK;
|
|
|
|
wxButton* stdDialogButtonSizerCancel;
|
|
|
|
|
|
|
|
// Virtual event handlers, overide them in your derived class
|
2014-09-15 11:59:40 +00:00
|
|
|
virtual void OnCloseDialog( wxCloseEvent& event ) { event.Skip(); }
|
2014-09-17 16:04:04 +00:00
|
|
|
virtual void OnTestChipName( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnSelectChipName( wxCommandEvent& event ) { event.Skip(); }
|
2013-05-26 04:36:44 +00:00
|
|
|
virtual void SetInitCmp( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnListItemDeselected( wxListEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnListItemSelected( wxListEvent& event ) { event.Skip(); }
|
|
|
|
virtual void addFieldButtonHandler( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void deleteFieldButtonHandler( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void moveUpButtonHandler( wxCommandEvent& event ) { event.Skip(); }
|
2013-08-08 16:12:41 +00:00
|
|
|
virtual void showButtonHandler( wxCommandEvent& event ) { event.Skip(); }
|
2013-05-26 04:36:44 +00:00
|
|
|
virtual void OnCancelButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnOKButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
2014-09-17 16:04:04 +00:00
|
|
|
DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_FBP( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Component Properties"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 677,586 ), long style = wxCAPTION|wxCLOSE_BOX|wxDEFAULT_DIALOG_STYLE|wxMAXIMIZE_BOX|wxMINIMIZE_BOX|wxRESIZE_BORDER|wxSYSTEM_MENU );
|
2013-05-26 04:36:44 +00:00
|
|
|
~DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_FBP();
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif //__DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_FBP_H__
|