mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 02:39:28 +00:00
Widget style: simplify -light/-dark handling
Instead of having all style duplicated and re-using a base, we just hack into the funciton that queries the dark/light theme based on the style suffix known at compile time. This removes one of the problem that happens when trying to work on the widget style with the extension, as it relies on include path hacks
This commit is contained in:
parent
9bdade0105
commit
686f5e43e2
174 changed files with 262 additions and 385 deletions
|
@ -1,4 +1,25 @@
|
|||
// Copyright © SixtyFPS GmbH <info@slint.dev>
|
||||
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0
|
||||
|
||||
export * from "../fluent-base/std-widgets-base.slint";
|
||||
// cSpell: ignore standardbutton
|
||||
|
||||
export { AboutSlint } from "../common/common.slint";
|
||||
export { StandardButton } from "../common/standardbutton.slint";
|
||||
export { StyleMetrics, ScrollView, Button, Palette } from "std-widgets-impl.slint";
|
||||
|
||||
export { CheckBox } from "checkbox.slint";
|
||||
export { ComboBox } from "combobox.slint";
|
||||
export { GroupBox } from "groupbox.slint";
|
||||
export { LineEdit } from "lineedit.slint";
|
||||
export { ListView, StandardListView } from "../common/listview.slint";
|
||||
export { ProgressIndicator } from "progressindicator.slint";
|
||||
export { Slider } from "slider.slint";
|
||||
export { SpinBox } from "spinbox.slint";
|
||||
export { Spinner } from "spinner.slint";
|
||||
export { TabWidgetImpl, TabImpl, TabBarImpl, TabWidget } from "tabwidget.slint";
|
||||
export { VerticalBox, HorizontalBox, GridBox } from "layouts.slint";
|
||||
export { Switch } from "switch.slint";
|
||||
export { TextEdit } from "textedit.slint";
|
||||
export { TimePickerPopup, Time } from "time-picker.slint";
|
||||
export { DatePickerPopup, Date } from "datepicker.slint";
|
||||
export * from "tableview.slint";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue