Public Member Functions | |
| GridTextInput (wxWindow *parent, wxString text, wxString label, wxSize size, int col_idx, GridTextInputType type, int extruder_id=MAIN_EXTRUDER_ID) | |
| int | get_col_idx () |
| void | set_col_idx (int idx) |
| int | get_extruder_id () |
| void | set_extruder_id (int id) |
| GridTextInputType | get_type () |
| void | set_type (GridTextInputType type) |
| void | Create (wxWindow *parent, wxString text, wxString label="", wxString icon="", const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0) |
| void | SetCornerRadius (double radius) |
| int | GetCornerRadius () const |
| void | SetLabel (const wxString &label) override |
| void | SetStaticTips (const wxString &tips, const wxBitmap &bitmap) |
| void | SetIcon (const wxBitmap &icon) |
| void | SetIcon (const wxString &icon) |
| void | SetIcon_1 (const wxString &icon) |
| void | SetIcon_1 (const wxBitmap &icon) |
| void | SetLabelColor (StateColor const &color) |
| void | SetTextColor (StateColor const &color) |
| virtual void | Rescale () |
| virtual bool | Enable (bool enable=true) override |
| virtual void | SetMinSize (const wxSize &size) override |
| wxTextCtrl * | GetTextCtrl () |
| wxTextCtrl const * | GetTextCtrl () const |
Protected Member Functions | |
| virtual void | OnEdit () |
| virtual void | DoSetSize (int x, int y, int width, int height, int sizeFlags=wxSIZE_AUTO) override |
| void | DoSetToolTipText (wxString const &tip) override |
Private Member Functions | |
| void | paintEvent (wxPaintEvent &evt) |
| void | render (wxDC &dc) |
| void | messureSize () |
Private Attributes | |
| int | m_col_idx |
| int | m_extruder_id {MAIN_EXTRUDER_ID} |
| GridTextInputType | m_type |
| wxSize | labelSize |
| ScalableBitmap | icon |
| ScalableBitmap | icon_1 |
| StateColor | label_color |
| StateColor | text_color |
| wxTextCtrl * | text_ctrl |
| wxString | static_tips |
| wxSize | static_tips_size |
| wxBitmap | static_tips_icon |
Static Private Attributes | |
| static const int | TextInputWidth = 200 |
| static const int | TextInputHeight = 50 |
| Slic3r::GUI::GridTextInput::GridTextInput | ( | wxWindow * | parent, |
| wxString | text, | ||
| wxString | label, | ||
| wxSize | size, | ||
| int | col_idx, | ||
| GridTextInputType | type, | ||
| int | extruder_id = MAIN_EXTRUDER_ID ) |
References TextInput::TextInput(), m_col_idx, m_extruder_id, and m_type.
|
inherited |
References Label::Body_14, StaticBox::Create(), icon, label_color, messureSize(), OnEdit(), style, text_color, and text_ctrl.
Referenced by ComboBox::ComboBox(), and TextInput().
|
overrideprotectedvirtualinherited |
|
overrideprotectedinherited |
|
overridevirtualinherited |
References text_color, and text_ctrl.
|
inline |
|
inline |
References m_extruder_id.
|
inline |
|
inlineinherited |
Referenced by CustomWidgetsPlugin::addTextInputProps().
|
inlineinherited |
References text_ctrl.
Referenced by Slic3r::GUI::LayerRangeEditor::LayerRangeEditor(), CustomWidgetsPlugin::addTextInputProps(), Slic3r::GUI::GridCellTextEditor::BeginEdit(), Slic3r::GUI::GridCellTextEditor::EndEdit(), Slic3r::GUI::LayerRangeEditor::GetValue(), Slic3r::GUI::SavePresetDialog::input_name_from_other(), and Slic3r::GUI::LayerRangeEditor::SetValue().
|
inlineinherited |
|
privateinherited |
References Label::Body_12, labelSize, SetMinSize(), static_tips, static_tips_size, and text_ctrl.
Referenced by Create(), Rescale(), SetLabel(), and SetStaticTips().
|
inlineprotectedvirtualinherited |
|
privateinherited |
|
privateinherited |
References Label::Body_12, icon, icon_1, label_color, labelSize, StaticBox::render(), static_tips, static_tips_size, and text_ctrl.
Referenced by paintEvent().
|
virtualinherited |
References icon, icon_1, and messureSize().
Referenced by Slic3r::GUI::LayerRangeEditor::msw_rescale(), ComboBox::Rescale(), SetIcon(), SetIcon(), SetIcon_1(), and SetIcon_1().
|
inline |
|
inline |
References m_extruder_id.
|
inline |
|
inherited |
Referenced by CustomWidgetsPlugin::addTextInputProps().
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
overrideinherited |
References messureSize().
Referenced by CustomWidgetsPlugin::addTextInputProps(), ComboBox::SetLabel(), and ComboBox::SetTextLabel().
|
inherited |
References label_color.
Referenced by ComboBox::ComboBox().
|
overridevirtualinherited |
Referenced by messureSize().
|
inherited |
References messureSize(), static_tips, and static_tips_icon.
|
inherited |
References text_color.
|
privateinherited |
Referenced by TextInput(), Create(), DoSetSize(), render(), Rescale(), SetIcon(), SetIcon(), SetIcon_1(), and SetIcon_1().
|
privateinherited |
Referenced by DoSetSize(), render(), Rescale(), SetIcon_1(), and SetIcon_1().
|
privateinherited |
Referenced by TextInput(), Create(), render(), and SetLabelColor().
|
privateinherited |
Referenced by DoSetSize(), messureSize(), and render().
|
private |
Referenced by GridTextInput(), get_col_idx(), and set_col_idx().
|
private |
Referenced by GridTextInput(), get_extruder_id(), and set_extruder_id().
|
private |
Referenced by GridTextInput(), get_type(), and set_type().
|
privateinherited |
Referenced by messureSize(), render(), and SetStaticTips().
|
privateinherited |
Referenced by SetStaticTips().
|
privateinherited |
Referenced by messureSize(), and render().
|
privateinherited |
Referenced by TextInput(), Create(), Enable(), and SetTextColor().
|
privateinherited |
Referenced by Create(), DoSetSize(), DoSetToolTipText(), Enable(), GetTextCtrl(), GetTextCtrl(), messureSize(), and render().
|
staticprivateinherited |
|
staticprivateinherited |