73 wxString choiceList[5] =
75 _(
"Left Top paper corner"),
76 _(
"Right Bottom page corner"),
77 _(
"Left Bottom page corner"),
78 _(
"Right Top page corner"),
79 _(
"Left Top page corner")
85 wxDefaultPosition, wxDefaultSize, 5, choiceList );
90 m_originSelectBox->SetToolTip(
_(
"Origin of coordinates displayed to the status bar") );
94 for(
int ii = 0; ii < 5; ii++ )
97 minwidth = std::max( minwidth, width );
103 wxString pageList[5] =
112 wxDefaultPosition, wxDefaultSize, 2, pageList );
116 m_pageSelectBox->SetToolTip(
_(
"Simulate page 1 or other pages to show how items\n"\
117 "which are not on all page are displayed") );
169 wxDefaultPosition, wxDefaultSize,
175 std::unique_ptr<ACTION_MENU> gridMenu = std::make_unique<ACTION_MENU>(
false, selTool );
static TOOL_ACTION gridProperties
static TOOL_ACTION toggleGrid
static TOOL_ACTION zoomRedraw
static TOOL_ACTION millimetersUnits
static TOOL_ACTION zoomOutCenter
static TOOL_ACTION milsUnits
static TOOL_ACTION inchesUnits
static TOOL_ACTION selectionTool
static TOOL_ACTION zoomFitScreen
static TOOL_ACTION deleteTool
static TOOL_ACTION zoomTool
static TOOL_ACTION zoomInCenter
static constexpr int KICAD_AUI_TB_STYLE
< Default style flags used for wxAUI toolbars.
ACTION_TOOLBAR * m_optionsToolBar
ACTION_TOOLBAR * m_mainToolBar
ACTION_TOOLBAR * m_drawToolBar
static TOOL_ACTION placeImage
static TOOL_ACTION drawRectangle
static TOOL_ACTION showInspector
static TOOL_ACTION previewSettings
static TOOL_ACTION layoutNormalMode
static TOOL_ACTION placeText
static TOOL_ACTION layoutEditMode
static TOOL_ACTION appendImportedDrawingSheet
static TOOL_ACTION drawLine
void ReCreateOptToolbar() override
Create or update the left vertical toolbar.
void ReCreateHToolbar() override
void UpdateToolbarControlSizes() override
Update the sizes of any controls in the toolbars of the frame.
wxChoice * m_originSelectBox
wxChoice * m_pageSelectBox
void ReCreateVToolbar() override
Create or update the right vertical toolbar.
KICOMMON_API wxSize GetTextSize(const wxString &aSingleLine, wxWindow *aWindow)
Return the size of aSingleLine of text when it is rendered in aWindow using whatever font is currentl...
@ ID_SELECT_COORDINATE_ORIGIN