Allow updating shown ImportantTooltip geometry.
This commit is contained in:
parent
d8abc60245
commit
825ef11f1a
1 changed files with 1 additions and 1 deletions
|
|
@ -79,6 +79,7 @@ public:
|
||||||
void toggleAnimated(bool visible);
|
void toggleAnimated(bool visible);
|
||||||
void toggleFast(bool visible);
|
void toggleFast(bool visible);
|
||||||
void hideAfter(crl::time timeout);
|
void hideAfter(crl::time timeout);
|
||||||
|
void updateGeometry();
|
||||||
|
|
||||||
void setHiddenCallback(Fn<void()> callback) {
|
void setHiddenCallback(Fn<void()> callback) {
|
||||||
_hiddenCallback = std::move(callback);
|
_hiddenCallback = std::move(callback);
|
||||||
|
|
@ -93,7 +94,6 @@ private:
|
||||||
[[nodiscard]] QRect countInner() const;
|
[[nodiscard]] QRect countInner() const;
|
||||||
void countApproachSide(RectParts preferSide);
|
void countApproachSide(RectParts preferSide);
|
||||||
void resizeToContent();
|
void resizeToContent();
|
||||||
void updateGeometry();
|
|
||||||
void checkAnimationFinish();
|
void checkAnimationFinish();
|
||||||
void refreshAnimationCache();
|
void refreshAnimationCache();
|
||||||
[[nodiscard]] QPoint countPosition() const;
|
[[nodiscard]] QPoint countPosition() const;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue