1// Copyright © SixtyFPS GmbH <info@slint.dev>
2// SPDX-License-Identifier: MIT
3
4import { Theme } from "theme.slint";
5import { SmallMain } from "small_main.slint";
6import { BarTileModel } from "widgets/widgets.slint";
7import { Images } from "images.slint";
8import { Theme } from "theme.slint";
9import { HeaderAdapter } from "blocks/blocks.slint";
10import { Navigation, MenuButton, Menu, Value } from "widgets/widgets.slint";
11import { BalanceAdapter, OverviewAdapter, UsageAdapter, WeatherAdapter, MenuPageAdapter, MenuOverviewAdapter, SettingsAdapter } from "pages/pages.slint";
12
13export { OverviewAdapter, UsageAdapter, Value, WeatherAdapter, MenuPageAdapter, MenuOverviewAdapter, SettingsAdapter,
14 BarTileModel, Images, HeaderAdapter }
15
16export 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}