#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/wxExtensions.hpp>
◆ Create()
| bool wxDataViewTreeCtrlComboPopup::Create |
( |
wxWindow * | parent | ) |
|
|
virtual |
348{
349 return wxDataViewTreeCtrl::Create(parent, wxID_ANY, wxPoint(0, 0), wxDefaultSize, wxDV_NO_HEADER);
350}
◆ GetControl()
| virtual wxWindow * wxDataViewTreeCtrlComboPopup::GetControl |
( |
| ) |
|
|
inlinevirtual |
◆ GetStringValue()
| virtual wxString wxDataViewTreeCtrlComboPopup::GetStringValue |
( |
| ) |
const |
|
inlinevirtual |
◆ OnDataViewTreeCtrlSelection()
| void wxDataViewTreeCtrlComboPopup::OnDataViewTreeCtrlSelection |
( |
wxCommandEvent & | evt | ) |
|
390{
391 wxComboCtrl* cmb = GetComboCtrl();
392 auto selected = GetItemText(GetSelection());
393 cmb->SetText(selected);
394}
◆ OnKeyEvent()
| void wxDataViewTreeCtrlComboPopup::OnKeyEvent |
( |
wxKeyEvent & | evt | ) |
|
|
virtual |
372{
373
374 if (evt.GetKeyCode() == WXK_UP)
375 {
376 return;
377 }
378 else if (evt.GetKeyCode() == WXK_DOWN)
379 {
380 return;
381 }
382 else
383 {
384 evt.Skip();
385 return;
386 }
387}
◆ SetItemsCnt()
| void wxDataViewTreeCtrlComboPopup::SetItemsCnt |
( |
int | cnt | ) |
|
|
inline |
◆ SetStringValue()
| virtual void wxDataViewTreeCtrlComboPopup::SetStringValue |
( |
const wxString & | value | ) |
|
|
inlinevirtual |
◆ DefaultHeight
| const unsigned int wxDataViewTreeCtrlComboPopup::DefaultHeight = 200 |
|
staticprivate |
◆ DefaultItemHeight
| const unsigned int wxDataViewTreeCtrlComboPopup::DefaultItemHeight = 22 |
|
staticprivate |
◆ DefaultWidth
| const unsigned int wxDataViewTreeCtrlComboPopup::DefaultWidth = 270 |
|
staticprivate |
◆ m_cnt_open_items
| int wxDataViewTreeCtrlComboPopup::m_cnt_open_items {0} |
|
private |
◆ m_text
| wxString wxDataViewTreeCtrlComboPopup::m_text |
|
private |
The documentation for this class was generated from the following files: