OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::Search::Option Struct Reference

#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/SettingsIndex.hpp>

Collaboration diagram for Slic3r::Search::Option:

Public Member Functions

bool operator< (const Option &other) const
std::string opt_key () const

Public Attributes

std::wstring key
Preset::Type type {Preset::TYPE_INVALID}
std::wstring label
std::wstring label_local
std::wstring group
std::wstring group_local
std::string group_icon
std::wstring category
std::wstring category_local
bool multi_category { false }
ConfigOptionMode mode {comSimple}
std::string tooltip
std::string wiki_path
std::string display_label
std::string display_label_en

Detailed Description

Member Function Documentation

◆ operator<()

bool Slic3r::Search::Option::operator< ( const Option & other) const
inline
60{ return other.key > this->key; }
std::wstring key
Definition SettingsIndex.hpp:64

References key.

◆ opt_key()

std::string Slic3r::Search::Option::opt_key ( ) const
28{ return key.size() < 2 ? std::string() : into_u8(key).substr(2); }
std::string into_u8(const wxString &str)
Definition GUI.cpp:549

References Slic3r::into_u8(), and key.

Referenced by Slic3r::GUI::DiffPresetDialog::update_tree().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ category

◆ category_local

◆ display_label

std::string Slic3r::Search::Option::display_label

◆ display_label_en

std::string Slic3r::Search::Option::display_label_en

◆ group

std::wstring Slic3r::Search::Option::group

◆ group_icon

std::string Slic3r::Search::Option::group_icon

◆ group_local

◆ key

std::wstring Slic3r::Search::Option::key

Referenced by operator<(), and opt_key().

◆ label

std::wstring Slic3r::Search::Option::label

◆ label_local

◆ mode

ConfigOptionMode Slic3r::Search::Option::mode {comSimple}
74{comSimple}; // option's visibility threshold; drives the Speed Dial's mode prompt
@ comSimple
Definition Config.hpp:222

◆ multi_category

bool Slic3r::Search::Option::multi_category { false }
73{ false };

Referenced by Slic3r::Search::SettingsIndex::sort_options().

◆ tooltip

std::string Slic3r::Search::Option::tooltip

◆ type

Preset::Type Slic3r::Search::Option::type {Preset::TYPE_INVALID}
@ TYPE_INVALID
Definition Preset.hpp:245

Referenced by Slic3r::Search::SettingsIndex::sort_options().

◆ wiki_path

std::string Slic3r::Search::Option::wiki_path

The documentation for this struct was generated from the following files: