tra-superscript/main.py

58 lines
1.3 KiB
Python
Raw Normal View History

2020-10-15 22:09:33 +00:00
from kivy.lang import Builder
2021-04-01 07:21:01 +00:00
from kivymd.uix.screen import Screen
from kivymd.uix.list import OneLineListItem, MDList, TwoLineListItem, ThreeLineListItem
from kivymd.uix.list import OneLineIconListItem, IconLeftWidget
from kivy.uix.scrollview import ScrollView
2020-11-02 22:49:12 +00:00
from kivy.uix.boxlayout import BoxLayout
from kivy.uix.screenmanager import ScreenManager, Screen
2021-04-01 07:21:01 +00:00
from kivy.uix.dropdown import DropDown
from kivy.uix.button import Button
from kivy.base import runTouchApp
from kivymd.uix.menu import MDDropdownMenu, MDMenuItem
2020-11-02 22:49:12 +00:00
from kivymd.app import MDApp
# import superscript as ss
2020-10-15 22:09:33 +00:00
2021-04-01 07:21:01 +00:00
# from tra_analysis import analysis as an
import data as d
from collections import defaultdict
import json
import math
import numpy as np
import os
from os import system, name
from pathlib import Path
from multiprocessing import Pool
import matplotlib.pyplot as plt
from concurrent.futures import ThreadPoolExecutor
import time
import warnings
# global exec_threads
# Screens
2020-10-15 22:09:33 +00:00
class HomeScreen(Screen):
2020-11-02 23:14:26 +00:00
pass
2020-11-02 22:49:12 +00:00
class SettingsScreen(Screen):
2020-11-02 23:14:26 +00:00
pass
2020-11-02 22:49:12 +00:00
class InfoScreen(Screen):
2020-11-02 23:14:26 +00:00
pass
2020-10-15 22:09:33 +00:00
2021-04-01 07:21:01 +00:00
class StatsScreen(Screen):
pass
2020-11-02 22:49:12 +00:00
class MyApp(MDApp):
2020-11-02 23:14:26 +00:00
def build(self):
self.theme_cls.primary_palette = "Red"
return Builder.load_file("design.kv")
2021-04-01 07:21:01 +00:00
def test():
print("test")
2020-11-02 22:49:12 +00:00
2020-10-15 22:09:33 +00:00
if __name__ == "__main__":
2020-11-02 23:14:26 +00:00
MyApp().run()