883{
884 auto complete_text_panel = new wxPanel(parent, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL);
885 complete_text_panel->SetBackgroundColour(*wxWHITE);
886 wxBoxSizer* complete_text_sizer = new wxBoxSizer(wxVERTICAL);
887 m_complete_text =
new Label(complete_text_panel,
_L(
"Please find the best line on your plate"));
891 complete_text_panel->SetSizer(complete_text_sizer);
892 m_top_sizer->Add(complete_text_panel, 0, wxEXPAND, 0);
893
895
899
901
902 auto k_value_text =
new Label(parent,
_L(
"Factor K"));
904 k_value_text->Wrap(-1);
905 auto n_value_text =
new Label(parent,
_L(
"Factor N"));
907 n_value_text->Wrap(-1);
908 n_value_text->Hide();
910 m_k_val->GetTextCtrl()->SetValidator(wxTextValidator(wxFILTER_NUMERIC));
912 m_n_val->GetTextCtrl()->SetValidator(wxTextValidator(wxFILTER_NUMERIC));
916
918
919 auto save_text =
new Label(parent,
_L(
"Name"));
922
925
927
928 auto naming_hints =
new Label(parent,
_L(
"*We recommend you to add brand, materia, type, and even humidity level in the Name"));
930 naming_hints->SetForegroundColour(wxColour(157, 157, 157));
932
934
935 Bind(wxEVT_LEFT_DOWN, [this](auto& e) {
936 SetFocusIgnoringChildren();
937 });
938}
#define CALIBRATION_TEXT_MAX_LENGTH
Definition CalibrationWizardPage.hpp:40
#define CALIBRATION_OPTIMAL_INPUT_SIZE
Definition CalibrationWizardPage.hpp:37
#define _L(s)
Definition OBJ.cpp:34
static wxFont Head_14
Definition Label.hpp:45
static wxFont Body_14
Definition Label.hpp:53
::TextInput * m_k_val
Definition CalibrationWizardSavePage.hpp:165
::TextInput * m_n_val
Definition CalibrationWizardSavePage.hpp:166
::TextInput * m_save_name_input
Definition CalibrationWizardSavePage.hpp:164
void set_save_img()
Definition CalibrationWizardSavePage.cpp:940
CaliPagePicture * m_picture_panel
Definition CalibrationWizardSavePage.hpp:163
Label * m_complete_text
Definition CalibrationWizardSavePage.hpp:162