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/bitmap.h>
29#include <wx/image.h>
30#include <wx/icon.h>
31#include <wx/dialog.h>
32
34
39{
40 private:
41
42 protected:
43 wxStaticText* m_staticTextWidth;
44 wxTextCtrl* m_lineWidth;
45 wxStaticText* m_staticWidthUnits;
46 wxStaticText* m_staticTextColor;
47 wxPanel* m_panelColor;
49 wxStaticText* m_staticTextStyle;
50 wxBitmapComboBox* m_typeCombo;
51 wxStaticText* m_helpLabel1;
52 wxStaticText* m_helpLabel2;
53 wxBoxSizer* m_endingsSizer;
55 wxStdDialogButtonSizer* m_sdbSizer;
56 wxButton* m_sdbSizerOK;
58
59 // Virtual event handlers, override them in your derived class
60 virtual void resetDefaults( wxCommandEvent& event ) { event.Skip(); }
61
62
63 public:
64
65 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 );
66
68
69};
70
A simple color swatch of the kind used to set layer colors.
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)