Fluent-Qt

Foundations

Corners, shadows, and materials

Shared values for corner radii, shadows, and window backgrounds.

Corner radii

Use CornerRadius::Control (4px) for buttons and inputs, and CornerRadius::Overlay (8px) for cards, flyouts, and dialogs. Use the same values in custom containers.

#include <FluentQt/Design.h>

const int radius = CornerRadius::Control; // 4px
const int cardRadius = CornerRadius::Overlay; // 8px

Shadows and window backgrounds

Elevation holds the shadow values for cards, flyouts, and dialogs. For a top-level window, Window::setBackdropEffect() requests a Solid, Mica, or Acrylic background, and backdropState() reports what the platform actually applied.

API reference