KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_line_properties_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>
13class COLOR_SWATCH;
14
15#include "dialog_shim.h"
16#include <wx/string.h>
17#include <wx/stattext.h>
18#include <wx/gdicmn.h>
19#include <wx/font.h>
20#include <wx/colour.h>
21#include <wx/settings.h>
22#include <wx/textctrl.h>
23#include <wx/sizer.h>
24#include <wx/panel.h>
25#include <wx/bmpcbox.h>
26#include <wx/gbsizer.h>
27#include <wx/button.h>
28#include <wx/dialog.h>
29
31
36{
38 private:
39
40 // Private event handlers
41 void _wxFB_resetDefaults( wxCommandEvent& event ){ resetDefaults( event ); }
42
43
44 protected:
45 wxStaticText* m_staticTextWidth;
46 wxTextCtrl* m_lineWidth;
47 wxStaticText* m_staticWidthUnits;
48 wxStaticText* m_staticTextColor;
49 wxPanel* m_panelColor;
51 wxStaticText* m_staticTextStyle;
52 wxBitmapComboBox* m_typeCombo;
53 wxStaticText* m_helpLabel1;
54 wxStaticText* m_helpLabel2;
55 wxStdDialogButtonSizer* m_sdbSizer;
56 wxButton* m_sdbSizerOK;
57 wxButton* m_sdbSizerApply;
59
60 // Virtual event handlers, override them in your derived class
61 virtual void resetDefaults( wxCommandEvent& event ) { event.Skip(); }
62
63
64 public:
65
66 DIALOG_LINE_PROPERTIES_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Line Properties"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
67
69
70};
71
A simple color swatch of the kind used to set layer colors.
void _wxFB_resetDefaults(wxCommandEvent &event)
virtual void resetDefaults(wxCommandEvent &event)
DIALOG_LINE_PROPERTIES_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Line Properties"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
DIALOG_SHIM(wxWindow *aParent, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxRESIZE_BORDER, const wxString &name=wxDialogNameStr)
#define _(s)