Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
Slic3r::Search::Option Struct Reference

#include <src/slic3r/GUI/Search.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::wstring category
 
std::wstring category_local
 

Detailed Description

Member Function Documentation

◆ operator<()

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

References key.

◆ opt_key()

std::string Slic3r::Search::Option::opt_key ( ) const
55{
56 return boost::nowide::narrow(key).substr(2);
57}
char * narrow(char *output, size_t output_size, wchar_t const *source)
Convert NULL terminated UTF source string to NULL terminated output string of size at most output_siz...
Definition convert.hpp:73

References key, and boost::nowide::narrow().

Referenced by Slic3r::GUI::Sidebar::jump_to_option().

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

Member Data Documentation

◆ category

std::wstring Slic3r::Search::Option::category

◆ category_local

std::wstring Slic3r::Search::Option::category_local

◆ group

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

◆ group_local

std::wstring Slic3r::Search::Option::group_local

◆ key

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

◆ label

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

◆ label_local

std::wstring Slic3r::Search::Option::label_local

◆ type


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