feat(emote-popup): save size of popup (#5415)

* fix: remove added margins from emote window position

* chore: add changelog entry

* feat: store size of emote window

* chore: update changelog entry

* fix: disable layout save

* fix: PCH moment

* fix: multiply by scale
This commit is contained in:
nerix
2024-06-01 12:38:39 +02:00
committed by GitHub
parent c3bb99eb01
commit 65bfec963b
12 changed files with 138 additions and 45 deletions
+3 -3
View File
@@ -45,11 +45,11 @@ public:
QWidget *parent = nullptr);
~BaseWindow() override;
void setInitialBounds(const QRect &bounds);
QRect getBounds();
void setInitialBounds(QRect bounds, widgets::BoundsChecking mode);
QRect getBounds() const;
QWidget *getLayoutContainer();
bool hasCustomWindowFrame();
bool hasCustomWindowFrame() const;
TitleBarButton *addTitleBarButton(const TitleBarButtonStyle &style,
std::function<void()> onClicked);
EffectLabel *addTitleBarLabel(std::function<void()> onClicked);