Update device

This commit is contained in:
QIDI TECH
2024-07-26 14:02:02 +08:00
parent 2b8deba938
commit 5005a1df1b
79 changed files with 29198 additions and 1058 deletions

View File

@@ -17,6 +17,9 @@
#include <mutex>
#include <stack>
//B64
#include "../Utils/QIDINetwork.hpp"
#include "slic3r/GUI/WebUserLoginDialog.hpp"
class wxMenuItem;
class wxMenuBar;
class wxTopLevelWindow;
@@ -142,6 +145,13 @@ private:
wxColour m_color_selected_btn_bg;
bool m_force_colors_update { false };
#endif
//B64
#if QDT_RELEASE_TO_PUBLIC
std::vector<Device> m_devices;
#endif
//B64
ZUserLogin *login_dlg{nullptr};
std::vector<std::string> m_mode_palette;
wxFont m_small_font;
@@ -244,6 +254,11 @@ public:
#ifdef _MSW_DARK_MODE
void force_menu_update();
#endif //_MSW_DARK_MODE
#endif
//B64
#if QDT_RELEASE_TO_PUBLIC
std::vector<Device> get_devices() { return m_devices; };
void set_devices(std::vector<Device> devices) { m_devices = devices; };
#endif
const wxFont& small_font() { return m_small_font; }
@@ -263,6 +278,10 @@ public:
void recreate_GUI(const wxString& message);
void system_info();
void keyboard_shortcuts();
//B64
void ShowUserLogin(bool show);
void SetOnlineLogin(bool status);
void SetPresentChange(bool status);
void load_project(wxWindow *parent, wxString& input_file) const;
void import_model(wxWindow *parent, wxArrayString& input_files) const;
void import_zip(wxWindow* parent, wxString& input_file) const;