Fluent-Qt

API 參考

WindowGeometryCompat

本標頭檔宣告的公開型別、函式與常數。

Global

方法

void fluentPrepareWindowNormalGeometry(QWidget* window, const QRect& geometry)

在以最大化狀態顯示前同步隱藏視窗的一般幾何尺寸,不觸發顯示或啟用。

QPoint fluentClampPopupPosition(const QWidget* popup, const QPoint& position, const QScreen* screen)

將彈出視窗的原生視窗框限制在螢幕可用像素範圍內。