MCPcopy Create free account
hub / github.com/Liniyous/ElaWidgetTools / setEditable

Method setEditable

ElaWidgetTools/ElaComboBox.cpp:70–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68{
69 Q_D(ElaComboBox);
70 QComboBox::setEditable(editable);
71 if (editable)
72 {
73 lineEdit()->setStyle(d->_comboBoxStyle);
74 d->onThemeChanged(d->_themeMode);
75 }
76}
77
78void ElaComboBox::mousePressEvent(QMouseEvent* event)
79{
80 Q_D(ElaComboBox);
81 QStyleOptionComboBox option;
82 initStyleOption(&option);

Callers

nothing calls this directly

Calls 1

onThemeChangedMethod · 0.45

Tested by

no test coverage detected