Commit 7243f5a0 authored by charras's avatar charras

enhancement in Gerbview: page limits can be now displayed on screen. Useful...

enhancement in Gerbview: page limits can be now displayed on screen. Useful when printing a Gerber layer
parent cdf248b2
...@@ -31,10 +31,8 @@ Ki_PageDescr g_Sheet_B( wxSize( 17000, 11000 ), wxPoint( 0, 0 ), wxT( "B" ) ); ...@@ -31,10 +31,8 @@ Ki_PageDescr g_Sheet_B( wxSize( 17000, 11000 ), wxPoint( 0, 0 ), wxT( "B" ) );
Ki_PageDescr g_Sheet_C( wxSize( 22000, 17000 ), wxPoint( 0, 0 ), wxT( "C" ) ); Ki_PageDescr g_Sheet_C( wxSize( 22000, 17000 ), wxPoint( 0, 0 ), wxT( "C" ) );
Ki_PageDescr g_Sheet_D( wxSize( 34000, 22000 ), wxPoint( 0, 0 ), wxT( "D" ) ); Ki_PageDescr g_Sheet_D( wxSize( 34000, 22000 ), wxPoint( 0, 0 ), wxT( "D" ) );
Ki_PageDescr g_Sheet_E( wxSize( 44000, 34000 ), wxPoint( 0, 0 ), wxT( "E" ) ); Ki_PageDescr g_Sheet_E( wxSize( 44000, 34000 ), wxPoint( 0, 0 ), wxT( "E" ) );
Ki_PageDescr g_Sheet_GERBER( wxSize( 32000, 32000 ), wxPoint( 0, 0 ), Ki_PageDescr g_Sheet_GERBER( wxSize( 32000, 32000 ), wxPoint( 0, 0 ), wxT( "GERBER" ) );
wxT( "GERBER" ) ); Ki_PageDescr g_Sheet_user( wxSize( 17000, 11000 ), wxPoint( 0, 0 ), wxT( "User" ) );
Ki_PageDescr g_Sheet_user( wxSize( 17000, 11000 ), wxPoint( 0, 0 ),
wxT( "User" ) );
Ki_PageDescr* g_SheetSizeList[NB_ITEMS + 1] = Ki_PageDescr* g_SheetSizeList[NB_ITEMS + 1] =
{ {
......
...@@ -18,6 +18,8 @@ set(GERBVIEW_SRCS ...@@ -18,6 +18,8 @@ set(GERBVIEW_SRCS
files.cpp files.cpp
gerberframe.cpp gerberframe.cpp
gerbview_config.cpp gerbview_config.cpp
gerbview_dialog_display_options_frame_base.cpp
gerbview_dialog_display_options_frame.cpp
gerbview.cpp gerbview.cpp
hotkeys.cpp hotkeys.cpp
initpcb.cpp initpcb.cpp
......
/***********************************/ /***************************************/
/* edit.cpp: PCB editing functions */ /* edit.cpp: Gerbview events functions */
/***********************************/ /***************************************/
#include "fctsys.h" #include "fctsys.h"
#include "class_drawpanel.h" #include "class_drawpanel.h"
#include "confirm.h" #include "confirm.h"
#include "common.h"
#include "gestfich.h" #include "gestfich.h"
#include "appl_wxstruct.h" #include "appl_wxstruct.h"
......
...@@ -51,14 +51,14 @@ BEGIN_EVENT_TABLE( WinEDA_GerberFrame, WinEDA_BasePcbFrame ) ...@@ -51,14 +51,14 @@ BEGIN_EVENT_TABLE( WinEDA_GerberFrame, WinEDA_BasePcbFrame )
EVT_MENU( ID_EXIT, WinEDA_GerberFrame::Process_Special_Functions ) EVT_MENU( ID_EXIT, WinEDA_GerberFrame::Process_Special_Functions )
// menu Config // menu Preferences
EVT_MENU_RANGE( ID_CONFIG_AND_PREFERENCES_START, EVT_MENU_RANGE( ID_CONFIG_AND_PREFERENCES_START,
ID_CONFIG_AND_PREFERENCES_END, ID_CONFIG_AND_PREFERENCES_END,
WinEDA_GerberFrame::Process_Config ) WinEDA_GerberFrame::Process_Config )
EVT_MENU( ID_COLORS_SETUP, WinEDA_GerberFrame::Process_Config ) EVT_MENU( ID_COLORS_SETUP, WinEDA_GerberFrame::Process_Config )
EVT_MENU( ID_OPTIONS_SETUP, WinEDA_GerberFrame::Process_Config ) EVT_MENU( ID_OPTIONS_SETUP, WinEDA_GerberFrame::InstallGerberGeneralOptionsFrame )
EVT_MENU( ID_PCB_DISPLAY_OPTIONS_SETUP, WinEDA_GerberFrame::Process_Config ) EVT_MENU( ID_PCB_DISPLAY_OPTIONS_SETUP, WinEDA_GerberFrame::InstallGerberDisplayOptionsDialog )
EVT_MENU_RANGE( ID_LANGUAGE_CHOICE, ID_LANGUAGE_CHOICE_END, EVT_MENU_RANGE( ID_LANGUAGE_CHOICE, ID_LANGUAGE_CHOICE_END,
WinEDA_DrawFrame::SetLanguage ) WinEDA_DrawFrame::SetLanguage )
...@@ -331,3 +331,54 @@ int WinEDA_GerberFrame::BestZoom() ...@@ -331,3 +331,54 @@ int WinEDA_GerberFrame::BestZoom()
return wxRound( MAX( x, y ) * (double) GetScreen()->m_ZoomScalar ); return wxRound( MAX( x, y ) * (double) GetScreen()->m_ZoomScalar );
} }
/**************************************/
void WinEDA_GerberFrame::LoadSettings()
/**************************************/
{
wxConfig* config = wxGetApp().m_EDA_Config;
if( config == NULL )
return;
WinEDA_BasePcbFrame::LoadSettings();
long pageSize_opt;
config->Read( GerbviewShowPageSizeOption, &pageSize_opt, 0l );
int imax = 0;
for( ; g_GerberPageSizeList[imax] != NULL; imax++ );
if( pageSize_opt < 0 || pageSize_opt >= imax )
pageSize_opt = 0;
GetScreen()->m_CurrentSheetDesc = g_GerberPageSizeList[pageSize_opt];
if ( pageSize_opt > 0 )
{
m_Draw_Sheet_Ref = true;
}
}
/**************************************/
void WinEDA_GerberFrame::SaveSettings()
/**************************************/
{
wxConfig* config = wxGetApp().m_EDA_Config;
if( config == NULL )
return;
WinEDA_BasePcbFrame::SaveSettings();
wxRealPoint GridSize = GetScreen()->GetGridSize();
long pageSize_opt = 0;
if( m_Draw_Sheet_Ref )
{
for( int ii = 1; g_GerberPageSizeList[ii] != NULL; ii++ )
{
if( GetScreen()->m_CurrentSheetDesc == g_GerberPageSizeList[ii] )
{
pageSize_opt = ii;
break;
}
}
}
config->Write( GerbviewShowPageSizeOption, pageSize_opt );
}
...@@ -30,8 +30,25 @@ int g_Default_GERBER_Format; ...@@ -30,8 +30,25 @@ int g_Default_GERBER_Format;
int g_Plot_Spot_Mini; /* Diameter of the opening mini-track for GERBER. */ int g_Plot_Spot_Mini; /* Diameter of the opening mini-track for GERBER. */
int g_DisplayPolygonsModeSketch; int g_DisplayPolygonsModeSketch;
const wxString GerbviewProjectFileExt( wxT( "cnf" ) );
const wxString GerbviewProjectFileWildcard( _( "GerbView project files (.cnf)|*.cnf" ) );
// Config keywords
const wxString GerbviewShowPageSizeOption( wxT( "ShowPageSizeOpt" ) );
GERBER* g_GERBER_List[32]; GERBER* g_GERBER_List[32];
// List of page sizes
Ki_PageDescr* g_GerberPageSizeList[] =
{
&g_Sheet_GERBER, // Full size page selection, and do not show page limits
&g_Sheet_GERBER, // Full size page selection, and show page limits
&g_Sheet_A4, &g_Sheet_A3, &g_Sheet_A2,
&g_Sheet_A, &g_Sheet_B, &g_Sheet_C,
NULL // End of list
};
IMPLEMENT_APP( WinEDA_App ) IMPLEMENT_APP( WinEDA_App )
......
...@@ -36,6 +36,13 @@ extern int g_Default_GERBER_Format; ...@@ -36,6 +36,13 @@ extern int g_Default_GERBER_Format;
extern int g_Plot_Spot_Mini; /* Diameter of the opening mini-track for extern int g_Plot_Spot_Mini; /* Diameter of the opening mini-track for
* GERBER */ * GERBER */
extern const wxString GerbviewProjectFileExt;
extern const wxString GerbviewProjectFileWildcard;
extern Ki_PageDescr* g_GerberPageSizeList[];
// Config keywords
extern const wxString GerbviewShowPageSizeOption;
/** /**
* Enum APERTURE_T * Enum APERTURE_T
......
...@@ -21,10 +21,6 @@ ...@@ -21,10 +21,6 @@
#define HOTKEY_FILENAME wxT( "gerbview" ) #define HOTKEY_FILENAME wxT( "gerbview" )
const wxString GerbviewProjectFileExt( wxT( "cnf" ) );
const wxString GerbviewProjectFileWildcard( _( "GerbView project files (.cnf)|*.cnf" ) );
void WinEDA_GerberFrame::Process_Config( wxCommandEvent& event ) void WinEDA_GerberFrame::Process_Config( wxCommandEvent& event )
{ {
int id = event.GetId(); int id = event.GetId();
...@@ -47,11 +43,6 @@ void WinEDA_GerberFrame::Process_Config( wxCommandEvent& event ) ...@@ -47,11 +43,6 @@ void WinEDA_GerberFrame::Process_Config( wxCommandEvent& event )
break; break;
} }
case ID_PCB_DISPLAY_OPTIONS_SETUP:
case ID_OPTIONS_SETUP:
InstallGerberOptionsFrame( pos, id );
break;
case ID_CONFIG_SAVE: case ID_CONFIG_SAVE:
Update_config(); Update_config();
break; break;
......
/*
* file gerbview_dialog_display_options_frame.cpp
* Set the display options for Gerbview
*/
#include "fctsys.h"
#include "common.h"
#include "class_drawpanel.h"
#include "pcbplot.h"
#include "gerbview.h"
#include "gerbview_dialog_display_options_frame_base.h"
/*******************************************/
/* Dialog frame to select display options */
/*******************************************/
class DIALOG_DISPLAY_OPTIONS : public DIALOG_DISPLAY_OPTIONS_BASE
{
private:
WinEDA_BasePcbFrame* m_Parent;
public:
DIALOG_DISPLAY_OPTIONS( WinEDA_BasePcbFrame* parent );
~DIALOG_DISPLAY_OPTIONS() {};
private:
void OnOKBUttonClick( wxCommandEvent& event );
void OnCancelButtonClick( wxCommandEvent& event );
};
void WinEDA_GerberFrame::InstallGerberDisplayOptionsDialog( wxCommandEvent& event )
{
DIALOG_DISPLAY_OPTIONS dlg( this );
int opt = dlg.ShowModal();
if (opt > 0 )
DrawPanel->Refresh();
}
DIALOG_DISPLAY_OPTIONS::DIALOG_DISPLAY_OPTIONS( WinEDA_BasePcbFrame *parent) :
DIALOG_DISPLAY_OPTIONS_BASE( parent, wxID_ANY )
{
m_Parent = parent;
SetFocus();
// Show Option Draw Lines
if( DisplayOpt.DisplayPcbTrackFill ) // We use DisplayPcbTrackFill as Lines draw option
m_OptDisplayLines->SetSelection( 1 );
else
m_OptDisplayLines->SetSelection( 0 );
if( DisplayOpt.DisplayPadFill )
m_OptDisplayFlashedItems->SetSelection( 1 );
else
m_OptDisplayFlashedItems->SetSelection( 0 );
// Show Option Draw polygons
if( g_DisplayPolygonsModeSketch == 0 )
m_OptDisplayPolygons->SetSelection( 1 );
else
m_OptDisplayPolygons->SetSelection( 0 );
m_ShowPageLimits->SetSelection(0);
if( m_Parent->m_Draw_Sheet_Ref )
{
for( int ii = 1; g_GerberPageSizeList[ii] != NULL; ii++ )
{
if( m_Parent->GetScreen()->m_CurrentSheetDesc == g_GerberPageSizeList[ii] )
{
m_ShowPageLimits->SetSelection(ii);
break;
}
}
}
m_OptDisplayDCodes->SetValue( DisplayOpt.DisplayPadNum );
GetSizer()->Fit( this );
GetSizer()->SetSizeHints( this );
}
void DIALOG_DISPLAY_OPTIONS::OnCancelButtonClick( wxCommandEvent& WXUNUSED(event) )
{
EndModal( 0 );
}
void DIALOG_DISPLAY_OPTIONS::OnOKBUttonClick( wxCommandEvent& event )
{
if( m_OptDisplayLines->GetSelection() == 1 )
DisplayOpt.DisplayPcbTrackFill = TRUE;
else
DisplayOpt.DisplayPcbTrackFill = FALSE;
if( m_OptDisplayFlashedItems->GetSelection() == 1 )
{
DisplayOpt.DisplayPadFill = true;
DisplayOpt.DisplayViaFill = true;
}
else
{
DisplayOpt.DisplayViaFill = false;
DisplayOpt.DisplayPadFill = false;
}
if( m_OptDisplayPolygons->GetSelection() == 0 )
g_DisplayPolygonsModeSketch = 1;
else
g_DisplayPolygonsModeSketch = 0;
DisplayOpt.DisplayPadNum = m_OptDisplayDCodes->GetValue();
m_Parent->m_DisplayPadFill = m_Parent->m_DisplayViaFill =
DisplayOpt.DisplayViaFill;
m_Parent->m_DisplayPcbTrackFill = DisplayOpt.DisplayPcbTrackFill;
int idx = m_ShowPageLimits->GetSelection();
if( idx > 0 )
m_Parent->m_Draw_Sheet_Ref = true;
else
m_Parent->m_Draw_Sheet_Ref = false;
m_Parent->GetScreen()->m_CurrentSheetDesc = g_GerberPageSizeList[idx];
EndModal( 1 );
}
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Apr 16 2008)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
#include "gerbview_dialog_display_options_frame_base.h"
///////////////////////////////////////////////////////////////////////////
DIALOG_DISPLAY_OPTIONS_BASE::DIALOG_DISPLAY_OPTIONS_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
{
this->SetSizeHints( wxDefaultSize, wxDefaultSize );
wxBoxSizer* bDialogSizer;
bDialogSizer = new wxBoxSizer( wxVERTICAL );
wxBoxSizer* bUpperSizer;
bUpperSizer = new wxBoxSizer( wxHORIZONTAL );
wxBoxSizer* bLeftSizer;
bLeftSizer = new wxBoxSizer( wxVERTICAL );
wxString m_OptDisplayLinesChoices[] = { _("Sketch"), _("Filled") };
int m_OptDisplayLinesNChoices = sizeof( m_OptDisplayLinesChoices ) / sizeof( wxString );
m_OptDisplayLines = new wxRadioBox( this, wxID_ANY, _("Lines:"), wxDefaultPosition, wxDefaultSize, m_OptDisplayLinesNChoices, m_OptDisplayLinesChoices, 1, wxRA_SPECIFY_COLS );
m_OptDisplayLines->SetSelection( 1 );
bLeftSizer->Add( m_OptDisplayLines, 0, wxALL|wxEXPAND, 5 );
wxString m_OptDisplayFlashedItemsChoices[] = { _("Sketch"), _("Filled") };
int m_OptDisplayFlashedItemsNChoices = sizeof( m_OptDisplayFlashedItemsChoices ) / sizeof( wxString );
m_OptDisplayFlashedItems = new wxRadioBox( this, wxID_ANY, _("Spots:"), wxDefaultPosition, wxDefaultSize, m_OptDisplayFlashedItemsNChoices, m_OptDisplayFlashedItemsChoices, 1, wxRA_SPECIFY_COLS );
m_OptDisplayFlashedItems->SetSelection( 1 );
bLeftSizer->Add( m_OptDisplayFlashedItems, 0, wxALL|wxEXPAND, 5 );
wxString m_OptDisplayPolygonsChoices[] = { _("Sketch"), _("Filled") };
int m_OptDisplayPolygonsNChoices = sizeof( m_OptDisplayPolygonsChoices ) / sizeof( wxString );
m_OptDisplayPolygons = new wxRadioBox( this, wxID_ANY, _("Polygons:"), wxDefaultPosition, wxDefaultSize, m_OptDisplayPolygonsNChoices, m_OptDisplayPolygonsChoices, 1, wxRA_SPECIFY_COLS );
m_OptDisplayPolygons->SetSelection( 1 );
bLeftSizer->Add( m_OptDisplayPolygons, 0, wxALL|wxEXPAND, 5 );
bUpperSizer->Add( bLeftSizer, 1, wxEXPAND, 5 );
bUpperSizer->Add( 20, 20, 0, 0, 5 );
wxBoxSizer* bRightSizer;
bRightSizer = new wxBoxSizer( wxVERTICAL );
wxString m_ShowPageLimitsChoices[] = { _("Full size. Do not show page limits"), _("Full size"), _("Size A4"), _("Size A3"), _("Size A2"), _("Size A"), _("Size B"), _("Size C") };
int m_ShowPageLimitsNChoices = sizeof( m_ShowPageLimitsChoices ) / sizeof( wxString );
m_ShowPageLimits = new wxRadioBox( this, wxID_ANY, _("Show Page Limits:"), wxDefaultPosition, wxDefaultSize, m_ShowPageLimitsNChoices, m_ShowPageLimitsChoices, 1, wxRA_SPECIFY_COLS );
m_ShowPageLimits->SetSelection( 0 );
bRightSizer->Add( m_ShowPageLimits, 0, wxALL|wxEXPAND, 5 );
bRightSizer->Add( 20, 20, 0, 0, 5 );
m_OptDisplayDCodes = new wxCheckBox( this, wxID_ANY, _("Show D codes"), wxDefaultPosition, wxDefaultSize, 0 );
m_OptDisplayDCodes->SetValue(true);
bRightSizer->Add( m_OptDisplayDCodes, 0, wxALL, 5 );
bUpperSizer->Add( bRightSizer, 1, wxEXPAND, 5 );
bDialogSizer->Add( bUpperSizer, 1, wxEXPAND, 5 );
m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
bDialogSizer->Add( m_staticline1, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
m_sdbSizer1 = new wxStdDialogButtonSizer();
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_sdbSizer1->Realize();
bDialogSizer->Add( m_sdbSizer1, 0, wxEXPAND|wxALL, 5 );
this->SetSizer( bDialogSizer );
this->Layout();
// Connect Events
m_sdbSizer1Cancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DISPLAY_OPTIONS_BASE::OnCancelButtonClick ), NULL, this );
m_sdbSizer1OK->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DISPLAY_OPTIONS_BASE::OnOKBUttonClick ), NULL, this );
}
DIALOG_DISPLAY_OPTIONS_BASE::~DIALOG_DISPLAY_OPTIONS_BASE()
{
// Disconnect Events
m_sdbSizer1Cancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DISPLAY_OPTIONS_BASE::OnCancelButtonClick ), NULL, this );
m_sdbSizer1OK->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DISPLAY_OPTIONS_BASE::OnOKBUttonClick ), NULL, this );
}
This diff is collapsed.
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Apr 16 2008)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
#ifndef __gerbview_dialog_display_options_frame_base__
#define __gerbview_dialog_display_options_frame_base__
#include <wx/intl.h>
#include <wx/string.h>
#include <wx/radiobox.h>
#include <wx/gdicmn.h>
#include <wx/font.h>
#include <wx/colour.h>
#include <wx/settings.h>
#include <wx/sizer.h>
#include <wx/checkbox.h>
#include <wx/statline.h>
#include <wx/button.h>
#include <wx/dialog.h>
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
/// Class DIALOG_DISPLAY_OPTIONS_BASE
///////////////////////////////////////////////////////////////////////////////
class DIALOG_DISPLAY_OPTIONS_BASE : public wxDialog
{
private:
protected:
wxRadioBox* m_OptDisplayLines;
wxRadioBox* m_OptDisplayFlashedItems;
wxRadioBox* m_OptDisplayPolygons;
wxRadioBox* m_ShowPageLimits;
wxCheckBox* m_OptDisplayDCodes;
wxStaticLine* m_staticline1;
wxStdDialogButtonSizer* m_sdbSizer1;
wxButton* m_sdbSizer1OK;
wxButton* m_sdbSizer1Cancel;
// Virtual event handlers, overide them in your derived class
virtual void OnCancelButtonClick( wxCommandEvent& event ){ event.Skip(); }
virtual void OnOKBUttonClick( wxCommandEvent& event ){ event.Skip(); }
public:
DIALOG_DISPLAY_OPTIONS_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Gerbview Draw Options"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 413,299 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
~DIALOG_DISPLAY_OPTIONS_BASE();
};
#endif //__gerbview_dialog_display_options_frame_base__
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
/************************/ /************************/
/* /*
* Set the display options for Gerbview * Set some general options of Gerbview
*/ */
...@@ -126,8 +126,7 @@ private: ...@@ -126,8 +126,7 @@ private:
wxRadioBox* m_GerberDefaultScale; wxRadioBox* m_GerberDefaultScale;
public: public:
WinEDA_GerberGeneralOptionsFrame( WinEDA_BasePcbFrame* parent, WinEDA_GerberGeneralOptionsFrame( WinEDA_BasePcbFrame* parent );
const wxPoint& pos );
~WinEDA_GerberGeneralOptionsFrame() {}; ~WinEDA_GerberGeneralOptionsFrame() {};
private: private:
...@@ -145,10 +144,9 @@ END_EVENT_TABLE() ...@@ -145,10 +144,9 @@ END_EVENT_TABLE()
WinEDA_GerberGeneralOptionsFrame::WinEDA_GerberGeneralOptionsFrame( WinEDA_GerberGeneralOptionsFrame::WinEDA_GerberGeneralOptionsFrame(
WinEDA_BasePcbFrame* parent, WinEDA_BasePcbFrame* parent ) :
const wxPoint& framepos ) :
wxDialog( parent, -1, _( "Gerbview Options" ), wxDialog( parent, -1, _( "Gerbview Options" ),
framepos, wxSize( 300, 240 ), wxDefaultPosition, wxSize( 300, 240 ),
wxDEFAULT_DIALOG_STYLE | wxFRAME_FLOAT_ON_PARENT ) wxDEFAULT_DIALOG_STYLE | wxFRAME_FLOAT_ON_PARENT )
{ {
m_Parent = parent; m_Parent = parent;
...@@ -234,175 +232,8 @@ void WinEDA_GerberGeneralOptionsFrame::OnOkClick( wxCommandEvent& event ) ...@@ -234,175 +232,8 @@ void WinEDA_GerberGeneralOptionsFrame::OnOkClick( wxCommandEvent& event )
} }
/*******************************************/ void WinEDA_GerberFrame::InstallGerberGeneralOptionsFrame( wxCommandEvent& event )
/* Dialog frame to select display options */
/*******************************************/
class WinEDA_LookFrame : public wxDialog
{ {
private: WinEDA_GerberGeneralOptionsFrame dlg( this );
WinEDA_BasePcbFrame* m_Parent; dlg.ShowModal();
wxRadioBox* m_OptDisplayLines;
wxRadioBox* m_OptDisplayFlashes;
wxRadioBox* m_OptDisplayVias; //@@@@TODO: Does it belong here?
wxRadioBox* m_OptDisplayPolygons;
wxCheckBox* m_OptDisplayDCodes;
wxRadioBox* m_OptDisplayDrawings;
public:
WinEDA_LookFrame( WinEDA_BasePcbFrame* parent, const wxPoint& pos );
~WinEDA_LookFrame() {};
private:
void OnOkClick( wxCommandEvent& event );
void OnCancelClick( wxCommandEvent& event );
DECLARE_EVENT_TABLE()
};
BEGIN_EVENT_TABLE( WinEDA_LookFrame, wxDialog )
EVT_BUTTON( wxID_OK, WinEDA_LookFrame::OnOkClick )
EVT_BUTTON( wxID_CANCEL, WinEDA_LookFrame::OnCancelClick )
END_EVENT_TABLE()
WinEDA_LookFrame::WinEDA_LookFrame( WinEDA_BasePcbFrame* parent,
const wxPoint& framepos ) :
wxDialog( parent, -1, _( "Gerbview Draw Options" ), framepos,
wxSize( 350, 200 ),
wxDEFAULT_DIALOG_STYLE | wxFRAME_FLOAT_ON_PARENT )
{
m_Parent = parent;
wxBoxSizer* MainBoxSizer = new wxBoxSizer( wxHORIZONTAL );
SetSizer( MainBoxSizer );
wxBoxSizer* RightBoxSizer = new wxBoxSizer( wxVERTICAL );
wxBoxSizer* MiddleBoxSizer = new wxBoxSizer( wxVERTICAL );
wxBoxSizer* LeftBoxSizer = new wxBoxSizer( wxVERTICAL );
MainBoxSizer->Add( LeftBoxSizer, 0, wxGROW | wxALL, 5 );
MainBoxSizer->Add( MiddleBoxSizer, 0, wxGROW | wxALL, 5 );
MainBoxSizer->Add( RightBoxSizer, 0, wxALIGN_CENTER_VERTICAL | wxALL, 5 );
wxButton* Button = new wxButton( this, wxID_OK, _( "OK" ) );
RightBoxSizer->Add( Button, 0, wxGROW | wxALL, 5 );
Button = new wxButton( this, wxID_CANCEL, _( "Cancel" ) );
RightBoxSizer->Add( Button, 0, wxGROW | wxALL, 5 );
// Show Option Draw Tracks
wxString list_opt2[2] = { _( "Sketch" ), _( "Filled" ) };
m_OptDisplayLines = new wxRadioBox( this, -1, _( "Lines:" ),
wxDefaultPosition, wxDefaultSize,
2, list_opt2, 1 );
if( DisplayOpt.DisplayPcbTrackFill )
m_OptDisplayLines->SetSelection( 1 );
LeftBoxSizer->Add( m_OptDisplayLines, 0, wxGROW | wxALL, 5 );
m_OptDisplayFlashes = new wxRadioBox( this, -1, _( "Spots:" ),
wxDefaultPosition, wxDefaultSize,
2, list_opt2, 1 );
if( DisplayOpt.DisplayPadFill )
m_OptDisplayFlashes->SetSelection( 1 );
LeftBoxSizer->Add( m_OptDisplayFlashes, 0, wxGROW | wxALL, 5 );
m_OptDisplayVias = new wxRadioBox( this, -1, _( "Spots:" ),
wxDefaultPosition, wxDefaultSize,
2, list_opt2, 1 );
if( DisplayOpt.DisplayViaFill )
m_OptDisplayVias->SetSelection( 1 );
LeftBoxSizer->Add( m_OptDisplayVias, 0, wxGROW | wxALL, 5 );
// Show Option Draw polygons
m_OptDisplayPolygons = new wxRadioBox( this, -1, _( "Polygons:" ),
wxDefaultPosition, wxDefaultSize,
2, list_opt2, 1 );
if( g_DisplayPolygonsModeSketch == 0 )
m_OptDisplayPolygons->SetSelection( 1 );
LeftBoxSizer->Add( m_OptDisplayPolygons, 0, wxGROW | wxALL, 5 );
wxString list_opt3[3] = { _( "Sketch" ), _( "Filled" ), _( "Line" ) };
m_OptDisplayDrawings = new wxRadioBox( this, -1, _( "Display other items:" ),
wxDefaultPosition, wxDefaultSize,
3, list_opt3, 1 );
m_OptDisplayDrawings->SetSelection( DisplayOpt.DisplayDrawItems );
MiddleBoxSizer->Add( m_OptDisplayDrawings, 0, wxGROW | wxALL, 5 );
m_OptDisplayDCodes = new wxCheckBox( this, -1, _( "Show D codes" ) );
if( DisplayOpt.DisplayPadNum )
m_OptDisplayDCodes->SetValue( TRUE );
MiddleBoxSizer->Add( m_OptDisplayDCodes, 0, wxGROW | wxALL, 5 );
GetSizer()->Fit( this );
GetSizer()->SetSizeHints( this );
}
void WinEDA_LookFrame::OnCancelClick( wxCommandEvent& WXUNUSED(event) )
{
EndModal( -1 );
}
void WinEDA_LookFrame::OnOkClick( wxCommandEvent& event )
{
if( m_OptDisplayLines->GetSelection() == 1 )
DisplayOpt.DisplayPcbTrackFill = TRUE;
else
DisplayOpt.DisplayPcbTrackFill = FALSE;
if( m_OptDisplayFlashes->GetSelection() == 1 )
DisplayOpt.DisplayPadFill = true;
else
DisplayOpt.DisplayPadFill = false;
if( m_OptDisplayVias->GetSelection() == 1 )
DisplayOpt.DisplayViaFill = true;
else
DisplayOpt.DisplayViaFill = false;
if( m_OptDisplayPolygons->GetSelection() == 0 )
g_DisplayPolygonsModeSketch = 1;
else
g_DisplayPolygonsModeSketch = 0;
DisplayOpt.DisplayPadNum = m_OptDisplayDCodes->GetValue();
DisplayOpt.DisplayDrawItems = m_OptDisplayDrawings->GetSelection();
m_Parent->m_DisplayPadFill = DisplayOpt.DisplayPadFill;
m_Parent->m_DisplayViaFill = DisplayOpt.DisplayViaFill;
m_Parent->m_DisplayPcbTrackFill = DisplayOpt.DisplayPcbTrackFill;
m_Parent->GetScreen()->SetRefreshReq();
EndModal( 1 );
}
void WinEDA_GerberFrame::InstallGerberOptionsFrame( const wxPoint& pos, int id )
{
switch( id )
{
case ID_PCB_DISPLAY_OPTIONS_SETUP:
{
WinEDA_LookFrame* OptionsFrame =
new WinEDA_LookFrame( this, pos );
OptionsFrame->ShowModal();
OptionsFrame->Destroy();
}
break;
case ID_OPTIONS_SETUP:
{
WinEDA_GerberGeneralOptionsFrame* OptionsFrame =
new WinEDA_GerberGeneralOptionsFrame( this, pos );
OptionsFrame->ShowModal();
OptionsFrame->Destroy();
}
break;
}
} }
...@@ -49,6 +49,28 @@ public: ...@@ -49,6 +49,28 @@ public:
void Update_config(); void Update_config();
void OnCloseWindow( wxCloseEvent& Event ); void OnCloseWindow( wxCloseEvent& Event );
/**
* Load applications settings specific to the PCBNew.
*
* This overrides the base class WinEDA_BasePcbFrame::LoadSettings() to
* handle settings specific common to the PCB layout application. It
* calls down to the base class to load settings common to all PCB type
* drawing frames. Please put your application settings for PCBNew here
* to avoid having application settings loaded all over the place.
*/
virtual void LoadSettings();
/**
* Save applications settings common to PCB draw frame objects.
*
* This overrides the base class WinEDA_BasePcbFrame::SaveSettings() to
* save settings specific to the PCB layout application main window. It
* calls down to the base class to save settings common to all PCB type
* drawing frames. Please put your application settings for PCBNew here
* to avoid having application settings saved all over the place.
*/
virtual void SaveSettings();
void Process_Special_Functions( wxCommandEvent& event ); void Process_Special_Functions( wxCommandEvent& event );
void RedrawActiveWindow( wxDC* DC, bool EraseBg ); void RedrawActiveWindow( wxDC* DC, bool EraseBg );
void ReCreateHToolbar(); void ReCreateHToolbar();
...@@ -70,7 +92,8 @@ public: ...@@ -70,7 +92,8 @@ public:
void Process_Settings( wxCommandEvent& event ); void Process_Settings( wxCommandEvent& event );
void Process_Config( wxCommandEvent& event ); void Process_Config( wxCommandEvent& event );
void InstallConfigFrame( const wxPoint& pos ); void InstallConfigFrame( const wxPoint& pos );
void InstallGerberOptionsFrame( const wxPoint& pos, int id ); void InstallGerberGeneralOptionsFrame( wxCommandEvent& event );
void InstallGerberDisplayOptionsDialog( wxCommandEvent& event );
void InstallPcbGlobalDeleteFrame( const wxPoint& pos ); void InstallPcbGlobalDeleteFrame( const wxPoint& pos );
/* handlers for block commands */ /* handlers for block commands */
......
No preview for this file type
...@@ -2,8 +2,8 @@ msgid "" ...@@ -2,8 +2,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: kicad\n" "Project-Id-Version: kicad\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-11-21 20:29+0100\n" "POT-Creation-Date: 2009-11-22 20:55+0100\n"
"PO-Revision-Date: 2009-11-21 20:35+0100\n" "PO-Revision-Date: 2009-11-22 20:57+0100\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: kicad team <jean-pierre.charras@ujf-grenoble.fr>\n" "Language-Team: kicad team <jean-pierre.charras@ujf-grenoble.fr>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
...@@ -10925,51 +10925,30 @@ msgstr "Changer Nom Fichier" ...@@ -10925,51 +10925,30 @@ msgstr "Changer Nom Fichier"
msgid "noname" msgid "noname"
msgstr "noname" msgstr "noname"
#: gerbview/options.cpp:150 #: gerbview/options.cpp:148
msgid "Gerbview Options" msgid "Gerbview Options"
msgstr "Gerbview Options " msgstr "Gerbview Options "
#: gerbview/options.cpp:187 #: gerbview/options.cpp:185
msgid "millimeters" msgid "millimeters"
msgstr "millimètres" msgstr "millimètres"
#: gerbview/options.cpp:196 #: gerbview/options.cpp:194
msgid "Small" msgid "Small"
msgstr "Petit" msgstr "Petit"
#: gerbview/options.cpp:196 #: gerbview/options.cpp:194
msgid "Big" msgid "Big"
msgstr "Grand" msgstr "Grand"
#: gerbview/options.cpp:204 #: gerbview/options.cpp:202
msgid "format: 2.3" msgid "format: 2.3"
msgstr "Format 2.3" msgstr "Format 2.3"
#: gerbview/options.cpp:204 #: gerbview/options.cpp:202
msgid "format 3.4" msgid "format 3.4"
msgstr "Format 3.4" msgstr "Format 3.4"
#: gerbview/options.cpp:271
msgid "Gerbview Draw Options"
msgstr "Options d'Affichage"
#: gerbview/options.cpp:294
msgid "Lines:"
msgstr "Lignes:"
#: gerbview/options.cpp:301
#: gerbview/options.cpp:309
msgid "Spots:"
msgstr "Spots:"
#: gerbview/options.cpp:319
msgid "Polygons:"
msgstr "Polygones:"
#: gerbview/options.cpp:333
msgid "Show D codes"
msgstr "Montrer DCodes"
#: gerbview/readgerb.cpp:137 #: gerbview/readgerb.cpp:137
msgid "File " msgid "File "
msgstr "Fichier " msgstr "Fichier "
...@@ -10991,7 +10970,11 @@ msgstr "Fichiers Gerber DCODE (%s)|*.%s" ...@@ -10991,7 +10970,11 @@ msgstr "Fichiers Gerber DCODE (%s)|*.%s"
msgid "Load GERBER DCODE File" msgid "Load GERBER DCODE File"
msgstr "Charger Fichier de DCodes" msgstr "Charger Fichier de DCodes"
#: gerbview/gerbview.cpp:63 #: gerbview/gerbview.cpp:35
msgid "GerbView project files (.cnf)|*.cnf"
msgstr "Fichiers projet GerbView (.cnf)|*.cnf"
#: gerbview/gerbview.cpp:80
msgid "GerbView is already running. Continue?" msgid "GerbView is already running. Continue?"
msgstr "Gerbview est en cours d'exécution. Continuer ?" msgstr "Gerbview est en cours d'exécution. Continuer ?"
...@@ -11371,14 +11354,62 @@ msgstr "Afficher polygones en mode contour" ...@@ -11371,14 +11354,62 @@ msgstr "Afficher polygones en mode contour"
msgid "Show dcode number" msgid "Show dcode number"
msgstr "Afficher le n° de DCode" msgstr "Afficher le n° de DCode"
#: gerbview/gerbview_config.cpp:25 #: gerbview/gerbview_config.cpp:118
msgid "GerbView project files (.cnf)|*.cnf"
msgstr "Fichiers projet GerbView (.cnf)|*.cnf"
#: gerbview/gerbview_config.cpp:127
msgid "Save GerbView Project File" msgid "Save GerbView Project File"
msgstr "Sauver Fichier Projet Gerbview" msgstr "Sauver Fichier Projet Gerbview"
#: gerbview/gerbview_dialog_display_options_frame_base.cpp:27
msgid "Lines:"
msgstr "Lignes:"
#: gerbview/gerbview_dialog_display_options_frame_base.cpp:33
msgid "Spots:"
msgstr "Spots:"
#: gerbview/gerbview_dialog_display_options_frame_base.cpp:39
msgid "Polygons:"
msgstr "Polygones:"
#: gerbview/gerbview_dialog_display_options_frame_base.cpp:51
msgid "Full size. Do not show page limits"
msgstr "Format maximum.Ne pas afficher les limites de page"
#: gerbview/gerbview_dialog_display_options_frame_base.cpp:51
msgid "Full size"
msgstr "Format maximum"
#: gerbview/gerbview_dialog_display_options_frame_base.cpp:51
msgid "Size A4"
msgstr "Format A4 "
#: gerbview/gerbview_dialog_display_options_frame_base.cpp:51
msgid "Size A3"
msgstr "Format A3"
#: gerbview/gerbview_dialog_display_options_frame_base.cpp:51
msgid "Size A2"
msgstr "Format A2"
#: gerbview/gerbview_dialog_display_options_frame_base.cpp:51
msgid "Size A"
msgstr "Format A"
#: gerbview/gerbview_dialog_display_options_frame_base.cpp:51
msgid "Size B"
msgstr "Format B"
#: gerbview/gerbview_dialog_display_options_frame_base.cpp:51
msgid "Size C"
msgstr "Format C"
#: gerbview/gerbview_dialog_display_options_frame_base.cpp:53
msgid "Show Page Limits:"
msgstr " Afficher Limites de Page"
#: gerbview/gerbview_dialog_display_options_frame_base.cpp:60
msgid "Show D codes"
msgstr "Montrer DCodes"
#: common/confirm.cpp:70 #: common/confirm.cpp:70
msgid "Warning" msgid "Warning"
msgstr "Avertissement" msgstr "Avertissement"
...@@ -11533,159 +11564,159 @@ msgstr "" ...@@ -11533,159 +11564,159 @@ msgstr ""
msgid "Unable to find a PDF viewer for" msgid "Unable to find a PDF viewer for"
msgstr "Impossible de trouver un visualisateur PDF pour" msgstr "Impossible de trouver un visualisateur PDF pour"
#: common/common.cpp:59 #: common/common.cpp:57
msgid "Kicad project files (*.pro)|*.pro" msgid "Kicad project files (*.pro)|*.pro"
msgstr "Fichiers projet Kicad (*.pro)|*.pro" msgstr "Fichiers projet Kicad (*.pro)|*.pro"
#: common/common.cpp:60 #: common/common.cpp:58
msgid "Kicad PCB files (*.brd)|*.brd" msgid "Kicad PCB files (*.brd)|*.brd"
msgstr "Fichiers Kicad PCB (*.brd)|*.brd" msgstr "Fichiers Kicad PCB (*.brd)|*.brd"
#: common/common.cpp:61 #: common/common.cpp:59
msgid "Kicad schematic files (*.sch)|*.sch" msgid "Kicad schematic files (*.sch)|*.sch"
msgstr "Fichiers schématiques Kicad (*.sch)|*.sch" msgstr "Fichiers schématiques Kicad (*.sch)|*.sch"
#: common/common.cpp:62 #: common/common.cpp:60
msgid "Kicad netlist files (*.net)|*.net" msgid "Kicad netlist files (*.net)|*.net"
msgstr "fichiers netlistes Kicad (*.net)|*.net" msgstr "fichiers netlistes Kicad (*.net)|*.net"
#: common/common.cpp:63 #: common/common.cpp:61
msgid "Gerber files (*.pho)|*.pho" msgid "Gerber files (*.pho)|*.pho"
msgstr "Fichiers Gerber (*.pho)|*.pho" msgstr "Fichiers Gerber (*.pho)|*.pho"
#: common/common.cpp:64 #: common/common.cpp:62
msgid "Portable document format files (*.pdf)|*.pdf" msgid "Portable document format files (*.pdf)|*.pdf"
msgstr "Fichiers \"Portable document format\" (*.pdf)|*.pdf" msgstr "Fichiers \"Portable document format\" (*.pdf)|*.pdf"
#: common/common.cpp:65 #: common/common.cpp:63
msgid "All files (*)|*" msgid "All files (*)|*"
msgstr "Tous les fichiers (*)|*" msgstr "Tous les fichiers (*)|*"
#: common/common.cpp:242 #: common/common.cpp:240
msgid " (\"):" msgid " (\"):"
msgstr " (\"):" msgstr " (\"):"
#: common/common.cpp:272 #: common/common.cpp:270
msgid "centimeters" msgid "centimeters"
msgstr "centimètres" msgstr "centimètres"
#: common/common.cpp:358 #: common/common.cpp:356
msgid " \"" msgid " \""
msgstr " \"" msgstr " \""
#: common/common.cpp:586 #: common/common.cpp:584
msgid "Copper " msgid "Copper "
msgstr "Cuivre " msgstr "Cuivre "
#: common/common.cpp:586 #: common/common.cpp:584
msgid "Inner L1 " msgid "Inner L1 "
msgstr "Interne 1" msgstr "Interne 1"
#: common/common.cpp:586 #: common/common.cpp:584
msgid "Inner L2 " msgid "Inner L2 "
msgstr "Interne 2" msgstr "Interne 2"
#: common/common.cpp:586 #: common/common.cpp:584
msgid "Inner L3 " msgid "Inner L3 "
msgstr "Interne 3" msgstr "Interne 3"
#: common/common.cpp:587 #: common/common.cpp:585
msgid "Inner L4 " msgid "Inner L4 "
msgstr "Interne 4" msgstr "Interne 4"
#: common/common.cpp:587 #: common/common.cpp:585
msgid "Inner L5 " msgid "Inner L5 "
msgstr "Interne 5" msgstr "Interne 5"
#: common/common.cpp:587 #: common/common.cpp:585
msgid "Inner L6 " msgid "Inner L6 "
msgstr "Interne 6" msgstr "Interne 6"
#: common/common.cpp:587 #: common/common.cpp:585
msgid "Inner L7 " msgid "Inner L7 "
msgstr "Interne 7" msgstr "Interne 7"
#: common/common.cpp:588 #: common/common.cpp:586
msgid "Inner L8 " msgid "Inner L8 "
msgstr "Interne 8" msgstr "Interne 8"
#: common/common.cpp:588 #: common/common.cpp:586
msgid "Inner L9 " msgid "Inner L9 "
msgstr "Interne 9" msgstr "Interne 9"
#: common/common.cpp:588 #: common/common.cpp:586
msgid "Inner L10" msgid "Inner L10"
msgstr "Interne 10" msgstr "Interne 10"
#: common/common.cpp:588 #: common/common.cpp:586
msgid "Inner L11" msgid "Inner L11"
msgstr "Interne 11" msgstr "Interne 11"
#: common/common.cpp:589 #: common/common.cpp:587
msgid "Inner L12" msgid "Inner L12"
msgstr "Interne 12" msgstr "Interne 12"
#: common/common.cpp:589 #: common/common.cpp:587
msgid "Inner L13" msgid "Inner L13"
msgstr "Interne 13" msgstr "Interne 13"
#: common/common.cpp:589 #: common/common.cpp:587
msgid "Inner L14" msgid "Inner L14"
msgstr "Interne 14" msgstr "Interne 14"
#: common/common.cpp:590 #: common/common.cpp:588
msgid "Adhes Cop" msgid "Adhes Cop"
msgstr "Adhes Cu " msgstr "Adhes Cu "
#: common/common.cpp:590 #: common/common.cpp:588
msgid "Adhes Cmp" msgid "Adhes Cmp"
msgstr "Adhes Cmp" msgstr "Adhes Cmp"
#: common/common.cpp:590 #: common/common.cpp:588
msgid "SoldP Cop" msgid "SoldP Cop"
msgstr "SoldP Cu " msgstr "SoldP Cu "
#: common/common.cpp:590 #: common/common.cpp:588
msgid "SoldP Cmp" msgid "SoldP Cmp"
msgstr "SoldP Cmp" msgstr "SoldP Cmp"
#: common/common.cpp:591 #: common/common.cpp:589
msgid "SilkS Cop" msgid "SilkS Cop"
msgstr "Sérigr Cu " msgstr "Sérigr Cu "
#: common/common.cpp:591 #: common/common.cpp:589
msgid "SilkS Cmp" msgid "SilkS Cmp"
msgstr "Sérigr Cmp" msgstr "Sérigr Cmp"
#: common/common.cpp:591 #: common/common.cpp:589
msgid "Mask Cop " msgid "Mask Cop "
msgstr "Masque Cu " msgstr "Masque Cu "
#: common/common.cpp:591 #: common/common.cpp:589
msgid "Mask Cmp " msgid "Mask Cmp "
msgstr "Masque Cmp" msgstr "Masque Cmp"
#: common/common.cpp:592 #: common/common.cpp:590
msgid "Drawings " msgid "Drawings "
msgstr "Drawings " msgstr "Drawings "
#: common/common.cpp:592 #: common/common.cpp:590
msgid "Comments " msgid "Comments "
msgstr "Commentaires " msgstr "Commentaires "
#: common/common.cpp:592 #: common/common.cpp:590
msgid "Eco1 " msgid "Eco1 "
msgstr "Eco1 " msgstr "Eco1 "
#: common/common.cpp:592 #: common/common.cpp:590
msgid "Eco2 " msgid "Eco2 "
msgstr "Eco2 " msgstr "Eco2 "
#: common/common.cpp:593 #: common/common.cpp:591
msgid "Edges Pcb" msgid "Edges Pcb"
msgstr "Contour Pcb" msgstr "Contour Pcb"
#: common/common.cpp:593 #: common/common.cpp:591
msgid "BAD INDEX" msgid "BAD INDEX"
msgstr "BAD INDEX" msgstr "BAD INDEX"
...@@ -12006,18 +12037,6 @@ msgstr "Couche ECO1 On/Off" ...@@ -12006,18 +12037,6 @@ msgstr "Couche ECO1 On/Off"
msgid "Eco2 Layer On/Off" msgid "Eco2 Layer On/Off"
msgstr "Couche ECO2 On/Off" msgstr "Couche ECO2 On/Off"
#: share/setpage.cpp:261
msgid "Size A4"
msgstr "Format A4 "
#: share/setpage.cpp:262
msgid "Size A3"
msgstr "Format A3"
#: share/setpage.cpp:263
msgid "Size A2"
msgstr "Format A2"
#: share/setpage.cpp:264 #: share/setpage.cpp:264
msgid "Size A1" msgid "Size A1"
msgstr "Format A1" msgstr "Format A1"
...@@ -12026,18 +12045,6 @@ msgstr "Format A1" ...@@ -12026,18 +12045,6 @@ msgstr "Format A1"
msgid "Size A0" msgid "Size A0"
msgstr "Format A0" msgstr "Format A0"
#: share/setpage.cpp:266
msgid "Size A"
msgstr "Format A"
#: share/setpage.cpp:267
msgid "Size B"
msgstr "Format B"
#: share/setpage.cpp:268
msgid "Size C"
msgstr "Format C"
#: share/setpage.cpp:269 #: share/setpage.cpp:269
msgid "Size D" msgid "Size D"
msgstr "Format D" msgstr "Format D"
...@@ -12519,10 +12526,17 @@ msgstr "Couche 32" ...@@ -12519,10 +12526,17 @@ msgstr "Couche 32"
msgid "D codes id." msgid "D codes id."
msgstr "DCodes id." msgstr "DCodes id."
#: gerbview/gerbview_dialog_display_options_frame_base.h:54
msgid "Gerbview Draw Options"
msgstr "Options d'Affichage"
#: share/setpage.h:80 #: share/setpage.h:80
msgid "Page Settings" msgid "Page Settings"
msgstr "Ajustage opt Page" msgstr "Ajustage opt Page"
#, fuzzy
#~ msgid "Do Not Show"
#~ msgstr "Ne pas montrer"
#~ msgid "Export a Specctra Design (*.dsn) File" #~ msgid "Export a Specctra Design (*.dsn) File"
#~ msgstr "Exporter un fichier de conception Specctra (*.dsn)" #~ msgstr "Exporter un fichier de conception Specctra (*.dsn)"
#~ msgid "Export a Specctra DSN file (to FreeRouter)" #~ msgid "Export a Specctra DSN file (to FreeRouter)"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment