KiCad PCB EDA Suite
dialog_fp_plugin_options.cpp File Reference
#include <invoke_pcb_dialog.h>
#include <dialog_fp_plugin_options_base.h>
#include <fp_lib_table.h>
#include <grid_tricks.h>
#include <widgets/wx_grid.h>
#include <widgets/std_bitmap_button.h>
#include <bitmaps.h>
#include <macros.h>

Go to the source code of this file.

Classes

class  DIALOG_FP_PLUGIN_OPTIONS
 DIALOG_FP_PLUGIN_OPTIONS is an options editor in the form of a two column name/value spreadsheet like (table) UI. More...
 

Macros

#define INITIAL_HELP    _( "Select an <b>Option Choice</b> in the listbox above, and then click the <b>Append Selected Option</b> button." )
 

Functions

void InvokePluginOptionsEditor (wxWindow *aCaller, const wxString &aNickname, const wxString &aPluginType, const wxString &aOptions, wxString *aResult)
 Function InvokePluginOptionsEditor calls DIALOG_FP_PLUGIN_OPTIONS dialog so that plugin options set can be edited. More...
 

Macro Definition Documentation

◆ INITIAL_HELP

#define INITIAL_HELP    _( "Select an <b>Option Choice</b> in the listbox above, and then click the <b>Append Selected Option</b> button." )

Definition at line 37 of file dialog_fp_plugin_options.cpp.

Function Documentation

◆ InvokePluginOptionsEditor()

void InvokePluginOptionsEditor ( wxWindow *  aCaller,
const wxString &  aNickname,
const wxString &  aPluginType,
const wxString &  aOptions,
wxString *  aResult 
)

Function InvokePluginOptionsEditor calls DIALOG_FP_PLUGIN_OPTIONS dialog so that plugin options set can be edited.

Parameters
aCalleris the wxTopLevelWindow which is invoking the dialog.
aNicknameis the footprint library whose options are being edited.
aPluginTypeis something that will pass through IO_MGR::EnumFromStr().
aOptionsis the options string on calling into this function.
aResultis where to put the result of the editing.

Definition at line 297 of file dialog_fp_plugin_options.cpp.

300{
301 DIALOG_FP_PLUGIN_OPTIONS dlg( aCaller, aNickname, aPluginType, aOptions, aResult );
302
303 dlg.ShowModal();
304}
DIALOG_FP_PLUGIN_OPTIONS is an options editor in the form of a two column name/value spreadsheet like...

Referenced by FP_GRID_TRICKS::optionsEditor().