KiCad PCB EDA Suite
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
dialog_unit_entry_base.h
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 4.2.1-0-g80c4cb6)
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/sizer.h>
22#include <wx/button.h>
23#include <wx/dialog.h>
24#include <wx/bitmap.h>
25#include <wx/image.h>
26#include <wx/icon.h>
27
29
34{
35 private:
36
37 protected:
38 wxBoxSizer* bSizerMain;
39 wxStaticText* m_label;
40 wxTextCtrl* m_textCtrl;
41 wxStaticText* m_unit_label;
42 wxStdDialogButtonSizer* m_sdbSizer1;
43 wxButton* m_sdbSizer1OK;
45
46 public:
47
48 WX_UNIT_ENTRY_DIALOG_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Title"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
49
51
52};
53
58{
59 private:
60
61 protected:
62 wxBoxSizer* bSizerMain;
63 wxStaticText* m_labelX;
64 wxTextCtrl* m_textCtrlX;
65 wxStaticText* m_unitsX;
66 wxStaticText* m_labelY;
67 wxTextCtrl* m_textCtrlY;
68 wxStaticText* m_unitsY;
69 wxButton* m_ButtonReset;
70 wxStdDialogButtonSizer* m_sdbSizer1;
71 wxButton* m_sdbSizer1OK;
73
74 // Virtual event handlers, override them in your derived class
75 virtual void ResetValues( wxCommandEvent& event ) { event.Skip(); }
76
77
78 public:
79
80 WX_PT_ENTRY_DIALOG_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Move Point to Location"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
81
83
84};
85
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:52
Class WX_PT_ENTRY_DIALOG_BASE.
wxBoxSizer * bSizerMain
wxStaticText * m_unitsY
~WX_PT_ENTRY_DIALOG_BASE()
wxStaticText * m_labelX
wxStaticText * m_labelY
wxStaticText * m_unitsX
wxButton * m_sdbSizer1Cancel
wxStdDialogButtonSizer * m_sdbSizer1
virtual void ResetValues(wxCommandEvent &event)
wxTextCtrl * m_textCtrlY
wxTextCtrl * m_textCtrlX
wxButton * m_sdbSizer1OK
wxButton * m_ButtonReset
Class WX_UNIT_ENTRY_DIALOG_BASE.
~WX_UNIT_ENTRY_DIALOG_BASE()
wxStaticText * m_unit_label
wxBoxSizer * bSizerMain
wxStaticText * m_label
wxButton * m_sdbSizer1OK
wxButton * m_sdbSizer1Cancel
wxTextCtrl * m_textCtrl
wxStdDialogButtonSizer * m_sdbSizer1
#define _(s)