2018-04-26 10:09:41 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2023-08-07 17:49:27 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b3)
|
2018-04-26 10:09:41 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2020-04-21 15:15:04 +00:00
|
|
|
#pragma once
|
2018-04-26 10:09:41 +00:00
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
|
|
|
#include <wx/intl.h>
|
2022-04-17 19:02:05 +00:00
|
|
|
class BITMAP_BUTTON;
|
2018-08-19 16:10:14 +00:00
|
|
|
class WX_GRID;
|
|
|
|
|
2018-04-26 10:09:41 +00:00
|
|
|
#include "dialog_shim.h"
|
2023-02-09 20:13:05 +00:00
|
|
|
#include <wx/string.h>
|
|
|
|
#include <wx/stattext.h>
|
2018-04-26 10:09:41 +00:00
|
|
|
#include <wx/gdicmn.h>
|
|
|
|
#include <wx/font.h>
|
|
|
|
#include <wx/colour.h>
|
|
|
|
#include <wx/settings.h>
|
2023-02-09 20:13:05 +00:00
|
|
|
#include <wx/choice.h>
|
|
|
|
#include <wx/sizer.h>
|
|
|
|
#include <wx/dataview.h>
|
2023-02-28 17:16:36 +00:00
|
|
|
#include <wx/bmpbuttn.h>
|
2018-04-26 10:09:41 +00:00
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
2023-02-28 17:16:36 +00:00
|
|
|
#include <wx/button.h>
|
2018-04-26 10:09:41 +00:00
|
|
|
#include <wx/panel.h>
|
2022-04-17 19:02:05 +00:00
|
|
|
#include <wx/srchctrl.h>
|
|
|
|
#include <wx/checkbox.h>
|
2023-08-07 17:49:27 +00:00
|
|
|
#include <wx/radiobox.h>
|
2018-04-26 10:09:41 +00:00
|
|
|
#include <wx/grid.h>
|
|
|
|
#include <wx/splitter.h>
|
2023-02-28 17:16:36 +00:00
|
|
|
#include <wx/textctrl.h>
|
|
|
|
#include <wx/gbsizer.h>
|
|
|
|
#include <wx/notebook.h>
|
2018-04-26 10:09:41 +00:00
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#define OPT_GROUP_COMPONENTS 1000
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2021-07-03 20:43:30 +00:00
|
|
|
/// Class DIALOG_SYMBOL_FIELDS_TABLE_BASE
|
2018-04-26 10:09:41 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2021-07-03 20:43:30 +00:00
|
|
|
class DIALOG_SYMBOL_FIELDS_TABLE_BASE : public DIALOG_SHIM
|
2018-04-26 10:09:41 +00:00
|
|
|
{
|
|
|
|
private:
|
2020-04-21 15:15:04 +00:00
|
|
|
|
2018-04-26 10:09:41 +00:00
|
|
|
protected:
|
2023-04-01 12:57:59 +00:00
|
|
|
wxNotebook* m_nbPages;
|
2023-02-28 17:16:36 +00:00
|
|
|
wxPanel* m_panelEdit;
|
2020-10-29 16:27:38 +00:00
|
|
|
wxSplitterWindow* m_splitterMainWindow;
|
2018-04-26 10:09:41 +00:00
|
|
|
wxPanel* m_leftPanel;
|
2023-02-09 20:13:05 +00:00
|
|
|
wxStaticText* m_bomPresetsLabel;
|
|
|
|
wxChoice* m_cbBomPresets;
|
2018-04-26 10:09:41 +00:00
|
|
|
wxDataViewListCtrl* m_fieldsCtrl;
|
2023-02-28 17:16:36 +00:00
|
|
|
wxBitmapButton* m_addFieldButton;
|
|
|
|
wxBitmapButton* m_removeFieldButton;
|
|
|
|
wxBitmapButton* m_renameFieldButton;
|
2020-10-29 16:27:38 +00:00
|
|
|
wxPanel* m_rightPanel;
|
2022-04-17 19:02:05 +00:00
|
|
|
wxSearchCtrl* m_filter;
|
|
|
|
BITMAP_BUTTON* m_separator1;
|
2023-04-01 12:57:59 +00:00
|
|
|
wxCheckBox* m_checkExcludeDNP;
|
2022-04-17 19:02:05 +00:00
|
|
|
BITMAP_BUTTON* m_separator2;
|
2023-03-03 13:43:40 +00:00
|
|
|
wxCheckBox* m_groupSymbolsBox;
|
|
|
|
BITMAP_BUTTON* m_separator3;
|
2022-04-17 19:02:05 +00:00
|
|
|
wxBitmapButton* m_bRefresh;
|
2023-08-07 17:49:27 +00:00
|
|
|
wxRadioBox* m_radioSelect;
|
2023-08-07 19:04:46 +00:00
|
|
|
wxRadioBox* m_radioScope;
|
2018-08-19 16:10:14 +00:00
|
|
|
WX_GRID* m_grid;
|
2023-02-28 17:16:36 +00:00
|
|
|
wxPanel* m_panelExport;
|
|
|
|
wxStaticText* m_labelBomExportPresets;
|
2023-03-09 15:54:57 +00:00
|
|
|
wxChoice* m_cbBomFmtPresets;
|
2023-02-28 17:16:36 +00:00
|
|
|
wxStaticText* m_labelFieldDelimiter;
|
|
|
|
wxTextCtrl* m_textFieldDelimiter;
|
|
|
|
wxStaticText* m_labelStringDelimiter;
|
|
|
|
wxTextCtrl* m_textStringDelimiter;
|
2023-03-15 00:03:57 +00:00
|
|
|
wxStaticText* m_labelRefDelimiter;
|
|
|
|
wxTextCtrl* m_textRefDelimiter;
|
|
|
|
wxStaticText* m_labelRefRangeDelimiter;
|
|
|
|
wxTextCtrl* m_textRefRangeDelimiter;
|
|
|
|
wxStaticText* m_labelKeepTabs;
|
|
|
|
wxCheckBox* m_checkKeepTabs;
|
|
|
|
wxStaticText* m_labelKeepLineBreaks;
|
|
|
|
wxCheckBox* m_checkKeepLineBreaks;
|
2023-02-28 17:16:36 +00:00
|
|
|
wxStaticText* m_labelOutputDirectory;
|
2023-03-08 19:31:51 +00:00
|
|
|
wxTextCtrl* m_outputFileName;
|
2023-02-28 17:16:36 +00:00
|
|
|
wxBitmapButton* m_browseButton;
|
|
|
|
wxStaticText* m_labelPreview;
|
|
|
|
wxBitmapButton* m_bRefreshPreview;
|
|
|
|
wxTextCtrl* m_textOutput;
|
2022-05-09 13:41:00 +00:00
|
|
|
wxButton* m_buttonExport;
|
2020-10-29 16:27:38 +00:00
|
|
|
wxButton* m_buttonApply;
|
|
|
|
wxStdDialogButtonSizer* m_sdbSizer;
|
|
|
|
wxButton* m_sdbSizerOK;
|
|
|
|
wxButton* m_sdbSizerCancel;
|
2020-04-21 15:15:04 +00:00
|
|
|
|
2022-05-09 13:41:00 +00:00
|
|
|
// Virtual event handlers, override them in your derived class
|
2018-06-05 19:59:58 +00:00
|
|
|
virtual void OnClose( wxCloseEvent& event ) { event.Skip(); }
|
2023-03-09 15:54:57 +00:00
|
|
|
virtual void OnPageChanged( wxNotebookEvent& event ) { event.Skip(); }
|
2018-04-26 10:09:41 +00:00
|
|
|
virtual void OnColumnItemToggled( wxDataViewEvent& event ) { event.Skip(); }
|
2022-09-11 12:28:53 +00:00
|
|
|
virtual void OnFieldsCtrlSelectionChanged( wxDataViewEvent& event ) { event.Skip(); }
|
2018-04-26 10:09:41 +00:00
|
|
|
virtual void OnSizeFieldList( wxSizeEvent& event ) { event.Skip(); }
|
2018-05-23 12:12:01 +00:00
|
|
|
virtual void OnAddField( wxCommandEvent& event ) { event.Skip(); }
|
2022-04-12 20:13:26 +00:00
|
|
|
virtual void OnRemoveField( wxCommandEvent& event ) { event.Skip(); }
|
2023-01-27 14:18:32 +00:00
|
|
|
virtual void OnRenameField( wxCommandEvent& event ) { event.Skip(); }
|
2022-04-17 19:02:05 +00:00
|
|
|
virtual void OnFilterMouseMoved( wxMouseEvent& event ) { event.Skip(); }
|
2022-04-20 15:19:23 +00:00
|
|
|
virtual void OnFilterText( wxCommandEvent& event ) { event.Skip(); }
|
2023-03-30 14:17:09 +00:00
|
|
|
virtual void OnExcludeDNPToggled( wxCommandEvent& event ) { event.Skip(); }
|
2022-04-17 19:02:05 +00:00
|
|
|
virtual void OnGroupSymbolsToggled( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnRegroupSymbols( wxCommandEvent& event ) { event.Skip(); }
|
2023-08-07 19:04:46 +00:00
|
|
|
virtual void OnScopeChanged( wxCommandEvent& event ) { event.Skip(); }
|
2018-04-26 10:09:41 +00:00
|
|
|
virtual void OnTableValueChanged( wxGridEvent& event ) { event.Skip(); }
|
2018-05-12 22:04:11 +00:00
|
|
|
virtual void OnTableCellClick( wxGridEvent& event ) { event.Skip(); }
|
2018-04-26 10:09:41 +00:00
|
|
|
virtual void OnTableItemContextMenu( wxGridEvent& event ) { event.Skip(); }
|
2020-04-21 15:15:04 +00:00
|
|
|
virtual void OnTableColSize( wxGridSizeEvent& event ) { event.Skip(); }
|
2023-02-28 18:37:04 +00:00
|
|
|
virtual void OnPreviewRefresh( wxCommandEvent& event ) { event.Skip(); }
|
2023-03-09 15:54:57 +00:00
|
|
|
virtual void OnOutputFileBrowseClicked( wxCommandEvent& event ) { event.Skip(); }
|
2022-05-09 13:41:00 +00:00
|
|
|
virtual void OnExport( wxCommandEvent& event ) { event.Skip(); }
|
2018-04-26 10:09:41 +00:00
|
|
|
virtual void OnSaveAndContinue( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnCancel( wxCommandEvent& event ) { event.Skip(); }
|
2020-04-21 15:15:04 +00:00
|
|
|
|
|
|
|
|
2018-04-26 10:09:41 +00:00
|
|
|
public:
|
2020-04-21 15:15:04 +00:00
|
|
|
|
2021-07-03 20:43:30 +00:00
|
|
|
DIALOG_SYMBOL_FIELDS_TABLE_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Symbol Fields Table"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxMAXIMIZE_BOX|wxRESIZE_BORDER );
|
2022-05-09 13:41:00 +00:00
|
|
|
|
2021-07-03 20:43:30 +00:00
|
|
|
~DIALOG_SYMBOL_FIELDS_TABLE_BASE();
|
2020-04-21 15:15:04 +00:00
|
|
|
|
2018-04-26 10:09:41 +00:00
|
|
|
};
|
|
|
|
|