mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 15:37:30 -06:00
Support for SimplyPrint cloud integration (#4525)
* Make httpserver more generic and reusable * Add OAuthJob * Fix issue caused by the fact that the backing widget of the `TextCtrl` is no longer `wxTextCtrl` * Implement login and token refresh * Implement file upload * Try fix build error * Support BBL printers * Show error message if user hasn't done OAuth * Fix typo * Update error message * Disable unsupported options when SimplyPrint is selected
This commit is contained in:
parent
f3b3e92782
commit
e29bbac193
27 changed files with 1075 additions and 228 deletions
|
@ -194,6 +194,13 @@ void OptionsGroup::show_field(const t_config_option_key& opt_key, bool show/* =
|
|||
}
|
||||
}
|
||||
|
||||
void OptionsGroup::enable_field(const t_config_option_key& opt_key, bool enable)
|
||||
{
|
||||
if (Field* f = get_field(opt_key); f) {
|
||||
f->toggle(enable);
|
||||
}
|
||||
}
|
||||
|
||||
void OptionsGroup::set_name(const wxString& new_name)
|
||||
{
|
||||
stb->SetLabel(new_name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue