1 | // Copyright © SixtyFPS GmbH <info@slint.dev> |
2 | // SPDX-License-Identifier: MIT |
3 | |
4 | import { Theme } from "theme.slint" ; |
5 | import { SmallMain } from "small_main.slint" ; |
6 | import { BarTileModel } from "widgets/widgets.slint" ; |
7 | import { Images } from "images.slint" ; |
8 | import { Theme } from "theme.slint" ; |
9 | import { HeaderAdapter } from "blocks/blocks.slint" ; |
10 | import { Navigation, MenuButton, Menu, Value } from "widgets/widgets.slint" ; |
11 | import { BalanceAdapter, OverviewAdapter, UsageAdapter, WeatherAdapter, MenuPageAdapter, MenuOverviewAdapter, SettingsAdapter } from "pages/pages.slint" ; |
12 | |
13 | export { OverviewAdapter, UsageAdapter, Value, WeatherAdapter, MenuPageAdapter, MenuOverviewAdapter, SettingsAdapter, |
14 | BarTileModel, Images, HeaderAdapter } |
15 | |
16 | export component MainWindow inherits Window { |
17 | title: "EnergyMNG Demo" ; |
18 | min-width: 320px; |
19 | min-height: 240px; |
20 | background: Theme.palette.pure-black; |
21 | |
22 | SmallMain { |
23 | preferred-width: 100%; |
24 | preferred-height: 100%; |
25 | } |
26 | } |