2012-10-13 18:54:33 +00:00
|
|
|
#ifndef __dialog_sch_sheet_props__
|
|
|
|
#define __dialog_sch_sheet_props__
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* Subclass of DIALOG_SCH_SHEET_PROPS_BASE, which is generated by wxFormBuilder.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <dialog_sch_sheet_props_base.h>
|
|
|
|
|
|
|
|
/** Implementing DIALOG_SCH_SHEET_PROPS_BASE */
|
|
|
|
class DIALOG_SCH_SHEET_PROPS : public DIALOG_SCH_SHEET_PROPS_BASE
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
/** Constructor */
|
|
|
|
DIALOG_SCH_SHEET_PROPS( wxWindow* parent );
|
|
|
|
|
|
|
|
void SetFileName( const wxString& aFileName );
|
|
|
|
const wxString GetFileName();
|
|
|
|
|
|
|
|
void SetSheetName( const wxString& aSheetName )
|
|
|
|
{
|
|
|
|
m_textSheetName->SetValue( aSheetName );
|
|
|
|
}
|
|
|
|
wxString GetSheetName() { return m_textSheetName->GetValue(); }
|
|
|
|
|
|
|
|
void SetFileNameTextSize( const wxString& aTextSize )
|
|
|
|
{
|
|
|
|
m_textFileNameSize->SetValue( aTextSize );
|
|
|
|
}
|
|
|
|
wxString GetFileNameTextSize() { return m_textFileNameSize->GetValue(); }
|
|
|
|
|
|
|
|
void SetSheetNameTextSize( const wxString& aTextSize )
|
|
|
|
{
|
|
|
|
m_textSheetNameSize->SetValue( aTextSize );
|
|
|
|
}
|
|
|
|
wxString GetSheetNameTextSize() { return m_textSheetNameSize->GetValue(); }
|
|
|
|
|
|
|
|
void SetFileNameTextSizeUnits(const wxString& aUnits)
|
|
|
|
{
|
|
|
|
m_staticFileNameSizeUnits->SetLabel( aUnits );
|
|
|
|
}
|
|
|
|
|
|
|
|
void SetSheetNameTextSizeUnits(const wxString& aUnits)
|
|
|
|
{
|
|
|
|
m_staticSheetNameSizeUnits->SetLabel( aUnits );
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // __dialog_sch_sheet_props__
|