KiCad PCB EDA Suite
dialog_position_relative_base.h
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version v3.8.0)
3// http://www.wxformbuilder.org/
4//
5// PLEASE DO *NOT* EDIT THIS FILE!
7
8#pragma once
9
10#include <wx/artprov.h>
11#include <wx/xrc/xmlres.h>
12#include <wx/intl.h>
13#include "dialog_shim.h"
14#include <wx/string.h>
15#include <wx/stattext.h>
16#include <wx/gdicmn.h>
17#include <wx/font.h>
18#include <wx/colour.h>
19#include <wx/settings.h>
20#include <wx/bitmap.h>
21#include <wx/image.h>
22#include <wx/icon.h>
23#include <wx/button.h>
24#include <wx/sizer.h>
25#include <wx/statline.h>
26#include <wx/textctrl.h>
27#include <wx/checkbox.h>
28#include <wx/dialog.h>
29
31
32
37{
38 private:
39
40 protected:
41 wxStaticText* m_referenceInfo;
45 wxStaticLine* m_staticline2;
46 wxStaticText* m_xLabel;
47 wxTextCtrl* m_xEntry;
48 wxStaticText* m_xUnit;
49 wxButton* m_clearX;
50 wxStaticText* m_yLabel;
51 wxTextCtrl* m_yEntry;
52 wxStaticText* m_yUnit;
53 wxButton* m_clearY;
54 wxStaticLine* m_staticline1;
55 wxCheckBox* m_polarCoords;
56 wxStdDialogButtonSizer* m_stdButtons;
57 wxButton* m_stdButtonsOK;
59
60 // Virtual event handlers, overide them in your derived class
61 virtual void OnClose( wxCloseEvent& event ) { event.Skip(); }
62 virtual void OnUseUserOriginClick( wxCommandEvent& event ) { event.Skip(); }
63 virtual void OnUseGridOriginClick( wxCommandEvent& event ) { event.Skip(); }
64 virtual void OnSelectItemClick( wxCommandEvent& event ) { event.Skip(); }
65 virtual void OnTextFocusLost( wxFocusEvent& event ) { event.Skip(); }
66 virtual void OnClear( wxCommandEvent& event ) { event.Skip(); }
67 virtual void OnPolarChanged( wxCommandEvent& event ) { event.Skip(); }
68 virtual void OnOkClick( wxCommandEvent& event ) { event.Skip(); }
69
70
71 public:
72
73 DIALOG_POSITION_RELATIVE_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Position Relative To Reference Item"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
75
76};
77
Class DIALOG_POSITION_RELATIVE_BASE.
virtual void OnPolarChanged(wxCommandEvent &event)
virtual void OnTextFocusLost(wxFocusEvent &event)
virtual void OnOkClick(wxCommandEvent &event)
virtual void OnSelectItemClick(wxCommandEvent &event)
virtual void OnUseGridOriginClick(wxCommandEvent &event)
virtual void OnUseUserOriginClick(wxCommandEvent &event)
DIALOG_POSITION_RELATIVE_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Position Relative To Reference Item"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
virtual void OnClose(wxCloseEvent &event)
virtual void OnClear(wxCommandEvent &event)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:83
#define _(s)