aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickcontrols/fluentwinui3/Slider.qml
Commit message (Collapse)AuthorAgeFilesLines
* FluentWinUI3 Style: Hide private QML propertiesDoris Verria2025-03-201-17/+17
| | | | | | | | | The style declares several QML dynamic properties which are meant to be private. Hide them using __ convention. Pick-to: 6.9 6.8 Change-Id: I4317d2ee7072a72fda1736fc8c9165a980889d95 Reviewed-by: Richard Moe Gustavsen <[email protected]>
* FluentWinUI3: Move StyleImage to private impl moduleDoris Verria2025-01-161-3/+4
| | | | | | | | | | | | | | Follow the approach with FocusFrame and move StyleImage.qml to the private FluentWinUI3.impl module instead. Add deprecation warnings to the original file. [ChangeLog][QtQuick][Controls][FluentWinUI3] StyleImage.qml is deprecated in the module's public QML API and moved to the private impl module instead. Pick-to: 6.9 Change-Id: I2a536591abb2172a1f7d7a052e88f0c2f58cd481 Reviewed-by: Mitch Curtis <[email protected]>
* FluentWinUI3 Style: Add focus frame componentDoris Verria2024-08-301-0/+2
| | | | | | | | | | | | | Add a FocusFrame component that follows the active focus item, mirroring the approach used by the native styles with QQuickFocusFrame. In the future, this should probably move out of the native style and serve as a common solution across all styles. Task-number: QTBUG-125279 Pick-to: 6.8 Change-Id: I577d0b783c36bc7e146a7e02051195d78a11ca60 Reviewed-by: Mitch Curtis <[email protected]>
* FluentWinUI3 Style: Get pressed/hovered colors from paletteDoris Verria2024-07-031-3/+5
| | | | | | | | | | Don't hardcode colors for pressed/hovered indicators, but rather use the control's palette and the Qt.rgba function to get the right colors. In this way the style will look correct when the palette changes. Pick-to: 6.8 Change-Id: I3af986d027e920efa2d8ef90b5c4710b194bfd80 Reviewed-by: Mitch Curtis <[email protected]>
* Controls: replace Qt.styleHints with Application.styleHintsMitch Curtis2024-06-211-3/+3
| | | | | | | | | | | | | | As mentioned in QTBUG-95540, using the latter provides better type information for tooling, and avoids the "this property only exists on the object if Quick has been imported" issue. Replace QtQml import in Fluent style's Config.qml with QtQuick to provide access to the Application type. Fixes: QTBUG-126512 Pick-to: 6.5 6.7 6.8 Change-Id: I4aac22e54f3b522f74acafd467ce22139352c9dd Reviewed-by: Ulf Hermann <[email protected]>
* FluentWinUI3 Style: Don't animate slider's knob on disabled stateDoris Verria2024-06-121-1/+1
| | | | | | Pick-to: 6.8 Change-Id: I278ed628f3810d315480cd2a4362fff6fb350275 Reviewed-by: Richard Moe Gustavsen <[email protected]>
* FluentWinUI3 Style: Support accent color for Slider/RangeSlider trackDoris Verria2024-06-111-8/+8
| | | | | | | | | Don't use images for the track but use QML Rectangle with accent color. Pick-to: 6.8 Task-number: QTBUG-125279 Change-Id: I3175c9bb7afc7932de6541833cb3a3deb05dfc22 Reviewed-by: Richard Moe Gustavsen <[email protected]>
* Rename Fluent style to FluentWinUI3Doris Verria2024-06-021-0/+144
The style is based on the WinUI3 design system, which follows the Fluent design. Task-number: QTBUG-125279 Change-Id: Ie92c35a5c1d3eafdbb377d1c49df4b8cc84e1e98 Reviewed-by: Richard Moe Gustavsen <[email protected]>