Add WindowSelectionWidget

Refreshes list of windows when widget becomes visible to support widget
caching
This commit is contained in:
WarmUpTill
2025-05-21 13:05:31 +02:00
committed by WarmUpTill
parent c43439ee64
commit c281c6db83
7 changed files with 50 additions and 15 deletions

View File

@@ -0,0 +1,16 @@
#pragma once
#include "filter-combo-box.hpp"
namespace advss {
class WindowSelectionWidget : public FilterComboBox {
Q_OBJECT
public:
WindowSelectionWidget(QWidget *parent);
protected:
void showEvent(QShowEvent *event) override;
};
} // namespace advss