KiCad PCB EDA Suite
dialog_fp_plugin_options.cpp File Reference
#include <fctsys.h>
#include <invoke_pcb_dialog.h>
#include <dialog_fp_plugin_options_base.h>
#include <fp_lib_table.h>
#include <grid_tricks.h>

Go to the source code of this file.

Classes

class  DIALOG_FP_PLUGIN_OPTIONS
 Class 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 (wxTopLevelWindow *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...
 

Variables

static int col_width_option
 
static int col_width_value
 

Macro Definition Documentation

#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 34 of file dialog_fp_plugin_options.cpp.

Function Documentation

void InvokePluginOptionsEditor ( wxTopLevelWindow *  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 392 of file dialog_fp_plugin_options.cpp.

Referenced by DIALOG_FP_LIB_TABLE::optionsEditor().

395 {
396  DIALOG_FP_PLUGIN_OPTIONS dlg( aCaller, aNickname, aPluginType, aOptions, aResult );
397 
398  dlg.ShowModal();
399 }
Class DIALOG_FP_PLUGIN_OPTIONS is an options editor in the form of a two column name/value spreadshee...

Variable Documentation