| 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 | |
| 78 | void ElaComboBox::mousePressEvent(QMouseEvent* event) |
| 79 | { |
| 80 | Q_D(ElaComboBox); |
| 81 | QStyleOptionComboBox option; |
| 82 | initStyleOption(&option); |
nothing calls this directly
no test coverage detected