OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
ActionRegistry.cpp File Reference
#include "ActionRegistry.hpp"
#include "GUI.hpp"
#include "GUI_App.hpp"
#include "I18N.hpp"
#include "ImGuiWrapper.hpp"
#include "MainFrame.hpp"
#include "NativeCommands.hpp"
#include "Notebook.hpp"
#include "NotificationManager.hpp"
#include "OptionsGroup.hpp"
#include "Plater.hpp"
#include "SettingsIndex.hpp"
#include "Tab.hpp"
#include "slic3r/plugin/PluginManager.hpp"
#include <cassert>
#include <boost/filesystem/operations.hpp>
#include <libslic3r/AppConfig.hpp>
#include <libslic3r/Config.hpp>
#include "slic3r/plugin/PluginDescriptor.hpp"
#include <memory>
#include "libslic3r/Preset.hpp"
#include "slic3r/GUI/PartPlate.hpp"
#include <slic3r/plugin/PythonPluginInterface.hpp>
#include <vector>
#include <utility>
#include <wx/app.h>
#include <wx/thread.h>
#include <boost/filesystem.hpp>
#include <boost/nowide/convert.hpp>
#include <algorithm>
#include <cmath>
#include <ctime>
#include <exception>
#include <iterator>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <nlohmann/json.hpp>
Include dependency graph for ActionRegistry.cpp:

Go to the source code of this file.

Classes

struct  Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::PluginScriptAction
struct  Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::PluginPageAction
struct  Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::SettingText
struct  Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::SettingAction
struct  Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::PlateAction
struct  Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::RecentProjectAction

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::GUI
namespace  Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}

Functions

std::vector< std::string > Slic3r::GUI::cap_favourites (const std::vector< std::string > &ids, size_t limit)
nlohmann::json Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::parse_config_json (const std::string &value, nlohmann::json fallback)
nlohmann::json Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::read_section (const char *key, nlohmann::json fallback)
void Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::write_section (const char *key, const nlohmann::json &j)
std::vector< std::string > Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::read_string_array (const char *key)
double Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::frecency_score (int count, long long last, long long now)
std::string Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::find_loaded_source_name (PluginManager &manager, const std::string &plugin_key)
AppActionRunResult Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::script_outcome_to_action_result (const ScriptCompletion &completion)
void Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::notify_script_outcome (const ScriptCompletion &completion)
std::unique_ptr< AppAction > Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::make_action (const std::string &plugin_key, const std::string &capability, const std::string &source_name)
std::unique_ptr< AppAction > Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::make_page_action (const std::string &plugin_key, const std::string &capability, const std::string &source_name)
const char * Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::setting_type_context (Preset::Type type)
SettingText Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::setting_text (const std::wstring &def_label, const std::string &display_label, const wxString &row_label, bool row_multi, const std::string &type_name, const std::wstring &category, const std::wstring &group)
const char * Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::mode_key (ConfigOptionMode mode)
void Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::seed_from (const nlohmann::json &stats, const std::vector< std::string > &favs, const std::string &id, AppAction &a)
void Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::drop_stale (std::unordered_map< std::string, std::shared_ptr< AppAction > > &actions, const char *prefix, const std::unordered_set< std::string > &seen)
nlohmann::json Slic3r::GUI::action_json (const AppAction &a)

Variables

constexpr const char * Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::kConfigSection = "speed_dial"
constexpr const char * Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::kSettingPrefix = "orca_setting"
constexpr const char * Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::kPlateGotoPrefix = "orca_plate_goto"
constexpr const char * Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::kRecentProjectPrefix = "orca_recent_project"

Class Documentation

◆ Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::SettingText

struct Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::SettingText
Collaboration diagram for Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::SettingText:
Class Members
string full_label
string source
string title