ff363bc77b
The FocusList subclass of QListWidget emits a GotFocus signal when it gets focus -- used for the filters window to know when a specific filter list gets focus.
18 lines
217 B
C++
18 lines
217 B
C++
#pragma once
|
|
|
|
#include <QListWidget>
|
|
|
|
class FocusList : public QListWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
FocusList(QWidget *parent);
|
|
|
|
protected:
|
|
void focusInEvent(QFocusEvent *event) override;
|
|
|
|
signals:
|
|
void GotFocus();
|
|
};
|