Freshen the BOM dialog.
Layout freshened to include standard button layout. Fall-behind Add Plugin dialog also fixed. (cherry picked from commit 30dac89)
This commit is contained in:
parent
420c2020fb
commit
7c3a67191b
|
@ -101,6 +101,7 @@ set( BMAPS_SMALL
|
||||||
pintype_noconnect
|
pintype_noconnect
|
||||||
refresh
|
refresh
|
||||||
small_down
|
small_down
|
||||||
|
small_edit
|
||||||
small_plus
|
small_plus
|
||||||
small_up
|
small_up
|
||||||
trash
|
trash
|
||||||
|
|
|
@ -0,0 +1,27 @@
|
||||||
|
|
||||||
|
/* Do not modify this file, it was automatically generated by the
|
||||||
|
* PNG2cpp CMake script, using a *.png file as input.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <bitmaps.h>
|
||||||
|
|
||||||
|
static const unsigned char png[] = {
|
||||||
|
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,
|
||||||
|
0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x08, 0x06, 0x00, 0x00, 0x00, 0x1f, 0xf3, 0xff,
|
||||||
|
0x61, 0x00, 0x00, 0x00, 0x04, 0x73, 0x42, 0x49, 0x54, 0x08, 0x08, 0x08, 0x08, 0x7c, 0x08, 0x64,
|
||||||
|
0x88, 0x00, 0x00, 0x00, 0x09, 0x70, 0x48, 0x59, 0x73, 0x00, 0x00, 0x0e, 0xc4, 0x00, 0x00, 0x0e,
|
||||||
|
0xc4, 0x01, 0x95, 0x2b, 0x0e, 0x1b, 0x00, 0x00, 0x00, 0x19, 0x74, 0x45, 0x58, 0x74, 0x53, 0x6f,
|
||||||
|
0x66, 0x74, 0x77, 0x61, 0x72, 0x65, 0x00, 0x77, 0x77, 0x77, 0x2e, 0x69, 0x6e, 0x6b, 0x73, 0x63,
|
||||||
|
0x61, 0x70, 0x65, 0x2e, 0x6f, 0x72, 0x67, 0x9b, 0xee, 0x3c, 0x1a, 0x00, 0x00, 0x00, 0x5d, 0x49,
|
||||||
|
0x44, 0x41, 0x54, 0x38, 0x8d, 0x63, 0x60, 0xa0, 0x23, 0x48, 0x66, 0x60, 0x60, 0x48, 0x21, 0x57,
|
||||||
|
0x73, 0x03, 0x03, 0x03, 0xc3, 0x7f, 0x28, 0xee, 0x44, 0x96, 0x60, 0x22, 0xc3, 0xb0, 0x32, 0x64,
|
||||||
|
0x97, 0xb0, 0x10, 0x61, 0x33, 0x32, 0x5d, 0x0f, 0xa5, 0xff, 0x11, 0x63, 0x40, 0x03, 0x92, 0x06,
|
||||||
|
0x64, 0x43, 0x18, 0x18, 0x18, 0x18, 0xe6, 0x11, 0xb0, 0x18, 0xc5, 0xcf, 0x30, 0xdc, 0x41, 0x48,
|
||||||
|
0x13, 0x3e, 0xcd, 0xff, 0xd1, 0x5c, 0x33, 0xaa, 0x19, 0x0d, 0xfc, 0x47, 0xa2, 0x49, 0xd6, 0x8c,
|
||||||
|
0x6c, 0x00, 0x8c, 0x4d, 0x92, 0x66, 0x8a, 0x6c, 0xa6, 0x0a, 0x00, 0x00, 0x9f, 0xd9, 0x36, 0xa7,
|
||||||
|
0x22, 0x24, 0x83, 0x0d, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82,
|
||||||
|
};
|
||||||
|
|
||||||
|
const BITMAP_OPAQUE small_edit_xpm[1] = {{ png, sizeof( png ), "small_edit_xpm" }};
|
||||||
|
|
||||||
|
//EOF
|
|
@ -0,0 +1 @@
|
||||||
|
<svg class="octicon octicon-pencil" viewBox="0 0 14 16" version="1.1" width="14" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M0 12v3h3l8-8-3-3-8 8zm3 2H1v-2h1v1h1v1zm10.3-9.3L12 6 9 3l1.3-1.3a.996.996 0 0 1 1.41 0l1.59 1.59c.39.39.39 1.02 0 1.41z"></path></svg>
|
After Width: | Height: | Size: 277 B |
|
@ -34,11 +34,9 @@
|
||||||
#include <confirm.h>
|
#include <confirm.h>
|
||||||
#include <gestfich.h>
|
#include <gestfich.h>
|
||||||
#include <sch_edit_frame.h>
|
#include <sch_edit_frame.h>
|
||||||
#include <wx/dynarray.h>
|
#include <wx/ffile.h>
|
||||||
|
|
||||||
#include <netlist.h>
|
#include <netlist.h>
|
||||||
#include <netlist_exporter_generic.h>
|
#include <netlist_exporter_generic.h>
|
||||||
#include <sch_sheet.h>
|
|
||||||
#include <invoke_sch_dialog.h>
|
#include <invoke_sch_dialog.h>
|
||||||
#include <dialog_helpers.h>
|
#include <dialog_helpers.h>
|
||||||
#include <dialog_bom_base.h>
|
#include <dialog_bom_base.h>
|
||||||
|
@ -77,25 +75,21 @@ WX_DEFINE_OBJARRAY( BOM_PLUGIN_ARRAY )
|
||||||
/**
|
/**
|
||||||
* Class BOM_CFG_READER_PARSER
|
* Class BOM_CFG_READER_PARSER
|
||||||
* holds data and functions pertinent to parsing a S-expression file
|
* holds data and functions pertinent to parsing a S-expression file
|
||||||
* for a WORKSHEET_LAYOUT.
|
|
||||||
*/
|
*/
|
||||||
class BOM_CFG_READER_PARSER : public DIALOG_BOM_CFG_LEXER
|
class BOM_CFG_PARSER : public DIALOG_BOM_CFG_LEXER
|
||||||
{
|
{
|
||||||
BOM_PLUGIN_ARRAY* m_pluginsList;
|
BOM_PLUGIN_ARRAY* m_pluginsList;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
BOM_CFG_READER_PARSER( BOM_PLUGIN_ARRAY* aPlugins,
|
BOM_CFG_PARSER( BOM_PLUGIN_ARRAY* aPlugins, const char* aData, const wxString& aSource );
|
||||||
const char* aData, const wxString& aSource );
|
|
||||||
void Parse();
|
void Parse();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void parsePlugin();
|
void parsePlugin();
|
||||||
};
|
};
|
||||||
|
|
||||||
// PCB_PLOT_PARAMS_PARSER
|
|
||||||
|
|
||||||
BOM_CFG_READER_PARSER::BOM_CFG_READER_PARSER( BOM_PLUGIN_ARRAY* aPlugins,
|
BOM_CFG_PARSER::BOM_CFG_PARSER( BOM_PLUGIN_ARRAY* aPlugins, const char* aLine,
|
||||||
const char* aLine,
|
|
||||||
const wxString& aSource ) :
|
const wxString& aSource ) :
|
||||||
DIALOG_BOM_CFG_LEXER( aLine, aSource )
|
DIALOG_BOM_CFG_LEXER( aLine, aSource )
|
||||||
{
|
{
|
||||||
|
@ -103,7 +97,7 @@ BOM_CFG_READER_PARSER::BOM_CFG_READER_PARSER( BOM_PLUGIN_ARRAY* aPlugins,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void BOM_CFG_READER_PARSER::Parse()
|
void BOM_CFG_PARSER::Parse()
|
||||||
{
|
{
|
||||||
T token;
|
T token;
|
||||||
|
|
||||||
|
@ -131,7 +125,7 @@ void BOM_CFG_READER_PARSER::Parse()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void BOM_CFG_READER_PARSER::parsePlugin()
|
void BOM_CFG_PARSER::parsePlugin()
|
||||||
{
|
{
|
||||||
BOM_PLUGIN plugin;
|
BOM_PLUGIN plugin;
|
||||||
|
|
||||||
|
@ -171,6 +165,7 @@ void BOM_CFG_READER_PARSER::parsePlugin()
|
||||||
m_pluginsList->Add( plugin );
|
m_pluginsList->Add( plugin );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// The main dialog frame to run scripts to build bom
|
// The main dialog frame to run scripts to build bom
|
||||||
class DIALOG_BOM : public DIALOG_BOM_BASE
|
class DIALOG_BOM : public DIALOG_BOM_BASE
|
||||||
{
|
{
|
||||||
|
@ -178,16 +173,15 @@ private:
|
||||||
SCH_EDIT_FRAME* m_parent;
|
SCH_EDIT_FRAME* m_parent;
|
||||||
BOM_PLUGIN_ARRAY m_plugins;
|
BOM_PLUGIN_ARRAY m_plugins;
|
||||||
wxConfigBase* m_config; // to store the "plugins"
|
wxConfigBase* m_config; // to store the "plugins"
|
||||||
|
bool m_initialized;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
// Constructor and destructor
|
|
||||||
DIALOG_BOM( SCH_EDIT_FRAME* parent );
|
DIALOG_BOM( SCH_EDIT_FRAME* parent );
|
||||||
~DIALOG_BOM();
|
~DIALOG_BOM();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void OnPluginSelected( wxCommandEvent& event ) override;
|
void OnPluginSelected( wxCommandEvent& event ) override;
|
||||||
void OnRunPlugin( wxCommandEvent& event ) override;
|
void OnRunPlugin( wxCommandEvent& event ) override;
|
||||||
void OnCancelClick( wxCommandEvent& event ) override;
|
|
||||||
void OnHelp( wxCommandEvent& event ) override;
|
void OnHelp( wxCommandEvent& event ) override;
|
||||||
void OnAddPlugin( wxCommandEvent& event ) override;
|
void OnAddPlugin( wxCommandEvent& event ) override;
|
||||||
void OnRemovePlugin( wxCommandEvent& event ) override;
|
void OnRemovePlugin( wxCommandEvent& event ) override;
|
||||||
|
@ -195,30 +189,23 @@ private:
|
||||||
void OnCommandLineEdited( wxCommandEvent& event ) override;
|
void OnCommandLineEdited( wxCommandEvent& event ) override;
|
||||||
void OnNameEdited( wxCommandEvent& event ) override;
|
void OnNameEdited( wxCommandEvent& event ) override;
|
||||||
void OnShowConsoleChanged( wxCommandEvent& event ) override;
|
void OnShowConsoleChanged( wxCommandEvent& event ) override;
|
||||||
|
void OnIdle( wxIdleEvent& event ) override;
|
||||||
|
|
||||||
void pluginInit();
|
void pluginInit();
|
||||||
void installPluginsList();
|
void installPluginsList();
|
||||||
|
|
||||||
/**
|
|
||||||
* @return the Plugin filename from a command line
|
|
||||||
* @param aCommand = the command line
|
|
||||||
*/
|
|
||||||
wxString getPluginFileName( const wxString& aCommand );
|
wxString getPluginFileName( const wxString& aCommand );
|
||||||
|
|
||||||
/**
|
/*
|
||||||
* display (when exists) the text found between the keyword "@package"
|
* Display the text found between the keyword @package (compatible with doxygen comments)
|
||||||
* (compatible with doxygen comments)
|
* and the end of comment block (""" in python, --> in xml)
|
||||||
* and the end of comment block (""" in python", --> in xml)
|
|
||||||
*/
|
*/
|
||||||
void displayPluginInfo( FILE * aFile, const wxString& aFilename );
|
void displayPluginInfo( FILE * aFile, const wxString& aFilename );
|
||||||
|
|
||||||
/**
|
|
||||||
* Browse plugin files, and set m_CommandStringCtrl field
|
|
||||||
* @return a command line ro run the plugin
|
|
||||||
*/
|
|
||||||
wxString choosePlugin();
|
wxString choosePlugin();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
// Create and show DIALOG_BOM.
|
// Create and show DIALOG_BOM.
|
||||||
int InvokeDialogCreateBOM( SCH_EDIT_FRAME* aCaller )
|
int InvokeDialogCreateBOM( SCH_EDIT_FRAME* aCaller )
|
||||||
{
|
{
|
||||||
|
@ -226,17 +213,31 @@ int InvokeDialogCreateBOM( SCH_EDIT_FRAME* aCaller )
|
||||||
return dlg.ShowModal();
|
return dlg.ShowModal();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
DIALOG_BOM::DIALOG_BOM( SCH_EDIT_FRAME* parent ) :
|
DIALOG_BOM::DIALOG_BOM( SCH_EDIT_FRAME* parent ) :
|
||||||
DIALOG_BOM_BASE( parent )
|
DIALOG_BOM_BASE( parent )
|
||||||
{
|
{
|
||||||
m_parent = parent;
|
m_parent = parent;
|
||||||
m_config = Kiface().KifaceSettings();
|
m_config = Kiface().KifaceSettings();
|
||||||
|
m_initialized = false;
|
||||||
|
|
||||||
|
m_buttonAddPlugin->SetBitmap( KiBitmap( small_plus_xpm ) );
|
||||||
|
m_buttonDelPlugin->SetBitmap( KiBitmap( trash_xpm ) );
|
||||||
|
m_buttonEdit->SetBitmap( KiBitmap( small_edit_xpm ) );
|
||||||
|
|
||||||
installPluginsList();
|
installPluginsList();
|
||||||
|
|
||||||
#ifndef __WINDOWS__
|
#ifndef __WINDOWS__
|
||||||
m_checkBoxShowConsole->Show( false );
|
m_checkBoxShowConsole->Show( false );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
m_sdbSizer1OK->SetLabel( _( "Generate" ) );
|
||||||
|
m_sdbSizer1Cancel->SetLabel( _( "Close" ) );
|
||||||
|
m_sdbSizer1->Layout();
|
||||||
|
|
||||||
|
SetInitialFocus( m_lbPlugins );
|
||||||
|
m_sdbSizer1OK->SetDefault();
|
||||||
|
|
||||||
// Now all widgets have the size fixed, call FinishDialogSettings
|
// Now all widgets have the size fixed, call FinishDialogSettings
|
||||||
FinishDialogSettings();
|
FinishDialogSettings();
|
||||||
}
|
}
|
||||||
|
@ -244,8 +245,7 @@ DIALOG_BOM::DIALOG_BOM( SCH_EDIT_FRAME* parent ) :
|
||||||
DIALOG_BOM::~DIALOG_BOM()
|
DIALOG_BOM::~DIALOG_BOM()
|
||||||
{
|
{
|
||||||
// Save the plugin descriptions in config.
|
// Save the plugin descriptions in config.
|
||||||
// the config stores only one string.
|
// The config stores only one string, so we save the plugins inside a S-expr:
|
||||||
// plugins are saved inside a S expr:
|
|
||||||
// ( plugins
|
// ( plugins
|
||||||
// ( plugin "plugin name 1" (cmd "command line 1") )
|
// ( plugin "plugin name 1" (cmd "command line 1") )
|
||||||
// ( plugin "plugin name 2" (cmd "command line 2") (opts "option1") (opts "option2") )
|
// ( plugin "plugin name 2" (cmd "command line 2") (opts "option1") (opts "option2") )
|
||||||
|
@ -281,9 +281,7 @@ DIALOG_BOM::~DIALOG_BOM()
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Read the initialized plugins in config and fill the list
|
// Read the initialized plugins in config and fill the list of names
|
||||||
* of names
|
|
||||||
*/
|
|
||||||
void DIALOG_BOM::installPluginsList()
|
void DIALOG_BOM::installPluginsList()
|
||||||
{
|
{
|
||||||
wxString list, active_plugin_name;
|
wxString list, active_plugin_name;
|
||||||
|
@ -292,8 +290,7 @@ void DIALOG_BOM::installPluginsList()
|
||||||
|
|
||||||
if( !list.IsEmpty() )
|
if( !list.IsEmpty() )
|
||||||
{
|
{
|
||||||
BOM_CFG_READER_PARSER cfg_parser( &m_plugins, TO_UTF8( list ),
|
BOM_CFG_PARSER cfg_parser( &m_plugins, TO_UTF8( list ), wxT( "plugins" ) );
|
||||||
wxT( "plugins" ) );
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
cfg_parser.Parse();
|
cfg_parser.Parse();
|
||||||
|
@ -316,12 +313,13 @@ void DIALOG_BOM::installPluginsList()
|
||||||
pluginInit();
|
pluginInit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void DIALOG_BOM::OnPluginSelected( wxCommandEvent& event )
|
void DIALOG_BOM::OnPluginSelected( wxCommandEvent& event )
|
||||||
{
|
{
|
||||||
pluginInit();
|
pluginInit();
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <wx/ffile.h>
|
|
||||||
void DIALOG_BOM::pluginInit()
|
void DIALOG_BOM::pluginInit()
|
||||||
{
|
{
|
||||||
int ii = m_lbPlugins->GetSelection();
|
int ii = m_lbPlugins->GetSelection();
|
||||||
|
@ -350,11 +348,9 @@ void DIALOG_BOM::pluginInit()
|
||||||
|
|
||||||
FILE* pluginFile = wxFopen( pluginName, "rt" );
|
FILE* pluginFile = wxFopen( pluginName, "rt" );
|
||||||
|
|
||||||
if( pluginFile == NULL )
|
if( !pluginFile )
|
||||||
{
|
{
|
||||||
wxString msg;
|
DisplayError( this, wxString::Format( _( "Failed to open file \"%s\"." ), pluginName ) );
|
||||||
msg.Printf( _( "Failed to open file \"%s\"" ), GetChars( pluginName ) );
|
|
||||||
DisplayError( this, msg );
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -366,9 +362,8 @@ void DIALOG_BOM::displayPluginInfo( FILE * aFile, const wxString& aFilename )
|
||||||
{
|
{
|
||||||
m_Messages->Clear();
|
m_Messages->Clear();
|
||||||
|
|
||||||
// display (when exists) the text found between the keyword "@package"
|
// Display the text found between the keyword @package (compatible with doxygen comments)
|
||||||
// (compatible with doxygen comments)
|
// and the end of comment block (""" in python, --> in xml)
|
||||||
// and the end of comment block (""" in python", --> in xml)
|
|
||||||
|
|
||||||
wxString data;
|
wxString data;
|
||||||
wxFFile fdata( aFile ); // dtor will close the file
|
wxFFile fdata( aFile ); // dtor will close the file
|
||||||
|
@ -377,18 +372,19 @@ void DIALOG_BOM::displayPluginInfo( FILE * aFile, const wxString& aFilename )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
wxString header( wxT( "@package" ) );
|
wxString header( wxT( "@package" ) );
|
||||||
wxString endsection( wxT( "-->" ) ); // For xml
|
wxString endsection;
|
||||||
|
|
||||||
wxFileName fn( aFilename );
|
wxFileName fn( aFilename );
|
||||||
|
|
||||||
if( fn.GetExt().IsSameAs( wxT( "py" ), false ) )
|
if( fn.GetExt().IsSameAs( wxT( "py" ), false ) )
|
||||||
endsection = wxT( "\"\"\"" );
|
endsection = wxT( "\"\"\"" );
|
||||||
else if( !fn.GetExt().IsSameAs( wxT("xsl"), false ) )
|
else if( fn.GetExt().IsSameAs( wxT( "xsl" ), false ) )
|
||||||
// If this is not a python file, we know nothing about file
|
endsection = wxT( "-->" );
|
||||||
// and the info cannot be found
|
else
|
||||||
|
// If this is not a python or xsl file, then we don't know how to find the info
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Extract substring between @package and """
|
// Extract substring between @package and endsection
|
||||||
int strstart = data.Find( header );
|
int strstart = data.Find( header );
|
||||||
|
|
||||||
if( strstart == wxNOT_FOUND )
|
if( strstart == wxNOT_FOUND )
|
||||||
|
@ -405,22 +401,19 @@ void DIALOG_BOM::displayPluginInfo( FILE * aFile, const wxString& aFilename )
|
||||||
strstart++;
|
strstart++;
|
||||||
|
|
||||||
m_Messages->SetValue( data.SubString( strstart, strend-1 ) );
|
m_Messages->SetValue( data.SubString( strstart, strend-1 ) );
|
||||||
|
m_Messages->SetSelection( 0, 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Function RunPlugin
|
// run the plugin command line
|
||||||
* run the plugin command line
|
|
||||||
*/
|
|
||||||
void DIALOG_BOM::OnRunPlugin( wxCommandEvent& event )
|
void DIALOG_BOM::OnRunPlugin( wxCommandEvent& event )
|
||||||
{
|
{
|
||||||
wxFileName fn;
|
|
||||||
|
|
||||||
// Calculate the xml netlist filename
|
// Calculate the xml netlist filename
|
||||||
fn = g_RootSheet->GetScreen()->GetFileName();
|
wxFileName fn = g_RootSheet->GetScreen()->GetFileName();
|
||||||
|
|
||||||
fn.SetPath( wxPathOnly( Prj().GetProjectFullName() ) );
|
fn.SetPath( wxPathOnly( Prj().GetProjectFullName() ) );
|
||||||
|
|
||||||
fn.ClearExt();
|
fn.ClearExt();
|
||||||
|
|
||||||
wxString fullfilename = fn.GetFullPath();
|
wxString fullfilename = fn.GetFullPath();
|
||||||
m_parent->ClearMsgPanel();
|
m_parent->ClearMsgPanel();
|
||||||
|
|
||||||
|
@ -439,16 +432,6 @@ void DIALOG_BOM::OnRunPlugin( wxCommandEvent& event )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void DIALOG_BOM::OnCancelClick( wxCommandEvent& event )
|
|
||||||
{
|
|
||||||
EndModal( wxID_CANCEL );
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Function OnRemovePlugin
|
|
||||||
* Remove a plugin from the list
|
|
||||||
*/
|
|
||||||
void DIALOG_BOM::OnRemovePlugin( wxCommandEvent& event )
|
void DIALOG_BOM::OnRemovePlugin( wxCommandEvent& event )
|
||||||
{
|
{
|
||||||
int ii = m_lbPlugins->GetSelection();
|
int ii = m_lbPlugins->GetSelection();
|
||||||
|
@ -461,19 +444,13 @@ void DIALOG_BOM::OnRemovePlugin( wxCommandEvent& event )
|
||||||
m_plugins.RemoveAt( ii );
|
m_plugins.RemoveAt( ii );
|
||||||
|
|
||||||
// Select the next item, if exists
|
// Select the next item, if exists
|
||||||
if( (int)m_lbPlugins->GetCount() >= ii )
|
if( m_lbPlugins->GetCount() )
|
||||||
ii = m_lbPlugins->GetCount() - 1;
|
m_lbPlugins->SetSelection( std::min( ii, (int) m_lbPlugins->GetCount() - 1 ) );
|
||||||
|
|
||||||
if( ii >= 0 )
|
|
||||||
m_lbPlugins->SetSelection( ii );
|
|
||||||
|
|
||||||
pluginInit();
|
pluginInit();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Function OnAddPlugin
|
|
||||||
* Add a new panel for a new netlist plugin
|
|
||||||
*/
|
|
||||||
void DIALOG_BOM::OnAddPlugin( wxCommandEvent& event )
|
void DIALOG_BOM::OnAddPlugin( wxCommandEvent& event )
|
||||||
{
|
{
|
||||||
wxString cmdLine = choosePlugin();
|
wxString cmdLine = choosePlugin();
|
||||||
|
@ -484,10 +461,7 @@ void DIALOG_BOM::OnAddPlugin( wxCommandEvent& event )
|
||||||
|
|
||||||
// Creates a new plugin entry
|
// Creates a new plugin entry
|
||||||
wxFileName fn( getPluginFileName( cmdLine ) );
|
wxFileName fn( getPluginFileName( cmdLine ) );
|
||||||
|
wxString name = wxGetTextFromUser( _("Plugin nickname:" ), _("Add Plugin"), fn.GetName(), this );
|
||||||
wxString defaultName = fn.GetName();
|
|
||||||
wxString name = wxGetTextFromUser( _("Plugin name in plugin list") ,
|
|
||||||
_("Plugin name"), defaultName );
|
|
||||||
|
|
||||||
if( name.IsEmpty() )
|
if( name.IsEmpty() )
|
||||||
return;
|
return;
|
||||||
|
@ -497,7 +471,7 @@ void DIALOG_BOM::OnAddPlugin( wxCommandEvent& event )
|
||||||
{
|
{
|
||||||
if( name == m_plugins.Item( ii ).Name )
|
if( name == m_plugins.Item( ii ).Name )
|
||||||
{
|
{
|
||||||
wxMessageBox( _("This name already exists. Abort") );
|
wxMessageBox( wxString::Format( _("Nickname \"%s\" already in use."), name ) );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -506,7 +480,6 @@ void DIALOG_BOM::OnAddPlugin( wxCommandEvent& event )
|
||||||
newPlugin.Name = name;
|
newPlugin.Name = name;
|
||||||
newPlugin.Command = wxEmptyString;
|
newPlugin.Command = wxEmptyString;
|
||||||
m_plugins.Add( newPlugin );
|
m_plugins.Add( newPlugin );
|
||||||
m_lbPlugins->SetSelection( m_lbPlugins->GetCount() - 1 );
|
|
||||||
m_lbPlugins->Append( name );
|
m_lbPlugins->Append( name );
|
||||||
m_lbPlugins->SetSelection( m_lbPlugins->GetCount() - 1 );
|
m_lbPlugins->SetSelection( m_lbPlugins->GetCount() - 1 );
|
||||||
m_textCtrlCommand->SetValue( cmdLine );
|
m_textCtrlCommand->SetValue( cmdLine );
|
||||||
|
@ -643,7 +616,7 @@ void DIALOG_BOM::OnEditPlugin( wxCommandEvent& event )
|
||||||
|
|
||||||
if( pluginName.Length() <= 2 ) // if name != ""
|
if( pluginName.Length() <= 2 ) // if name != ""
|
||||||
{
|
{
|
||||||
wxMessageBox( _("Plugin file name not found. Cannot edit plugin file") );
|
wxMessageBox( _("Plugin file name not found.") );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -653,9 +626,10 @@ void DIALOG_BOM::OnEditPlugin( wxCommandEvent& event )
|
||||||
if( !editorname.IsEmpty() )
|
if( !editorname.IsEmpty() )
|
||||||
ExecuteFile( this, editorname, pluginName );
|
ExecuteFile( this, editorname, pluginName );
|
||||||
else
|
else
|
||||||
wxMessageBox( _("No text editor selected in KiCad. Please choose it") );
|
wxMessageBox( _( "No text editor selected in KiCad. Please choose one." ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void DIALOG_BOM::OnHelp( wxCommandEvent& event )
|
void DIALOG_BOM::OnHelp( wxCommandEvent& event )
|
||||||
{
|
{
|
||||||
HTML_MESSAGE_BOX help_Dlg( this, _("Bom Generation Help") );
|
HTML_MESSAGE_BOX help_Dlg( this, _("Bom Generation Help") );
|
||||||
|
@ -666,6 +640,7 @@ void DIALOG_BOM::OnHelp( wxCommandEvent& event )
|
||||||
help_Dlg.ShowModal();
|
help_Dlg.ShowModal();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void DIALOG_BOM::OnCommandLineEdited( wxCommandEvent& event )
|
void DIALOG_BOM::OnCommandLineEdited( wxCommandEvent& event )
|
||||||
{
|
{
|
||||||
int ii = m_lbPlugins->GetSelection();
|
int ii = m_lbPlugins->GetSelection();
|
||||||
|
@ -676,6 +651,7 @@ void DIALOG_BOM::OnCommandLineEdited( wxCommandEvent& event )
|
||||||
m_plugins.Item( ii ).Command = m_textCtrlCommand->GetValue();
|
m_plugins.Item( ii ).Command = m_textCtrlCommand->GetValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void DIALOG_BOM::OnNameEdited( wxCommandEvent& event )
|
void DIALOG_BOM::OnNameEdited( wxCommandEvent& event )
|
||||||
{
|
{
|
||||||
int ii = m_lbPlugins->GetSelection();
|
int ii = m_lbPlugins->GetSelection();
|
||||||
|
@ -706,3 +682,15 @@ void DIALOG_BOM::OnShowConsoleChanged( wxCommandEvent& event )
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void DIALOG_BOM::OnIdle( wxIdleEvent& event )
|
||||||
|
{
|
||||||
|
// On some platforms we initialize wxTextCtrls to all-selected, but we don't want that
|
||||||
|
// for the messages text box.
|
||||||
|
if( !m_initialized )
|
||||||
|
{
|
||||||
|
m_Messages->SetSelection( 0, 0 );
|
||||||
|
m_initialized = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
// C++ code generated with wxFormBuilder (version Apr 19 2018)
|
// C++ code generated with wxFormBuilder (version Dec 30 2017)
|
||||||
// http://www.wxformbuilder.org/
|
// http://www.wxformbuilder.org/
|
||||||
//
|
//
|
||||||
// PLEASE DO *NOT* EDIT THIS FILE!
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
||||||
|
@ -9,19 +9,6 @@
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
BEGIN_EVENT_TABLE( DIALOG_BOM_BASE, DIALOG_SHIM )
|
|
||||||
EVT_LISTBOX( wxID_ANY, DIALOG_BOM_BASE::_wxFB_OnPluginSelected )
|
|
||||||
EVT_TEXT( IN_NAMELINE, DIALOG_BOM_BASE::_wxFB_OnNameEdited )
|
|
||||||
EVT_BUTTON( ID_CREATE_BOM, DIALOG_BOM_BASE::_wxFB_OnRunPlugin )
|
|
||||||
EVT_BUTTON( wxID_CANCEL, DIALOG_BOM_BASE::_wxFB_OnCancelClick )
|
|
||||||
EVT_BUTTON( ID_HELP, DIALOG_BOM_BASE::_wxFB_OnHelp )
|
|
||||||
EVT_BUTTON( ID_ADD_PLUGIN, DIALOG_BOM_BASE::_wxFB_OnAddPlugin )
|
|
||||||
EVT_BUTTON( ID_REMOVEL_PLUGIN, DIALOG_BOM_BASE::_wxFB_OnRemovePlugin )
|
|
||||||
EVT_BUTTON( wxID_ANY, DIALOG_BOM_BASE::_wxFB_OnEditPlugin )
|
|
||||||
EVT_TEXT( ID_CMDLINE, DIALOG_BOM_BASE::_wxFB_OnCommandLineEdited )
|
|
||||||
EVT_CHECKBOX( wxID_ANY, DIALOG_BOM_BASE::_wxFB_OnShowConsoleChanged )
|
|
||||||
END_EVENT_TABLE()
|
|
||||||
|
|
||||||
DIALOG_BOM_BASE::DIALOG_BOM_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : DIALOG_SHIM( parent, id, title, pos, size, style )
|
DIALOG_BOM_BASE::DIALOG_BOM_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : DIALOG_SHIM( parent, id, title, pos, size, style )
|
||||||
{
|
{
|
||||||
this->SetSizeHints( wxSize( -1,-1 ), wxDefaultSize );
|
this->SetSizeHints( wxSize( -1,-1 ), wxDefaultSize );
|
||||||
|
@ -35,53 +22,59 @@ DIALOG_BOM_BASE::DIALOG_BOM_BASE( wxWindow* parent, wxWindowID id, const wxStrin
|
||||||
wxBoxSizer* bLeftSizer;
|
wxBoxSizer* bLeftSizer;
|
||||||
bLeftSizer = new wxBoxSizer( wxVERTICAL );
|
bLeftSizer = new wxBoxSizer( wxVERTICAL );
|
||||||
|
|
||||||
m_staticTextPluginTitle = new wxStaticText( this, wxID_ANY, _("Plugins:"), wxDefaultPosition, wxDefaultSize, 0 );
|
m_staticTextPluginTitle = new wxStaticText( this, wxID_ANY, _("BOM plugins:"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||||
m_staticTextPluginTitle->Wrap( -1 );
|
m_staticTextPluginTitle->Wrap( -1 );
|
||||||
bLeftSizer->Add( m_staticTextPluginTitle, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
|
bLeftSizer->Add( m_staticTextPluginTitle, 0, wxTOP, 5 );
|
||||||
|
|
||||||
m_lbPlugins = new wxListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
|
m_lbPlugins = new wxListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
|
||||||
bLeftSizer->Add( m_lbPlugins, 1, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
m_lbPlugins->SetMinSize( wxSize( 250,-1 ) );
|
||||||
|
|
||||||
m_staticTextName = new wxStaticText( this, wxID_ANY, _("Name:"), wxDefaultPosition, wxDefaultSize, 0 );
|
bLeftSizer->Add( m_lbPlugins, 1, wxEXPAND, 5 );
|
||||||
m_staticTextName->Wrap( -1 );
|
|
||||||
bLeftSizer->Add( m_staticTextName, 0, wxRIGHT|wxLEFT, 5 );
|
|
||||||
|
|
||||||
m_textCtrlName = new wxTextCtrl( this, IN_NAMELINE, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
|
|
||||||
bLeftSizer->Add( m_textCtrlName, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
|
||||||
|
|
||||||
|
|
||||||
bUpperSizer->Add( bLeftSizer, 1, wxEXPAND, 5 );
|
bUpperSizer->Add( bLeftSizer, 1, wxEXPAND|wxRIGHT|wxLEFT, 10 );
|
||||||
|
|
||||||
wxBoxSizer* bRightSizer;
|
wxBoxSizer* bRightSizer;
|
||||||
bRightSizer = new wxBoxSizer( wxVERTICAL );
|
bRightSizer = new wxBoxSizer( wxVERTICAL );
|
||||||
|
|
||||||
m_buttonNetlist = new wxButton( this, ID_CREATE_BOM, _("Generate"), wxDefaultPosition, wxDefaultSize, 0 );
|
wxBoxSizer* bNameSizer;
|
||||||
m_buttonNetlist->SetDefault();
|
bNameSizer = new wxBoxSizer( wxHORIZONTAL );
|
||||||
bRightSizer->Add( m_buttonNetlist, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
|
|
||||||
|
|
||||||
m_buttonCancel = new wxButton( this, wxID_CANCEL, _("Close"), wxDefaultPosition, wxDefaultSize, 0 );
|
m_staticTextName = new wxStaticText( this, wxID_ANY, _("Plugin nickname:"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||||
bRightSizer->Add( m_buttonCancel, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
|
m_staticTextName->Wrap( -1 );
|
||||||
|
bNameSizer->Add( m_staticTextName, 0, wxALIGN_CENTER_VERTICAL, 5 );
|
||||||
|
|
||||||
m_buttonHelp = new wxButton( this, ID_HELP, _("Help"), wxDefaultPosition, wxDefaultSize, 0 );
|
m_textCtrlName = new wxTextCtrl( this, IN_NAMELINE, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
|
||||||
bRightSizer->Add( m_buttonHelp, 0, wxALL|wxEXPAND, 5 );
|
bNameSizer->Add( m_textCtrlName, 1, wxEXPAND|wxTOP|wxBOTTOM|wxLEFT, 5 );
|
||||||
|
|
||||||
m_staticline2 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
|
|
||||||
bRightSizer->Add( m_staticline2, 0, wxEXPAND|wxALL, 5 );
|
|
||||||
|
|
||||||
m_buttonAddPlugin = new wxButton( this, ID_ADD_PLUGIN, _("Add Plugin"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
||||||
bRightSizer->Add( m_buttonAddPlugin, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
|
|
||||||
|
|
||||||
m_buttonDelPlugin = new wxButton( this, ID_REMOVEL_PLUGIN, _("Remove Plugin"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
||||||
bRightSizer->Add( m_buttonDelPlugin, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
|
|
||||||
|
|
||||||
m_buttonEdit = new wxButton( this, wxID_ANY, _("Edit Plugin File"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
||||||
bRightSizer->Add( m_buttonEdit, 0, wxALL|wxEXPAND, 5 );
|
|
||||||
|
|
||||||
|
|
||||||
bUpperSizer->Add( bRightSizer, 0, wxALIGN_CENTER_VERTICAL, 5 );
|
bRightSizer->Add( bNameSizer, 0, wxEXPAND|wxTOP|wxLEFT, 6 );
|
||||||
|
|
||||||
|
m_Messages = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY );
|
||||||
|
m_Messages->SetMinSize( wxSize( 300,200 ) );
|
||||||
|
|
||||||
|
bRightSizer->Add( m_Messages, 1, wxEXPAND|wxLEFT, 5 );
|
||||||
|
|
||||||
|
|
||||||
bMainSizer->Add( bUpperSizer, 2, wxEXPAND, 5 );
|
bUpperSizer->Add( bRightSizer, 2, wxALIGN_CENTER_VERTICAL|wxEXPAND|wxTOP|wxRIGHT, 10 );
|
||||||
|
|
||||||
|
|
||||||
|
bMainSizer->Add( bUpperSizer, 2, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
|
||||||
|
|
||||||
|
wxBoxSizer* bPluginButtons;
|
||||||
|
bPluginButtons = new wxBoxSizer( wxHORIZONTAL );
|
||||||
|
|
||||||
|
m_buttonAddPlugin = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 30,30 ), wxBU_AUTODRAW );
|
||||||
|
bPluginButtons->Add( m_buttonAddPlugin, 0, wxLEFT, 5 );
|
||||||
|
|
||||||
|
m_buttonDelPlugin = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 30,30 ), wxBU_AUTODRAW );
|
||||||
|
bPluginButtons->Add( m_buttonDelPlugin, 0, wxRIGHT, 5 );
|
||||||
|
|
||||||
|
m_buttonEdit = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 30,30 ), wxBU_AUTODRAW );
|
||||||
|
bPluginButtons->Add( m_buttonEdit, 0, wxRIGHT|wxLEFT, 5 );
|
||||||
|
|
||||||
|
|
||||||
|
bMainSizer->Add( bPluginButtons, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 10 );
|
||||||
|
|
||||||
wxBoxSizer* bbottomSizer;
|
wxBoxSizer* bbottomSizer;
|
||||||
bbottomSizer = new wxBoxSizer( wxVERTICAL );
|
bbottomSizer = new wxBoxSizer( wxVERTICAL );
|
||||||
|
@ -99,17 +92,24 @@ DIALOG_BOM_BASE::DIALOG_BOM_BASE( wxWindow* parent, wxWindowID id, const wxStrin
|
||||||
m_checkBoxShowConsole->SetValue(true);
|
m_checkBoxShowConsole->SetValue(true);
|
||||||
m_checkBoxShowConsole->SetToolTip( _("By default, command line runs with hidden console window and output is redirected to \"Plugin info\" field.\nSet this option to show the window of the running command.") );
|
m_checkBoxShowConsole->SetToolTip( _("By default, command line runs with hidden console window and output is redirected to \"Plugin info\" field.\nSet this option to show the window of the running command.") );
|
||||||
|
|
||||||
bbottomSizer->Add( m_checkBoxShowConsole, 0, wxALL, 5 );
|
bbottomSizer->Add( m_checkBoxShowConsole, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
||||||
|
|
||||||
|
|
||||||
bMainSizer->Add( bbottomSizer, 0, wxEXPAND, 5 );
|
bMainSizer->Add( bbottomSizer, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 10 );
|
||||||
|
|
||||||
m_staticTextInfo = new wxStaticText( this, wxID_ANY, _("Plugin Information:"), wxDefaultPosition, wxDefaultSize, 0 );
|
m_staticline2 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
|
||||||
m_staticTextInfo->Wrap( -1 );
|
bMainSizer->Add( m_staticline2, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
|
||||||
bMainSizer->Add( m_staticTextInfo, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
|
|
||||||
|
|
||||||
m_Messages = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY );
|
m_sdbSizer1 = new wxStdDialogButtonSizer();
|
||||||
bMainSizer->Add( m_Messages, 1, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
m_sdbSizer1OK = new wxButton( this, wxID_OK );
|
||||||
|
m_sdbSizer1->AddButton( m_sdbSizer1OK );
|
||||||
|
m_sdbSizer1Cancel = new wxButton( this, wxID_CANCEL );
|
||||||
|
m_sdbSizer1->AddButton( m_sdbSizer1Cancel );
|
||||||
|
m_sdbSizer1Help = new wxButton( this, wxID_HELP );
|
||||||
|
m_sdbSizer1->AddButton( m_sdbSizer1Help );
|
||||||
|
m_sdbSizer1->Realize();
|
||||||
|
|
||||||
|
bMainSizer->Add( m_sdbSizer1, 0, wxEXPAND|wxALL, 5 );
|
||||||
|
|
||||||
|
|
||||||
this->SetSizer( bMainSizer );
|
this->SetSizer( bMainSizer );
|
||||||
|
@ -117,6 +117,18 @@ DIALOG_BOM_BASE::DIALOG_BOM_BASE( wxWindow* parent, wxWindowID id, const wxStrin
|
||||||
bMainSizer->Fit( this );
|
bMainSizer->Fit( this );
|
||||||
|
|
||||||
this->Centre( wxBOTH );
|
this->Centre( wxBOTH );
|
||||||
|
|
||||||
|
// Connect Events
|
||||||
|
this->Connect( wxEVT_IDLE, wxIdleEventHandler( DIALOG_BOM_BASE::OnIdle ) );
|
||||||
|
m_lbPlugins->Connect( wxEVT_COMMAND_LISTBOX_SELECTED, wxCommandEventHandler( DIALOG_BOM_BASE::OnPluginSelected ), NULL, this );
|
||||||
|
m_textCtrlName->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( DIALOG_BOM_BASE::OnNameEdited ), NULL, this );
|
||||||
|
m_buttonAddPlugin->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_BOM_BASE::OnAddPlugin ), NULL, this );
|
||||||
|
m_buttonDelPlugin->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_BOM_BASE::OnRemovePlugin ), NULL, this );
|
||||||
|
m_buttonEdit->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_BOM_BASE::OnEditPlugin ), NULL, this );
|
||||||
|
m_textCtrlCommand->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( DIALOG_BOM_BASE::OnCommandLineEdited ), NULL, this );
|
||||||
|
m_checkBoxShowConsole->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_BOM_BASE::OnShowConsoleChanged ), NULL, this );
|
||||||
|
m_sdbSizer1Help->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_BOM_BASE::OnHelp ), NULL, this );
|
||||||
|
m_sdbSizer1OK->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_BOM_BASE::OnRunPlugin ), NULL, this );
|
||||||
}
|
}
|
||||||
|
|
||||||
DIALOG_BOM_BASE::~DIALOG_BOM_BASE()
|
DIALOG_BOM_BASE::~DIALOG_BOM_BASE()
|
||||||
|
|
|
@ -10,11 +10,10 @@
|
||||||
<property name="disconnect_python_events">0</property>
|
<property name="disconnect_python_events">0</property>
|
||||||
<property name="embedded_files_path">res</property>
|
<property name="embedded_files_path">res</property>
|
||||||
<property name="encoding">UTF-8</property>
|
<property name="encoding">UTF-8</property>
|
||||||
<property name="event_generation">table</property>
|
<property name="event_generation">connect</property>
|
||||||
<property name="file">dialog_bom_base</property>
|
<property name="file">dialog_bom_base</property>
|
||||||
<property name="first_id">1000</property>
|
<property name="first_id">1000</property>
|
||||||
<property name="help_provider">none</property>
|
<property name="help_provider">none</property>
|
||||||
<property name="indent_with_spaces"></property>
|
|
||||||
<property name="internationalize">1</property>
|
<property name="internationalize">1</property>
|
||||||
<property name="name">dialog_bom_base</property>
|
<property name="name">dialog_bom_base</property>
|
||||||
<property name="namespace"></property>
|
<property name="namespace"></property>
|
||||||
|
@ -67,7 +66,7 @@
|
||||||
<event name="OnEraseBackground"></event>
|
<event name="OnEraseBackground"></event>
|
||||||
<event name="OnHibernate"></event>
|
<event name="OnHibernate"></event>
|
||||||
<event name="OnIconize"></event>
|
<event name="OnIconize"></event>
|
||||||
<event name="OnIdle"></event>
|
<event name="OnIdle">OnIdle</event>
|
||||||
<event name="OnInitDialog"></event>
|
<event name="OnInitDialog"></event>
|
||||||
<event name="OnKeyDown"></event>
|
<event name="OnKeyDown"></event>
|
||||||
<event name="OnKeyUp"></event>
|
<event name="OnKeyUp"></event>
|
||||||
|
@ -96,7 +95,7 @@
|
||||||
<property name="permission">none</property>
|
<property name="permission">none</property>
|
||||||
<object class="sizeritem" expanded="1">
|
<object class="sizeritem" expanded="1">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxEXPAND</property>
|
<property name="flag">wxEXPAND|wxTOP|wxRIGHT|wxLEFT</property>
|
||||||
<property name="proportion">2</property>
|
<property name="proportion">2</property>
|
||||||
<object class="wxBoxSizer" expanded="1">
|
<object class="wxBoxSizer" expanded="1">
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size"></property>
|
||||||
|
@ -104,8 +103,8 @@
|
||||||
<property name="orient">wxHORIZONTAL</property>
|
<property name="orient">wxHORIZONTAL</property>
|
||||||
<property name="permission">none</property>
|
<property name="permission">none</property>
|
||||||
<object class="sizeritem" expanded="1">
|
<object class="sizeritem" expanded="1">
|
||||||
<property name="border">5</property>
|
<property name="border">10</property>
|
||||||
<property name="flag">wxEXPAND</property>
|
<property name="flag">wxEXPAND|wxRIGHT|wxLEFT</property>
|
||||||
<property name="proportion">1</property>
|
<property name="proportion">1</property>
|
||||||
<object class="wxBoxSizer" expanded="1">
|
<object class="wxBoxSizer" expanded="1">
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size"></property>
|
||||||
|
@ -114,7 +113,7 @@
|
||||||
<property name="permission">none</property>
|
<property name="permission">none</property>
|
||||||
<object class="sizeritem" expanded="1">
|
<object class="sizeritem" expanded="1">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxTOP|wxRIGHT|wxLEFT</property>
|
<property name="flag">wxTOP</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">0</property>
|
||||||
<object class="wxStaticText" expanded="1">
|
<object class="wxStaticText" expanded="1">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
|
@ -144,7 +143,7 @@
|
||||||
<property name="gripper">0</property>
|
<property name="gripper">0</property>
|
||||||
<property name="hidden">0</property>
|
<property name="hidden">0</property>
|
||||||
<property name="id">wxID_ANY</property>
|
<property name="id">wxID_ANY</property>
|
||||||
<property name="label">Plugins:</property>
|
<property name="label">BOM plugins:</property>
|
||||||
<property name="max_size"></property>
|
<property name="max_size"></property>
|
||||||
<property name="maximize_button">0</property>
|
<property name="maximize_button">0</property>
|
||||||
<property name="maximum_size"></property>
|
<property name="maximum_size"></property>
|
||||||
|
@ -197,7 +196,7 @@
|
||||||
</object>
|
</object>
|
||||||
<object class="sizeritem" expanded="1">
|
<object class="sizeritem" expanded="1">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT</property>
|
<property name="flag">wxEXPAND</property>
|
||||||
<property name="proportion">1</property>
|
<property name="proportion">1</property>
|
||||||
<object class="wxListBox" expanded="1">
|
<object class="wxListBox" expanded="1">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
|
@ -233,7 +232,7 @@
|
||||||
<property name="maximum_size"></property>
|
<property name="maximum_size"></property>
|
||||||
<property name="min_size"></property>
|
<property name="min_size"></property>
|
||||||
<property name="minimize_button">0</property>
|
<property name="minimize_button">0</property>
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size">250,-1</property>
|
||||||
<property name="moveable">1</property>
|
<property name="moveable">1</property>
|
||||||
<property name="name">m_lbPlugins</property>
|
<property name="name">m_lbPlugins</property>
|
||||||
<property name="pane_border">1</property>
|
<property name="pane_border">1</property>
|
||||||
|
@ -246,7 +245,7 @@
|
||||||
<property name="show">1</property>
|
<property name="show">1</property>
|
||||||
<property name="size"></property>
|
<property name="size"></property>
|
||||||
<property name="style"></property>
|
<property name="style"></property>
|
||||||
<property name="subclass"></property>
|
<property name="subclass">; forward_declare</property>
|
||||||
<property name="toolbar_pane">0</property>
|
<property name="toolbar_pane">0</property>
|
||||||
<property name="tooltip"></property>
|
<property name="tooltip"></property>
|
||||||
<property name="validator_data_type"></property>
|
<property name="validator_data_type"></property>
|
||||||
|
@ -283,9 +282,29 @@
|
||||||
<event name="OnUpdateUI"></event>
|
<event name="OnUpdateUI"></event>
|
||||||
</object>
|
</object>
|
||||||
</object>
|
</object>
|
||||||
|
</object>
|
||||||
|
</object>
|
||||||
|
<object class="sizeritem" expanded="1">
|
||||||
|
<property name="border">10</property>
|
||||||
|
<property name="flag">wxALIGN_CENTER_VERTICAL|wxEXPAND|wxTOP|wxRIGHT</property>
|
||||||
|
<property name="proportion">2</property>
|
||||||
|
<object class="wxBoxSizer" expanded="1">
|
||||||
|
<property name="minimum_size"></property>
|
||||||
|
<property name="name">bRightSizer</property>
|
||||||
|
<property name="orient">wxVERTICAL</property>
|
||||||
|
<property name="permission">none</property>
|
||||||
|
<object class="sizeritem" expanded="1">
|
||||||
|
<property name="border">6</property>
|
||||||
|
<property name="flag">wxEXPAND|wxTOP|wxLEFT</property>
|
||||||
|
<property name="proportion">0</property>
|
||||||
|
<object class="wxBoxSizer" expanded="1">
|
||||||
|
<property name="minimum_size"></property>
|
||||||
|
<property name="name">bNameSizer</property>
|
||||||
|
<property name="orient">wxHORIZONTAL</property>
|
||||||
|
<property name="permission">none</property>
|
||||||
<object class="sizeritem" expanded="1">
|
<object class="sizeritem" expanded="1">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxRIGHT|wxLEFT</property>
|
<property name="flag">wxALIGN_CENTER_VERTICAL</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">0</property>
|
||||||
<object class="wxStaticText" expanded="1">
|
<object class="wxStaticText" expanded="1">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
|
@ -315,7 +334,7 @@
|
||||||
<property name="gripper">0</property>
|
<property name="gripper">0</property>
|
||||||
<property name="hidden">0</property>
|
<property name="hidden">0</property>
|
||||||
<property name="id">wxID_ANY</property>
|
<property name="id">wxID_ANY</property>
|
||||||
<property name="label">Name:</property>
|
<property name="label">Plugin nickname:</property>
|
||||||
<property name="max_size"></property>
|
<property name="max_size"></property>
|
||||||
<property name="maximize_button">0</property>
|
<property name="maximize_button">0</property>
|
||||||
<property name="maximum_size"></property>
|
<property name="maximum_size"></property>
|
||||||
|
@ -368,8 +387,8 @@
|
||||||
</object>
|
</object>
|
||||||
<object class="sizeritem" expanded="1">
|
<object class="sizeritem" expanded="1">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT</property>
|
<property name="flag">wxEXPAND|wxTOP|wxBOTTOM|wxLEFT</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">1</property>
|
||||||
<object class="wxTextCtrl" expanded="1">
|
<object class="wxTextCtrl" expanded="1">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
<property name="LeftDockable">1</property>
|
<property name="LeftDockable">1</property>
|
||||||
|
@ -461,282 +480,9 @@
|
||||||
</object>
|
</object>
|
||||||
<object class="sizeritem" expanded="1">
|
<object class="sizeritem" expanded="1">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxALIGN_CENTER_VERTICAL</property>
|
<property name="flag">wxEXPAND|wxLEFT</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">1</property>
|
||||||
<object class="wxBoxSizer" expanded="1">
|
<object class="wxTextCtrl" expanded="1">
|
||||||
<property name="minimum_size"></property>
|
|
||||||
<property name="name">bRightSizer</property>
|
|
||||||
<property name="orient">wxVERTICAL</property>
|
|
||||||
<property name="permission">none</property>
|
|
||||||
<object class="sizeritem" expanded="1">
|
|
||||||
<property name="border">5</property>
|
|
||||||
<property name="flag">wxEXPAND|wxTOP|wxRIGHT|wxLEFT</property>
|
|
||||||
<property name="proportion">0</property>
|
|
||||||
<object class="wxButton" expanded="1">
|
|
||||||
<property name="BottomDockable">1</property>
|
|
||||||
<property name="LeftDockable">1</property>
|
|
||||||
<property name="RightDockable">1</property>
|
|
||||||
<property name="TopDockable">1</property>
|
|
||||||
<property name="aui_layer"></property>
|
|
||||||
<property name="aui_name"></property>
|
|
||||||
<property name="aui_position"></property>
|
|
||||||
<property name="aui_row"></property>
|
|
||||||
<property name="best_size"></property>
|
|
||||||
<property name="bg"></property>
|
|
||||||
<property name="caption"></property>
|
|
||||||
<property name="caption_visible">1</property>
|
|
||||||
<property name="center_pane">0</property>
|
|
||||||
<property name="close_button">1</property>
|
|
||||||
<property name="context_help"></property>
|
|
||||||
<property name="context_menu">1</property>
|
|
||||||
<property name="default">1</property>
|
|
||||||
<property name="default_pane">0</property>
|
|
||||||
<property name="dock">Dock</property>
|
|
||||||
<property name="dock_fixed">0</property>
|
|
||||||
<property name="docking">Left</property>
|
|
||||||
<property name="enabled">1</property>
|
|
||||||
<property name="fg"></property>
|
|
||||||
<property name="floatable">1</property>
|
|
||||||
<property name="font"></property>
|
|
||||||
<property name="gripper">0</property>
|
|
||||||
<property name="hidden">0</property>
|
|
||||||
<property name="id">ID_CREATE_BOM</property>
|
|
||||||
<property name="label">Generate</property>
|
|
||||||
<property name="max_size"></property>
|
|
||||||
<property name="maximize_button">0</property>
|
|
||||||
<property name="maximum_size"></property>
|
|
||||||
<property name="min_size"></property>
|
|
||||||
<property name="minimize_button">0</property>
|
|
||||||
<property name="minimum_size"></property>
|
|
||||||
<property name="moveable">1</property>
|
|
||||||
<property name="name">m_buttonNetlist</property>
|
|
||||||
<property name="pane_border">1</property>
|
|
||||||
<property name="pane_position"></property>
|
|
||||||
<property name="pane_size"></property>
|
|
||||||
<property name="permission">protected</property>
|
|
||||||
<property name="pin_button">1</property>
|
|
||||||
<property name="pos"></property>
|
|
||||||
<property name="resize">Resizable</property>
|
|
||||||
<property name="show">1</property>
|
|
||||||
<property name="size"></property>
|
|
||||||
<property name="style"></property>
|
|
||||||
<property name="subclass"></property>
|
|
||||||
<property name="toolbar_pane">0</property>
|
|
||||||
<property name="tooltip"></property>
|
|
||||||
<property name="validator_data_type"></property>
|
|
||||||
<property name="validator_style">wxFILTER_NONE</property>
|
|
||||||
<property name="validator_type">wxDefaultValidator</property>
|
|
||||||
<property name="validator_variable"></property>
|
|
||||||
<property name="window_extra_style"></property>
|
|
||||||
<property name="window_name"></property>
|
|
||||||
<property name="window_style"></property>
|
|
||||||
<event name="OnButtonClick">OnRunPlugin</event>
|
|
||||||
<event name="OnChar"></event>
|
|
||||||
<event name="OnEnterWindow"></event>
|
|
||||||
<event name="OnEraseBackground"></event>
|
|
||||||
<event name="OnKeyDown"></event>
|
|
||||||
<event name="OnKeyUp"></event>
|
|
||||||
<event name="OnKillFocus"></event>
|
|
||||||
<event name="OnLeaveWindow"></event>
|
|
||||||
<event name="OnLeftDClick"></event>
|
|
||||||
<event name="OnLeftDown"></event>
|
|
||||||
<event name="OnLeftUp"></event>
|
|
||||||
<event name="OnMiddleDClick"></event>
|
|
||||||
<event name="OnMiddleDown"></event>
|
|
||||||
<event name="OnMiddleUp"></event>
|
|
||||||
<event name="OnMotion"></event>
|
|
||||||
<event name="OnMouseEvents"></event>
|
|
||||||
<event name="OnMouseWheel"></event>
|
|
||||||
<event name="OnPaint"></event>
|
|
||||||
<event name="OnRightDClick"></event>
|
|
||||||
<event name="OnRightDown"></event>
|
|
||||||
<event name="OnRightUp"></event>
|
|
||||||
<event name="OnSetFocus"></event>
|
|
||||||
<event name="OnSize"></event>
|
|
||||||
<event name="OnUpdateUI"></event>
|
|
||||||
</object>
|
|
||||||
</object>
|
|
||||||
<object class="sizeritem" expanded="1">
|
|
||||||
<property name="border">5</property>
|
|
||||||
<property name="flag">wxEXPAND|wxTOP|wxRIGHT|wxLEFT</property>
|
|
||||||
<property name="proportion">0</property>
|
|
||||||
<object class="wxButton" expanded="1">
|
|
||||||
<property name="BottomDockable">1</property>
|
|
||||||
<property name="LeftDockable">1</property>
|
|
||||||
<property name="RightDockable">1</property>
|
|
||||||
<property name="TopDockable">1</property>
|
|
||||||
<property name="aui_layer"></property>
|
|
||||||
<property name="aui_name"></property>
|
|
||||||
<property name="aui_position"></property>
|
|
||||||
<property name="aui_row"></property>
|
|
||||||
<property name="best_size"></property>
|
|
||||||
<property name="bg"></property>
|
|
||||||
<property name="caption"></property>
|
|
||||||
<property name="caption_visible">1</property>
|
|
||||||
<property name="center_pane">0</property>
|
|
||||||
<property name="close_button">1</property>
|
|
||||||
<property name="context_help"></property>
|
|
||||||
<property name="context_menu">1</property>
|
|
||||||
<property name="default">0</property>
|
|
||||||
<property name="default_pane">0</property>
|
|
||||||
<property name="dock">Dock</property>
|
|
||||||
<property name="dock_fixed">0</property>
|
|
||||||
<property name="docking">Left</property>
|
|
||||||
<property name="enabled">1</property>
|
|
||||||
<property name="fg"></property>
|
|
||||||
<property name="floatable">1</property>
|
|
||||||
<property name="font"></property>
|
|
||||||
<property name="gripper">0</property>
|
|
||||||
<property name="hidden">0</property>
|
|
||||||
<property name="id">wxID_CANCEL</property>
|
|
||||||
<property name="label">Close</property>
|
|
||||||
<property name="max_size"></property>
|
|
||||||
<property name="maximize_button">0</property>
|
|
||||||
<property name="maximum_size"></property>
|
|
||||||
<property name="min_size"></property>
|
|
||||||
<property name="minimize_button">0</property>
|
|
||||||
<property name="minimum_size"></property>
|
|
||||||
<property name="moveable">1</property>
|
|
||||||
<property name="name">m_buttonCancel</property>
|
|
||||||
<property name="pane_border">1</property>
|
|
||||||
<property name="pane_position"></property>
|
|
||||||
<property name="pane_size"></property>
|
|
||||||
<property name="permission">protected</property>
|
|
||||||
<property name="pin_button">1</property>
|
|
||||||
<property name="pos"></property>
|
|
||||||
<property name="resize">Resizable</property>
|
|
||||||
<property name="show">1</property>
|
|
||||||
<property name="size"></property>
|
|
||||||
<property name="style"></property>
|
|
||||||
<property name="subclass"></property>
|
|
||||||
<property name="toolbar_pane">0</property>
|
|
||||||
<property name="tooltip"></property>
|
|
||||||
<property name="validator_data_type"></property>
|
|
||||||
<property name="validator_style">wxFILTER_NONE</property>
|
|
||||||
<property name="validator_type">wxDefaultValidator</property>
|
|
||||||
<property name="validator_variable"></property>
|
|
||||||
<property name="window_extra_style"></property>
|
|
||||||
<property name="window_name"></property>
|
|
||||||
<property name="window_style"></property>
|
|
||||||
<event name="OnButtonClick">OnCancelClick</event>
|
|
||||||
<event name="OnChar"></event>
|
|
||||||
<event name="OnEnterWindow"></event>
|
|
||||||
<event name="OnEraseBackground"></event>
|
|
||||||
<event name="OnKeyDown"></event>
|
|
||||||
<event name="OnKeyUp"></event>
|
|
||||||
<event name="OnKillFocus"></event>
|
|
||||||
<event name="OnLeaveWindow"></event>
|
|
||||||
<event name="OnLeftDClick"></event>
|
|
||||||
<event name="OnLeftDown"></event>
|
|
||||||
<event name="OnLeftUp"></event>
|
|
||||||
<event name="OnMiddleDClick"></event>
|
|
||||||
<event name="OnMiddleDown"></event>
|
|
||||||
<event name="OnMiddleUp"></event>
|
|
||||||
<event name="OnMotion"></event>
|
|
||||||
<event name="OnMouseEvents"></event>
|
|
||||||
<event name="OnMouseWheel"></event>
|
|
||||||
<event name="OnPaint"></event>
|
|
||||||
<event name="OnRightDClick"></event>
|
|
||||||
<event name="OnRightDown"></event>
|
|
||||||
<event name="OnRightUp"></event>
|
|
||||||
<event name="OnSetFocus"></event>
|
|
||||||
<event name="OnSize"></event>
|
|
||||||
<event name="OnUpdateUI"></event>
|
|
||||||
</object>
|
|
||||||
</object>
|
|
||||||
<object class="sizeritem" expanded="1">
|
|
||||||
<property name="border">5</property>
|
|
||||||
<property name="flag">wxALL|wxEXPAND</property>
|
|
||||||
<property name="proportion">0</property>
|
|
||||||
<object class="wxButton" expanded="1">
|
|
||||||
<property name="BottomDockable">1</property>
|
|
||||||
<property name="LeftDockable">1</property>
|
|
||||||
<property name="RightDockable">1</property>
|
|
||||||
<property name="TopDockable">1</property>
|
|
||||||
<property name="aui_layer"></property>
|
|
||||||
<property name="aui_name"></property>
|
|
||||||
<property name="aui_position"></property>
|
|
||||||
<property name="aui_row"></property>
|
|
||||||
<property name="best_size"></property>
|
|
||||||
<property name="bg"></property>
|
|
||||||
<property name="caption"></property>
|
|
||||||
<property name="caption_visible">1</property>
|
|
||||||
<property name="center_pane">0</property>
|
|
||||||
<property name="close_button">1</property>
|
|
||||||
<property name="context_help"></property>
|
|
||||||
<property name="context_menu">1</property>
|
|
||||||
<property name="default">0</property>
|
|
||||||
<property name="default_pane">0</property>
|
|
||||||
<property name="dock">Dock</property>
|
|
||||||
<property name="dock_fixed">0</property>
|
|
||||||
<property name="docking">Left</property>
|
|
||||||
<property name="enabled">1</property>
|
|
||||||
<property name="fg"></property>
|
|
||||||
<property name="floatable">1</property>
|
|
||||||
<property name="font"></property>
|
|
||||||
<property name="gripper">0</property>
|
|
||||||
<property name="hidden">0</property>
|
|
||||||
<property name="id">ID_HELP</property>
|
|
||||||
<property name="label">Help</property>
|
|
||||||
<property name="max_size"></property>
|
|
||||||
<property name="maximize_button">0</property>
|
|
||||||
<property name="maximum_size"></property>
|
|
||||||
<property name="min_size"></property>
|
|
||||||
<property name="minimize_button">0</property>
|
|
||||||
<property name="minimum_size"></property>
|
|
||||||
<property name="moveable">1</property>
|
|
||||||
<property name="name">m_buttonHelp</property>
|
|
||||||
<property name="pane_border">1</property>
|
|
||||||
<property name="pane_position"></property>
|
|
||||||
<property name="pane_size"></property>
|
|
||||||
<property name="permission">protected</property>
|
|
||||||
<property name="pin_button">1</property>
|
|
||||||
<property name="pos"></property>
|
|
||||||
<property name="resize">Resizable</property>
|
|
||||||
<property name="show">1</property>
|
|
||||||
<property name="size"></property>
|
|
||||||
<property name="style"></property>
|
|
||||||
<property name="subclass"></property>
|
|
||||||
<property name="toolbar_pane">0</property>
|
|
||||||
<property name="tooltip"></property>
|
|
||||||
<property name="validator_data_type"></property>
|
|
||||||
<property name="validator_style">wxFILTER_NONE</property>
|
|
||||||
<property name="validator_type">wxDefaultValidator</property>
|
|
||||||
<property name="validator_variable"></property>
|
|
||||||
<property name="window_extra_style"></property>
|
|
||||||
<property name="window_name"></property>
|
|
||||||
<property name="window_style"></property>
|
|
||||||
<event name="OnButtonClick">OnHelp</event>
|
|
||||||
<event name="OnChar"></event>
|
|
||||||
<event name="OnEnterWindow"></event>
|
|
||||||
<event name="OnEraseBackground"></event>
|
|
||||||
<event name="OnKeyDown"></event>
|
|
||||||
<event name="OnKeyUp"></event>
|
|
||||||
<event name="OnKillFocus"></event>
|
|
||||||
<event name="OnLeaveWindow"></event>
|
|
||||||
<event name="OnLeftDClick"></event>
|
|
||||||
<event name="OnLeftDown"></event>
|
|
||||||
<event name="OnLeftUp"></event>
|
|
||||||
<event name="OnMiddleDClick"></event>
|
|
||||||
<event name="OnMiddleDown"></event>
|
|
||||||
<event name="OnMiddleUp"></event>
|
|
||||||
<event name="OnMotion"></event>
|
|
||||||
<event name="OnMouseEvents"></event>
|
|
||||||
<event name="OnMouseWheel"></event>
|
|
||||||
<event name="OnPaint"></event>
|
|
||||||
<event name="OnRightDClick"></event>
|
|
||||||
<event name="OnRightDown"></event>
|
|
||||||
<event name="OnRightUp"></event>
|
|
||||||
<event name="OnSetFocus"></event>
|
|
||||||
<event name="OnSize"></event>
|
|
||||||
<event name="OnUpdateUI"></event>
|
|
||||||
</object>
|
|
||||||
</object>
|
|
||||||
<object class="sizeritem" expanded="1">
|
|
||||||
<property name="border">5</property>
|
|
||||||
<property name="flag">wxEXPAND|wxALL</property>
|
|
||||||
<property name="proportion">0</property>
|
|
||||||
<object class="wxStaticLine" expanded="1">
|
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
<property name="LeftDockable">1</property>
|
<property name="LeftDockable">1</property>
|
||||||
<property name="RightDockable">1</property>
|
<property name="RightDockable">1</property>
|
||||||
|
@ -767,11 +513,12 @@
|
||||||
<property name="max_size"></property>
|
<property name="max_size"></property>
|
||||||
<property name="maximize_button">0</property>
|
<property name="maximize_button">0</property>
|
||||||
<property name="maximum_size"></property>
|
<property name="maximum_size"></property>
|
||||||
|
<property name="maxlength">0</property>
|
||||||
<property name="min_size"></property>
|
<property name="min_size"></property>
|
||||||
<property name="minimize_button">0</property>
|
<property name="minimize_button">0</property>
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size">300,200</property>
|
||||||
<property name="moveable">1</property>
|
<property name="moveable">1</property>
|
||||||
<property name="name">m_staticline2</property>
|
<property name="name">m_Messages</property>
|
||||||
<property name="pane_border">1</property>
|
<property name="pane_border">1</property>
|
||||||
<property name="pane_position"></property>
|
<property name="pane_position"></property>
|
||||||
<property name="pane_size"></property>
|
<property name="pane_size"></property>
|
||||||
|
@ -781,10 +528,15 @@
|
||||||
<property name="resize">Resizable</property>
|
<property name="resize">Resizable</property>
|
||||||
<property name="show">1</property>
|
<property name="show">1</property>
|
||||||
<property name="size"></property>
|
<property name="size"></property>
|
||||||
<property name="style">wxLI_HORIZONTAL</property>
|
<property name="style">wxTE_MULTILINE|wxTE_READONLY</property>
|
||||||
<property name="subclass"></property>
|
<property name="subclass"></property>
|
||||||
<property name="toolbar_pane">0</property>
|
<property name="toolbar_pane">0</property>
|
||||||
<property name="tooltip"></property>
|
<property name="tooltip"></property>
|
||||||
|
<property name="validator_data_type"></property>
|
||||||
|
<property name="validator_style">wxFILTER_NONE</property>
|
||||||
|
<property name="validator_type">wxDefaultValidator</property>
|
||||||
|
<property name="validator_variable"></property>
|
||||||
|
<property name="value"></property>
|
||||||
<property name="window_extra_style"></property>
|
<property name="window_extra_style"></property>
|
||||||
<property name="window_name"></property>
|
<property name="window_name"></property>
|
||||||
<property name="window_style"></property>
|
<property name="window_style"></property>
|
||||||
|
@ -810,14 +562,31 @@
|
||||||
<event name="OnRightUp"></event>
|
<event name="OnRightUp"></event>
|
||||||
<event name="OnSetFocus"></event>
|
<event name="OnSetFocus"></event>
|
||||||
<event name="OnSize"></event>
|
<event name="OnSize"></event>
|
||||||
|
<event name="OnText"></event>
|
||||||
|
<event name="OnTextEnter"></event>
|
||||||
|
<event name="OnTextMaxLen"></event>
|
||||||
|
<event name="OnTextURL"></event>
|
||||||
<event name="OnUpdateUI"></event>
|
<event name="OnUpdateUI"></event>
|
||||||
</object>
|
</object>
|
||||||
</object>
|
</object>
|
||||||
|
</object>
|
||||||
|
</object>
|
||||||
|
</object>
|
||||||
|
</object>
|
||||||
|
<object class="sizeritem" expanded="1">
|
||||||
|
<property name="border">10</property>
|
||||||
|
<property name="flag">wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT</property>
|
||||||
|
<property name="proportion">0</property>
|
||||||
|
<object class="wxBoxSizer" expanded="1">
|
||||||
|
<property name="minimum_size"></property>
|
||||||
|
<property name="name">bPluginButtons</property>
|
||||||
|
<property name="orient">wxHORIZONTAL</property>
|
||||||
|
<property name="permission">none</property>
|
||||||
<object class="sizeritem" expanded="1">
|
<object class="sizeritem" expanded="1">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxEXPAND|wxTOP|wxRIGHT|wxLEFT</property>
|
<property name="flag">wxLEFT</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">0</property>
|
||||||
<object class="wxButton" expanded="1">
|
<object class="wxBitmapButton" expanded="1">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
<property name="LeftDockable">1</property>
|
<property name="LeftDockable">1</property>
|
||||||
<property name="RightDockable">1</property>
|
<property name="RightDockable">1</property>
|
||||||
|
@ -828,6 +597,7 @@
|
||||||
<property name="aui_row"></property>
|
<property name="aui_row"></property>
|
||||||
<property name="best_size"></property>
|
<property name="best_size"></property>
|
||||||
<property name="bg"></property>
|
<property name="bg"></property>
|
||||||
|
<property name="bitmap"></property>
|
||||||
<property name="caption"></property>
|
<property name="caption"></property>
|
||||||
<property name="caption_visible">1</property>
|
<property name="caption_visible">1</property>
|
||||||
<property name="center_pane">0</property>
|
<property name="center_pane">0</property>
|
||||||
|
@ -836,17 +606,20 @@
|
||||||
<property name="context_menu">1</property>
|
<property name="context_menu">1</property>
|
||||||
<property name="default">0</property>
|
<property name="default">0</property>
|
||||||
<property name="default_pane">0</property>
|
<property name="default_pane">0</property>
|
||||||
|
<property name="disabled"></property>
|
||||||
<property name="dock">Dock</property>
|
<property name="dock">Dock</property>
|
||||||
<property name="dock_fixed">0</property>
|
<property name="dock_fixed">0</property>
|
||||||
<property name="docking">Left</property>
|
<property name="docking">Left</property>
|
||||||
<property name="enabled">1</property>
|
<property name="enabled">1</property>
|
||||||
<property name="fg"></property>
|
<property name="fg"></property>
|
||||||
<property name="floatable">1</property>
|
<property name="floatable">1</property>
|
||||||
|
<property name="focus"></property>
|
||||||
<property name="font"></property>
|
<property name="font"></property>
|
||||||
<property name="gripper">0</property>
|
<property name="gripper">0</property>
|
||||||
<property name="hidden">0</property>
|
<property name="hidden">0</property>
|
||||||
<property name="id">ID_ADD_PLUGIN</property>
|
<property name="hover"></property>
|
||||||
<property name="label">Add Plugin</property>
|
<property name="id">wxID_ANY</property>
|
||||||
|
<property name="label">MyButton</property>
|
||||||
<property name="max_size"></property>
|
<property name="max_size"></property>
|
||||||
<property name="maximize_button">0</property>
|
<property name="maximize_button">0</property>
|
||||||
<property name="maximum_size"></property>
|
<property name="maximum_size"></property>
|
||||||
|
@ -862,10 +635,11 @@
|
||||||
<property name="pin_button">1</property>
|
<property name="pin_button">1</property>
|
||||||
<property name="pos"></property>
|
<property name="pos"></property>
|
||||||
<property name="resize">Resizable</property>
|
<property name="resize">Resizable</property>
|
||||||
|
<property name="selected"></property>
|
||||||
<property name="show">1</property>
|
<property name="show">1</property>
|
||||||
<property name="size"></property>
|
<property name="size">30,30</property>
|
||||||
<property name="style"></property>
|
<property name="style">wxBU_AUTODRAW</property>
|
||||||
<property name="subclass"></property>
|
<property name="subclass">; forward_declare</property>
|
||||||
<property name="toolbar_pane">0</property>
|
<property name="toolbar_pane">0</property>
|
||||||
<property name="tooltip"></property>
|
<property name="tooltip"></property>
|
||||||
<property name="validator_data_type"></property>
|
<property name="validator_data_type"></property>
|
||||||
|
@ -903,9 +677,9 @@
|
||||||
</object>
|
</object>
|
||||||
<object class="sizeritem" expanded="1">
|
<object class="sizeritem" expanded="1">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxEXPAND|wxTOP|wxRIGHT|wxLEFT</property>
|
<property name="flag">wxRIGHT</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">0</property>
|
||||||
<object class="wxButton" expanded="1">
|
<object class="wxBitmapButton" expanded="1">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
<property name="LeftDockable">1</property>
|
<property name="LeftDockable">1</property>
|
||||||
<property name="RightDockable">1</property>
|
<property name="RightDockable">1</property>
|
||||||
|
@ -916,6 +690,7 @@
|
||||||
<property name="aui_row"></property>
|
<property name="aui_row"></property>
|
||||||
<property name="best_size"></property>
|
<property name="best_size"></property>
|
||||||
<property name="bg"></property>
|
<property name="bg"></property>
|
||||||
|
<property name="bitmap"></property>
|
||||||
<property name="caption"></property>
|
<property name="caption"></property>
|
||||||
<property name="caption_visible">1</property>
|
<property name="caption_visible">1</property>
|
||||||
<property name="center_pane">0</property>
|
<property name="center_pane">0</property>
|
||||||
|
@ -924,17 +699,20 @@
|
||||||
<property name="context_menu">1</property>
|
<property name="context_menu">1</property>
|
||||||
<property name="default">0</property>
|
<property name="default">0</property>
|
||||||
<property name="default_pane">0</property>
|
<property name="default_pane">0</property>
|
||||||
|
<property name="disabled"></property>
|
||||||
<property name="dock">Dock</property>
|
<property name="dock">Dock</property>
|
||||||
<property name="dock_fixed">0</property>
|
<property name="dock_fixed">0</property>
|
||||||
<property name="docking">Left</property>
|
<property name="docking">Left</property>
|
||||||
<property name="enabled">1</property>
|
<property name="enabled">1</property>
|
||||||
<property name="fg"></property>
|
<property name="fg"></property>
|
||||||
<property name="floatable">1</property>
|
<property name="floatable">1</property>
|
||||||
|
<property name="focus"></property>
|
||||||
<property name="font"></property>
|
<property name="font"></property>
|
||||||
<property name="gripper">0</property>
|
<property name="gripper">0</property>
|
||||||
<property name="hidden">0</property>
|
<property name="hidden">0</property>
|
||||||
<property name="id">ID_REMOVEL_PLUGIN</property>
|
<property name="hover"></property>
|
||||||
<property name="label">Remove Plugin</property>
|
<property name="id">wxID_ANY</property>
|
||||||
|
<property name="label">MyButton</property>
|
||||||
<property name="max_size"></property>
|
<property name="max_size"></property>
|
||||||
<property name="maximize_button">0</property>
|
<property name="maximize_button">0</property>
|
||||||
<property name="maximum_size"></property>
|
<property name="maximum_size"></property>
|
||||||
|
@ -950,10 +728,11 @@
|
||||||
<property name="pin_button">1</property>
|
<property name="pin_button">1</property>
|
||||||
<property name="pos"></property>
|
<property name="pos"></property>
|
||||||
<property name="resize">Resizable</property>
|
<property name="resize">Resizable</property>
|
||||||
|
<property name="selected"></property>
|
||||||
<property name="show">1</property>
|
<property name="show">1</property>
|
||||||
<property name="size"></property>
|
<property name="size">30,30</property>
|
||||||
<property name="style"></property>
|
<property name="style">wxBU_AUTODRAW</property>
|
||||||
<property name="subclass"></property>
|
<property name="subclass">; forward_declare</property>
|
||||||
<property name="toolbar_pane">0</property>
|
<property name="toolbar_pane">0</property>
|
||||||
<property name="tooltip"></property>
|
<property name="tooltip"></property>
|
||||||
<property name="validator_data_type"></property>
|
<property name="validator_data_type"></property>
|
||||||
|
@ -991,9 +770,9 @@
|
||||||
</object>
|
</object>
|
||||||
<object class="sizeritem" expanded="1">
|
<object class="sizeritem" expanded="1">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxALL|wxEXPAND</property>
|
<property name="flag">wxRIGHT|wxLEFT</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">0</property>
|
||||||
<object class="wxButton" expanded="1">
|
<object class="wxBitmapButton" expanded="1">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
<property name="LeftDockable">1</property>
|
<property name="LeftDockable">1</property>
|
||||||
<property name="RightDockable">1</property>
|
<property name="RightDockable">1</property>
|
||||||
|
@ -1004,6 +783,7 @@
|
||||||
<property name="aui_row"></property>
|
<property name="aui_row"></property>
|
||||||
<property name="best_size"></property>
|
<property name="best_size"></property>
|
||||||
<property name="bg"></property>
|
<property name="bg"></property>
|
||||||
|
<property name="bitmap"></property>
|
||||||
<property name="caption"></property>
|
<property name="caption"></property>
|
||||||
<property name="caption_visible">1</property>
|
<property name="caption_visible">1</property>
|
||||||
<property name="center_pane">0</property>
|
<property name="center_pane">0</property>
|
||||||
|
@ -1012,17 +792,20 @@
|
||||||
<property name="context_menu">1</property>
|
<property name="context_menu">1</property>
|
||||||
<property name="default">0</property>
|
<property name="default">0</property>
|
||||||
<property name="default_pane">0</property>
|
<property name="default_pane">0</property>
|
||||||
|
<property name="disabled"></property>
|
||||||
<property name="dock">Dock</property>
|
<property name="dock">Dock</property>
|
||||||
<property name="dock_fixed">0</property>
|
<property name="dock_fixed">0</property>
|
||||||
<property name="docking">Left</property>
|
<property name="docking">Left</property>
|
||||||
<property name="enabled">1</property>
|
<property name="enabled">1</property>
|
||||||
<property name="fg"></property>
|
<property name="fg"></property>
|
||||||
<property name="floatable">1</property>
|
<property name="floatable">1</property>
|
||||||
|
<property name="focus"></property>
|
||||||
<property name="font"></property>
|
<property name="font"></property>
|
||||||
<property name="gripper">0</property>
|
<property name="gripper">0</property>
|
||||||
<property name="hidden">0</property>
|
<property name="hidden">0</property>
|
||||||
|
<property name="hover"></property>
|
||||||
<property name="id">wxID_ANY</property>
|
<property name="id">wxID_ANY</property>
|
||||||
<property name="label">Edit Plugin File</property>
|
<property name="label">MyButton</property>
|
||||||
<property name="max_size"></property>
|
<property name="max_size"></property>
|
||||||
<property name="maximize_button">0</property>
|
<property name="maximize_button">0</property>
|
||||||
<property name="maximum_size"></property>
|
<property name="maximum_size"></property>
|
||||||
|
@ -1038,10 +821,11 @@
|
||||||
<property name="pin_button">1</property>
|
<property name="pin_button">1</property>
|
||||||
<property name="pos"></property>
|
<property name="pos"></property>
|
||||||
<property name="resize">Resizable</property>
|
<property name="resize">Resizable</property>
|
||||||
|
<property name="selected"></property>
|
||||||
<property name="show">1</property>
|
<property name="show">1</property>
|
||||||
<property name="size"></property>
|
<property name="size">30,30</property>
|
||||||
<property name="style"></property>
|
<property name="style">wxBU_AUTODRAW</property>
|
||||||
<property name="subclass"></property>
|
<property name="subclass">; forward_declare</property>
|
||||||
<property name="toolbar_pane">0</property>
|
<property name="toolbar_pane">0</property>
|
||||||
<property name="tooltip"></property>
|
<property name="tooltip"></property>
|
||||||
<property name="validator_data_type"></property>
|
<property name="validator_data_type"></property>
|
||||||
|
@ -1079,11 +863,9 @@
|
||||||
</object>
|
</object>
|
||||||
</object>
|
</object>
|
||||||
</object>
|
</object>
|
||||||
</object>
|
|
||||||
</object>
|
|
||||||
<object class="sizeritem" expanded="1">
|
<object class="sizeritem" expanded="1">
|
||||||
<property name="border">5</property>
|
<property name="border">10</property>
|
||||||
<property name="flag">wxEXPAND</property>
|
<property name="flag">wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">0</property>
|
||||||
<object class="wxBoxSizer" expanded="1">
|
<object class="wxBoxSizer" expanded="1">
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size"></property>
|
||||||
|
@ -1266,7 +1048,7 @@
|
||||||
</object>
|
</object>
|
||||||
<object class="sizeritem" expanded="1">
|
<object class="sizeritem" expanded="1">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxALL</property>
|
<property name="flag">wxBOTTOM|wxRIGHT|wxLEFT</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">0</property>
|
||||||
<object class="wxCheckBox" expanded="1">
|
<object class="wxCheckBox" expanded="1">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
|
@ -1356,9 +1138,9 @@
|
||||||
</object>
|
</object>
|
||||||
<object class="sizeritem" expanded="1">
|
<object class="sizeritem" expanded="1">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxTOP|wxRIGHT|wxLEFT</property>
|
<property name="flag">wxEXPAND|wxTOP|wxRIGHT|wxLEFT</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">0</property>
|
||||||
<object class="wxStaticText" expanded="1">
|
<object class="wxStaticLine" expanded="1">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
<property name="LeftDockable">1</property>
|
<property name="LeftDockable">1</property>
|
||||||
<property name="RightDockable">1</property>
|
<property name="RightDockable">1</property>
|
||||||
|
@ -1386,7 +1168,6 @@
|
||||||
<property name="gripper">0</property>
|
<property name="gripper">0</property>
|
||||||
<property name="hidden">0</property>
|
<property name="hidden">0</property>
|
||||||
<property name="id">wxID_ANY</property>
|
<property name="id">wxID_ANY</property>
|
||||||
<property name="label">Plugin Information:</property>
|
|
||||||
<property name="max_size"></property>
|
<property name="max_size"></property>
|
||||||
<property name="maximize_button">0</property>
|
<property name="maximize_button">0</property>
|
||||||
<property name="maximum_size"></property>
|
<property name="maximum_size"></property>
|
||||||
|
@ -1394,7 +1175,7 @@
|
||||||
<property name="minimize_button">0</property>
|
<property name="minimize_button">0</property>
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size"></property>
|
||||||
<property name="moveable">1</property>
|
<property name="moveable">1</property>
|
||||||
<property name="name">m_staticTextInfo</property>
|
<property name="name">m_staticline2</property>
|
||||||
<property name="pane_border">1</property>
|
<property name="pane_border">1</property>
|
||||||
<property name="pane_position"></property>
|
<property name="pane_position"></property>
|
||||||
<property name="pane_size"></property>
|
<property name="pane_size"></property>
|
||||||
|
@ -1404,14 +1185,13 @@
|
||||||
<property name="resize">Resizable</property>
|
<property name="resize">Resizable</property>
|
||||||
<property name="show">1</property>
|
<property name="show">1</property>
|
||||||
<property name="size"></property>
|
<property name="size"></property>
|
||||||
<property name="style"></property>
|
<property name="style">wxLI_HORIZONTAL</property>
|
||||||
<property name="subclass"></property>
|
<property name="subclass">; forward_declare</property>
|
||||||
<property name="toolbar_pane">0</property>
|
<property name="toolbar_pane">0</property>
|
||||||
<property name="tooltip"></property>
|
<property name="tooltip"></property>
|
||||||
<property name="window_extra_style"></property>
|
<property name="window_extra_style"></property>
|
||||||
<property name="window_name"></property>
|
<property name="window_name"></property>
|
||||||
<property name="window_style"></property>
|
<property name="window_style"></property>
|
||||||
<property name="wrap">-1</property>
|
|
||||||
<event name="OnChar"></event>
|
<event name="OnChar"></event>
|
||||||
<event name="OnEnterWindow"></event>
|
<event name="OnEnterWindow"></event>
|
||||||
<event name="OnEraseBackground"></event>
|
<event name="OnEraseBackground"></event>
|
||||||
|
@ -1439,93 +1219,28 @@
|
||||||
</object>
|
</object>
|
||||||
<object class="sizeritem" expanded="1">
|
<object class="sizeritem" expanded="1">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT</property>
|
<property name="flag">wxEXPAND|wxALL</property>
|
||||||
<property name="proportion">1</property>
|
<property name="proportion">0</property>
|
||||||
<object class="wxTextCtrl" expanded="1">
|
<object class="wxStdDialogButtonSizer" expanded="1">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="Apply">0</property>
|
||||||
<property name="LeftDockable">1</property>
|
<property name="Cancel">1</property>
|
||||||
<property name="RightDockable">1</property>
|
<property name="ContextHelp">0</property>
|
||||||
<property name="TopDockable">1</property>
|
<property name="Help">1</property>
|
||||||
<property name="aui_layer"></property>
|
<property name="No">0</property>
|
||||||
<property name="aui_name"></property>
|
<property name="OK">1</property>
|
||||||
<property name="aui_position"></property>
|
<property name="Save">0</property>
|
||||||
<property name="aui_row"></property>
|
<property name="Yes">0</property>
|
||||||
<property name="best_size"></property>
|
|
||||||
<property name="bg"></property>
|
|
||||||
<property name="caption"></property>
|
|
||||||
<property name="caption_visible">1</property>
|
|
||||||
<property name="center_pane">0</property>
|
|
||||||
<property name="close_button">1</property>
|
|
||||||
<property name="context_help"></property>
|
|
||||||
<property name="context_menu">1</property>
|
|
||||||
<property name="default_pane">0</property>
|
|
||||||
<property name="dock">Dock</property>
|
|
||||||
<property name="dock_fixed">0</property>
|
|
||||||
<property name="docking">Left</property>
|
|
||||||
<property name="enabled">1</property>
|
|
||||||
<property name="fg"></property>
|
|
||||||
<property name="floatable">1</property>
|
|
||||||
<property name="font"></property>
|
|
||||||
<property name="gripper">0</property>
|
|
||||||
<property name="hidden">0</property>
|
|
||||||
<property name="id">wxID_ANY</property>
|
|
||||||
<property name="max_size"></property>
|
|
||||||
<property name="maximize_button">0</property>
|
|
||||||
<property name="maximum_size"></property>
|
|
||||||
<property name="maxlength">0</property>
|
|
||||||
<property name="min_size"></property>
|
|
||||||
<property name="minimize_button">0</property>
|
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size"></property>
|
||||||
<property name="moveable">1</property>
|
<property name="name">m_sdbSizer1</property>
|
||||||
<property name="name">m_Messages</property>
|
|
||||||
<property name="pane_border">1</property>
|
|
||||||
<property name="pane_position"></property>
|
|
||||||
<property name="pane_size"></property>
|
|
||||||
<property name="permission">protected</property>
|
<property name="permission">protected</property>
|
||||||
<property name="pin_button">1</property>
|
<event name="OnApplyButtonClick"></event>
|
||||||
<property name="pos"></property>
|
<event name="OnCancelButtonClick"></event>
|
||||||
<property name="resize">Resizable</property>
|
<event name="OnContextHelpButtonClick"></event>
|
||||||
<property name="show">1</property>
|
<event name="OnHelpButtonClick">OnHelp</event>
|
||||||
<property name="size"></property>
|
<event name="OnNoButtonClick"></event>
|
||||||
<property name="style">wxTE_MULTILINE|wxTE_READONLY</property>
|
<event name="OnOKButtonClick">OnRunPlugin</event>
|
||||||
<property name="subclass"></property>
|
<event name="OnSaveButtonClick"></event>
|
||||||
<property name="toolbar_pane">0</property>
|
<event name="OnYesButtonClick"></event>
|
||||||
<property name="tooltip"></property>
|
|
||||||
<property name="validator_data_type"></property>
|
|
||||||
<property name="validator_style">wxFILTER_NONE</property>
|
|
||||||
<property name="validator_type">wxDefaultValidator</property>
|
|
||||||
<property name="validator_variable"></property>
|
|
||||||
<property name="value"></property>
|
|
||||||
<property name="window_extra_style"></property>
|
|
||||||
<property name="window_name"></property>
|
|
||||||
<property name="window_style"></property>
|
|
||||||
<event name="OnChar"></event>
|
|
||||||
<event name="OnEnterWindow"></event>
|
|
||||||
<event name="OnEraseBackground"></event>
|
|
||||||
<event name="OnKeyDown"></event>
|
|
||||||
<event name="OnKeyUp"></event>
|
|
||||||
<event name="OnKillFocus"></event>
|
|
||||||
<event name="OnLeaveWindow"></event>
|
|
||||||
<event name="OnLeftDClick"></event>
|
|
||||||
<event name="OnLeftDown"></event>
|
|
||||||
<event name="OnLeftUp"></event>
|
|
||||||
<event name="OnMiddleDClick"></event>
|
|
||||||
<event name="OnMiddleDown"></event>
|
|
||||||
<event name="OnMiddleUp"></event>
|
|
||||||
<event name="OnMotion"></event>
|
|
||||||
<event name="OnMouseEvents"></event>
|
|
||||||
<event name="OnMouseWheel"></event>
|
|
||||||
<event name="OnPaint"></event>
|
|
||||||
<event name="OnRightDClick"></event>
|
|
||||||
<event name="OnRightDown"></event>
|
|
||||||
<event name="OnRightUp"></event>
|
|
||||||
<event name="OnSetFocus"></event>
|
|
||||||
<event name="OnSize"></event>
|
|
||||||
<event name="OnText"></event>
|
|
||||||
<event name="OnTextEnter"></event>
|
|
||||||
<event name="OnTextMaxLen"></event>
|
|
||||||
<event name="OnTextURL"></event>
|
|
||||||
<event name="OnUpdateUI"></event>
|
|
||||||
</object>
|
</object>
|
||||||
</object>
|
</object>
|
||||||
</object>
|
</object>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
// C++ code generated with wxFormBuilder (version Apr 19 2018)
|
// C++ code generated with wxFormBuilder (version Dec 30 2017)
|
||||||
// http://www.wxformbuilder.org/
|
// http://www.wxformbuilder.org/
|
||||||
//
|
//
|
||||||
// PLEASE DO *NOT* EDIT THIS FILE!
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
||||||
|
@ -19,11 +19,15 @@
|
||||||
#include <wx/colour.h>
|
#include <wx/colour.h>
|
||||||
#include <wx/settings.h>
|
#include <wx/settings.h>
|
||||||
#include <wx/listbox.h>
|
#include <wx/listbox.h>
|
||||||
#include <wx/textctrl.h>
|
|
||||||
#include <wx/sizer.h>
|
#include <wx/sizer.h>
|
||||||
|
#include <wx/textctrl.h>
|
||||||
|
#include <wx/bitmap.h>
|
||||||
|
#include <wx/image.h>
|
||||||
|
#include <wx/icon.h>
|
||||||
|
#include <wx/bmpbuttn.h>
|
||||||
#include <wx/button.h>
|
#include <wx/button.h>
|
||||||
#include <wx/statline.h>
|
|
||||||
#include <wx/checkbox.h>
|
#include <wx/checkbox.h>
|
||||||
|
#include <wx/statline.h>
|
||||||
#include <wx/dialog.h>
|
#include <wx/dialog.h>
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
|
@ -33,30 +37,12 @@
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
class DIALOG_BOM_BASE : public DIALOG_SHIM
|
class DIALOG_BOM_BASE : public DIALOG_SHIM
|
||||||
{
|
{
|
||||||
DECLARE_EVENT_TABLE()
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
// Private event handlers
|
|
||||||
void _wxFB_OnPluginSelected( wxCommandEvent& event ){ OnPluginSelected( event ); }
|
|
||||||
void _wxFB_OnNameEdited( wxCommandEvent& event ){ OnNameEdited( event ); }
|
|
||||||
void _wxFB_OnRunPlugin( wxCommandEvent& event ){ OnRunPlugin( event ); }
|
|
||||||
void _wxFB_OnCancelClick( wxCommandEvent& event ){ OnCancelClick( event ); }
|
|
||||||
void _wxFB_OnHelp( wxCommandEvent& event ){ OnHelp( event ); }
|
|
||||||
void _wxFB_OnAddPlugin( wxCommandEvent& event ){ OnAddPlugin( event ); }
|
|
||||||
void _wxFB_OnRemovePlugin( wxCommandEvent& event ){ OnRemovePlugin( event ); }
|
|
||||||
void _wxFB_OnEditPlugin( wxCommandEvent& event ){ OnEditPlugin( event ); }
|
|
||||||
void _wxFB_OnCommandLineEdited( wxCommandEvent& event ){ OnCommandLineEdited( event ); }
|
|
||||||
void _wxFB_OnShowConsoleChanged( wxCommandEvent& event ){ OnShowConsoleChanged( event ); }
|
|
||||||
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
IN_NAMELINE = 1000,
|
IN_NAMELINE = 1000,
|
||||||
ID_CREATE_BOM,
|
|
||||||
ID_HELP,
|
|
||||||
ID_ADD_PLUGIN,
|
|
||||||
ID_REMOVEL_PLUGIN,
|
|
||||||
ID_CMDLINE
|
ID_CMDLINE
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -64,30 +50,30 @@ class DIALOG_BOM_BASE : public DIALOG_SHIM
|
||||||
wxListBox* m_lbPlugins;
|
wxListBox* m_lbPlugins;
|
||||||
wxStaticText* m_staticTextName;
|
wxStaticText* m_staticTextName;
|
||||||
wxTextCtrl* m_textCtrlName;
|
wxTextCtrl* m_textCtrlName;
|
||||||
wxButton* m_buttonNetlist;
|
wxTextCtrl* m_Messages;
|
||||||
wxButton* m_buttonCancel;
|
wxBitmapButton* m_buttonAddPlugin;
|
||||||
wxButton* m_buttonHelp;
|
wxBitmapButton* m_buttonDelPlugin;
|
||||||
wxStaticLine* m_staticline2;
|
wxBitmapButton* m_buttonEdit;
|
||||||
wxButton* m_buttonAddPlugin;
|
|
||||||
wxButton* m_buttonDelPlugin;
|
|
||||||
wxButton* m_buttonEdit;
|
|
||||||
wxStaticText* m_staticTextCmd;
|
wxStaticText* m_staticTextCmd;
|
||||||
wxTextCtrl* m_textCtrlCommand;
|
wxTextCtrl* m_textCtrlCommand;
|
||||||
wxCheckBox* m_checkBoxShowConsole;
|
wxCheckBox* m_checkBoxShowConsole;
|
||||||
wxStaticText* m_staticTextInfo;
|
wxStaticLine* m_staticline2;
|
||||||
wxTextCtrl* m_Messages;
|
wxStdDialogButtonSizer* m_sdbSizer1;
|
||||||
|
wxButton* m_sdbSizer1OK;
|
||||||
|
wxButton* m_sdbSizer1Cancel;
|
||||||
|
wxButton* m_sdbSizer1Help;
|
||||||
|
|
||||||
// Virtual event handlers, overide them in your derived class
|
// Virtual event handlers, overide them in your derived class
|
||||||
|
virtual void OnIdle( wxIdleEvent& event ) { event.Skip(); }
|
||||||
virtual void OnPluginSelected( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnPluginSelected( wxCommandEvent& event ) { event.Skip(); }
|
||||||
virtual void OnNameEdited( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnNameEdited( wxCommandEvent& event ) { event.Skip(); }
|
||||||
virtual void OnRunPlugin( wxCommandEvent& event ) { event.Skip(); }
|
|
||||||
virtual void OnCancelClick( wxCommandEvent& event ) { event.Skip(); }
|
|
||||||
virtual void OnHelp( wxCommandEvent& event ) { event.Skip(); }
|
|
||||||
virtual void OnAddPlugin( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnAddPlugin( wxCommandEvent& event ) { event.Skip(); }
|
||||||
virtual void OnRemovePlugin( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnRemovePlugin( wxCommandEvent& event ) { event.Skip(); }
|
||||||
virtual void OnEditPlugin( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnEditPlugin( wxCommandEvent& event ) { event.Skip(); }
|
||||||
virtual void OnCommandLineEdited( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnCommandLineEdited( wxCommandEvent& event ) { event.Skip(); }
|
||||||
virtual void OnShowConsoleChanged( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnShowConsoleChanged( wxCommandEvent& event ) { event.Skip(); }
|
||||||
|
virtual void OnHelp( wxCommandEvent& event ) { event.Skip(); }
|
||||||
|
virtual void OnRunPlugin( wxCommandEvent& event ) { event.Skip(); }
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -500,6 +500,7 @@ EXTERN_BITMAP( show_zone_xpm )
|
||||||
EXTERN_BITMAP( show_zone_disable_xpm )
|
EXTERN_BITMAP( show_zone_disable_xpm )
|
||||||
EXTERN_BITMAP( show_zone_outline_only_xpm )
|
EXTERN_BITMAP( show_zone_outline_only_xpm )
|
||||||
EXTERN_BITMAP( small_down_xpm )
|
EXTERN_BITMAP( small_down_xpm )
|
||||||
|
EXTERN_BITMAP( small_edit_xpm )
|
||||||
EXTERN_BITMAP( small_plus_xpm )
|
EXTERN_BITMAP( small_plus_xpm )
|
||||||
EXTERN_BITMAP( small_up_xpm )
|
EXTERN_BITMAP( small_up_xpm )
|
||||||
EXTERN_BITMAP( spreadsheet_xpm )
|
EXTERN_BITMAP( spreadsheet_xpm )
|
||||||
|
|
Loading…
Reference in New Issue