42 case TOOLBAR_LOC::TOP_AUX:
45 case TOOLBAR_LOC::LEFT:
59 case TOOLBAR_LOC::RIGHT:
73 case TOOLBAR_LOC::TOP_MAIN:
116 auto originSelectorFactory =
125 m_originSelectBox->SetToolTip(
_(
"Origin of coordinates displayed to the status bar") );
134 auto pageSelectorFactory =
137 wxString pageList[5] =
146 wxDefaultPosition, wxDefaultSize, 2, pageList );
149 m_pageSelectBox->SetToolTip(
_(
"Simulate page 1 or other pages to show how items\n"\
150 "which are not on all page are displayed") );
161 _(
"Select the origin of the status bar coordinates" ) );
163 _(
"Select the page to simulate item displays" ));
172 for(
int ii = 0; ii < 5; ii++ )
175 minwidth = std::max( minwidth, width );
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
virtual void UpdateToolbarControlSizes()
Update the sizes of any controls in the toolbars of the frame.
void RegisterCustomToolbarControlFactory(const ACTION_TOOLBAR_CONTROL &aControlDesc, const ACTION_TOOLBAR_CONTROL_FACTORY &aControlFactory)
Register a creation factory for toolbar controls that are present in this frame.
void configureToolbars() override
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 configureToolbars() override
void UpdateToolbarControlSizes() override
Update the sizes of any controls in the toolbars of the frame.
wxChoice * m_originSelectBox
wxString m_originChoiceList[5]
wxChoice * m_pageSelectBox
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