OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
WebViewDialog.cpp File Reference
#include "WebViewDialog.hpp"
#include "CloudProvider.hpp"
#include "I18N.hpp"
#include "slic3r/GUI/GUI_App.hpp"
#include "slic3r/GUI/MainFrame.hpp"
#include "libslic3r_version.h"
#include <boost/filesystem/path.hpp>
#include <boost/log/trivial.hpp>
#include <algorithm>
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/json_parser.hpp>
#include <utility>
#include <wx/event.h>
#include <wx/panel.h>
#include <wx/gdicmn.h>
#include "slic3r/GUI/GUI.hpp"
#include "libslic3r/Utils.hpp"
#include <wx/log.h>
#include "libslic3r/Config.hpp"
#include <wx/filefn.h>
#include <wx/filename.h>
#include <sstream>
#include <string>
#include <nlohmann/json.hpp>
#include <functional>
#include <cstddef>
#include <wx/dialog.h>
#include <wx/sizer.h>
#include <wx/string.h>
#include <wx/timer.h>
#include <wx/textctrl.h>
#include <wx/toolbar.h>
#include <wx/textdlg.h>
#include <wx/toplevel.h>
#include <wx/url.h>
#include <wx/uri.h>
#include <slic3r/GUI/Widgets/WebView.hpp>
#include <slic3r/GUI/Widgets/WebViewHostDialog.hpp>
#include <wx/webview.h>
#include <wx/utils.h>
#include <wx/window.h>
#include <wx/infobar.h>
Include dependency graph for WebViewDialog.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::GUI

Macros

#define LOGIN_INFO_UPDATE_TIMER_ID   10002
#define WX_ERROR_CASE(type)

Functions

 Slic3r::GUI::wxDECLARE_EVENT (EVT_RESPONSE_MESSAGE, wxCommandEvent)
 Slic3r::GUI::wxDEFINE_EVENT (EVT_RESPONSE_MESSAGE, wxCommandEvent)
static json Slic3r::GUI::home_page_strings ()
static wxString Slic3r::GUI::http_origin_of (const wxString &url)
static bool Slic3r::GUI::cloud_navigation_is_top_level (const wxWebViewEvent &evt)
static void Slic3r::GUI::open_cloud_url_externally (const wxString &url)

Variables

static const char *const Slic3r::GUI::kCloudUrl = "https://cloud.orcaslicer.com"
static const int Slic3r::GUI::kLeftNavWidth = 220 + 1

Macro Definition Documentation

◆ LOGIN_INFO_UPDATE_TIMER_ID

#define LOGIN_INFO_UPDATE_TIMER_ID   10002

◆ WX_ERROR_CASE

#define WX_ERROR_CASE ( type)
Value:
case type: \
category = #type; \
break;