Definition of a configuration value for the purpose of GUI presentation, editing, value mapping and config file handling.
More...
#include <ConfigBase.hpp>
Definition of a configuration value for the purpose of GUI presentation, editing, value mapping and config file handling.
◆ ConfigOptionDef() [1/2]
Slic3r::ConfigOptionDef::ConfigOptionDef |
( |
| ) |
|
|
inline |
◆ ConfigOptionDef() [2/2]
◆ ~ConfigOptionDef()
Slic3r::ConfigOptionDef::~ConfigOptionDef |
( |
| ) |
|
◆ aliases
Legacy names for this configuration option. Used when parsing legacy configuration file.
◆ category
std::string Slic3r::ConfigOptionDef::category |
Category of a configuration field, from the GUI perspective. One of: "Layers and Perimeters", "Infill", "Support material", "Speed", "Extruders", "Advanced", "Extrusion Width"
◆ cli
std::string Slic3r::ConfigOptionDef::cli |
Format of this parameter on a command line.
◆ default_value
Default value of this option.
The default value object is owned by ConfigDef, it is released in its destructor.
◆ enum_keys_map
◆ enum_labels
std::vector<std::string> Slic3r::ConfigOptionDef::enum_labels |
◆ enum_values
std::vector<std::string> Slic3r::ConfigOptionDef::enum_values |
Definition of values / labels for a combo box. Mostly used for enums (when type == coEnum), but may be used for ints resp. floats, if gui_type is set to "i_enum_open" resp. "f_enum_open".
◆ full_label
std::string Slic3r::ConfigOptionDef::full_label |
◆ full_width
bool Slic3r::ConfigOptionDef::full_width |
For text input: If true, the GUI text box spans the complete page width.
◆ gui_flags
std::string Slic3r::ConfigOptionDef::gui_flags |
The flags may be combined. "show_value" - even if enum_values / enum_labels are set, still display the value, not the enum label. "align_label_right" - align label to right
◆ gui_type
std::string Slic3r::ConfigOptionDef::gui_type |
Specialization to indicate to the GUI what kind of control is more appropriate.
Usually empty. Special values - "i_enum_open", "f_enum_open" to provide combo box for int or float selection, "select_open" - to open a selection dialog (currently only a serial port selection).
◆ height
int Slic3r::ConfigOptionDef::height |
Height of a multiline GUI text box.
◆ label
std::string Slic3r::ConfigOptionDef::label |
Label of the GUI input field. In case the GUI input fields are grouped in some views, the label defines a short label of a grouped value, while full_label contains a label of a stand-alone field. The full label is shown, when adding an override parameter for an object or a modified object.
◆ max
int Slic3r::ConfigOptionDef::max |
◆ min
int Slic3r::ConfigOptionDef::min |
<min, max> limit of a numeric input. If not set, the <min, max> is set to <INT_MIN, INT_MAX> By setting min=0, only nonnegative input is allowed.
◆ multiline
bool Slic3r::ConfigOptionDef::multiline |
True for multiline strings.
◆ ratio_over
Set for type == coFloatOrPercent. It provides a link to a configuration value, of which this option provides a ratio. For example, For example external_perimeter_speed may be defined as a fraction of perimeter_speed.
◆ readonly
bool Slic3r::ConfigOptionDef::readonly |
This configuration item is not editable. Currently only used for the display of the number of threads.
◆ shortcut
Sometimes a single value may well define multiple values in a "beginner" mode. Currently used for aliasing "solid_layers" to "top_solid_layers", "bottom_solid_layers".
◆ sidetext
std::string Slic3r::ConfigOptionDef::sidetext |
Text right from the input field, usually a unit of measurement.
◆ tooltip
std::string Slic3r::ConfigOptionDef::tooltip |
A tooltip text shown in the GUI.
◆ type
◆ width
int Slic3r::ConfigOptionDef::width |
Optional width of an input field.
The documentation for this class was generated from the following files: