feat: able to disable built-in close window animation

This commit is contained in:
2025-06-22 15:04:15 +08:00
parent 3cfb25db9a
commit 1623ca315a
6 changed files with 47 additions and 15 deletions

View File

@ -34,14 +34,16 @@ public:
static Settings *instance();
bool stayOnTop();
bool useLightCheckerboard();
bool stayOnTop() const;
bool useBuiltInCloseAnimation() const;
bool useLightCheckerboard() const;
DoubleClickBehavior doubleClickBehavior() const;
MouseWheelBehavior mouseWheelBehavior() const;
WindowSizeBehavior initWindowSizeBehavior() const;
Qt::HighDpiScaleFactorRoundingPolicy hiDpiScaleFactorBehavior() const;
void setStayOnTop(bool on);
void setUseBuiltInCloseAnimation(bool on);
void setUseLightCheckerboard(bool light);
void setDoubleClickBehavior(DoubleClickBehavior dcb);
void setMouseWheelBehavior(MouseWheelBehavior mwb);