| 
    KiCad PCB EDA Suite
    
   | 
 
#include <panel_pcbnew_action_plugins.h>
  
Public Member Functions | |
| PANEL_PCBNEW_ACTION_PLUGINS (wxWindow *aParent) | |
| bool | TransferDataFromWindow () override | 
| bool | TransferDataToWindow () override | 
| ~PANEL_PCBNEW_ACTION_PLUGINS () override | |
| void | OnGridCellClick (wxGridEvent &event) override | 
| Selects a whole row.   | |
| void | OnMoveUpButtonClick (wxCommandEvent &event) override | 
| Moves plugin up in the grid.   | |
| void | OnMoveDownButtonClick (wxCommandEvent &event) override | 
| Moves plugin down in the grid.   | |
| void | OnOpenDirectoryButtonClick (wxCommandEvent &event) override | 
| Opens user's action plugin directory.   | |
| void | OnReloadButtonClick (wxCommandEvent &event) override | 
| Reloads plugins and updates grid.   | |
| void | OnShowErrorsButtonClick (wxCommandEvent &event) override | 
| Shows plugin import errors.   | |
Private Types | |
| enum | GRID_COLUMNS {  COLUMN_ACTION_NAME , COLUMN_VISIBLE , COLUMN_PLUGIN_NAME , COLUMN_DESCRIPTION , COLUMN_SETTINGS_IDENTIFIER }  | 
Private Member Functions | |
| void | SwapRows (int aRowA, int aRowB) | 
| void | SelectRow (int aRow) | 
Private Attributes | |
| wxBitmapBundle | m_genericIcon | 
Friends | |
| class | PLUGINS_GRID_TRICKS | 
Definition at line 26 of file panel_pcbnew_action_plugins.h.
      
  | 
  private | 
| Enumerator | |
|---|---|
| COLUMN_ACTION_NAME | |
| COLUMN_VISIBLE | |
| COLUMN_PLUGIN_NAME | |
| COLUMN_DESCRIPTION | |
| COLUMN_SETTINGS_IDENTIFIER | |
Definition at line 69 of file panel_pcbnew_action_plugins.h.
| PANEL_PCBNEW_ACTION_PLUGINS::PANEL_PCBNEW_ACTION_PLUGINS | ( | wxWindow * | aParent | ) | 
Definition at line 99 of file panel_pcbnew_action_plugins.cpp.
References KiBitmapBundle(), m_genericIcon, PANEL_PCBNEW_ACTION_PLUGINS_BASE::m_grid, PANEL_PCBNEW_ACTION_PLUGINS_BASE::m_moveDownButton, PANEL_PCBNEW_ACTION_PLUGINS_BASE::m_moveUpButton, PANEL_PCBNEW_ACTION_PLUGINS_BASE::m_openDirectoryButton, PANEL_PCBNEW_ACTION_PLUGINS_BASE::m_reloadButton, PANEL_PCBNEW_ACTION_PLUGINS_BASE::m_showErrorsButton, PANEL_PCBNEW_ACTION_PLUGINS_BASE::PANEL_PCBNEW_ACTION_PLUGINS_BASE(), PLUGINS_GRID_TRICKS, puzzle_piece, small_down, small_folder, small_refresh, small_up, and small_warning.
      
  | 
  override | 
Definition at line 114 of file panel_pcbnew_action_plugins.cpp.
References PANEL_PCBNEW_ACTION_PLUGINS_BASE::m_grid.
      
  | 
  overridevirtual | 
Selects a whole row.
Reimplemented from PANEL_PCBNEW_ACTION_PLUGINS_BASE.
Definition at line 120 of file panel_pcbnew_action_plugins.cpp.
References SelectRow().
      
  | 
  overridevirtual | 
Moves plugin down in the grid.
Reimplemented from PANEL_PCBNEW_ACTION_PLUGINS_BASE.
Definition at line 143 of file panel_pcbnew_action_plugins.cpp.
References PANEL_PCBNEW_ACTION_PLUGINS_BASE::m_grid, and SwapRows().
      
  | 
  overridevirtual | 
Moves plugin up in the grid.
Reimplemented from PANEL_PCBNEW_ACTION_PLUGINS_BASE.
Definition at line 133 of file panel_pcbnew_action_plugins.cpp.
References PANEL_PCBNEW_ACTION_PLUGINS_BASE::m_grid, and SwapRows().
      
  | 
  overridevirtual | 
Opens user's action plugin directory.
Reimplemented from PANEL_PCBNEW_ACTION_PLUGINS_BASE.
Definition at line 327 of file panel_pcbnew_action_plugins.cpp.
References SCRIPTING_TOOL::ShowPluginFolder().
      
  | 
  overridevirtual | 
Reloads plugins and updates grid.
Reimplemented from PANEL_PCBNEW_ACTION_PLUGINS_BASE.
Definition at line 168 of file panel_pcbnew_action_plugins.cpp.
References SCRIPTING_TOOL::ReloadPlugins(), and TransferDataToWindow().
      
  | 
  overridevirtual | 
Shows plugin import errors.
Reimplemented from PANEL_PCBNEW_ACTION_PLUGINS_BASE.
Definition at line 333 of file panel_pcbnew_action_plugins.cpp.
References DIALOG_FOOTPRINT_WIZARD_LOG::m_Message, pcbnewGetWizardsBackTrace(), and DIALOG_SHIM::ShowModal().
      
  | 
  private | 
Definition at line 126 of file panel_pcbnew_action_plugins.cpp.
References PANEL_PCBNEW_ACTION_PLUGINS_BASE::m_grid.
Referenced by OnGridCellClick().
      
  | 
  private | 
Definition at line 153 of file panel_pcbnew_action_plugins.cpp.
References COLUMN_ACTION_NAME, and PANEL_PCBNEW_ACTION_PLUGINS_BASE::m_grid.
Referenced by OnMoveDownButtonClick(), and OnMoveUpButtonClick().
      
  | 
  override | 
Definition at line 175 of file panel_pcbnew_action_plugins.cpp.
References APP_SETTINGS_BASE::PLUGINS::actions, COLUMN_SETTINGS_IDENTIFIER, COLUMN_VISIBLE, API_PLUGIN_MANAGER::GetAction(), Kiface(), KIFACE_BASE::KifaceSettings(), PANEL_PCBNEW_ACTION_PLUGINS_BASE::m_grid, APP_SETTINGS_BASE::m_Plugins, PCBNEW_SETTINGS::m_VisibleActionPlugins, and Pgm().
      
  | 
  override | 
Definition at line 223 of file panel_pcbnew_action_plugins.cpp.
References COLUMN_ACTION_NAME, COLUMN_DESCRIPTION, COLUMN_PLUGIN_NAME, COLUMN_SETTINGS_IDENTIFIER, COLUMN_VISIBLE, PCB_EDIT_FRAME::GetActionPluginButtonVisible(), ACTION_PLUGINS::GetActionsCount(), PGM_BASE::GetCommonSettings(), PCB_EDIT_FRAME::GetOrderedActionPlugins(), GRID_CELL_MARGIN, KIPLATFORM::UI::IsDarkTheme(), COMMON_SETTINGS::m_Appearance, m_genericIcon, PANEL_PCBNEW_ACTION_PLUGINS_BASE::m_grid, PANEL_PCBNEW_ACTION_PLUGINS_BASE::m_showErrorsButton, pcbnewGetWizardsBackTrace(), Pgm(), and COMMON_SETTINGS::APPEARANCE::toolbar_icon_size.
Referenced by OnReloadButtonClick().
      
  | 
  friend | 
Definition at line 28 of file panel_pcbnew_action_plugins.h.
References PLUGINS_GRID_TRICKS.
Referenced by PANEL_PCBNEW_ACTION_PLUGINS(), and PLUGINS_GRID_TRICKS.
      
  | 
  private | 
Definition at line 78 of file panel_pcbnew_action_plugins.h.
Referenced by PANEL_PCBNEW_ACTION_PLUGINS(), and TransferDataToWindow().
      
  | 
  protectedinherited | 
Definition at line 40 of file panel_pcbnew_action_plugins_base.h.
Referenced by PANEL_PCBNEW_ACTION_PLUGINS::OnMoveDownButtonClick(), PANEL_PCBNEW_ACTION_PLUGINS::OnMoveUpButtonClick(), PANEL_PCBNEW_ACTION_PLUGINS::PANEL_PCBNEW_ACTION_PLUGINS(), PANEL_PCBNEW_ACTION_PLUGINS_BASE(), PANEL_PCBNEW_ACTION_PLUGINS::SelectRow(), PANEL_PCBNEW_ACTION_PLUGINS::SwapRows(), PANEL_PCBNEW_ACTION_PLUGINS::TransferDataFromWindow(), PANEL_PCBNEW_ACTION_PLUGINS::TransferDataToWindow(), PANEL_PCBNEW_ACTION_PLUGINS::~PANEL_PCBNEW_ACTION_PLUGINS(), and ~PANEL_PCBNEW_ACTION_PLUGINS_BASE().
      
  | 
  protectedinherited | 
Definition at line 42 of file panel_pcbnew_action_plugins_base.h.
Referenced by PANEL_PCBNEW_ACTION_PLUGINS::PANEL_PCBNEW_ACTION_PLUGINS(), PANEL_PCBNEW_ACTION_PLUGINS_BASE(), and ~PANEL_PCBNEW_ACTION_PLUGINS_BASE().
      
  | 
  protectedinherited | 
Definition at line 41 of file panel_pcbnew_action_plugins_base.h.
Referenced by PANEL_PCBNEW_ACTION_PLUGINS::PANEL_PCBNEW_ACTION_PLUGINS(), PANEL_PCBNEW_ACTION_PLUGINS_BASE(), and ~PANEL_PCBNEW_ACTION_PLUGINS_BASE().
      
  | 
  protectedinherited | 
Definition at line 43 of file panel_pcbnew_action_plugins_base.h.
Referenced by PANEL_PCBNEW_ACTION_PLUGINS::PANEL_PCBNEW_ACTION_PLUGINS(), PANEL_PCBNEW_ACTION_PLUGINS_BASE(), and ~PANEL_PCBNEW_ACTION_PLUGINS_BASE().
      
  | 
  protectedinherited | 
Definition at line 44 of file panel_pcbnew_action_plugins_base.h.
Referenced by PANEL_PCBNEW_ACTION_PLUGINS::PANEL_PCBNEW_ACTION_PLUGINS(), PANEL_PCBNEW_ACTION_PLUGINS_BASE(), and ~PANEL_PCBNEW_ACTION_PLUGINS_BASE().
      
  | 
  protectedinherited | 
Definition at line 45 of file panel_pcbnew_action_plugins_base.h.
Referenced by PANEL_PCBNEW_ACTION_PLUGINS::PANEL_PCBNEW_ACTION_PLUGINS(), PANEL_PCBNEW_ACTION_PLUGINS_BASE(), PANEL_PCBNEW_ACTION_PLUGINS::TransferDataToWindow(), and ~PANEL_PCBNEW_ACTION_PLUGINS_BASE().