mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-30 07:07:25 +00:00

These are showing off use-cases for Slint, but they're not examples showing individual Slint features. Also removed the old printerdemo while at it.
26 lines
No EOL
988 B
Text
26 lines
No EOL
988 B
Text
// Copyright © SixtyFPS GmbH <info@slint.dev>
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
import { Theme } from "theme.slint";
|
|
import { SmallMain } from "small_main.slint";
|
|
import { BarTileModel } from "widgets/widgets.slint";
|
|
import { Images } from "images.slint";
|
|
import { Theme } from "theme.slint";
|
|
import { HeaderAdapter } from "blocks/blocks.slint";
|
|
import { Navigation, MenuButton, Menu, Value } from "widgets/widgets.slint";
|
|
import { BalanceAdapter, OverviewAdapter, UsageAdapter, WeatherAdapter, MenuPageAdapter, MenuOverviewAdapter, SettingsAdapter } from "pages/pages.slint";
|
|
|
|
export { OverviewAdapter, UsageAdapter, Value, WeatherAdapter, MenuPageAdapter, MenuOverviewAdapter, SettingsAdapter,
|
|
BarTileModel, Images, HeaderAdapter }
|
|
|
|
export component MainWindow inherits Window {
|
|
title: "EnergyMNG Demo";
|
|
min-width: 320px;
|
|
min-height: 240px;
|
|
background: Theme.palette.pure-black;
|
|
|
|
SmallMain {
|
|
preferred-width: 100%;
|
|
preferred-height: 100%;
|
|
}
|
|
} |