OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Search.cpp File Reference
#include "Search.hpp"
#include "slic3r/GUI/GUI.hpp"
#include "libslic3r/Preset.hpp"
#include "libslic3r/Config.hpp"
#include <cstdint>
#include "slic3r/GUI/SettingsIndex.hpp"
#include <boost/algorithm/string/trim.hpp>
#include <limits>
#include <utility>
#include <boost/algorithm/string/replace.hpp>
#include <cassert>
#include "slic3r/GUI/Widgets/TextInput.hpp"
#include "slic3r/GUI/Widgets/StateColor.hpp"
#include <map>
#include "slic3r/GUI/Widgets/PopupWindow.hpp"
#include "slic3r/GUI/Widgets/ScrolledWindow.hpp"
#include <tuple>
#include "slic3r/GUI/ObjectDataViewModel.hpp"
#include <vector>
#include <cstddef>
#include <string>
#include <boost/algorithm/string.hpp>
#include <boost/nowide/convert.hpp>
#include <wx/event.h>
#include <wx/gdicmn.h>
#include <wx/colour.h>
#include <wx/dc.h>
#include <wx/dcclient.h>
#include <wx/popupwin.h>
#include <wx/sizer.h>
#include <wx/panel.h>
#include <wx/string.h>
#include <wx/window.h>
#include <wx/variant.h>
#include <wx/debug.h>
#include "wx/dataview.h"
#include "wx/numformatter.h"
#include "Widgets/Label.hpp"
#include "libslic3r/PrintConfig.hpp"
#include "libslic3r/PresetBundle.hpp"
#include "GUI_App.hpp"
#include "Plater.hpp"
#include "Tab.hpp"
#include "fts_fuzzy_match.h"
#include "imgui/imconfig.h"
Include dependency graph for Search.cpp:

Go to the source code of this file.

Namespaces

namespace  Slic3r
 |/ Copyright (c) Prusa Research 2020 - 2023 Enrico Turri @enricoturri1966 |/ |/ PrusaSlicer is released under the terms of the AGPLv3 or higher |/
namespace  Slic3r::anonymous_namespace{Search.cpp}
namespace  Slic3r::Search

Macros

#define FTS_FUZZY_MATCH_IMPLEMENTATION

Functions

 Slic3r::wxDEFINE_EVENT (wxCUSTOMEVT_JUMP_TO_OPTION, wxCommandEvent)
 Slic3r::wxDEFINE_EVENT (wxCUSTOMEVT_EXIT_SEARCH, wxCommandEvent)
 Slic3r::wxDEFINE_EVENT (wxCUSTOMEVT_JUMP_TO_OBJECT, wxCommandEvent)
bool Slic3r::anonymous_namespace{Search.cpp}::focus_left_popup (wxWindow *popup, wxWindow *focus_window, wxWindow *related_window_1=nullptr, wxWindow *related_window_2=nullptr, wxWindow *related_window_3=nullptr)
static char Slic3r::Search::marker_by_type (Preset::Type type, PrinterTechnology pt)
static std::wstring Slic3r::Search::mark_string (const std::wstring &str, const std::vector< uint16_t > &matches, Preset::Type type, PrinterTechnology pt)
static bool Slic3r::Search::fuzzy_match (const std::wstring &search_pattern, const std::wstring &label, int &out_score, std::vector< uint16_t > &out_matches)
wxString Slic3r::from_u8 (const std::string &str)
std::string Slic3r::into_u8 (const wxString &str)

Variables

static const std::map< const char, int > Slic3r::Search::icon_idxs

Macro Definition Documentation

◆ FTS_FUZZY_MATCH_IMPLEMENTATION

#define FTS_FUZZY_MATCH_IMPLEMENTATION