mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -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
|
@ -173,6 +173,9 @@ public:
|
|||
void show_field(const t_config_option_key& opt_key, bool show = true);
|
||||
void hide_field(const t_config_option_key& opt_key) { show_field(opt_key, false); }
|
||||
|
||||
void enable_field(const t_config_option_key& opt_key, bool enable = true);
|
||||
void disable_field(const t_config_option_key& opt_key) { enable_field(opt_key, false); }
|
||||
|
||||
void set_name(const wxString& new_name);
|
||||
|
||||
inline void enable() { for (auto& field : m_fields) field.second->enable(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue