Flasher  0.1.0
Loading...
Searching...
No Matches
UpdatePortsEventFilter Class Reference

Event filter to update QComboBox widget which lists serial ports. More...

#include <update_ports_event_filter.hpp>

Inheritance diagram for UpdatePortsEventFilter:
Collaboration diagram for UpdatePortsEventFilter:

Public Member Functions

 UpdatePortsEventFilter (QWidget *parent=nullptr)
 

Protected Member Functions

bool eventFilter (QObject *obj, QEvent *event) override
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ UpdatePortsEventFilter()

UpdatePortsEventFilter::UpdatePortsEventFilter ( QWidget * parent = nullptr)
explicit

Member Function Documentation

◆ eventFilter()

bool UpdatePortsEventFilter::eventFilter ( QObject * obj,
QEvent * event )
overrideprotected

The documentation for this class was generated from the following files: