Add a generic interface for the classic indicator window

this removes QWidget references from ClassicIndicators.cpp.
Both the QtQuick and QtWidgets impl will implement this new
interface, which is what ClassicIndicators.cpp uses now
This commit is contained in:
Sergio Martins
2022-05-26 23:10:26 +01:00
parent fc74698dac
commit 1dde7e3e99
14 changed files with 185 additions and 16 deletions

View File

@@ -77,6 +77,7 @@ public:
QIcon iconForButtonType(TitleBarButtonType type, qreal dpr) const override;
View *createClassicDropIndicatorOverlayView(Controllers::ClassicIndicators *controller, View *parent = nullptr) const override;
Views::ClassicIndicatorWindow *createClassicIndicatorWindow(Controllers::ClassicIndicators *) const override;
View *createSegmentedDropIndicatorOverlayView(Controllers::SegmentedIndicators *controller, View *parent = nullptr) const override;
private: