OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::GUI::SendSystemInfoProgressDialog Class Reference
Inheritance diagram for Slic3r::GUI::SendSystemInfoProgressDialog:
Collaboration diagram for Slic3r::GUI::SendSystemInfoProgressDialog:

Public Member Functions

 SendSystemInfoProgressDialog (wxWindow *parent, const wxString &message)

Detailed Description

Constructor & Destructor Documentation

◆ SendSystemInfoProgressDialog()

Slic3r::GUI::SendSystemInfoProgressDialog::SendSystemInfoProgressDialog ( wxWindow * parent,
const wxString & message )
inline
135 : wxDialog(parent, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxCAPTION)
136 {
137 auto* text = new wxStaticText(this, wxID_ANY, message, wxDefaultPosition, wxDefaultSize, wxALIGN_CENTER_HORIZONTAL);
138 //auto* btn = new wxButton(this, wxID_CANCEL, _L("Cancel"));
139 auto* btn = new wxButton(this, wxID_CANCEL, wxEmptyString);
140 auto* vsizer = new wxBoxSizer(wxVERTICAL);
141 auto *top_sizer = new wxBoxSizer(wxVERTICAL);
142 vsizer->Add(text, 1, wxEXPAND);
143 vsizer->AddSpacer(5);
144 vsizer->Add(btn, 0, wxALIGN_CENTER_HORIZONTAL);
145 top_sizer->Add(vsizer, 1, wxEXPAND | wxLEFT | wxTOP | wxRIGHT | wxBOTTOM, 10);
146 SetSizer(top_sizer);
147 #ifdef _WIN32
148 wxGetApp().UpdateDlgDarkUI(this);
149 #endif
150 }
class WXDLLIMPEXP_FWD_CORE wxButton
Definition ProgressDialog.hpp:27
class WXDLLIMPEXP_FWD_CORE wxStaticText
Definition ProgressDialog.hpp:30

References wxButton, and wxStaticText.


The documentation for this class was generated from the following file: