#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/WebGuideDialog.hpp>
Classes | |
| struct | CachedFilamentInfo |
Public Types | |
| enum | GuidePage { BBL_WELCOME , BBL_REGION , BBL_MODELS , BBL_FILAMENTS , BBL_FILAMENT_ONLY , BBL_MODELS_ONLY } |
| using | json = nlohmann::json |
Public Member Functions | |
| GuideFrame (GUI_App *pGUI, long style=wxCAPTION|wxCLOSE_BOX|wxSYSTEM_MENU) | |
| virtual | ~GuideFrame () |
| void | load_url (wxString &url) |
| wxString | SetStartPage (GuidePage startpage=BBL_WELCOME, bool load=true) |
| void | UpdateState () |
| void | OnIdle (wxIdleEvent &evt) |
| void | OnNavigationRequest (wxWebViewEvent &evt) |
| void | OnNavigationComplete (wxWebViewEvent &evt) |
| void | OnDocumentLoaded (wxWebViewEvent &evt) |
| void | OnNewWindow (wxWebViewEvent &evt) |
| void | OnError (wxWebViewEvent &evt) |
| void | OnTitleChanged (wxWebViewEvent &evt) |
| void | OnFullScreenChanged (wxWebViewEvent &evt) |
| void | OnScriptMessage (wxWebViewEvent &evt) |
| void | OnScriptResponseMessage (wxCommandEvent &evt) |
| void | RunScript (const wxString &javascript) |
| bool | IsFirstUse () |
| int | LoadProfileData () |
| int | SaveProfileData () |
| int | LoadProfileFamily (std::string strVendor, std::string strFilePath) |
| void | init_guide_paths () |
| void | on_profile_loaded () |
| void | notify_profile_loaded () |
| bool | BuildProfileJson (const PresetBundle &bundle, bool require_all_resource_vendors) |
| bool | BuildProfileDataFromPresetBundle () |
| bool | BuildProfileDataFromVendors () |
| void | reset_profile_json () |
| int | SaveProfile () |
| int | GetFilamentInfo (std::string VendorDirectory, json &pFilaList, std::string filepath, std::string &sVendor, std::string &sType) |
| bool | apply_config (AppConfig *app_config, PresetBundle *preset_bundle, const PresetUpdater *updater, bool &apply_keeped_changes) |
| bool | run () |
| void | StrReplace (std::string &strBase, std::string strSrc, std::string strDes) |
| std::string | w2s (wxString sSrc) |
| void | GetStardardFilePath (std::string &FilePath) |
| bool | LoadFile (std::string jPath, std::string &sContent) |
| int | DownloadPlugin () |
| int | InstallPlugin () |
| int | ShowPluginStatus (int status, int percent, bool &cancel) |
| void | on_dpi_changed (const wxRect &suggested_rect) |
| void | EndModal (int retCode) override |
| float | scale_factor () const |
| float | prev_scale_factor () const |
| void | set_scale_factor (float v) |
| void | set_prev_scale_factor (float v) |
| void | set_em_unit (int v) |
| bool | force_rescale () const |
| int | em_unit () const |
| const wxFont & | normal_font () const |
| void | enable_force_rescale () |
| int | ShowModal () |
Public Attributes | |
| enum Slic3r::GUI::GuideFrame::GuidePage | m_page |
Protected Member Functions | |
| virtual void | on_sys_color_changed () |
Private Member Functions | |
| int | GetFilamentInfo (const std::string &VendorDirectory, json &pFilaList, const std::string &filepath, std::string &sVendor, std::string &sType, std::unordered_set< std::string > &visiting) |
| void | update_em_unit () |
| bool | is_new_scale_factor () const |
| void | rescale (const wxRect &suggested_rect) |
Private Attributes | |
| GUI_App * | m_MainPtr |
| AppConfig | m_appconfig_new |
| wxWebView * | m_browser |
| wxString | m_SectionName |
| bool | orca_bundle_rsrc |
| boost::filesystem::path | vendor_dir |
| boost::filesystem::path | rsrc_vendor_dir |
| bool | bFirstComplete {false} |
| bool | m_profile_ready {false} |
| bool | m_page_ready {false} |
| std::shared_ptr< std::atomic< bool > > | m_cancel_token {std::make_shared<std::atomic<bool>>(false)} |
| std::unique_ptr< boost::thread > | m_load_task |
| bool | PrivacyUse |
| bool | StealthMode |
| std::string | m_Region |
| bool | InstallNetplugin |
| bool | network_plugin_ready {false} |
| json | m_ProfileJson |
| json | m_OrcaFilaList |
| std::string | m_OrcaFilaLibPath |
| wxString | m_javascript |
| wxString | m_response_js |
| wxString | m_bbl_user_agent |
| std::string | m_editing_filament_id |
| std::unordered_map< std::string, CachedFilamentInfo > | filament_info_cache |
| float | m_scale_factor |
| int | m_em_unit |
| wxFont | m_normal_font |
| float | m_prev_scale_factor |
| bool | m_can_rescale |
| bool | m_force_rescale |
| int | m_new_font_point_size |
| struct Slic3r::GUI::GuideFrame::CachedFilamentInfo |
| using Slic3r::GUI::GuideFrame::json = nlohmann::json |
| Enumerator | |
|---|---|
| BBL_WELCOME | |
| BBL_REGION | |
| BBL_MODELS | |
| BBL_FILAMENTS | |
| BBL_FILAMENT_ONLY | |
| BBL_MODELS_ONLY | |
| Slic3r::GUI::GuideFrame::GuideFrame | ( | GUI_App * | pGUI, |
| long | style = wxCAPTION | wxCLOSE_BOX | wxSYSTEM_MENU ) |
References BBL_FILAMENT_ONLY, BBL_MODELS_ONLY, BBL_REGION, BBL_WELCOME, WebView::CreateWebView(), Slic3r::GUI::DPIDialog::EndModal(), Slic3r::GUI::guide_strings(), InstallNetplugin, Slic3r::GUI::WebViewHostDialog::localized_strings_script(), m_appconfig_new, m_browser, m_MainPtr, m_page, m_SectionName, OnDocumentLoaded(), OnError(), OnFullScreenChanged(), OnNavigationComplete(), OnNavigationRequest(), OnNewWindow(), OnScriptMessage(), OnTitleChanged(), PrivacyUse, SetStartPage(), StealthMode, and style.
|
virtual |
References m_browser, m_cancel_token, and m_load_task.
| bool Slic3r::GUI::GuideFrame::apply_config | ( | AppConfig * | app_config, |
| PresetBundle * | preset_bundle, | ||
| const PresetUpdater * | updater, | ||
| bool & | apply_keeped_changes ) |
References _L, Slic3r::PresetBundle::apply_vendor_config(), Slic3r::GUI::get_first_added_preset(), Slic3r::AppConfig::get_section(), Slic3r::AppConfig::has_section(), Slic3r::is_vendor_installed(), Slic3r::GUI::KEEP, m_appconfig_new, Slic3r::VendorProfile::models, Slic3r::PresetBundle::ORCA_DEFAULT_BUNDLE, Slic3r::PresetBundle::ORCA_DEFAULT_PRINTER_VARIANT, Slic3r::ptFFF, Slic3r::GUI::SAVE, Slic3r::AppConfig::SECTION_FILAMENTS, Slic3r::GUI::section_name(), Slic3r::var(), Slic3r::VendorProfile::PrinterModel::variants, Slic3r::AppConfig::vendors(), and Slic3r::PresetBundle::vendors.
Referenced by run().
| bool Slic3r::GUI::GuideFrame::BuildProfileDataFromPresetBundle | ( | ) |
References BuildProfileJson(), and Slic3r::PresetBundle::vendors.
Referenced by OnNavigationComplete().
| bool Slic3r::GUI::GuideFrame::BuildProfileDataFromVendors | ( | ) |
References BuildProfileJson(), Slic3r::data_dir(), Slic3r::EnableSilent, Slic3r::get_version_from_json(), Slic3r::PresetBundle::load_vendors(), m_cancel_token, m_ProfileJson, Slic3r::PresetBundle::ORCA_FILAMENT_LIBRARY, Slic3r::VendorCacheFile::peek_version(), reset_profile_json(), rsrc_vendor_dir, Slic3r::Semver::to_string(), Slic3r::Semver::valid(), vendor_dir, Slic3r::vendor_names_in(), Slic3r::PresetBundle::vendors, and Slic3r::write_file_atomically().
Referenced by LoadProfileData().
| bool Slic3r::GUI::GuideFrame::BuildProfileJson | ( | const PresetBundle & | bundle, |
| bool | require_all_resource_vendors ) |
References Slic3r::PresetBundle::filaments, Slic3r::GUI::file_url_from_path(), Slic3r::GUI::into_u8(), m_ProfileJson, Slic3r::PresetBundle::printers, Slic3r::PresetBundle::prints, reset_profile_json(), Slic3r::resources_dir(), rsrc_vendor_dir, Slic3r::ConfigOptionSingle< T >::value, Slic3r::ConfigOptionVector< T >::values, Slic3r::vendor_names_in(), and Slic3r::PresetBundle::vendors.
Referenced by BuildProfileDataFromPresetBundle(), and BuildProfileDataFromVendors().
| int Slic3r::GUI::GuideFrame::DownloadPlugin | ( | ) |
References ShowPluginStatus().
|
inlineinherited |
Referenced by Slic3r::GUI::AuxiliaryDialog::AuxiliaryDialog(), Slic3r::GUI::CopyrightsDialog::CopyrightsDialog(), Slic3r::GUI::DesignTextDialog::DesignTextDialog(), Slic3r::GUI::EditGCodeDialog::EditGCodeDialog(), Slic3r::GUI::FileArchiveDialog::FileArchiveDialog(), Slic3r::GUI::MsgNoUpdates::MsgNoUpdates(), Slic3r::GUI::MsgUpdateForced::MsgUpdateForced(), Slic3r::GUI::OAuthDialog::OAuthDialog(), Slic3r::GUI::ParamsDialog::ParamsDialog(), Slic3r::GUI::PhysicalPrinterDialog::PhysicalPrinterDialog(), Slic3r::GUI::SettingsDialog::SettingsDialog(), anonymous_namespace{3DPrinterOS.cpp}::TokenAuthDialog::TokenAuthDialog(), anonymous_namespace{3DPrinterOS.cpp}::UploadOptionsDialog::UploadOptionsDialog(), Slic3r::GUI::PublishSettingsDialog::add_row_ui(), Slic3r::GUI::DiffPresetDialog::complete_dialog_creation(), Slic3r::GUI::DiffPresetDialog::create_edit_sizer(), Slic3r::GUI::DiffPresetDialog::create_presets_sizer(), Slic3r::GUI::DiffPresetDialog::create_tree(), Slic3r::GUI::ElegooPrintHostSendDialog::init(), Slic3r::GUI::FlashforgePrintHostSendDialog::init(), Slic3r::GUI::PrintHostSendDialog::init(), Slic3r::GUI::AboutDialog::on_dpi_changed(), Slic3r::GUI::AuxiliaryDialog::on_dpi_changed(), Slic3r::GUI::BedShapeDialog::on_dpi_changed(), Slic3r::GUI::ConfigWizard::on_dpi_changed(), Slic3r::GUI::CopyrightsDialog::on_dpi_changed(), Slic3r::GUI::DiffPresetDialog::on_dpi_changed(), Slic3r::GUI::EditGCodeDialog::on_dpi_changed(), Slic3r::GUI::FileArchiveDialog::on_dpi_changed(), Slic3r::GUI::OAuthDialog::on_dpi_changed(), Slic3r::GUI::ObjectTableDialog::on_dpi_changed(), Slic3r::GUI::ParamsDialog::on_dpi_changed(), Slic3r::GUI::PhysicalPrinterDialog::on_dpi_changed(), Slic3r::GUI::PrintHostQueueDialog::on_dpi_changed(), Slic3r::GUI::PurgeModeDialog::on_dpi_changed(), Slic3r::GUI::SavePresetDialog::on_dpi_changed(), Slic3r::GUI::SendSystemInfoDialog::on_dpi_changed(), Slic3r::GUI::SettingsDialog::on_dpi_changed(), and Slic3r::GUI::UnsavedChangesDialog::on_dpi_changed().
|
inlineinherited |
|
inlineoverrideinherited |
References Slic3r::GUI::dialogStack.
Referenced by Slic3r::GUI::CloneDialog::CloneDialog(), Slic3r::GUI::ConfigWizard::ConfigWizard(), Slic3r::GUI::CreatePresetSuccessfulDialog::CreatePresetSuccessfulDialog(), Slic3r::GUI::DeleteConfirmDialog::DeleteConfirmDialog(), Slic3r::GUI::DesignVariableDialog::DesignVariableDialog(), Slic3r::GUI::anonymous_namespace{PrintHostDialogs.cpp}::FlashforgeSlotDialog::FlashforgeSlotDialog(), Slic3r::GUI::GuideFrame::GuideFrame(), Slic3r::GUI::InputIpAddressDialog::InputIpAddressDialog(), Slic3r::GUI::ManualNozzleCountDialog::ManualNozzleCountDialog(), Slic3r::GUI::MsgUpdateConfig::MsgUpdateConfig(), Slic3r::GUI::MsgUpdateForced::MsgUpdateForced(), Slic3r::GUI::MultiChoiceDialog::MultiChoiceDialog(), Slic3r::GUI::NetworkErrorDialog::NetworkErrorDialog(), Slic3r::GUI::NetworkPluginRestartDialog::NetworkPluginRestartDialog(), Slic3r::GUI::PartSkipConfirmDialog::PartSkipConfirmDialog(), Slic3r::GUI::PhysicalPrinterDialog::PhysicalPrinterDialog(), Slic3r::GUI::PlateNameEditDialog::PlateNameEditDialog(), Slic3r::GUI::PlateSettingsDialog::PlateSettingsDialog(), Slic3r::GUI::PublishSettingsDialog::PublishSettingsDialog(), Slic3r::GUI::SelectMachineDialog::SelectMachineDialog(), Slic3r::GUI::SendFailedConfirm::SendFailedConfirm(), Slic3r::GUI::SendSystemInfoDialog::SendSystemInfoDialog(), Slic3r::GUI::ShortcutCaptureDialog::ShortcutCaptureDialog(), Slic3r::GUI::SingleChoiceDialog::SingleChoiceDialog(), StepMeshDialog::StepMeshDialog(), Slic3r::GUI::SyncAmsInfoDialog::SyncAmsInfoDialog(), anonymous_namespace{3DPrinterOS.cpp}::TokenAuthDialog::TokenAuthDialog(), Slic3r::GUI::UpdatePluginDialog::UpdatePluginDialog(), Slic3r::GUI::UpdateVersionDialog::UpdateVersionDialog(), Slic3r::GUI::wgtDeviceNozzleRackUpgradeDlg::wgtDeviceNozzleRackUpgradeDlg(), Slic3r::GUI::SavePresetDialog::accept(), Slic3r::GUI::MsgDialog::add_button(), Slic3r::GUI::TipsDialog::add_button(), Slic3r::GUI::FilamentPickerDialog::BindEvents(), Slic3r::GUI::PluginPickerDialog::build_capability_ui(), Slic3r::GUI::BedShapeDialog::build_dialog(), Slic3r::GUI::PluginPickerDialog::build_ui(), Slic3r::GUI::UnsavedChangesDialog::close(), Slic3r::GUI::FileArchiveDialog::create_btn_sizer(), Slic3r::GUI::ColorDecomposeDialog::create_button_panel(), Slic3r::GUI::MixedFilamentDialog::create_button_panel(), Slic3r::GUI::CreateFilamentPresetDialog::create_dialog_buttons(), Slic3r::GUI::CreatePresetForPrinterDialog::create_dialog_buttons(), Slic3r::GUI::EditFilamentPresetDialog::create_dialog_buttons(), Slic3r::GUI::ExportConfigsDialog::create_dialog_buttons(), Slic3r::GUI::PreferencesDialog::create_item_language_combobox(), Slic3r::GUI::PreferencesDialog::create_item_region_combobox(), Slic3r::GUI::PreferencesDialog::create_items(), Slic3r::GUI::CreatePrinterPresetDialog::create_page1_dialog_buttons(), Slic3r::GUI::CreatePrinterPresetDialog::create_page2_dialog_buttons(), Slic3r::GUI::ExportConfigsDialog::data_init(), Slic3r::GUI::WebDialog::destroy_silently(), Slic3r::GUI::EditFilamentPresetDialog::edit_preset(), Slic3r::GUI::ConnectPrinterDialog::end_modal(), Slic3r::GUI::PrintHostSendDialog::EndModal(), Slic3r::GUI::ColorPickerDialog::finish(), Slic3r::GUI::WebDialog::finish(), Slic3r::GUI::Newer3mfVersionDialog::get_btn_sizer(), Slic3r::GUI::ScoreDialog::get_button_sizer(), Slic3r::GUI::WebViewHostDialog::handle_common_script_command(), Slic3r::GUI::ExportPresetBundleDialog::InitExportData(), Slic3r::GUI::SelectMachineDialog::navigate_to_timelapse_page(), Slic3r::GUI::BindMachineDialog::on_bind_success(), Slic3r::GUI::ConnectPrinterDialog::on_button_confirm(), Slic3r::GUI::RecenterDialog::on_button_confirm(), Slic3r::GUI::BindMachineDialog::on_cancel(), Slic3r::GUI::EditCalibrationHistoryDialog::on_cancel(), Slic3r::GUI::InputIpAddressDialog::on_cancel(), Slic3r::GUI::NewCalibrationHistoryDialog::on_cancel(), Slic3r::GUI::OAuthDialog::on_cancel(), Slic3r::GUI::PingCodeBindDialog::on_cancel(), Slic3r::GUI::SelectMachineDialog::on_cancel(), Slic3r::GUI::SendToPrinterDialog::on_cancel(), Slic3r::GUI::SyncAmsInfoDialog::on_cancel(), Slic3r::GUI::UnBindMachineDialog::on_cancel(), Slic3r::GUI::WebDialog::on_close_window(), Slic3r::GUI::NetworkPluginDownloadDialog::on_dont_ask(), Slic3r::GUI::NetworkPluginDownloadDialog::on_download(), Slic3r::GUI::EditDevNameDialog::on_edit_name(), Slic3r::GUI::ConfirmBeforeSendDialog::on_hide(), Slic3r::GUI::PrivacyUpdateDialog::on_hide(), Slic3r::GUI::ShortcutCaptureDialog::on_key(), Slic3r::GUI::TextureImportDialog::on_ok_clicked(), Slic3r::GUI::FileArchiveDialog::on_open_button(), Slic3r::GUI::NetworkPluginDownloadDialog::on_remind_later(), Slic3r::GUI::ProjectDropDialog::on_select_cancel(), Slic3r::GUI::SavePresetDialog::on_select_cancel(), Slic3r::GUI::ProjectDropDialog::on_select_ok(), Slic3r::GUI::SendMultiMachinePage::on_send(), Slic3r::GUI::NetworkPluginDownloadDialog::on_skip(), Slic3r::GUI::TextureImportDialog::on_skip_clicked(), Slic3r::GUI::NetworkPluginDownloadDialog::on_skip_version(), Slic3r::GUI::Cornering_Test_Dlg::on_start(), Slic3r::GUI::FlowRateCalibrationDialog::on_start(), Slic3r::GUI::Input_Shaping_Damp_Test_Dlg::on_start(), Slic3r::GUI::Input_Shaping_Freq_Test_Dlg::on_start(), Slic3r::GUI::MaxVolumetricSpeed_Test_Dlg::on_start(), Slic3r::GUI::PA_Calibration_Dlg::on_start(), Slic3r::GUI::Retraction_Test_Dlg::on_start(), Slic3r::GUI::Temp_Calibration_Dlg::on_start(), Slic3r::GUI::VFA_Test_Dlg::on_start(), Slic3r::GUI::CalibrationDialog::on_start_calibration(), Slic3r::GUI::UnBindMachineDialog::on_unbind_printer(), Slic3r::GUI::PartSkipDialog::OnApplyDialog(), anonymous_namespace{3DPrinterOS.cpp}::TokenAuthDialog::OnCancel(), Slic3r::GUI::AboutDialog::onCloseDialog(), Slic3r::GUI::CopyrightsDialog::onCloseDialog(), Slic3r::GUI::MultiNozzleSyncDialog::OnRackStatusReadingFinished(), Slic3r::GUI::GuideFrame::OnScriptMessage(), Slic3r::GUI::InputIpAddressDialog::OnTimer(), Slic3r::GUI::KBShortcutsDialog::open_mouse_preferences(), Slic3r::GUI::TroubleshootDialog::PackAll(), Slic3r::GUI::TroubleshootDialog::RebuildSystemProfiles(), Slic3r::GUI::SpeedDialWebDialog::run_action(), Slic3r::GUI::OAuthDialog::Show(), Slic3r::GUI::MultiNozzleSyncDialog::UpdateButton(), and Slic3r::GUI::CreatePrinterPresetDialog::validate_input_valid().
|
inlineinherited |
|
private |
References filament_info_cache, GetFilamentInfo(), LoadFile(), m_OrcaFilaLibPath, and w2s().
| int Slic3r::GUI::GuideFrame::GetFilamentInfo | ( | std::string | VendorDirectory, |
| json & | pFilaList, | ||
| std::string | filepath, | ||
| std::string & | sVendor, | ||
| std::string & | sType ) |
References GetFilamentInfo().
Referenced by GetFilamentInfo(), GetFilamentInfo(), and LoadProfileFamily().
| void Slic3r::GUI::GuideFrame::GetStardardFilePath | ( | std::string & | FilePath | ) |
References StrReplace(), and w2s().
| void Slic3r::GUI::GuideFrame::init_guide_paths | ( | ) |
References Slic3r::data_dir(), m_OrcaFilaLibPath, m_ProfileJson, orca_bundle_rsrc, Slic3r::PresetBundle::ORCA_FILAMENT_LIBRARY, PRESET_SYSTEM_DIR, reset_profile_json(), Slic3r::resources_dir(), rsrc_vendor_dir, and vendor_dir.
Referenced by OnNavigationComplete().
| int Slic3r::GUI::GuideFrame::InstallPlugin | ( | ) |
References ShowPluginStatus().
|
inlineprivateinherited |
| bool Slic3r::GUI::GuideFrame::IsFirstUse | ( | ) |
References m_SectionName, and orca_bundle_rsrc.
| void Slic3r::GUI::GuideFrame::load_url | ( | wxString & | url | ) |
References WebView::LoadUrl(), m_browser, Slic3r::trace(), and UpdateState().
Referenced by SetStartPage().
| bool Slic3r::GUI::GuideFrame::LoadFile | ( | std::string | jPath, |
| std::string & | sContent ) |
References Slic3r::trace().
Referenced by GetFilamentInfo(), and LoadProfileFamily().
| int Slic3r::GUI::GuideFrame::LoadProfileData | ( | ) |
References BuildProfileDataFromVendors(), filament_info_cache, Slic3r::GUI::from_u8(), LoadProfileFamily(), m_cancel_token, on_profile_loaded(), Slic3r::PresetBundle::ORCA_FILAMENT_LIBRARY, rsrc_vendor_dir, vendor_dir, and w2s().
Referenced by OnNavigationComplete().
| int Slic3r::GUI::GuideFrame::LoadProfileFamily | ( | std::string | strVendor, |
| std::string | strFilePath ) |
References Slic3r::Geometry::contains(), Slic3r::GUI::file_url_from_path(), GetFilamentInfo(), Slic3r::GUI::into_u8(), LoadFile(), m_OrcaFilaList, m_ProfileJson, Slic3r::PresetBundle::ORCA_FILAMENT_LIBRARY, Slic3r::resources_dir(), Slic3r::GUI::StringReplace(), and vendor_dir.
Referenced by LoadProfileData().
|
inlineinherited |
Referenced by Slic3r::GUI::AboutDialog::AboutDialog(), Slic3r::GUI::ConfigWizard::ConfigWizard(), Slic3r::GUI::CopyrightsDialog::CopyrightsDialog(), Slic3r::GUI::EditGCodeDialog::EditGCodeDialog(), Slic3r::GUI::anonymous_namespace{PrintHostDialogs.cpp}::FlashforgeSlotDialog::FlashforgeSlotDialog(), Slic3r::GUI::KBShortcutsDialog::KBShortcutsDialog(), Slic3r::GUI::MsgDialog::MsgDialog(), Slic3r::GUI::OAuthDialog::OAuthDialog(), Slic3r::GUI::PhysicalPrinterDialog::PhysicalPrinterDialog(), Slic3r::GUI::SelectMachineDialog::SelectMachineDialog(), Slic3r::GUI::SendSystemInfoDialog::SendSystemInfoDialog(), Slic3r::GUI::SendToPrinterDialog::SendToPrinterDialog(), Slic3r::GUI::SettingsDialog::SettingsDialog(), Slic3r::GUI::ShortcutCaptureDialog::ShortcutCaptureDialog(), Slic3r::GUI::SyncAmsInfoDialog::SyncAmsInfoDialog(), anonymous_namespace{3DPrinterOS.cpp}::TokenAuthDialog::TokenAuthDialog(), Slic3r::GUI::TroubleshootDialog::TroubleshootDialog(), anonymous_namespace{3DPrinterOS.cpp}::UploadOptionsDialog::UploadOptionsDialog(), Slic3r::GUI::SavePresetDialog::build(), Slic3r::GUI::BedShapeDialog::build_dialog(), and Slic3r::GUI::PhysicalPrinterDialog::build_printhost_settings().
| void Slic3r::GUI::GuideFrame::notify_profile_loaded | ( | ) |
References m_page_ready, m_profile_ready, and RunScript().
Referenced by on_profile_loaded(), and OnScriptMessage().
|
inlinevirtual |
Implements Slic3r::GUI::DPIAware< wxDialog >.
| void Slic3r::GUI::GuideFrame::on_profile_loaded | ( | ) |
References m_profile_ready, m_ProfileJson, notify_profile_loaded(), and SaveProfileData().
Referenced by LoadProfileData(), and OnNavigationComplete().
|
inlineprotectedvirtualinherited |
Reimplemented in PrintHostQueueDialog, Slic3r::GUI::ColorPickerDialog, Slic3r::GUI::ConfigWizard, Slic3r::GUI::DesignTextDialog, Slic3r::GUI::DiffPresetDialog, Slic3r::GUI::EditGCodeDialog, Slic3r::GUI::MultiMachinePickPage, Slic3r::GUI::ObjectTableDialog, Slic3r::GUI::PhysicalPrinterDialog, Slic3r::GUI::PrintHostQueueDialog, Slic3r::GUI::PublishSettingsDialog, Slic3r::GUI::SavePresetDialog, Slic3r::GUI::SendMultiMachinePage, and Slic3r::GUI::UnsavedChangesDialog.
| void Slic3r::GUI::GuideFrame::OnDocumentLoaded | ( | wxWebViewEvent & | evt | ) |
Callback invoked when a page is finished loading
References m_browser, and UpdateState().
Referenced by GuideFrame().
| void Slic3r::GUI::GuideFrame::OnError | ( | wxWebViewEvent & | evt | ) |
Callback invoked when a loading error occurs
References Slic3r::trace(), UpdateState(), and WX_ERROR_CASE.
Referenced by GuideFrame().
| void Slic3r::GUI::GuideFrame::OnFullScreenChanged | ( | wxWebViewEvent & | evt | ) |
Referenced by GuideFrame().
| void Slic3r::GUI::GuideFrame::OnIdle | ( | wxIdleEvent & | evt | ) |
| void Slic3r::GUI::GuideFrame::OnNavigationComplete | ( | wxWebViewEvent & | evt | ) |
References bFirstComplete, BuildProfileDataFromPresetBundle(), init_guide_paths(), LoadProfileData(), m_browser, m_cancel_token, m_load_task, on_profile_loaded(), and UpdateState().
Referenced by GuideFrame().
| void Slic3r::GUI::GuideFrame::OnNavigationRequest | ( | wxWebViewEvent & | evt | ) |
Callback invoked when there is a request to load a new page (for instance when the user clicks a link)
References UpdateState().
Referenced by GuideFrame().
| void Slic3r::GUI::GuideFrame::OnNewWindow | ( | wxWebViewEvent & | evt | ) |
On new window, we veto to stop extra windows appearing
References UpdateState().
Referenced by GuideFrame().
| void Slic3r::GUI::GuideFrame::OnScriptMessage | ( | wxWebViewEvent & | evt | ) |
References _u8L, Slic3r::Geometry::contains(), Slic3r::GUI::DPIDialog::EndModal(), Slic3r::AppConfig::get_country_code(), InstallNetplugin, m_editing_filament_id, m_MainPtr, m_page_ready, m_ProfileJson, m_Region, network_plugin_ready, notify_profile_loaded(), Slic3r::ORCA_CLOUD_PROVIDER(), Slic3r::GUI::plater(), PrivacyUse, rsrc_vendor_dir, RunScript(), SaveProfile(), Slic3r::NetworkAgent::set_country_code(), StealthMode, Slic3r::trace(), Slic3r::unescape_strings_cstyle(), Slic3r::GUI::update_custom_filaments(), and vendor_dir.
Referenced by GuideFrame().
| void Slic3r::GUI::GuideFrame::OnScriptResponseMessage | ( | wxCommandEvent & | evt | ) |
| void Slic3r::GUI::GuideFrame::OnTitleChanged | ( | wxWebViewEvent & | evt | ) |
Referenced by GuideFrame().
|
inlineinherited |
|
inlineprivateinherited |
| void Slic3r::GUI::GuideFrame::reset_profile_json | ( | ) |
Callback invoked when a navigation request was accepted
References m_ProfileJson.
Referenced by BuildProfileDataFromVendors(), BuildProfileJson(), and init_guide_paths().
| bool Slic3r::GUI::GuideFrame::run | ( | ) |
References Slic3r::GUI::GUI_App::app_config, apply_config(), Slic3r::GUI::GUI_App::apply_keeped_preset_modifications(), Slic3r::AppConfig::clear_section(), Slic3r::PresetBundle::export_selections(), Slic3r::GUI::Filamentinformation::filament_id, Slic3r::PresetBundle::load_selections(), m_editing_filament_id, Slic3r::PrinterPresetCollection::only_default_printers(), Slic3r::PresetBundle::ORCA_DEFAULT_BUNDLE, Slic3r::PresetBundle::ORCA_DEFAULT_PRINTER_MODEL, Slic3r::PresetBundle::ORCA_DEFAULT_PRINTER_VARIANT, Slic3r::GUI::GUI_App::plater(), Slic3r::GUI::plater(), Slic3r::GUI::GUI_App::preset_bundle, Slic3r::GUI::GUI_App::preset_updater, Slic3r::PresetBundle::printers, Slic3r::AppConfig::SECTION_FILAMENTS, Slic3r::AppConfig::set_legacy_datadir(), Slic3r::AppConfig::set_variant(), Slic3r::GUI::DPIAware< wxDialog >::ShowModal(), and Slic3r::GUI::GUI_App::update_mode().
Referenced by Slic3r::GUI::GUI_App::run_wizard(), Slic3r::GUI::GUI_App::ShowOnlyFilament(), and Slic3r::GUI::GUI_App::ShowUserGuide().
| void Slic3r::GUI::GuideFrame::RunScript | ( | const wxString & | javascript | ) |
References m_browser, and WebView::RunScript().
Referenced by notify_profile_loaded(), and OnScriptMessage().
| int Slic3r::GUI::GuideFrame::SaveProfile | ( | ) |
References m_appconfig_new, m_MainPtr, m_ProfileJson, m_Region, m_SectionName, Slic3r::AppConfig::SECTION_FILAMENTS, Slic3r::GUI::section_name(), and StealthMode.
Referenced by OnScriptMessage().
| int Slic3r::GUI::GuideFrame::SaveProfileData | ( | ) |
References m_appconfig_new, m_ProfileJson, m_Region, network_plugin_ready, Slic3r::nozzle_diameter(), Slic3r::AppConfig::SECTION_FILAMENTS, and StealthMode.
Referenced by on_profile_loaded().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
| wxString Slic3r::GUI::GuideFrame::SetStartPage | ( | GuidePage | startpage = BBL_WELCOME, |
| bool | load = true ) |
References _L, BBL_FILAMENT_ONLY, BBL_FILAMENTS, BBL_MODELS, BBL_MODELS_ONLY, BBL_REGION, BBL_WELCOME, Slic3r::GUI::file_url_from_path(), Slic3r::GUI::into_u8(), load(), load_url(), m_page, m_ProfileJson, Slic3r::resources_dir(), and w2s().
Referenced by GuideFrame(), Slic3r::GUI::GUI_App::run_wizard(), and Slic3r::GUI::GUI_App::ShowOnlyFilament().
|
inlineinherited |
Referenced by Slic3r::GUI::EditFilamentPresetDialog::delete_preset(), Slic3r::GUI::SingleChoiceDialog::GetSingleChoiceIndex(), Slic3r::GUI::ConfirmBeforeSendDialog::on_show(), Slic3r::GUI::PrivacyUpdateDialog::on_show(), Slic3r::GUI::AMSMaterialsSetting::Popup(), Slic3r::GUI::ExtrusionCalibration::Popup(), Slic3r::GUI::ObjectTableDialog::Popup(), Slic3r::GUI::ConfigWizard::run(), Slic3r::GUI::GuideFrame::run(), Slic3r::GUI::MultiNozzleSyncDialog::ShowModal(), Slic3r::GUI::RichMessageDialog::ShowModal(), Slic3r::GUI::TextureImportDialog::ShowModal(), and Slic3r::GUI::UnsavedChangesDialog::ShowModal().
| int Slic3r::GUI::GuideFrame::ShowPluginStatus | ( | int | status, |
| int | percent, | ||
| bool & | cancel ) |
Referenced by DownloadPlugin(), and InstallPlugin().
| void Slic3r::GUI::GuideFrame::StrReplace | ( | std::string & | strBase, |
| std::string | strSrc, | ||
| std::string | strDes ) |
Referenced by GetStardardFilePath().
|
inlineprivateinherited |
| void Slic3r::GUI::GuideFrame::UpdateState | ( | ) |
Method that retrieves the current state from the web control and updates the GUI the reflect this current state.
Referenced by load_url(), OnDocumentLoaded(), OnError(), OnNavigationComplete(), OnNavigationRequest(), and OnNewWindow().
| std::string Slic3r::GUI::GuideFrame::w2s | ( | wxString | sSrc | ) |
Referenced by GetFilamentInfo(), GetStardardFilePath(), LoadProfileData(), and SetStartPage().
|
private |
Referenced by OnNavigationComplete().
|
private |
Referenced by GetFilamentInfo(), and LoadProfileData().
|
private |
Referenced by GuideFrame(), and OnScriptMessage().
|
private |
Referenced by GuideFrame(), apply_config(), SaveProfile(), and SaveProfileData().
|
private |
|
private |
Referenced by GuideFrame(), ~GuideFrame(), load_url(), OnDocumentLoaded(), OnIdle(), OnNavigationComplete(), and RunScript().
|
privateinherited |
|
private |
Referenced by ~GuideFrame(), BuildProfileDataFromVendors(), LoadProfileData(), and OnNavigationComplete().
|
private |
Referenced by OnScriptMessage(), and run().
|
privateinherited |
|
privateinherited |
|
private |
|
private |
Referenced by ~GuideFrame(), and OnNavigationComplete().
|
private |
Referenced by GuideFrame(), OnScriptMessage(), and SaveProfile().
|
privateinherited |
|
privateinherited |
|
private |
Referenced by GetFilamentInfo(), and init_guide_paths().
|
private |
Referenced by LoadProfileFamily().
| enum Slic3r::GUI::GuideFrame::GuidePage Slic3r::GUI::GuideFrame::m_page |
Referenced by GuideFrame(), and SetStartPage().
|
private |
Referenced by notify_profile_loaded(), and OnScriptMessage().
|
privateinherited |
|
private |
Referenced by notify_profile_loaded(), and on_profile_loaded().
|
private |
|
private |
Referenced by OnScriptMessage(), SaveProfile(), and SaveProfileData().
|
private |
|
privateinherited |
|
private |
Referenced by GuideFrame(), IsFirstUse(), and SaveProfile().
|
private |
Referenced by OnScriptMessage(), and SaveProfileData().
|
private |
Referenced by init_guide_paths(), and IsFirstUse().
|
private |
Referenced by GuideFrame(), and OnScriptMessage().
|
private |
Referenced by BuildProfileDataFromVendors(), BuildProfileJson(), init_guide_paths(), LoadProfileData(), and OnScriptMessage().
|
private |
Referenced by GuideFrame(), OnScriptMessage(), SaveProfile(), and SaveProfileData().
|
private |
Referenced by BuildProfileDataFromVendors(), init_guide_paths(), LoadProfileData(), LoadProfileFamily(), and OnScriptMessage().