Pcbnew, PANEL_PCBNEW_ACTION_PLUGINS: make strings translatable.
Fix also a minimal size for grid columns.
This commit is contained in:
parent
8dc4077d58
commit
5e318dc08a
|
@ -2,7 +2,7 @@
|
||||||
* This program source code file is part of KiCad, a free EDA CAD application.
|
* This program source code file is part of KiCad, a free EDA CAD application.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2018 Andrew Lutsenko, anlutsenko at gmail dot com
|
* Copyright (C) 2018 Andrew Lutsenko, anlutsenko at gmail dot com
|
||||||
* Copyright (C) 1992-2018 KiCad Developers, see AUTHORS.txt for contributors.
|
* Copyright (C) 1992-2019 KiCad Developers, see AUTHORS.txt for contributors.
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify it
|
* This program is free software: you can redistribute it and/or modify it
|
||||||
* under the terms of the GNU General Public License as published by the
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
@ -192,7 +192,12 @@ bool PANEL_PCBNEW_ACTION_PLUGINS::TransferDataToWindow()
|
||||||
}
|
}
|
||||||
|
|
||||||
for( int col = 0; col < m_grid->GetNumberCols(); col++ )
|
for( int col = 0; col < m_grid->GetNumberCols(); col++ )
|
||||||
|
{
|
||||||
|
// Set the minimal width to the column label size.
|
||||||
|
m_grid->SetColMinimalWidth( col, m_grid->GetVisibleWidth( col, true, false, false ) );
|
||||||
|
// Set the width to seen the full contents
|
||||||
m_grid->SetColSize( col, m_grid->GetVisibleWidth( col, true, true, false ) );
|
m_grid->SetColSize( col, m_grid->GetVisibleWidth( col, true, true, false ) );
|
||||||
|
}
|
||||||
|
|
||||||
m_grid->AutoSizeRows();
|
m_grid->AutoSizeRows();
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
// C++ code generated with wxFormBuilder (version Aug 2 2018)
|
// C++ code generated with wxFormBuilder (version Dec 1 2018)
|
||||||
// http://www.wxformbuilder.org/
|
// http://www.wxformbuilder.org/
|
||||||
//
|
//
|
||||||
// PLEASE DO *NOT* EDIT THIS FILE!
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
||||||
|
@ -15,74 +15,74 @@ PANEL_PCBNEW_ACTION_PLUGINS_BASE::PANEL_PCBNEW_ACTION_PLUGINS_BASE( wxWindow* pa
|
||||||
{
|
{
|
||||||
wxBoxSizer* bPanelSizer;
|
wxBoxSizer* bPanelSizer;
|
||||||
bPanelSizer = new wxBoxSizer( wxVERTICAL );
|
bPanelSizer = new wxBoxSizer( wxVERTICAL );
|
||||||
|
|
||||||
wxBoxSizer* bGridSizer;
|
wxBoxSizer* bGridSizer;
|
||||||
bGridSizer = new wxBoxSizer( wxVERTICAL );
|
bGridSizer = new wxBoxSizer( wxVERTICAL );
|
||||||
|
|
||||||
m_grid = new WX_GRID( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
|
m_grid = new WX_GRID( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
|
||||||
|
|
||||||
// Grid
|
// Grid
|
||||||
m_grid->CreateGrid( 3, 6 );
|
m_grid->CreateGrid( 3, 6 );
|
||||||
m_grid->EnableEditing( false );
|
m_grid->EnableEditing( false );
|
||||||
m_grid->EnableGridLines( true );
|
m_grid->EnableGridLines( true );
|
||||||
m_grid->EnableDragGridSize( false );
|
m_grid->EnableDragGridSize( false );
|
||||||
m_grid->SetMargins( 0, 0 );
|
m_grid->SetMargins( 0, 0 );
|
||||||
|
|
||||||
// Columns
|
// Columns
|
||||||
m_grid->AutoSizeColumns();
|
m_grid->AutoSizeColumns();
|
||||||
m_grid->EnableDragColMove( false );
|
m_grid->EnableDragColMove( false );
|
||||||
m_grid->EnableDragColSize( true );
|
m_grid->EnableDragColSize( true );
|
||||||
m_grid->SetColLabelSize( 22 );
|
m_grid->SetColLabelSize( 22 );
|
||||||
m_grid->SetColLabelValue( 0, wxT("Icon") );
|
m_grid->SetColLabelValue( 0, _("Icon") );
|
||||||
m_grid->SetColLabelValue( 1, wxT("Show button") );
|
m_grid->SetColLabelValue( 1, _("Show button") );
|
||||||
m_grid->SetColLabelValue( 2, wxT("Name") );
|
m_grid->SetColLabelValue( 2, _("Name") );
|
||||||
m_grid->SetColLabelValue( 3, wxT("Category") );
|
m_grid->SetColLabelValue( 3, _("Category") );
|
||||||
m_grid->SetColLabelValue( 4, wxT("Description") );
|
m_grid->SetColLabelValue( 4, _("Description") );
|
||||||
m_grid->SetColLabelValue( 5, wxT("Path") );
|
m_grid->SetColLabelValue( 5, _("Path") );
|
||||||
m_grid->SetColLabelAlignment( wxALIGN_CENTRE, wxALIGN_CENTRE );
|
m_grid->SetColLabelAlignment( wxALIGN_CENTER, wxALIGN_CENTER );
|
||||||
|
|
||||||
// Rows
|
// Rows
|
||||||
m_grid->EnableDragRowSize( true );
|
m_grid->EnableDragRowSize( true );
|
||||||
m_grid->SetRowLabelSize( 0 );
|
m_grid->SetRowLabelSize( 0 );
|
||||||
m_grid->SetRowLabelAlignment( wxALIGN_CENTRE, wxALIGN_CENTRE );
|
m_grid->SetRowLabelAlignment( wxALIGN_CENTER, wxALIGN_CENTER );
|
||||||
|
|
||||||
// Label Appearance
|
// Label Appearance
|
||||||
|
|
||||||
// Cell Defaults
|
// Cell Defaults
|
||||||
m_grid->SetDefaultCellAlignment( wxALIGN_LEFT, wxALIGN_CENTRE );
|
m_grid->SetDefaultCellAlignment( wxALIGN_LEFT, wxALIGN_CENTER );
|
||||||
bGridSizer->Add( m_grid, 1, wxALL|wxEXPAND, 5 );
|
bGridSizer->Add( m_grid, 1, wxALL|wxEXPAND, 5 );
|
||||||
|
|
||||||
|
|
||||||
bPanelSizer->Add( bGridSizer, 1, wxALIGN_LEFT|wxEXPAND|wxLEFT, 0 );
|
bPanelSizer->Add( bGridSizer, 1, wxALIGN_LEFT|wxEXPAND|wxLEFT, 0 );
|
||||||
|
|
||||||
wxBoxSizer* bButtonsSizer;
|
wxBoxSizer* bButtonsSizer;
|
||||||
bButtonsSizer = new wxBoxSizer( wxHORIZONTAL );
|
bButtonsSizer = new wxBoxSizer( wxHORIZONTAL );
|
||||||
|
|
||||||
m_moveUpButton = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );
|
m_moveUpButton = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );
|
||||||
m_moveUpButton->SetMinSize( wxSize( 30,30 ) );
|
m_moveUpButton->SetMinSize( wxSize( 30,30 ) );
|
||||||
|
|
||||||
bButtonsSizer->Add( m_moveUpButton, 0, wxLEFT|wxRIGHT, 5 );
|
bButtonsSizer->Add( m_moveUpButton, 0, wxLEFT|wxRIGHT, 5 );
|
||||||
|
|
||||||
m_moveDownButton = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );
|
m_moveDownButton = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );
|
||||||
m_moveDownButton->SetMinSize( wxSize( 30,30 ) );
|
m_moveDownButton->SetMinSize( wxSize( 30,30 ) );
|
||||||
|
|
||||||
bButtonsSizer->Add( m_moveDownButton, 0, wxRIGHT, 5 );
|
bButtonsSizer->Add( m_moveDownButton, 0, wxRIGHT, 5 );
|
||||||
|
|
||||||
|
|
||||||
bButtonsSizer->Add( 0, 0, 0, wxEXPAND|wxLEFT|wxRIGHT, 5 );
|
bButtonsSizer->Add( 0, 0, 0, wxEXPAND|wxLEFT|wxRIGHT, 5 );
|
||||||
|
|
||||||
m_reloadButton = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );
|
m_reloadButton = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );
|
||||||
m_reloadButton->SetMinSize( wxSize( 30,30 ) );
|
m_reloadButton->SetMinSize( wxSize( 30,30 ) );
|
||||||
|
|
||||||
bButtonsSizer->Add( m_reloadButton, 0, wxLEFT|wxRIGHT, 5 );
|
bButtonsSizer->Add( m_reloadButton, 0, wxLEFT|wxRIGHT, 5 );
|
||||||
|
|
||||||
|
|
||||||
bPanelSizer->Add( bButtonsSizer, 0, wxEXPAND, 0 );
|
bPanelSizer->Add( bButtonsSizer, 0, wxEXPAND, 0 );
|
||||||
|
|
||||||
|
|
||||||
this->SetSizer( bPanelSizer );
|
this->SetSizer( bPanelSizer );
|
||||||
this->Layout();
|
this->Layout();
|
||||||
|
|
||||||
// Connect Events
|
// Connect Events
|
||||||
m_grid->Connect( wxEVT_GRID_CELL_LEFT_CLICK, wxGridEventHandler( PANEL_PCBNEW_ACTION_PLUGINS_BASE::OnGridCellClick ), NULL, this );
|
m_grid->Connect( wxEVT_GRID_CELL_LEFT_CLICK, wxGridEventHandler( PANEL_PCBNEW_ACTION_PLUGINS_BASE::OnGridCellClick ), NULL, this );
|
||||||
m_moveUpButton->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( PANEL_PCBNEW_ACTION_PLUGINS_BASE::OnMoveUpButtonClick ), NULL, this );
|
m_moveUpButton->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( PANEL_PCBNEW_ACTION_PLUGINS_BASE::OnMoveUpButtonClick ), NULL, this );
|
||||||
|
@ -97,5 +97,5 @@ PANEL_PCBNEW_ACTION_PLUGINS_BASE::~PANEL_PCBNEW_ACTION_PLUGINS_BASE()
|
||||||
m_moveUpButton->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( PANEL_PCBNEW_ACTION_PLUGINS_BASE::OnMoveUpButtonClick ), NULL, this );
|
m_moveUpButton->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( PANEL_PCBNEW_ACTION_PLUGINS_BASE::OnMoveUpButtonClick ), NULL, this );
|
||||||
m_moveDownButton->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( PANEL_PCBNEW_ACTION_PLUGINS_BASE::OnMoveDownButtonClick ), NULL, this );
|
m_moveDownButton->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( PANEL_PCBNEW_ACTION_PLUGINS_BASE::OnMoveDownButtonClick ), NULL, this );
|
||||||
m_reloadButton->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( PANEL_PCBNEW_ACTION_PLUGINS_BASE::OnReloadButtonClick ), NULL, this );
|
m_reloadButton->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( PANEL_PCBNEW_ACTION_PLUGINS_BASE::OnReloadButtonClick ), NULL, this );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||||
<wxFormBuilder_Project>
|
<wxFormBuilder_Project>
|
||||||
<FileVersion major="1" minor="14" />
|
<FileVersion major="1" minor="15" />
|
||||||
<object class="Project" expanded="1">
|
<object class="Project" expanded="1">
|
||||||
<property name="class_decoration"></property>
|
<property name="class_decoration"></property>
|
||||||
<property name="code_generation">C++</property>
|
<property name="code_generation">C++</property>
|
||||||
|
@ -15,7 +15,7 @@
|
||||||
<property name="first_id">1000</property>
|
<property name="first_id">1000</property>
|
||||||
<property name="help_provider">none</property>
|
<property name="help_provider">none</property>
|
||||||
<property name="indent_with_spaces">0</property>
|
<property name="indent_with_spaces">0</property>
|
||||||
<property name="internationalize">0</property>
|
<property name="internationalize">1</property>
|
||||||
<property name="name">PanelPcbnewActionPlugins</property>
|
<property name="name">PanelPcbnewActionPlugins</property>
|
||||||
<property name="namespace"></property>
|
<property name="namespace"></property>
|
||||||
<property name="path">.</property>
|
<property name="path">.</property>
|
||||||
|
@ -49,43 +49,6 @@
|
||||||
<property name="window_extra_style"></property>
|
<property name="window_extra_style"></property>
|
||||||
<property name="window_name"></property>
|
<property name="window_name"></property>
|
||||||
<property name="window_style">wxTAB_TRAVERSAL</property>
|
<property name="window_style">wxTAB_TRAVERSAL</property>
|
||||||
<event name="OnAuiPaneActivated"></event>
|
|
||||||
<event name="OnAuiPaneButton"></event>
|
|
||||||
<event name="OnAuiPaneClose"></event>
|
|
||||||
<event name="OnAuiPaneMaximize"></event>
|
|
||||||
<event name="OnAuiPaneRestore"></event>
|
|
||||||
<event name="OnAuiRender"></event>
|
|
||||||
<event name="OnAux1DClick"></event>
|
|
||||||
<event name="OnAux1Down"></event>
|
|
||||||
<event name="OnAux1Up"></event>
|
|
||||||
<event name="OnAux2DClick"></event>
|
|
||||||
<event name="OnAux2Down"></event>
|
|
||||||
<event name="OnAux2Up"></event>
|
|
||||||
<event name="OnChar"></event>
|
|
||||||
<event name="OnCharHook"></event>
|
|
||||||
<event name="OnEnterWindow"></event>
|
|
||||||
<event name="OnEraseBackground"></event>
|
|
||||||
<event name="OnInitDialog"></event>
|
|
||||||
<event name="OnKeyDown"></event>
|
|
||||||
<event name="OnKeyUp"></event>
|
|
||||||
<event name="OnKillFocus"></event>
|
|
||||||
<event name="OnLeaveWindow"></event>
|
|
||||||
<event name="OnLeftDClick"></event>
|
|
||||||
<event name="OnLeftDown"></event>
|
|
||||||
<event name="OnLeftUp"></event>
|
|
||||||
<event name="OnMiddleDClick"></event>
|
|
||||||
<event name="OnMiddleDown"></event>
|
|
||||||
<event name="OnMiddleUp"></event>
|
|
||||||
<event name="OnMotion"></event>
|
|
||||||
<event name="OnMouseEvents"></event>
|
|
||||||
<event name="OnMouseWheel"></event>
|
|
||||||
<event name="OnPaint"></event>
|
|
||||||
<event name="OnRightDClick"></event>
|
|
||||||
<event name="OnRightDown"></event>
|
|
||||||
<event name="OnRightUp"></event>
|
|
||||||
<event name="OnSetFocus"></event>
|
|
||||||
<event name="OnSize"></event>
|
|
||||||
<event name="OnUpdateUI"></event>
|
|
||||||
<object class="wxBoxSizer" expanded="1">
|
<object class="wxBoxSizer" expanded="1">
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size"></property>
|
||||||
<property name="name">bPanelSizer</property>
|
<property name="name">bPanelSizer</property>
|
||||||
|
@ -123,13 +86,13 @@
|
||||||
<property name="cell_font"></property>
|
<property name="cell_font"></property>
|
||||||
<property name="cell_horiz_alignment">wxALIGN_LEFT</property>
|
<property name="cell_horiz_alignment">wxALIGN_LEFT</property>
|
||||||
<property name="cell_text"></property>
|
<property name="cell_text"></property>
|
||||||
<property name="cell_vert_alignment">wxALIGN_CENTRE</property>
|
<property name="cell_vert_alignment">wxALIGN_CENTER</property>
|
||||||
<property name="center_pane">0</property>
|
<property name="center_pane">0</property>
|
||||||
<property name="close_button">1</property>
|
<property name="close_button">1</property>
|
||||||
<property name="col_label_horiz_alignment">wxALIGN_CENTRE</property>
|
<property name="col_label_horiz_alignment">wxALIGN_CENTER</property>
|
||||||
<property name="col_label_size">22</property>
|
<property name="col_label_size">22</property>
|
||||||
<property name="col_label_values">"Icon" "Show button" "Name" "Category" "Description" "Path"</property>
|
<property name="col_label_values">"Icon" "Show button" "Name" "Category" "Description" "Path"</property>
|
||||||
<property name="col_label_vert_alignment">wxALIGN_CENTRE</property>
|
<property name="col_label_vert_alignment">wxALIGN_CENTER</property>
|
||||||
<property name="cols">6</property>
|
<property name="cols">6</property>
|
||||||
<property name="column_sizes"></property>
|
<property name="column_sizes"></property>
|
||||||
<property name="context_help"></property>
|
<property name="context_help"></property>
|
||||||
|
@ -172,10 +135,10 @@
|
||||||
<property name="pin_button">1</property>
|
<property name="pin_button">1</property>
|
||||||
<property name="pos"></property>
|
<property name="pos"></property>
|
||||||
<property name="resize">Resizable</property>
|
<property name="resize">Resizable</property>
|
||||||
<property name="row_label_horiz_alignment">wxALIGN_CENTRE</property>
|
<property name="row_label_horiz_alignment">wxALIGN_CENTER</property>
|
||||||
<property name="row_label_size">0</property>
|
<property name="row_label_size">0</property>
|
||||||
<property name="row_label_values"></property>
|
<property name="row_label_values"></property>
|
||||||
<property name="row_label_vert_alignment">wxALIGN_CENTRE</property>
|
<property name="row_label_vert_alignment">wxALIGN_CENTER</property>
|
||||||
<property name="row_sizes"></property>
|
<property name="row_sizes"></property>
|
||||||
<property name="rows">3</property>
|
<property name="rows">3</property>
|
||||||
<property name="show">1</property>
|
<property name="show">1</property>
|
||||||
|
@ -186,68 +149,7 @@
|
||||||
<property name="window_extra_style"></property>
|
<property name="window_extra_style"></property>
|
||||||
<property name="window_name"></property>
|
<property name="window_name"></property>
|
||||||
<property name="window_style"></property>
|
<property name="window_style"></property>
|
||||||
<event name="OnAux1DClick"></event>
|
|
||||||
<event name="OnAux1Down"></event>
|
|
||||||
<event name="OnAux1Up"></event>
|
|
||||||
<event name="OnAux2DClick"></event>
|
|
||||||
<event name="OnAux2Down"></event>
|
|
||||||
<event name="OnAux2Up"></event>
|
|
||||||
<event name="OnChar"></event>
|
|
||||||
<event name="OnCharHook"></event>
|
|
||||||
<event name="OnEnterWindow"></event>
|
|
||||||
<event name="OnEraseBackground"></event>
|
|
||||||
<event name="OnGridCellChange"></event>
|
|
||||||
<event name="OnGridCellLeftClick">OnGridCellClick</event>
|
<event name="OnGridCellLeftClick">OnGridCellClick</event>
|
||||||
<event name="OnGridCellLeftDClick"></event>
|
|
||||||
<event name="OnGridCellRightClick"></event>
|
|
||||||
<event name="OnGridCellRightDClick"></event>
|
|
||||||
<event name="OnGridCmdCellChange"></event>
|
|
||||||
<event name="OnGridCmdCellLeftClick"></event>
|
|
||||||
<event name="OnGridCmdCellLeftDClick"></event>
|
|
||||||
<event name="OnGridCmdCellRightClick"></event>
|
|
||||||
<event name="OnGridCmdCellRightDClick"></event>
|
|
||||||
<event name="OnGridCmdColSize"></event>
|
|
||||||
<event name="OnGridCmdEditorCreated"></event>
|
|
||||||
<event name="OnGridCmdEditorHidden"></event>
|
|
||||||
<event name="OnGridCmdEditorShown"></event>
|
|
||||||
<event name="OnGridCmdLabelLeftClick"></event>
|
|
||||||
<event name="OnGridCmdLabelLeftDClick"></event>
|
|
||||||
<event name="OnGridCmdLabelRightClick"></event>
|
|
||||||
<event name="OnGridCmdLabelRightDClick"></event>
|
|
||||||
<event name="OnGridCmdRangeSelect"></event>
|
|
||||||
<event name="OnGridCmdRowSize"></event>
|
|
||||||
<event name="OnGridCmdSelectCell"></event>
|
|
||||||
<event name="OnGridColSize"></event>
|
|
||||||
<event name="OnGridEditorCreated"></event>
|
|
||||||
<event name="OnGridEditorHidden"></event>
|
|
||||||
<event name="OnGridEditorShown"></event>
|
|
||||||
<event name="OnGridLabelLeftClick"></event>
|
|
||||||
<event name="OnGridLabelLeftDClick"></event>
|
|
||||||
<event name="OnGridLabelRightClick"></event>
|
|
||||||
<event name="OnGridLabelRightDClick"></event>
|
|
||||||
<event name="OnGridRangeSelect"></event>
|
|
||||||
<event name="OnGridRowSize"></event>
|
|
||||||
<event name="OnGridSelectCell"></event>
|
|
||||||
<event name="OnKeyDown"></event>
|
|
||||||
<event name="OnKeyUp"></event>
|
|
||||||
<event name="OnKillFocus"></event>
|
|
||||||
<event name="OnLeaveWindow"></event>
|
|
||||||
<event name="OnLeftDClick"></event>
|
|
||||||
<event name="OnLeftDown"></event>
|
|
||||||
<event name="OnLeftUp"></event>
|
|
||||||
<event name="OnMiddleDClick"></event>
|
|
||||||
<event name="OnMiddleDown"></event>
|
|
||||||
<event name="OnMiddleUp"></event>
|
|
||||||
<event name="OnMotion"></event>
|
|
||||||
<event name="OnMouseEvents"></event>
|
|
||||||
<event name="OnMouseWheel"></event>
|
|
||||||
<event name="OnPaint"></event>
|
|
||||||
<event name="OnRightDClick"></event>
|
|
||||||
<event name="OnRightDown"></event>
|
|
||||||
<event name="OnRightUp"></event>
|
|
||||||
<event name="OnSetFocus"></event>
|
|
||||||
<event name="OnSize"></event>
|
|
||||||
<event name="OnUpdateUI"></event>
|
|
||||||
</object>
|
</object>
|
||||||
</object>
|
</object>
|
||||||
</object>
|
</object>
|
||||||
|
@ -331,37 +233,7 @@
|
||||||
<property name="window_extra_style"></property>
|
<property name="window_extra_style"></property>
|
||||||
<property name="window_name"></property>
|
<property name="window_name"></property>
|
||||||
<property name="window_style"></property>
|
<property name="window_style"></property>
|
||||||
<event name="OnAux1DClick"></event>
|
|
||||||
<event name="OnAux1Down"></event>
|
|
||||||
<event name="OnAux1Up"></event>
|
|
||||||
<event name="OnAux2DClick"></event>
|
|
||||||
<event name="OnAux2Down"></event>
|
|
||||||
<event name="OnAux2Up"></event>
|
|
||||||
<event name="OnButtonClick">OnMoveUpButtonClick</event>
|
<event name="OnButtonClick">OnMoveUpButtonClick</event>
|
||||||
<event name="OnChar"></event>
|
|
||||||
<event name="OnCharHook"></event>
|
|
||||||
<event name="OnEnterWindow"></event>
|
|
||||||
<event name="OnEraseBackground"></event>
|
|
||||||
<event name="OnKeyDown"></event>
|
|
||||||
<event name="OnKeyUp"></event>
|
|
||||||
<event name="OnKillFocus"></event>
|
|
||||||
<event name="OnLeaveWindow"></event>
|
|
||||||
<event name="OnLeftDClick"></event>
|
|
||||||
<event name="OnLeftDown"></event>
|
|
||||||
<event name="OnLeftUp"></event>
|
|
||||||
<event name="OnMiddleDClick"></event>
|
|
||||||
<event name="OnMiddleDown"></event>
|
|
||||||
<event name="OnMiddleUp"></event>
|
|
||||||
<event name="OnMotion"></event>
|
|
||||||
<event name="OnMouseEvents"></event>
|
|
||||||
<event name="OnMouseWheel"></event>
|
|
||||||
<event name="OnPaint"></event>
|
|
||||||
<event name="OnRightDClick"></event>
|
|
||||||
<event name="OnRightDown"></event>
|
|
||||||
<event name="OnRightUp"></event>
|
|
||||||
<event name="OnSetFocus"></event>
|
|
||||||
<event name="OnSize"></event>
|
|
||||||
<event name="OnUpdateUI"></event>
|
|
||||||
</object>
|
</object>
|
||||||
</object>
|
</object>
|
||||||
<object class="sizeritem" expanded="0">
|
<object class="sizeritem" expanded="0">
|
||||||
|
@ -434,37 +306,7 @@
|
||||||
<property name="window_extra_style"></property>
|
<property name="window_extra_style"></property>
|
||||||
<property name="window_name"></property>
|
<property name="window_name"></property>
|
||||||
<property name="window_style"></property>
|
<property name="window_style"></property>
|
||||||
<event name="OnAux1DClick"></event>
|
|
||||||
<event name="OnAux1Down"></event>
|
|
||||||
<event name="OnAux1Up"></event>
|
|
||||||
<event name="OnAux2DClick"></event>
|
|
||||||
<event name="OnAux2Down"></event>
|
|
||||||
<event name="OnAux2Up"></event>
|
|
||||||
<event name="OnButtonClick">OnMoveDownButtonClick</event>
|
<event name="OnButtonClick">OnMoveDownButtonClick</event>
|
||||||
<event name="OnChar"></event>
|
|
||||||
<event name="OnCharHook"></event>
|
|
||||||
<event name="OnEnterWindow"></event>
|
|
||||||
<event name="OnEraseBackground"></event>
|
|
||||||
<event name="OnKeyDown"></event>
|
|
||||||
<event name="OnKeyUp"></event>
|
|
||||||
<event name="OnKillFocus"></event>
|
|
||||||
<event name="OnLeaveWindow"></event>
|
|
||||||
<event name="OnLeftDClick"></event>
|
|
||||||
<event name="OnLeftDown"></event>
|
|
||||||
<event name="OnLeftUp"></event>
|
|
||||||
<event name="OnMiddleDClick"></event>
|
|
||||||
<event name="OnMiddleDown"></event>
|
|
||||||
<event name="OnMiddleUp"></event>
|
|
||||||
<event name="OnMotion"></event>
|
|
||||||
<event name="OnMouseEvents"></event>
|
|
||||||
<event name="OnMouseWheel"></event>
|
|
||||||
<event name="OnPaint"></event>
|
|
||||||
<event name="OnRightDClick"></event>
|
|
||||||
<event name="OnRightDown"></event>
|
|
||||||
<event name="OnRightUp"></event>
|
|
||||||
<event name="OnSetFocus"></event>
|
|
||||||
<event name="OnSize"></event>
|
|
||||||
<event name="OnUpdateUI"></event>
|
|
||||||
</object>
|
</object>
|
||||||
</object>
|
</object>
|
||||||
<object class="sizeritem" expanded="1">
|
<object class="sizeritem" expanded="1">
|
||||||
|
@ -547,37 +389,7 @@
|
||||||
<property name="window_extra_style"></property>
|
<property name="window_extra_style"></property>
|
||||||
<property name="window_name"></property>
|
<property name="window_name"></property>
|
||||||
<property name="window_style"></property>
|
<property name="window_style"></property>
|
||||||
<event name="OnAux1DClick"></event>
|
|
||||||
<event name="OnAux1Down"></event>
|
|
||||||
<event name="OnAux1Up"></event>
|
|
||||||
<event name="OnAux2DClick"></event>
|
|
||||||
<event name="OnAux2Down"></event>
|
|
||||||
<event name="OnAux2Up"></event>
|
|
||||||
<event name="OnButtonClick">OnReloadButtonClick</event>
|
<event name="OnButtonClick">OnReloadButtonClick</event>
|
||||||
<event name="OnChar"></event>
|
|
||||||
<event name="OnCharHook"></event>
|
|
||||||
<event name="OnEnterWindow"></event>
|
|
||||||
<event name="OnEraseBackground"></event>
|
|
||||||
<event name="OnKeyDown"></event>
|
|
||||||
<event name="OnKeyUp"></event>
|
|
||||||
<event name="OnKillFocus"></event>
|
|
||||||
<event name="OnLeaveWindow"></event>
|
|
||||||
<event name="OnLeftDClick"></event>
|
|
||||||
<event name="OnLeftDown"></event>
|
|
||||||
<event name="OnLeftUp"></event>
|
|
||||||
<event name="OnMiddleDClick"></event>
|
|
||||||
<event name="OnMiddleDown"></event>
|
|
||||||
<event name="OnMiddleUp"></event>
|
|
||||||
<event name="OnMotion"></event>
|
|
||||||
<event name="OnMouseEvents"></event>
|
|
||||||
<event name="OnMouseWheel"></event>
|
|
||||||
<event name="OnPaint"></event>
|
|
||||||
<event name="OnRightDClick"></event>
|
|
||||||
<event name="OnRightDown"></event>
|
|
||||||
<event name="OnRightUp"></event>
|
|
||||||
<event name="OnSetFocus"></event>
|
|
||||||
<event name="OnSize"></event>
|
|
||||||
<event name="OnUpdateUI"></event>
|
|
||||||
</object>
|
</object>
|
||||||
</object>
|
</object>
|
||||||
</object>
|
</object>
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
// C++ code generated with wxFormBuilder (version Aug 2 2018)
|
// C++ code generated with wxFormBuilder (version Dec 1 2018)
|
||||||
// http://www.wxformbuilder.org/
|
// http://www.wxformbuilder.org/
|
||||||
//
|
//
|
||||||
// PLEASE DO *NOT* EDIT THIS FILE!
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef __PANEL_PCBNEW_ACTION_PLUGINS_BASE_H__
|
#pragma once
|
||||||
#define __PANEL_PCBNEW_ACTION_PLUGINS_BASE_H__
|
|
||||||
|
|
||||||
#include <wx/artprov.h>
|
#include <wx/artprov.h>
|
||||||
#include <wx/xrc/xmlres.h>
|
#include <wx/xrc/xmlres.h>
|
||||||
|
#include <wx/intl.h>
|
||||||
class WX_GRID;
|
class WX_GRID;
|
||||||
|
|
||||||
#include <wx/colour.h>
|
#include <wx/colour.h>
|
||||||
|
@ -31,28 +31,27 @@ class WX_GRID;
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
/// Class PANEL_PCBNEW_ACTION_PLUGINS_BASE
|
/// Class PANEL_PCBNEW_ACTION_PLUGINS_BASE
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
class PANEL_PCBNEW_ACTION_PLUGINS_BASE : public wxPanel
|
class PANEL_PCBNEW_ACTION_PLUGINS_BASE : public wxPanel
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
WX_GRID* m_grid;
|
WX_GRID* m_grid;
|
||||||
wxBitmapButton* m_moveUpButton;
|
wxBitmapButton* m_moveUpButton;
|
||||||
wxBitmapButton* m_moveDownButton;
|
wxBitmapButton* m_moveDownButton;
|
||||||
wxBitmapButton* m_reloadButton;
|
wxBitmapButton* m_reloadButton;
|
||||||
|
|
||||||
// Virtual event handlers, overide them in your derived class
|
// Virtual event handlers, overide them in your derived class
|
||||||
virtual void OnGridCellClick( wxGridEvent& event ) { event.Skip(); }
|
virtual void OnGridCellClick( wxGridEvent& event ) { event.Skip(); }
|
||||||
virtual void OnMoveUpButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnMoveUpButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
||||||
virtual void OnMoveDownButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnMoveDownButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
||||||
virtual void OnReloadButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnReloadButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
PANEL_PCBNEW_ACTION_PLUGINS_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 485,200 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString );
|
PANEL_PCBNEW_ACTION_PLUGINS_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 485,200 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString );
|
||||||
~PANEL_PCBNEW_ACTION_PLUGINS_BASE();
|
~PANEL_PCBNEW_ACTION_PLUGINS_BASE();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif //__PANEL_PCBNEW_ACTION_PLUGINS_BASE_H__
|
|
||||||
|
|
Loading…
Reference in New Issue