KiCad PCB EDA Suite
dialog_move_exact_base.h
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 3.10.0-4761b0c5)
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/textctrl.h>
21#include <wx/button.h>
22#include <wx/bitmap.h>
23#include <wx/image.h>
24#include <wx/icon.h>
25#include <wx/choice.h>
26#include <wx/sizer.h>
27#include <wx/statline.h>
28#include <wx/checkbox.h>
29#include <wx/dialog.h>
30
32
33
38{
39 private:
40
41 protected:
42 wxBoxSizer* bMainSizer;
43 wxStaticText* m_xLabel;
44 wxTextCtrl* m_xEntry;
45 wxStaticText* m_xUnit;
46 wxButton* m_clearX;
47 wxStaticText* m_yLabel;
48 wxTextCtrl* m_yEntry;
49 wxStaticText* m_yUnit;
50 wxButton* m_clearY;
51 wxStaticText* m_rotLabel;
52 wxTextCtrl* m_rotEntry;
53 wxStaticText* m_rotUnit;
54 wxButton* m_clearRot;
55 wxChoice* m_anchorOptions;
56 wxStaticLine* m_staticline1;
57 wxCheckBox* m_polarCoords;
58 wxStdDialogButtonSizer* m_stdButtons;
59 wxButton* m_stdButtonsOK;
61
62 // Virtual event handlers, override them in your derived class
63 virtual void OnTextFocusLost( wxFocusEvent& event ) { event.Skip(); }
64 virtual void OnTextChanged( wxCommandEvent& event ) { event.Skip(); }
65 virtual void OnClear( wxCommandEvent& event ) { event.Skip(); }
66 virtual void OnPolarChanged( wxCommandEvent& event ) { event.Skip(); }
67
68
69 public:
70
71 DIALOG_MOVE_EXACT_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Move Item"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
72
74
75};
76
Class DIALOG_MOVE_EXACT_BASE.
DIALOG_MOVE_EXACT_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Move Item"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
virtual void OnTextChanged(wxCommandEvent &event)
wxStdDialogButtonSizer * m_stdButtons
virtual void OnClear(wxCommandEvent &event)
virtual void OnPolarChanged(wxCommandEvent &event)
virtual void OnTextFocusLost(wxFocusEvent &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)