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.
11 lines
198 B
C++
11 lines
198 B
C++
#include "focus-list.hpp"
|
|
|
|
FocusList::FocusList(QWidget *parent) : QListWidget(parent) {}
|
|
|
|
void FocusList::focusInEvent(QFocusEvent *event)
|
|
{
|
|
QListWidget::focusInEvent(event);
|
|
|
|
emit GotFocus();
|
|
}
|