2021-10-12 20:05:37 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
// C++ code generated with wxFormBuilder (version Oct 26 2018)
|
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
|
|
|
#include <wx/intl.h>
|
|
|
|
class BITMAP_BUTTON;
|
2022-03-31 18:43:08 +00:00
|
|
|
class COLOR_SWATCH;
|
2022-01-03 01:20:25 +00:00
|
|
|
class FONT_CHOICE;
|
2021-10-12 20:05:37 +00:00
|
|
|
class WX_GRID;
|
|
|
|
|
|
|
|
#include "dialog_shim.h"
|
|
|
|
#include <wx/string.h>
|
|
|
|
#include <wx/stattext.h>
|
|
|
|
#include <wx/gdicmn.h>
|
|
|
|
#include <wx/font.h>
|
|
|
|
#include <wx/colour.h>
|
|
|
|
#include <wx/settings.h>
|
|
|
|
#include <wx/textctrl.h>
|
|
|
|
#include <wx/combobox.h>
|
|
|
|
#include <wx/hyperlink.h>
|
|
|
|
#include <wx/sizer.h>
|
|
|
|
#include <wx/grid.h>
|
|
|
|
#include <wx/bmpbuttn.h>
|
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
|
|
|
#include <wx/button.h>
|
|
|
|
#include <wx/statbox.h>
|
|
|
|
#include <wx/radiobut.h>
|
2022-01-03 01:20:25 +00:00
|
|
|
#include <wx/choice.h>
|
2022-03-31 18:43:08 +00:00
|
|
|
#include <wx/panel.h>
|
2022-01-03 01:20:25 +00:00
|
|
|
#include <wx/gbsizer.h>
|
2021-10-12 20:05:37 +00:00
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class DIALOG_LABEL_PROPERTIES_BASE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
class DIALOG_LABEL_PROPERTIES_BASE : public DIALOG_SHIM
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
|
|
|
|
protected:
|
|
|
|
enum
|
|
|
|
{
|
2022-03-31 18:43:08 +00:00
|
|
|
wxID_VALUESINGLE = 1000
|
2021-10-12 20:05:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
wxFlexGridSizer* m_textEntrySizer;
|
|
|
|
wxStaticText* m_labelSingleLine;
|
|
|
|
wxTextCtrl* m_valueSingleLine;
|
|
|
|
wxStaticText* m_labelCombo;
|
|
|
|
wxComboBox* m_valueCombo;
|
|
|
|
wxHyperlinkCtrl* m_syntaxHelp;
|
|
|
|
WX_GRID* m_grid;
|
|
|
|
wxBitmapButton* m_bpAdd;
|
|
|
|
wxBitmapButton* m_bpMoveUp;
|
|
|
|
wxBitmapButton* m_bpMoveDown;
|
|
|
|
wxBitmapButton* m_bpDelete;
|
|
|
|
wxStaticBoxSizer* m_shapeSizer;
|
|
|
|
wxRadioButton* m_input;
|
|
|
|
wxRadioButton* m_output;
|
|
|
|
wxRadioButton* m_bidirectional;
|
|
|
|
wxRadioButton* m_triState;
|
|
|
|
wxRadioButton* m_passive;
|
|
|
|
wxRadioButton* m_dot;
|
|
|
|
wxRadioButton* m_circle;
|
|
|
|
wxRadioButton* m_diamond;
|
|
|
|
wxRadioButton* m_rectangle;
|
2022-01-03 01:20:25 +00:00
|
|
|
wxStaticText* m_fontLabel;
|
|
|
|
FONT_CHOICE* m_fontCtrl;
|
2021-10-12 20:05:37 +00:00
|
|
|
BITMAP_BUTTON* m_separator1;
|
|
|
|
BITMAP_BUTTON* m_bold;
|
|
|
|
BITMAP_BUTTON* m_italic;
|
|
|
|
BITMAP_BUTTON* m_separator2;
|
|
|
|
BITMAP_BUTTON* m_spin0;
|
|
|
|
BITMAP_BUTTON* m_spin1;
|
|
|
|
BITMAP_BUTTON* m_spin2;
|
|
|
|
BITMAP_BUTTON* m_spin3;
|
|
|
|
BITMAP_BUTTON* m_separator3;
|
2022-01-03 01:20:25 +00:00
|
|
|
wxStaticText* m_textSizeLabel;
|
|
|
|
wxTextCtrl* m_textSizeCtrl;
|
|
|
|
wxStaticText* m_textSizeUnits;
|
2022-03-31 18:43:08 +00:00
|
|
|
wxStaticText* m_textColorLabel;
|
|
|
|
wxPanel* m_panelBorderColor1;
|
|
|
|
COLOR_SWATCH* m_textColorSwatch;
|
2021-10-12 20:05:37 +00:00
|
|
|
wxStdDialogButtonSizer* m_sdbSizer1;
|
|
|
|
wxButton* m_sdbSizer1OK;
|
|
|
|
wxButton* m_sdbSizer1Cancel;
|
|
|
|
|
|
|
|
// Virtual event handlers, overide them in your derived class
|
|
|
|
virtual void OnUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
|
2022-05-06 16:00:34 +00:00
|
|
|
virtual void OnValueCharHook( wxKeyEvent& event ) { event.Skip(); }
|
2021-10-12 20:05:37 +00:00
|
|
|
virtual void OnEnterKey( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnFormattingHelp( wxHyperlinkEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnSizeGrid( wxSizeEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnAddField( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnMoveUp( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnMoveDown( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnDeleteField( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
DIALOG_LABEL_PROPERTIES_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Label Properties"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
|
|
|
~DIALOG_LABEL_PROPERTIES_BASE();
|
|
|
|
|
|
|
|
};
|
|
|
|
|