aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickcontrols/fluentwinui3/Config.qml
Commit message (Collapse)AuthorAgeFilesLines
* FluentWinUI3: Support button and accent palette roles for Button/ToolButtonDoris Verria2024-08-301-152/+108
| | | | | | | | | | | | | We want to be able to support custom palette.accent and palette.button colors for the Button/ToolButton. To do that, use QML instead of images for the button background and factor it out in reusable component ButtonBackground. Remove previously generated images for the button/toolbutton backgorunds but keep using geometry information generated from the stylegenerator. Pick-to: 6.8 Change-Id: I6f195b32142d06c96833ac3d9184da9f8bbd22ba Reviewed-by: Mitch Curtis <[email protected]>
* FluentWinUI3 Style: Add Menu and related controlsDoris Verria2024-08-211-145/+145
| | | | | | | | | | | | | | Add Menu, MenuItem, MenuBar, MenuBarItem, MenuSeparator. Menu is a popup so reuse assets from the Popup control. Similarly, reuse assets and config from ToolBar/ToolButton for MenuBar/MenuBarItem since they have a similar look. As a drive-by, fix some sizes and colors in the Figma design for these components. Task-number: QTBUG-125279 Pick-to: 6.8 Change-Id: Ib97103be492dd7df21ce6c76520fd9a67c0bbd37 Reviewed-by: Mitch Curtis <[email protected]>
* FluentWinUI3 Style: Add Check/Radio/SwitchDelegateDoris Verria2024-08-091-551/+95
| | | | | | | | | | | | | | Use existing assets for ItemDelegate and CheckBox, RadioButton, and Switch respectively. Factor out SwitchIndicator into separate component so that it can be shared by Switch/SwitchDelegate and use QML instead of images for switch indicator in order to support custom accent color Task-number: QTBUG-125279 Pick-to: 6.8 Change-Id: I738a655439ca07745968f4775d4e8c123329fa25 Reviewed-by: Mitch Curtis <[email protected]>
* FluentWinUI3: Regenerate Config after fixes in the stylegeneratorDoris Verria2024-07-011-472/+472
| | | | | | | | | Regenerate config after a fix in the stylegenerator tool which fixes the geometry calculations to not account for "invisible" strokes. Pick-to: 6.8 Change-Id: I58497b644068455153998314f69ee328bbe4e7a4 Reviewed-by: Richard Moe Gustavsen <[email protected]>
* FluentWinUI3 Style: Add PageIndicatorDoris Verria2024-07-011-0/+710
| | | | | | | Task-number: QTBUG-125279 Pick-to: 6.8 Change-Id: I5a7d791fa121a054bd6f4d3f375b17a05c8378c7 Reviewed-by: Mitch Curtis <[email protected]>
* Controls: replace Qt.styleHints with Application.styleHintsMitch Curtis2024-06-211-2/+2
| | | | | | | | | | | | | | 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: Add ToolBar/ToolButton controlDoris Verria2024-06-121-48/+1698
| | | | | | | Task-number: QTBUG-125279 Pick-to: 6.8 Change-Id: Id74e7ed3512327dcd8c7014a81fd81c24ec6f82b Reviewed-by: Mitch Curtis <[email protected]>
* FluentWinUI3 Style: Add SpinBoxDoris Verria2024-06-121-0/+2118
| | | | | | | Task-number: QTBUG-125279 Pick-to: 6.8 Change-Id: I0e7a985f16244e495b8e210553646b9d5a279378 Reviewed-by: Mitch Curtis <[email protected]>
* FluentWinUI3 Style: Add ComboBox controlDoris Verria2024-06-121-0/+3838
| | | | | | | Task-number: QTBUG-125279 Pick-to: 6.8 Change-Id: I2fc049a14b78f99da27e5c9e4312251e35f3f369 Reviewed-by: Richard Moe Gustavsen <[email protected]>
* FluentWinUI3: Regenerate Config file and images after design changesDoris Verria2024-06-121-766/+766
| | | | | | | | | | | | | | | | | | What changed: 1. Default height for buttons is 32 (from WinUI3 Figma design) 2. Radius for textfield is 4 (from WinUI3 Figma design) 3. Indeterminate progressbar doesn't have visible groove 4. TextArea/TextField paddings and height fixed according to guidelines 5. Geometry calculation was fixed in the stylegenerator tool to include strokes drawn outside the boundaries of the control. This means that some of the paddings, sizes, and coordinates may have changed. Pick-to: 6.8 Task-number: QTBUG-125279 Change-Id: I58df66b4adc022eb39a0b09554ef2348939a740e Reviewed-by: Richard Moe Gustavsen <[email protected]>
* FluentWinUI3 Style: Add Frame and GroupBoxDoris Verria2024-06-121-0/+760
| | | | | | | Pick-to: 6.8 Task-number: QTBUG-125279 Change-Id: Ic5d8f0f503fbbc0019546423ea6ab0ee8fb2d627 Reviewed-by: Richard Moe Gustavsen <[email protected]>
* FluentWinUI3 Style: Add TabBar/TabButton controlsDoris Verria2024-06-121-0/+1636
| | | | | | | | | | | | | Add TabBar/TabButton controls and fix tst_tabbar to: - take into account TabButton's background when calculating its expected width - most of the tests assume TabBar's paddings are 0, so explicitly set them to 0 Pick-to: 6.8 Task-number: QTBUG-125279 Change-Id: I0a68fc085baee250925f30dee6636ae71d17e82c Reviewed-by: Richard Moe Gustavsen <[email protected]>
* FluenWinUI3 Style: Add ItemDelegate controlDoris Verria2024-06-121-0/+758
| | | | | | | Pick-to: 6.8 Task-number: QTBUG-125279 Change-Id: Ic0a63950a5e2e2595bacd15e7bf4a188d5afa001 Reviewed-by: Mitch Curtis <[email protected]>
* FluentWinUI3 Style: Support accent color for Slider/RangeSlider trackDoris Verria2024-06-111-96/+0
| | | | | | | | | 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]>
* FluentWinUI3 Style: Add Popup controlDoris Verria2024-06-111-0/+80
| | | | | | | Pick-to: 6.8 Task-number: QTBUG-125279 Change-Id: I33193802a314c6d0b7fbf5df4a13286cdda90c37 Reviewed-by: Richard Moe Gustavsen <[email protected]>
* Rename Fluent style to FluentWinUI3Doris Verria2024-06-021-0/+9920
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]>