specctra dialog refinements
This commit is contained in:
parent
6d17236b0d
commit
e6717b3f71
|
@ -5,6 +5,18 @@ Started 2007-June-11
|
|||
Please add newer entries at the top, list the date and your name with
|
||||
email address.
|
||||
|
||||
|
||||
2008-Mar-18 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
|
||||
================================================================================
|
||||
+pcbnew
|
||||
refined the dialog_freeroute_exchange.pjd file, adding tooltips, wording
|
||||
changes, and added this comment also:
|
||||
// @todo:
|
||||
// 1) add freeroute.jnlp to the Kicad project
|
||||
// 2) change this next C++ line simply run $ "javaws freeroute.jnlp" as a system
|
||||
// command, bypassing the browser altogether. Merely need a PATH to javaws.
|
||||
|
||||
|
||||
2008-Mar-18 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
|
||||
================================================================================
|
||||
+pcbnew
|
||||
|
|
|
@ -66,21 +66,21 @@ IMPLEMENT_DYNAMIC_CLASS( dialog_freeroute_exchange, wxDialog )
|
|||
BEGIN_EVENT_TABLE( dialog_freeroute_exchange, wxDialog )
|
||||
|
||||
////@begin dialog_freeroute_exchange event table entries
|
||||
EVT_CLOSE( dialog_freeroute_exchange::OnCloseWindow )
|
||||
EVT_CLOSE( dialog_freeroute_exchange::OnCloseWindow )
|
||||
|
||||
EVT_BUTTON( ID_CREATE_EXPORT_DSN_FILE, dialog_freeroute_exchange::OnCreateExportDsnFileClick )
|
||||
EVT_BUTTON( ID_CREATE_EXPORT_DSN_FILE, dialog_freeroute_exchange::OnCreateExportDsnFileClick )
|
||||
|
||||
EVT_BUTTON( ID_RUN_FREEROUTE, dialog_freeroute_exchange::OnRunFreerouteClick )
|
||||
EVT_BUTTON( ID_RUN_FREEROUTE, dialog_freeroute_exchange::OnRunFreerouteClick )
|
||||
|
||||
EVT_BUTTON( ID_IMPORT_FREEROUTE_DSN_FILE, dialog_freeroute_exchange::OnImportFreerouteDsnFileClick )
|
||||
EVT_BUTTON( ID_IMPORT_FREEROUTE_DSN_FILE, dialog_freeroute_exchange::OnImportFreerouteDsnFileClick )
|
||||
|
||||
EVT_BUTTON( wxID_CLOSE, dialog_freeroute_exchange::OnCloseClick )
|
||||
EVT_BUTTON( wxID_CLOSE, dialog_freeroute_exchange::OnCloseClick )
|
||||
|
||||
EVT_BUTTON( ID_GOTO_FREEROUTE_WEB_SITE, dialog_freeroute_exchange::OnGotoFreerouteWebSiteClick )
|
||||
EVT_BUTTON( ID_GOTO_FREEROUTE_WEB_SITE, dialog_freeroute_exchange::OnGotoFreerouteWebSiteClick )
|
||||
|
||||
EVT_TEXT( ID_TEXT_EDIT_FR_URL, dialog_freeroute_exchange::OnTextEditFrUrlUpdated )
|
||||
EVT_TEXT( ID_TEXT_EDIT_FR_URL, dialog_freeroute_exchange::OnTextEditFrUrlUpdated )
|
||||
|
||||
EVT_TEXT( ID_TEXT_EDIT_FR_CMD, dialog_freeroute_exchange::OnTextEditFrCmdUpdated )
|
||||
EVT_TEXT( ID_TEXT_EDIT_FR_CMD, dialog_freeroute_exchange::OnTextEditFrCmdUpdated )
|
||||
|
||||
////@end dialog_freeroute_exchange event table entries
|
||||
|
||||
|
@ -97,14 +97,14 @@ dialog_freeroute_exchange::dialog_freeroute_exchange()
|
|||
}
|
||||
|
||||
|
||||
dialog_freeroute_exchange::dialog_freeroute_exchange( WinEDA_PcbFrame* parent,
|
||||
dialog_freeroute_exchange::dialog_freeroute_exchange( wxWindow* parent,
|
||||
wxWindowID id,
|
||||
const wxString& caption,
|
||||
const wxPoint& pos,
|
||||
const wxSize& size,
|
||||
long style )
|
||||
{
|
||||
m_Parent = parent;
|
||||
m_Parent = (WinEDA_PcbFrame*) parent;
|
||||
Init();
|
||||
Create( parent, id, caption, pos, size, style );
|
||||
}
|
||||
|
@ -122,16 +122,15 @@ bool dialog_freeroute_exchange::Create( wxWindow* parent,
|
|||
long style )
|
||||
{
|
||||
////@begin dialog_freeroute_exchange creation
|
||||
SetExtraStyle( wxWS_EX_BLOCK_EVENTS );
|
||||
SetExtraStyle(wxWS_EX_BLOCK_EVENTS);
|
||||
wxDialog::Create( parent, id, caption, pos, size, style );
|
||||
|
||||
CreateControls();
|
||||
if( GetSizer() )
|
||||
if (GetSizer())
|
||||
{
|
||||
GetSizer()->SetSizeHints( this );
|
||||
GetSizer()->SetSizeHints(this);
|
||||
}
|
||||
Centre();
|
||||
|
||||
////@end dialog_freeroute_exchange creation
|
||||
return true;
|
||||
}
|
||||
|
@ -158,7 +157,6 @@ void dialog_freeroute_exchange::Init()
|
|||
m_FreeRouteSetupChanged = false;
|
||||
m_FreerouteURLName = NULL;
|
||||
m_FreerouteURLCommandString = NULL;
|
||||
|
||||
////@end dialog_freeroute_exchange member initialisation
|
||||
}
|
||||
|
||||
|
@ -170,78 +168,59 @@ void dialog_freeroute_exchange::Init()
|
|||
void dialog_freeroute_exchange::CreateControls()
|
||||
{
|
||||
////@begin dialog_freeroute_exchange content construction
|
||||
// Generated by DialogBlocks, 14/03/2008 16:00:48 (unregistered)
|
||||
// Generated by DialogBlocks, Tue 18 Mar 2008 16:15:58 CDT (unregistered)
|
||||
|
||||
dialog_freeroute_exchange* itemDialog1 = this;
|
||||
|
||||
wxBoxSizer* itemBoxSizer2 = new wxBoxSizer( wxHORIZONTAL );
|
||||
wxBoxSizer* itemBoxSizer2 = new wxBoxSizer(wxHORIZONTAL);
|
||||
itemDialog1->SetSizer(itemBoxSizer2);
|
||||
|
||||
itemDialog1->SetSizer( itemBoxSizer2 );
|
||||
wxBoxSizer* itemBoxSizer3 = new wxBoxSizer(wxVERTICAL);
|
||||
itemBoxSizer2->Add(itemBoxSizer3, 0, wxGROW|wxALL, 5);
|
||||
|
||||
wxBoxSizer* itemBoxSizer3 = new wxBoxSizer( wxVERTICAL );
|
||||
itemBoxSizer2->Add( itemBoxSizer3, 0, wxGROW | wxALL, 5 );
|
||||
wxButton* itemButton4 = new wxButton( itemDialog1, ID_CREATE_EXPORT_DSN_FILE, _("Export a Specctra Design (*.dsn) File"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||
if (dialog_freeroute_exchange::ShowToolTips())
|
||||
itemButton4->SetToolTip(_("Export a Specctra DSN file (to FreeRouter)"));
|
||||
itemBoxSizer3->Add(itemButton4, 0, wxGROW|wxALL, 5);
|
||||
|
||||
wxButton* itemButton4 = new wxButton( itemDialog1, ID_CREATE_EXPORT_DSN_FILE,
|
||||
_(
|
||||
"Create Export Dsn File" ), wxDefaultPosition,
|
||||
wxDefaultSize, 0 );
|
||||
itemButton4->SetHelpText( _( "Create an export DNS file to freeroute" ) );
|
||||
if( dialog_freeroute_exchange::ShowToolTips() )
|
||||
itemButton4->SetToolTip( _( "Create an export DNS file to freeroute" ) );
|
||||
itemBoxSizer3->Add( itemButton4, 0, wxGROW | wxALL, 5 );
|
||||
wxButton* itemButton5 = new wxButton( itemDialog1, ID_RUN_FREEROUTE, _("Launch FreeRouter via Browser"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||
if (dialog_freeroute_exchange::ShowToolTips())
|
||||
itemButton5->SetToolTip(_("User your browser's Java Web Start function to run FreeRouter via Internet"));
|
||||
itemBoxSizer3->Add(itemButton5, 0, wxGROW|wxALL, 5);
|
||||
|
||||
wxButton* itemButton5 = new wxButton( itemDialog1, ID_RUN_FREEROUTE, _(
|
||||
"Connect to FreeROUTE" ), wxDefaultPosition,
|
||||
wxDefaultSize, 0 );
|
||||
itemButton5->SetHelpText( _( "Run the WEb Based Freeroute Router" ) );
|
||||
if( dialog_freeroute_exchange::ShowToolTips() )
|
||||
itemButton5->SetToolTip( _( "Run the WEb Based Freeroute Router" ) );
|
||||
itemBoxSizer3->Add( itemButton5, 0, wxGROW | wxALL, 5 );
|
||||
wxButton* itemButton6 = new wxButton( itemDialog1, ID_IMPORT_FREEROUTE_DSN_FILE, _("Back Import the Specctra Session (*.ses) File"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||
if (dialog_freeroute_exchange::ShowToolTips())
|
||||
itemButton6->SetToolTip(_("Merge a session file created by FreeRouter with the current board."));
|
||||
itemBoxSizer3->Add(itemButton6, 0, wxGROW|wxALL, 5);
|
||||
|
||||
wxButton* itemButton6 = new wxButton( itemDialog1, ID_IMPORT_FREEROUTE_DSN_FILE,
|
||||
_(
|
||||
"Read Design File" ), wxDefaultPosition,
|
||||
wxDefaultSize, 0 );
|
||||
itemButton6->SetHelpText( _( "Read the design file created by freeroute" ) );
|
||||
if( dialog_freeroute_exchange::ShowToolTips() )
|
||||
itemButton6->SetToolTip( _( "Read the design file created by freeroute" ) );
|
||||
itemBoxSizer3->Add( itemButton6, 0, wxGROW | wxALL, 5 );
|
||||
wxButton* itemButton7 = new wxButton( itemDialog1, wxID_CLOSE, _("&Close"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||
if (dialog_freeroute_exchange::ShowToolTips())
|
||||
itemButton7->SetToolTip(_("Close this dialog window"));
|
||||
itemBoxSizer3->Add(itemButton7, 0, wxGROW|wxALL, 5);
|
||||
|
||||
wxButton* itemButton7 = new wxButton( itemDialog1, wxID_CLOSE, _(
|
||||
"&Close" ), wxDefaultPosition, wxDefaultSize, 0 );
|
||||
itemBoxSizer3->Add( itemButton7, 0, wxGROW | wxALL, 5 );
|
||||
wxBoxSizer* itemBoxSizer8 = new wxBoxSizer(wxVERTICAL);
|
||||
itemBoxSizer2->Add(itemBoxSizer8, 1, wxGROW|wxALL, 5);
|
||||
|
||||
wxBoxSizer* itemBoxSizer8 = new wxBoxSizer( wxVERTICAL );
|
||||
itemBoxSizer2->Add( itemBoxSizer8, 1, wxGROW | wxALL, 5 );
|
||||
wxButton* itemButton9 = new wxButton( itemDialog1, ID_GOTO_FREEROUTE_WEB_SITE, _("Visit the FreeRouting.net Website with your Browser"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||
if (dialog_freeroute_exchange::ShowToolTips())
|
||||
itemButton9->SetToolTip(_("Launch your browser and go to the FreeRouting.net website"));
|
||||
itemBoxSizer8->Add(itemButton9, 0, wxGROW|wxALL, 5);
|
||||
|
||||
wxButton* itemButton9 = new wxButton( itemDialog1, ID_GOTO_FREEROUTE_WEB_SITE,
|
||||
_(
|
||||
"Access to FreeROUTE Web Site" ),
|
||||
wxDefaultPosition, wxDefaultSize, 0 );
|
||||
itemButton9->SetHelpText( _( "Run the WEb Based Freeroute Router" ) );
|
||||
if( dialog_freeroute_exchange::ShowToolTips() )
|
||||
itemButton9->SetToolTip( _( "Run the WEb Based Freeroute Router" ) );
|
||||
itemBoxSizer8->Add( itemButton9, 0, wxGROW | wxALL, 5 );
|
||||
wxStaticText* itemStaticText10 = new wxStaticText( itemDialog1, wxID_STATIC, _("FreeRouting.net URL"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||
itemBoxSizer8->Add(itemStaticText10, 0, wxGROW|wxLEFT|wxRIGHT|wxTOP, 5);
|
||||
|
||||
wxStaticText* itemStaticText10 = new wxStaticText( itemDialog1, wxID_STATIC,
|
||||
_(
|
||||
"FreeRoute URL" ), wxDefaultPosition,
|
||||
wxDefaultSize, 0 );
|
||||
itemBoxSizer8->Add( itemStaticText10, 0, wxGROW | wxLEFT | wxRIGHT | wxTOP, 5 );
|
||||
m_FreerouteURLName = new wxTextCtrl( itemDialog1, ID_TEXT_EDIT_FR_URL, _T(""), wxDefaultPosition, wxDefaultSize, 0 );
|
||||
if (dialog_freeroute_exchange::ShowToolTips())
|
||||
m_FreerouteURLName->SetToolTip(_("The URL of the FreeRouting.net website"));
|
||||
itemBoxSizer8->Add(m_FreerouteURLName, 1, wxGROW|wxLEFT|wxRIGHT|wxBOTTOM, 5);
|
||||
|
||||
m_FreerouteURLName = new wxTextCtrl( itemDialog1, ID_TEXT_EDIT_FR_URL, _T(
|
||||
"" ), wxDefaultPosition, wxDefaultSize, 0 );
|
||||
itemBoxSizer8->Add( m_FreerouteURLName, 0, wxGROW | wxLEFT | wxRIGHT | wxBOTTOM, 5 );
|
||||
wxStaticText* itemStaticText12 = new wxStaticText( itemDialog1, wxID_STATIC, _("FreeRouting.net Command"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||
itemBoxSizer8->Add(itemStaticText12, 0, wxGROW|wxLEFT|wxRIGHT|wxTOP, 5);
|
||||
|
||||
wxStaticText* itemStaticText12 = new wxStaticText( itemDialog1, wxID_STATIC,
|
||||
_(
|
||||
"FreeRoute Command" ),
|
||||
wxDefaultPosition, wxDefaultSize, 0 );
|
||||
itemBoxSizer8->Add( itemStaticText12, 0, wxGROW | wxLEFT | wxRIGHT | wxTOP, 5 );
|
||||
|
||||
m_FreerouteURLCommandString = new wxTextCtrl( itemDialog1, ID_TEXT_EDIT_FR_CMD, _T(
|
||||
"" ), wxDefaultPosition, wxDefaultSize, 0 );
|
||||
itemBoxSizer8->Add( m_FreerouteURLCommandString, 0, wxGROW | wxLEFT | wxRIGHT | wxBOTTOM, 5 );
|
||||
m_FreerouteURLCommandString = new wxTextCtrl( itemDialog1, ID_TEXT_EDIT_FR_CMD, _T(""), wxDefaultPosition, wxDefaultSize, 0 );
|
||||
if (dialog_freeroute_exchange::ShowToolTips())
|
||||
m_FreerouteURLCommandString->SetToolTip(_("The URL of the JNLP file which Java Web Start uses to launch the FreeRouter"));
|
||||
itemBoxSizer8->Add(m_FreerouteURLCommandString, 1, wxGROW|wxLEFT|wxRIGHT|wxBOTTOM, 5);
|
||||
|
||||
////@end dialog_freeroute_exchange content construction
|
||||
|
||||
|
@ -279,9 +258,8 @@ wxBitmap dialog_freeroute_exchange::GetBitmapResource( const wxString& name )
|
|||
{
|
||||
// Bitmap retrieval
|
||||
////@begin dialog_freeroute_exchange bitmap retrieval
|
||||
wxUnusedVar( name );
|
||||
wxUnusedVar(name);
|
||||
return wxNullBitmap;
|
||||
|
||||
////@end dialog_freeroute_exchange bitmap retrieval
|
||||
}
|
||||
|
||||
|
@ -294,9 +272,8 @@ wxIcon dialog_freeroute_exchange::GetIconResource( const wxString& name )
|
|||
{
|
||||
// Icon retrieval
|
||||
////@begin dialog_freeroute_exchange icon retrieval
|
||||
wxUnusedVar( name );
|
||||
wxUnusedVar(name);
|
||||
return wxNullIcon;
|
||||
|
||||
////@end dialog_freeroute_exchange icon retrieval
|
||||
}
|
||||
|
||||
|
@ -329,6 +306,11 @@ void dialog_freeroute_exchange::OnRunFreerouteClick( wxCommandEvent& event )
|
|||
{
|
||||
wxString command = m_FreerouteURLCommandString->GetValue();
|
||||
|
||||
// @todo:
|
||||
// 1) add freeroute.jnlp to the Kicad project
|
||||
// 2) change this next C++ line simply run $ "javaws freeroute.jnlp" as a system
|
||||
// command, bypassing the browser altogether. Merely need a PATH to javaws.
|
||||
|
||||
wxLaunchDefaultBrowser( command );
|
||||
}
|
||||
|
||||
|
|
|
@ -35,20 +35,18 @@
|
|||
*/
|
||||
|
||||
////@begin control identifiers
|
||||
#define ID_DIALOG_FREEROUTE_EXCHANGE 10000
|
||||
#define ID_CREATE_EXPORT_DSN_FILE 10001
|
||||
#define ID_RUN_FREEROUTE 10002
|
||||
#define ID_IMPORT_FREEROUTE_DSN_FILE 10003
|
||||
#define ID_GOTO_FREEROUTE_WEB_SITE 10004
|
||||
#define ID_TEXT_EDIT_FR_URL 10005
|
||||
#define ID_TEXT_EDIT_FR_CMD 10006
|
||||
#define SYMBOL_DIALOG_FREEROUTE_EXCHANGE_STYLE wxCAPTION | wxRESIZE_BORDER | wxTHICK_FRAME |\
|
||||
wxSYSTEM_MENU | wxCLOSE_BOX | wxTAB_TRAVERSAL
|
||||
#define SYMBOL_DIALOG_FREEROUTE_EXCHANGE_TITLE _( "dialog_freeroute_exchange" )
|
||||
#define SYMBOL_DIALOG_FREEROUTE_EXCHANGE_IDNAME ID_DIALOG_FREEROUTE_EXCHANGE
|
||||
#define SYMBOL_DIALOG_FREEROUTE_EXCHANGE_SIZE wxSize( 400, 300 )
|
||||
#define ID_DIALOG_FREEROUTE_EXCHANGE 10000
|
||||
#define ID_CREATE_EXPORT_DSN_FILE 10001
|
||||
#define ID_RUN_FREEROUTE 10002
|
||||
#define ID_IMPORT_FREEROUTE_DSN_FILE 10003
|
||||
#define ID_GOTO_FREEROUTE_WEB_SITE 10004
|
||||
#define ID_TEXT_EDIT_FR_URL 10005
|
||||
#define ID_TEXT_EDIT_FR_CMD 10006
|
||||
#define SYMBOL_DIALOG_FREEROUTE_EXCHANGE_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL
|
||||
#define SYMBOL_DIALOG_FREEROUTE_EXCHANGE_TITLE _("dialog_freeroute_exchange")
|
||||
#define SYMBOL_DIALOG_FREEROUTE_EXCHANGE_IDNAME ID_DIALOG_FREEROUTE_EXCHANGE
|
||||
#define SYMBOL_DIALOG_FREEROUTE_EXCHANGE_SIZE wxSize(400, 300)
|
||||
#define SYMBOL_DIALOG_FREEROUTE_EXCHANGE_POSITION wxDefaultPosition
|
||||
|
||||
////@end control identifiers
|
||||
|
||||
|
||||
|
@ -56,88 +54,76 @@
|
|||
* dialog_freeroute_exchange class declaration
|
||||
*/
|
||||
|
||||
class dialog_freeroute_exchange : public wxDialog
|
||||
class dialog_freeroute_exchange: public wxDialog
|
||||
{
|
||||
DECLARE_DYNAMIC_CLASS( dialog_freeroute_exchange )
|
||||
DECLARE_EVENT_TABLE()
|
||||
|
||||
public:
|
||||
|
||||
/// Constructors
|
||||
dialog_freeroute_exchange();
|
||||
dialog_freeroute_exchange( WinEDA_PcbFrame* parent,
|
||||
wxWindowID id = SYMBOL_DIALOG_FREEROUTE_EXCHANGE_IDNAME,
|
||||
const wxString& caption = SYMBOL_DIALOG_FREEROUTE_EXCHANGE_TITLE,
|
||||
const wxPoint& pos = SYMBOL_DIALOG_FREEROUTE_EXCHANGE_POSITION,
|
||||
const wxSize& size = SYMBOL_DIALOG_FREEROUTE_EXCHANGE_SIZE,
|
||||
long style = SYMBOL_DIALOG_FREEROUTE_EXCHANGE_STYLE );
|
||||
dialog_freeroute_exchange( wxWindow* parent, wxWindowID id = SYMBOL_DIALOG_FREEROUTE_EXCHANGE_IDNAME, const wxString& caption = SYMBOL_DIALOG_FREEROUTE_EXCHANGE_TITLE, const wxPoint& pos = SYMBOL_DIALOG_FREEROUTE_EXCHANGE_POSITION, const wxSize& size = SYMBOL_DIALOG_FREEROUTE_EXCHANGE_SIZE, long style = SYMBOL_DIALOG_FREEROUTE_EXCHANGE_STYLE );
|
||||
|
||||
/// Creation
|
||||
bool Create( wxWindow* parent,
|
||||
wxWindowID id = SYMBOL_DIALOG_FREEROUTE_EXCHANGE_IDNAME,
|
||||
const wxString& caption = SYMBOL_DIALOG_FREEROUTE_EXCHANGE_TITLE,
|
||||
const wxPoint& pos = SYMBOL_DIALOG_FREEROUTE_EXCHANGE_POSITION,
|
||||
const wxSize& size = SYMBOL_DIALOG_FREEROUTE_EXCHANGE_SIZE,
|
||||
long style = SYMBOL_DIALOG_FREEROUTE_EXCHANGE_STYLE );
|
||||
bool Create( wxWindow* parent, wxWindowID id = SYMBOL_DIALOG_FREEROUTE_EXCHANGE_IDNAME, const wxString& caption = SYMBOL_DIALOG_FREEROUTE_EXCHANGE_TITLE, const wxPoint& pos = SYMBOL_DIALOG_FREEROUTE_EXCHANGE_POSITION, const wxSize& size = SYMBOL_DIALOG_FREEROUTE_EXCHANGE_SIZE, long style = SYMBOL_DIALOG_FREEROUTE_EXCHANGE_STYLE );
|
||||
|
||||
/// Destructor
|
||||
~dialog_freeroute_exchange();
|
||||
|
||||
/// Initialises member variables
|
||||
void Init();
|
||||
void Init();
|
||||
|
||||
/// Creates the controls and sizers
|
||||
void CreateControls();
|
||||
void CreateControls();
|
||||
|
||||
////@begin dialog_freeroute_exchange event handler declarations
|
||||
|
||||
/// wxEVT_CLOSE_WINDOW event handler for ID_DIALOG_FREEROUTE_EXCHANGE
|
||||
void OnCloseWindow( wxCloseEvent& event );
|
||||
void OnCloseWindow( wxCloseEvent& event );
|
||||
|
||||
/// wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_CREATE_EXPORT_DSN_FILE
|
||||
void OnCreateExportDsnFileClick( wxCommandEvent& event );
|
||||
void OnCreateExportDsnFileClick( wxCommandEvent& event );
|
||||
|
||||
/// wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_RUN_FREEROUTE
|
||||
void OnRunFreerouteClick( wxCommandEvent& event );
|
||||
void OnRunFreerouteClick( wxCommandEvent& event );
|
||||
|
||||
/// wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_IMPORT_FREEROUTE_DSN_FILE
|
||||
void OnImportFreerouteDsnFileClick( wxCommandEvent& event );
|
||||
void OnImportFreerouteDsnFileClick( wxCommandEvent& event );
|
||||
|
||||
/// wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_CLOSE
|
||||
void OnCloseClick( wxCommandEvent& event );
|
||||
void OnCloseClick( wxCommandEvent& event );
|
||||
|
||||
/// wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_GOTO_FREEROUTE_WEB_SITE
|
||||
void OnGotoFreerouteWebSiteClick( wxCommandEvent& event );
|
||||
void OnGotoFreerouteWebSiteClick( wxCommandEvent& event );
|
||||
|
||||
/// wxEVT_COMMAND_TEXT_UPDATED event handler for ID_TEXT_EDIT_FR_URL
|
||||
void OnTextEditFrUrlUpdated( wxCommandEvent& event );
|
||||
void OnTextEditFrUrlUpdated( wxCommandEvent& event );
|
||||
|
||||
/// wxEVT_COMMAND_TEXT_UPDATED event handler for ID_TEXT_EDIT_FR_CMD
|
||||
void OnTextEditFrCmdUpdated( wxCommandEvent& event );
|
||||
void OnTextEditFrCmdUpdated( wxCommandEvent& event );
|
||||
|
||||
////@end dialog_freeroute_exchange event handler declarations
|
||||
|
||||
////@begin dialog_freeroute_exchange member function declarations
|
||||
|
||||
bool GetFreeRouteSetupChanged() const { return m_FreeRouteSetupChanged; }
|
||||
void SetFreeRouteSetupChanged( bool value ) { m_FreeRouteSetupChanged = value; }
|
||||
bool GetFreeRouteSetupChanged() const { return m_FreeRouteSetupChanged ; }
|
||||
void SetFreeRouteSetupChanged(bool value) { m_FreeRouteSetupChanged = value ; }
|
||||
|
||||
/// Retrieves bitmap resources
|
||||
wxBitmap GetBitmapResource( const wxString& name );
|
||||
wxBitmap GetBitmapResource( const wxString& name );
|
||||
|
||||
/// Retrieves icon resources
|
||||
wxIcon GetIconResource( const wxString& name );
|
||||
|
||||
wxIcon GetIconResource( const wxString& name );
|
||||
////@end dialog_freeroute_exchange member function declarations
|
||||
|
||||
/// Should we show tooltips?
|
||||
static bool ShowToolTips();
|
||||
|
||||
////@begin dialog_freeroute_exchange member variables
|
||||
wxTextCtrl* m_FreerouteURLName;
|
||||
wxTextCtrl* m_FreerouteURLCommandString;
|
||||
wxTextCtrl* m_FreerouteURLName;
|
||||
wxTextCtrl* m_FreerouteURLCommandString;
|
||||
private:
|
||||
bool m_FreeRouteSetupChanged; // Flag set to true if Freeroute config changed
|
||||
bool m_FreeRouteSetupChanged; // Flag set to true if Freeroute config changed
|
||||
////@end dialog_freeroute_exchange member variables
|
||||
|
||||
WinEDA_PcbFrame* m_Parent;
|
||||
|
|
|
@ -128,6 +128,7 @@
|
|||
<long name="locked">0</long>
|
||||
<string name="template-name">""</string>
|
||||
<bool name="dirty">1</bool>
|
||||
<long name="makefile-last-written">0</long>
|
||||
<string name="Compiler name">""</string>
|
||||
<string name="Build mode">"Debug"</string>
|
||||
<string name="Unicode mode">"ANSI"</string>
|
||||
|
@ -169,6 +170,8 @@
|
|||
<string name="wxWidgets build command">"%AUTO%"</string>
|
||||
<string name="wxWidgets clean command">"%AUTO%"</string>
|
||||
<string name="PATH variable">"%AUTO%"</string>
|
||||
<bool name="Suppress source rules">0</bool>
|
||||
<bool name="Enable makefile generation">1</bool>
|
||||
</document>
|
||||
</document>
|
||||
</data>
|
||||
|
@ -242,7 +245,6 @@
|
|||
<bool name="proxy-wxDEFAULT_DIALOG_STYLE">0</bool>
|
||||
<bool name="proxy-wxCAPTION">1</bool>
|
||||
<bool name="proxy-wxRESIZE_BORDER">1</bool>
|
||||
<bool name="proxy-wxTHICK_FRAME">1</bool>
|
||||
<bool name="proxy-wxSYSTEM_MENU">1</bool>
|
||||
<bool name="proxy-wxSTAY_ON_TOP">0</bool>
|
||||
<bool name="proxy-wxDIALOG_NO_PARENT">0</bool>
|
||||
|
@ -336,10 +338,10 @@
|
|||
<string name="proxy-Implementation filename">""</string>
|
||||
<string name="proxy-Header filename">""</string>
|
||||
<string name="proxy-Member variable name">""</string>
|
||||
<string name="proxy-Label">"Create Export Dsn File"</string>
|
||||
<string name="proxy-Label">"Export a Specctra Design (*.dsn) File"</string>
|
||||
<bool name="proxy-Default">0</bool>
|
||||
<string name="proxy-Help text">"Create an export DNS file to freeroute"</string>
|
||||
<string name="proxy-Tooltip text">""</string>
|
||||
<string name="proxy-Help text">""</string>
|
||||
<string name="proxy-Tooltip text">"Export a Specctra DSN file (to FreeRouter)"</string>
|
||||
<string name="proxy-Data variable">""</string>
|
||||
<string name="proxy-Data validator">""</string>
|
||||
<string name="proxy-Data source">""</string>
|
||||
|
@ -403,10 +405,10 @@
|
|||
<string name="proxy-Implementation filename">""</string>
|
||||
<string name="proxy-Header filename">""</string>
|
||||
<string name="proxy-Member variable name">""</string>
|
||||
<string name="proxy-Label">"Connect to FreeROUTE"</string>
|
||||
<string name="proxy-Label">"Launch FreeRouter via Browser"</string>
|
||||
<bool name="proxy-Default">0</bool>
|
||||
<string name="proxy-Help text">"Run the WEb Based Freeroute Router"</string>
|
||||
<string name="proxy-Tooltip text">""</string>
|
||||
<string name="proxy-Help text">""</string>
|
||||
<string name="proxy-Tooltip text">"User your browser's Java Web Start function to run FreeRouter via Internet"</string>
|
||||
<string name="proxy-Data variable">""</string>
|
||||
<string name="proxy-Data validator">""</string>
|
||||
<string name="proxy-Data source">""</string>
|
||||
|
@ -470,10 +472,10 @@
|
|||
<string name="proxy-Implementation filename">""</string>
|
||||
<string name="proxy-Header filename">""</string>
|
||||
<string name="proxy-Member variable name">""</string>
|
||||
<string name="proxy-Label">"Read Design File"</string>
|
||||
<string name="proxy-Label">"Back Import the Specctra Session (*.ses) File"</string>
|
||||
<bool name="proxy-Default">0</bool>
|
||||
<string name="proxy-Help text">"Read the design file created by freeroute"</string>
|
||||
<string name="proxy-Tooltip text">""</string>
|
||||
<string name="proxy-Help text">""</string>
|
||||
<string name="proxy-Tooltip text">"Merge a session file created by FreeRouter with the current board."</string>
|
||||
<string name="proxy-Data variable">""</string>
|
||||
<string name="proxy-Data validator">""</string>
|
||||
<string name="proxy-Data source">""</string>
|
||||
|
@ -540,7 +542,7 @@
|
|||
<string name="proxy-Label">"&Close"</string>
|
||||
<bool name="proxy-Default">0</bool>
|
||||
<string name="proxy-Help text">""</string>
|
||||
<string name="proxy-Tooltip text">""</string>
|
||||
<string name="proxy-Tooltip text">"Close this dialog window"</string>
|
||||
<string name="proxy-Data variable">""</string>
|
||||
<string name="proxy-Data validator">""</string>
|
||||
<string name="proxy-Data source">""</string>
|
||||
|
@ -630,10 +632,10 @@
|
|||
<string name="proxy-Implementation filename">""</string>
|
||||
<string name="proxy-Header filename">""</string>
|
||||
<string name="proxy-Member variable name">""</string>
|
||||
<string name="proxy-Label">"Access to FreeROUTE Web Site"</string>
|
||||
<string name="proxy-Label">"Visit the FreeRouting.net Website with your Browser"</string>
|
||||
<bool name="proxy-Default">0</bool>
|
||||
<string name="proxy-Help text">"Run the WEb Based Freeroute Router"</string>
|
||||
<string name="proxy-Tooltip text">""</string>
|
||||
<string name="proxy-Help text">""</string>
|
||||
<string name="proxy-Tooltip text">"Launch your browser and go to the FreeRouting.net website"</string>
|
||||
<string name="proxy-Data variable">""</string>
|
||||
<string name="proxy-Data validator">""</string>
|
||||
<string name="proxy-Data source">""</string>
|
||||
|
@ -696,7 +698,7 @@
|
|||
<string name="proxy-Implementation filename">""</string>
|
||||
<string name="proxy-Header filename">""</string>
|
||||
<string name="proxy-Member variable name">""</string>
|
||||
<string name="proxy-Label">"FreeRoute URL"</string>
|
||||
<string name="proxy-Label">"FreeRouting.net URL"</string>
|
||||
<long name="proxy-Wrapping width">-1</long>
|
||||
<string name="proxy-Help text">""</string>
|
||||
<string name="proxy-Tooltip text">""</string>
|
||||
|
@ -770,7 +772,7 @@
|
|||
<string name="proxy-Initial value">""</string>
|
||||
<long name="proxy-Max length">0</long>
|
||||
<string name="proxy-Help text">""</string>
|
||||
<string name="proxy-Tooltip text">""</string>
|
||||
<string name="proxy-Tooltip text">"The URL of the FreeRouting.net website"</string>
|
||||
<string name="proxy-Background colour">""</string>
|
||||
<string name="proxy-Foreground colour">""</string>
|
||||
<string name="proxy-Font">""</string>
|
||||
|
@ -816,7 +818,7 @@
|
|||
<long name="proxy-Height">-1</long>
|
||||
<string name="proxy-AlignH">"Expand"</string>
|
||||
<string name="proxy-AlignV">"Centre"</string>
|
||||
<long name="proxy-Stretch factor">0</long>
|
||||
<long name="proxy-Stretch factor">1</long>
|
||||
<long name="proxy-Border">5</long>
|
||||
<bool name="proxy-wxLEFT">1</bool>
|
||||
<bool name="proxy-wxRIGHT">1</bool>
|
||||
|
@ -849,7 +851,7 @@
|
|||
<string name="proxy-Implementation filename">""</string>
|
||||
<string name="proxy-Header filename">""</string>
|
||||
<string name="proxy-Member variable name">""</string>
|
||||
<string name="proxy-Label">"FreeRoute Command"</string>
|
||||
<string name="proxy-Label">"FreeRouting.net Command"</string>
|
||||
<long name="proxy-Wrapping width">-1</long>
|
||||
<string name="proxy-Help text">""</string>
|
||||
<string name="proxy-Tooltip text">""</string>
|
||||
|
@ -923,7 +925,7 @@
|
|||
<string name="proxy-Initial value">""</string>
|
||||
<long name="proxy-Max length">0</long>
|
||||
<string name="proxy-Help text">""</string>
|
||||
<string name="proxy-Tooltip text">""</string>
|
||||
<string name="proxy-Tooltip text">"The URL of the JNLP file which Java Web Start uses to launch the FreeRouter"</string>
|
||||
<string name="proxy-Background colour">""</string>
|
||||
<string name="proxy-Foreground colour">""</string>
|
||||
<string name="proxy-Font">""</string>
|
||||
|
@ -969,7 +971,7 @@
|
|||
<long name="proxy-Height">-1</long>
|
||||
<string name="proxy-AlignH">"Expand"</string>
|
||||
<string name="proxy-AlignV">"Centre"</string>
|
||||
<long name="proxy-Stretch factor">0</long>
|
||||
<long name="proxy-Stretch factor">1</long>
|
||||
<long name="proxy-Border">5</long>
|
||||
<bool name="proxy-wxLEFT">1</bool>
|
||||
<bool name="proxy-wxRIGHT">1</bool>
|
||||
|
|
Loading…
Reference in New Issue