Event filter to update QComboBox widget which lists serial ports.
More...
#include <update_ports_event_filter.hpp>
|
bool | eventFilter (QObject *obj, QEvent *event) override |
|
UpdatePortsEventFilter is an event filter which can be installed on a QComboBox widget which contains available serial port names. Installing this filter allows updating the list of serial ports each time the QComboBox gets altered.
◆ UpdatePortsEventFilter()
UpdatePortsEventFilter::UpdatePortsEventFilter |
( |
QWidget * | parent = nullptr | ) |
|
|
explicit |
◆ eventFilter()
bool UpdatePortsEventFilter::eventFilter |
( |
QObject * | obj, |
|
|
QEvent * | event ) |
|
overrideprotected |
The documentation for this class was generated from the following files: