mirror of
https://github.com/QIDITECH/QIDISlicer.git
synced 2026-02-01 00:18:44 +03:00
PRUSA 2.7.0
This commit is contained in:
@@ -96,6 +96,7 @@ enum ConfigMenuIDs {
|
||||
ConfigMenuLanguage,
|
||||
ConfigMenuFlashFirmware,
|
||||
ConfigMenuCnt,
|
||||
ConfigMenuWifiConfigFile
|
||||
};
|
||||
|
||||
class Tab;
|
||||
@@ -212,6 +213,7 @@ public:
|
||||
void UpdateDVCDarkUI(wxDataViewCtrl* dvc, bool highlited = false);
|
||||
// update color mode for panel including all static texts controls
|
||||
void UpdateAllStaticTextDarkUI(wxWindow* parent);
|
||||
void SetWindowVariantForButton(wxButton* btn);
|
||||
void init_fonts();
|
||||
void update_fonts(const MainFrame *main_frame = nullptr);
|
||||
void set_label_clr_modified(const wxColour& clr);
|
||||
@@ -251,7 +253,9 @@ public:
|
||||
const wxFont& link_font() { return m_link_font; }
|
||||
int em_unit() const { return m_em_unit; }
|
||||
bool tabs_as_menu() const;
|
||||
wxSize get_min_size() const;
|
||||
bool suppress_round_corners() const;
|
||||
wxSize get_min_size(wxWindow* display_win) const;
|
||||
int get_max_font_pt_size();
|
||||
float toolbar_icon_scale(const bool is_limited = false) const;
|
||||
void set_auto_toolbar_icon_scale(float scale) const;
|
||||
void check_printer_presets();
|
||||
@@ -374,12 +378,15 @@ public:
|
||||
//Y
|
||||
void associate_step_files();
|
||||
void associate_gcode_files();
|
||||
void associate_bgcode_files();
|
||||
#endif // __WXMSW__
|
||||
|
||||
|
||||
// URL download - QIDISlicer gets system call to open qidislicer:// URL which should contain address of download
|
||||
void start_download(std::string url);
|
||||
|
||||
void open_wifi_config_dialog(bool forced, const wxString& drive_path = {});
|
||||
bool get_wifi_config_dialog_shown() const { return m_wifi_config_dialog_shown; }
|
||||
private:
|
||||
bool on_init_inner();
|
||||
void init_app_config();
|
||||
@@ -403,6 +410,8 @@ private:
|
||||
|
||||
bool m_datadir_redefined { false };
|
||||
|
||||
bool m_wifi_config_dialog_shown { false };
|
||||
bool m_wifi_config_dialog_was_declined { false };
|
||||
};
|
||||
|
||||
DECLARE_APP(GUI_App)
|
||||
|
||||
Reference in New Issue
Block a user