KiCad PCB EDA Suite
|
Provide all the data needed to add a row to a LAYER_WIDGET. More...
#include <layer_widget.h>
Public Member Functions | |
ROW (const wxString &aRowName, int aId, const COLOR4D &aColor=COLOR4D::UNSPECIFIED, const wxString &aTooltip=wxEmptyString, bool aState=true, bool aChangeable=true, const COLOR4D &aDefaultColor=COLOR4D::UNSPECIFIED) | |
ROW () | |
Public Attributes | |
wxString | rowName |
the prompt or layername | |
int | id |
either a layer or "visible element" id | |
COLOR4D | color |
COLOR4D::UNSPECIFIED if none. | |
bool | state |
initial wxCheckBox state | |
wxString | tooltip |
if not empty, use this tooltip on row | |
bool | changeable |
if true, the state can be changed | |
bool | spacer |
if true, this row is a spacer | |
COLOR4D | defaultColor |
The default color for the row. | |
Provide all the data needed to add a row to a LAYER_WIDGET.
This is part of the public API for a LAYER_WIDGET.
Definition at line 84 of file layer_widget.h.
|
inline |
Definition at line 95 of file layer_widget.h.
References changeable, color, defaultColor, rowName, spacer, state, and tooltip.
|
inline |
Definition at line 109 of file layer_widget.h.
References changeable, color, defaultColor, spacer, and state.
bool LAYER_WIDGET::ROW::changeable |
if true, the state can be changed
Definition at line 91 of file layer_widget.h.
Referenced by LAYER_WIDGET::insertRenderRow(), and ROW().
COLOR4D LAYER_WIDGET::ROW::color |
COLOR4D::UNSPECIFIED if none.
Definition at line 88 of file layer_widget.h.
Referenced by LAYER_WIDGET::insertLayerRow(), LAYER_WIDGET::insertRenderRow(), GERBER_LAYER_WIDGET::ReFillRender(), and ROW().
COLOR4D LAYER_WIDGET::ROW::defaultColor |
The default color for the row.
Definition at line 93 of file layer_widget.h.
Referenced by LAYER_WIDGET::insertLayerRow(), LAYER_WIDGET::insertRenderRow(), and ROW().
int LAYER_WIDGET::ROW::id |
either a layer or "visible element" id
Definition at line 87 of file layer_widget.h.
Referenced by LAYER_WIDGET::insertLayerRow(), and LAYER_WIDGET::insertRenderRow().
wxString LAYER_WIDGET::ROW::rowName |
the prompt or layername
Definition at line 86 of file layer_widget.h.
Referenced by LAYER_WIDGET::insertLayerRow(), LAYER_WIDGET::insertRenderRow(), and ROW().
bool LAYER_WIDGET::ROW::spacer |
if true, this row is a spacer
Definition at line 92 of file layer_widget.h.
Referenced by LAYER_WIDGET::insertRenderRow(), and ROW().
bool LAYER_WIDGET::ROW::state |
initial wxCheckBox state
Definition at line 89 of file layer_widget.h.
Referenced by LAYER_WIDGET::insertLayerRow(), LAYER_WIDGET::insertRenderRow(), GERBER_LAYER_WIDGET::ReFillRender(), and ROW().
wxString LAYER_WIDGET::ROW::tooltip |
if not empty, use this tooltip on row
Definition at line 90 of file layer_widget.h.
Referenced by LAYER_WIDGET::insertLayerRow(), LAYER_WIDGET::insertRenderRow(), and ROW().