【光雅集】32

本贴最后更新于 1232 天前,其中的信息可能已经事过景迁

tt

import kivy  
   
# base Class of your App inherits from the App class.  
# app:always refers to the instance of your application   
from kivy.app import App 
   
# this restrict the kivy version i.e  
# below this kivy version you cannot  
# use the app or software  
kivy.require('1.9.0')
  
# Builder is used when .kv file is
# to be used in .py file
from kivy.lang import Builder
  
# The screen manager is a widget
# dedicated to managing multiple screens for your application.
from kivy.uix.screenmanager import (ScreenManager, Screen, NoTransition,
SlideTransition, CardTransition, SwapTransition,
FadeTransition, WipeTransition, FallOutTransition, RiseInTransition) 
   
# You can create your kv code in the Python file
Builder.load_string("""
<MyButton@Button>
    background_normal: ''
    background_color: 0,0,0,0
    font_name: './yahei.ttf'

<MenuScreen>:
    GridLayout:
        cols:8

        MyButton:  
            text: '乾'
  
        MyButton:
            text: '兑'
  
        MyButton:
            text: '离'
  
        MyButton:
            text: '震'
  
        MyButton:
            text: '巽'
  
        MyButton:
            text: '坎'
  
        MyButton:
            text: '艮'
  
        MyButton:
            text: '坤'

        Button:
            text: '1'
            on_release:
                root.manager.current = 'Screen1'
                root.manager.transition.direction = 'right'

        Button:
            text: '43'
            on_release:
                root.manager.current = 'Screen43'
                root.manager.transition.direction = 'left'

        Button:
            text: '14'
            on_release:
                root.manager.current = 'Screen14'
                root.manager.transition.direction = 'left'

        Button:
            text: '34'
            on_release:
                root.manager.current = 'Screen34'
                root.manager.transition.direction = 'left'

        Button:
            text: '9'
            on_release:
                root.manager.current = 'Screen9'
                root.manager.transition.direction = 'left'

        Button:
            text: '5'
            on_release:
                root.manager.current = 'Screen5'
                root.manager.transition.direction = 'left'

        Button:
            text: '26'
            on_release:
                root.manager.current = 'Screen26'
                root.manager.transition.direction = 'left'

        Button:
            text: '11'
            on_release:
                root.manager.current = 'Screen11'
                root.manager.transition.direction = 'left'

        Button:
            text: '10'
            on_release:
                root.manager.current = 'Screen10'
                root.manager.transition.direction = 'left'

        Button:
            text: '58'
            on_release:
                root.manager.current = 'Screen58'
                root.manager.transition.direction = 'left'

        Button:
            text: '38'
            on_release:
                root.manager.current = 'Screen38'
                root.manager.transition.direction = 'left'

        Button:
            text: '54'
            on_release:
                root.manager.current = 'Screen54'
                root.manager.transition.direction = 'left'

        Button:
            text: '61'
            on_release:
                root.manager.current = 'Screen61'
                root.manager.transition.direction = 'left'

        Button:
            text: '60'
            on_release:
                root.manager.current = 'Screen60'
                root.manager.transition.direction = 'left'

        Button:
            text: '41'
            on_release:
                root.manager.current = 'Screen41'
                root.manager.transition.direction = 'left'

        Button:
            text: '19'
            on_release:
                root.manager.current = 'Screen19'
                root.manager.transition.direction = 'left'

        Button:
            text: '13'
            on_release:
                root.manager.current = 'Screen13'
                root.manager.transition.direction = 'left'

        Button:
            text: '49'
            on_release:
                root.manager.current = 'Screen49'
                root.manager.transition.direction = 'left'

        Button:
            text: '30'
            on_release:
                root.manager.current = 'Screen30'
                root.manager.transition.direction = 'left'

        Button:
            text: '55'
            on_release:
                root.manager.current = 'Screen55'
                root.manager.transition.direction = 'left'

        Button:
            text: '37'
            on_release:
                root.manager.current = 'Screen37'
                root.manager.transition.direction = 'left'

        Button:
            text: '63'
            on_release:
                root.manager.current = 'Screen63'
                root.manager.transition.direction = 'left'

        Button:
            text: '22'
            on_release:
                root.manager.current = 'Screen22'
                root.manager.transition.direction = 'left'

        Button:
            text: '36'
            on_release:
                root.manager.current = 'Screen36'
                root.manager.transition.direction = 'left'

        Button:
            text: '25'
            on_release:
                root.manager.current = 'Screen25'
                root.manager.transition.direction = 'left'

        Button:
            text: '17'
            on_release:
                root.manager.current = 'Screen17'
                root.manager.transition.direction = 'left'

        Button:
            text: '21'
            on_release:
                root.manager.current = 'Screen21'
                root.manager.transition.direction = 'left'

        Button:
            text: '51'
            on_release:
                root.manager.current = 'Screen51'
                root.manager.transition.direction = 'left'

        Button:
            text: '42'
            on_release:
                root.manager.current = 'Screen42'
                root.manager.transition.direction = 'left'

        Button:
            text: '3'
            on_release:
                root.manager.current = 'Screen3'
                root.manager.transition.direction = 'left'

        Button:
            text: '27'
            on_release:
                root.manager.current = 'Screen27'
                root.manager.transition.direction = 'left'

        Button:
            text: '24'
            on_release:
                root.manager.current = 'Screen24'
                root.manager.transition.direction = 'left'

        Button:
            text: '44'
            on_release:
                root.manager.current = 'Screen44'
                root.manager.transition.direction = 'left'

        Button:
            text: '28'
            on_release:
                root.manager.current = 'Screen28'
                root.manager.transition.direction = 'left'

        Button:
            text: '50'
            on_release:
                root.manager.current = 'Screen50'
                root.manager.transition.direction = 'left'

        Button:
            text: '32'
            on_release:
                root.manager.current = 'Screen32'
                root.manager.transition.direction = 'left'

        Button:
            text: '57'
            on_release:
                root.manager.current = 'Screen57'
                root.manager.transition.direction = 'left'

        Button:
            text: '48'
            on_release:
                root.manager.current = 'Screen48'
                root.manager.transition.direction = 'left'

        Button:
            text: '18'
            on_release:
                root.manager.current = 'Screen18'
                root.manager.transition.direction = 'left'

        Button:
            text: '46'
            on_release:
                root.manager.current = 'Screen46'
                root.manager.transition.direction = 'left'

        Button:
            text: '6'
            on_release:
                root.manager.current = 'Screen6'
                root.manager.transition.direction = 'left'

        Button:
            text: '47'
            on_release:
                root.manager.current = 'Screen47'
                root.manager.transition.direction = 'left'

        Button:
            text: '64'
            on_release:
                root.manager.current = 'Screen64'
                root.manager.transition.direction = 'left'

        Button:
            text: '40'
            on_release:
                root.manager.current = 'Screen40'
                root.manager.transition.direction = 'left'

        Button:
            text: '59'
            on_release:
                root.manager.current = 'Screen59'
                root.manager.transition.direction = 'left'

        Button:
            text: '29'
            on_release:
                root.manager.current = 'Screen29'
                root.manager.transition.direction = 'left'

        Button:
            text: '4'
            on_release:
                root.manager.current = 'Screen4'
                root.manager.transition.direction = 'left'

        Button:
            text: '7'
            on_release:
                root.manager.current = 'Screen7'
                root.manager.transition.direction = 'left'

        Button:
            text: '33'
            on_release:
                root.manager.current = 'Screen33'
                root.manager.transition.direction = 'left'

        Button:
            text: '31'
            on_release:
                root.manager.current = 'Screen31'
                root.manager.transition.direction = 'left'

        Button:
            text: '56'
            on_release:
                root.manager.current = 'Screen56'
                root.manager.transition.direction = 'left'

        Button:
            text: '62'
            on_release:
                root.manager.current = 'Screen62'
                root.manager.transition.direction = 'left'

        Button:
            text: '53'
            on_release:
                root.manager.current = 'Screen53'
                root.manager.transition.direction = 'left'

        Button:
            text: '39'
            on_release:
                root.manager.current = 'Screen39'
                root.manager.transition.direction = 'left'

        Button:
            text: '52'
            on_release:
                root.manager.current = 'Screen52'
                root.manager.transition.direction = 'left'

        Button:
            text: '15'
            on_release:
                root.manager.current = 'Screen15'
                root.manager.transition.direction = 'left'

        Button:
            text: '12'
            on_release:
                root.manager.current = 'Screen12'
                root.manager.transition.direction = 'left'

        Button:
            text: '45'
            on_release:
                root.manager.current = 'Screen45'
                root.manager.transition.direction = 'left'

        Button:
            text: '35'
            on_release:
                root.manager.current = 'Screen35'
                root.manager.transition.direction = 'left'

        Button:
            text: '16'
            on_release:
                root.manager.current = 'Screen16'
                root.manager.transition.direction = 'left'

        Button:
            text: '20'
            on_release:
                root.manager.current = 'Screen20'
                root.manager.transition.direction = 'left'

        Button:
            text: '8'
            on_release:
                root.manager.current = 'Screen8'
                root.manager.transition.direction = 'left'

        Button:
            text: '23'
            on_release:
                root.manager.current = 'Screen23'
                root.manager.transition.direction = 'left'

        Button:
            text: '2'
            on_release:
                root.manager.current = 'Screen2'
                root.manager.transition.direction = 'left'
  
        MyButton:  
            text: '占卦'
  
        MyButton:
            text: ''
  
        MyButton:
            text: ''
  
        MyButton:
            text: ''
  
        MyButton:
            text: ''
  
        MyButton:
            text: ''
  
        MyButton:
            text: ''
  
        MyButton:
            text: '退出'
            on_press: app.stop() 


<Screen1>:
    BoxLayout:
        orientation: 'vertical'
        padding: [10,40,40,30]
        BoxLayout:
            size_hint_y: .3

            Label:
                text:'四月\\n立夏\\n蛇'
                font_name: './yahei.ttf'
                markup: True
            MyButton:
                text: '乾'
                font_size: 60   
                on_release:
                    root.manager.current = 'menu'
                    root.manager.transition.direction = 'right'
            MyButton:
                text: '困龙得水好运交\\n不由喜气上眉梢\\n一切谋望皆如意\\n向后时运渐渐高'
      
        BoxLayout:
  
            Image:
                id: 1
                source: '1.png'
                allow_stretch: False
            Label:
                text: '乾元亨利贞\\n\\n用九见群龙无首吉'
                font_name: './yahei.ttf'

        BoxLayout:
  
            BoxLayout:
                orientation: 'vertical'
                canvas:
                    Color:
                        rgba: 1,1,1,1
                    Rectangle:
                        size: 140, 10
                        pos: 140, 240
                    Rectangle:
                        size: 140, 10
                        pos: 140, 200
                    Rectangle:
                        size: 140, 10
                        pos: 140, 160
                    Rectangle:
                        size: 140, 10
                        pos: 140, 120
                    Rectangle:
                        size: 140, 10
                        pos: 140, 80
                    Rectangle:
                        size: 140, 10
                        pos: 140, 40
            BoxLayout:
                orientation: 'vertical'
      
                Label:
                    text: '上九亢龙有悔'
                    font_name: './yahei.ttf'
                Label:
                    text: '九五飞龙在天利见大人'
                    font_name: './yahei.ttf'
                Label:
                    text: '九四或跃在渊无咎'
                    font_name: './yahei.ttf'
                Label:
                    text: '九三君子终日乾乾夕惕若厉无咎'
                    font_name: './yahei.ttf'
                Label:
                    text: '九二见龙在田利见大人'
                    font_name: './yahei.ttf'
                Label:
                    text: '初九潜龙勿用'
                    font_name: './yahei.ttf'
  

<Screen43>:
    BoxLayout:
        orientation: 'vertical'
        padding: [10,40,40,30]
        BoxLayout:
            size_hint_y: .3

            Label:
                text:'三月\\n清明\\n龙'
                font_name: './yahei.ttf'
                markup: True
      
            Button:
                background_normal: ''
                background_color: 0,0,0,0
                text: '夬'
                font_size: 60
                font_name: './yahei.ttf'
  
                on_release:
                    root.manager.current = 'menu'
                    root.manager.transition.direction = 'right'
            Button:
                background_normal: ''
                background_color: 0,0,0,0
                text: ''
                font_name: './yahei.ttf'
      
        BoxLayout:
  
            Image:
                id: 43
                source: '43.png'
                allow_stretch: False
            Label:
                text: '夬揚于王庭孚號有厲告自邑不利即戎利有攸往'
                font_name: './yahei.ttf'
        BoxLayout:
  
            BoxLayout:
                orientation: 'vertical'
                canvas:
                    Color:
                        rgba: 1,1,1,1
                    Rectangle:
                        size: 60, 10
                        pos: 220, 240
                    Rectangle:
                        size: 60, 10
                        pos: 140, 240
                    Rectangle:
                        size: 140, 10
                        pos: 140, 200
                    Rectangle:
                        size: 140, 10
                        pos: 140, 160
                    Rectangle:
                        size: 140, 10
                        pos: 140, 120
                    Rectangle:
                        size: 140, 10
                        pos: 140, 80
                    Rectangle:
                        size: 140, 10
                        pos: 140, 40
            BoxLayout:
                orientation: 'vertical'
                Label:
                    text: '上六无号终有凶'
                    font_name: './yahei.ttf'
                Label:
                    text: '九五苋陆夬夬中行无咎'
                    font_name: './yahei.ttf'
                Label:
                    text: '九四臀无肤其行次且牵羊悔亡闻言不信'
                    font_name: './yahei.ttf'
                Label:
                    text: '九三壮于頄有凶君子夬夬独行遇雨若濡有愠无咎'
                    font_name: './yahei.ttf'
                Label:
                    text: '九二惕号莫夜有戎勿恤'
                    font_name: './yahei.ttf'
                Label:
                    text: '初九壮于前趾往不胜为咎'
                    font_name: './yahei.ttf'

<Screen14>:
    name: '14'
    BoxLayout:
        orientation: 'vertical'
        padding: [10,40,40,30]
        BoxLayout:
            size_hint_y: .3

            Label:
                text:'[b]00[/b]:00:00'
                font_name: './yahei.ttf'
                font_size: 60
                markup: True

            Button:
                background_normal: ''
                background_color: 0,0,0,0
                text: '大有'
                font_size: 60
                font_name: './yahei.ttf'
  
                on_release:
                    root.manager.current = 'menu'
                    root.manager.transition.direction = 'right'
            Button:
                background_normal: ''
                background_color: 0,0,0,0
                text: ''
                font_name: './yahei.ttf'
      
        BoxLayout:
  
            Image:
                id: 14
                source: '14.png'
                allow_stretch: False
            Label:
                text: '大有元亨'
                font_name: './yahei.ttf'
        BoxLayout:
  
            BoxLayout:
                orientation: 'vertical'
                canvas:
                    Color:
                        rgba: 1,1,1,1

                    Rectangle:
                        size: 140, 10
                        pos: 140, 240

                    Rectangle:
                        size: 60, 10
                        pos: 140, 200

                    Rectangle:
                        size: 60, 10
                        pos: 220, 200

                    Rectangle:
                        size: 140, 10
                        pos: 140, 160

                    Rectangle:
                        size: 140, 10
                        pos: 140, 120

                    Rectangle:
                        size: 140, 10
                        pos: 140, 80

                    Rectangle:
                        size: 140, 10
                        pos: 140, 40  
            BoxLayout:
                orientation: 'vertical'
                Label:
                    text: '上九自天祐之吉无不利'
                    font_name: './yahei.ttf'
                Label:
                    text: '六五厥孚交如威如吉'
                    font_name: './yahei.ttf'
                Label:
                    text: '九四匪其彭无咎'
                    font_name: './yahei.ttf'
                Label:
                    text: '九三公用亨于天子小人弗克'
                    font_name: './yahei.ttf'
                Label:
                    text: '九二大車以載有攸往无咎'
                    font_name: './yahei.ttf'
                Label:
                    text: '初九无交害匪咎艱則无咎'
                    font_name: './yahei.ttf'

<Screen34>:
    name: '34'

    BoxLayout:
        orientation: 'vertical'
        padding: [10,40,40,30]
        BoxLayout:
            size_hint_y: .3

            Label:
                text:'二月\\n惊蛰\\n兔'
                font_name: './yahei.ttf'
                markup: True

            Button:
                background_normal: ''
                background_color: 0,0,0,0
                text: '大壮'
                font_size: 60
                font_name: './yahei.ttf'
  
                on_release:
                    root.manager.current = 'menu'
                    root.manager.transition.direction = 'right'
            Button:
                background_normal: ''
                background_color: 0,0,0,0
                text: ''
                font_name: './yahei.ttf'
      
        BoxLayout:
  
            Image:
                id: 34
                source: '34.png'
                allow_stretch: False
            Label:
                text: '大壮利贞'
                font_name: './yahei.ttf'
        BoxLayout:
  
            BoxLayout:
                orientation: 'vertical'
                canvas:
                    Color:
                        rgba: 1,1,1,1

                    Rectangle:
                        size: 140, 10
                        pos: 140, 240

                    Rectangle:
                        size: 60, 10
                        pos: 140, 200

                    Rectangle:
                        size: 60, 10
                        pos: 220, 200

                    Rectangle:
                        size: 140, 10
                        pos: 140, 160

                    Rectangle:
                        size: 140, 10
                        pos: 140, 120

                    Rectangle:
                        size: 140, 10
                        pos: 140, 80

                    Rectangle:
                        size: 140, 10
                        pos: 140, 40  
            BoxLayout:
                orientation: 'vertical'
                Label:
                    text: '上六羝羊触藩不能退不能遂无攸利艰则吉'
                    font_name: './yahei.ttf'
                Label:
                    text: '六五丧羊于易无悔'
                    font_name: './yahei.ttf'
                Label:
                    text: '九四贞吉悔亡藩决不羸壮于大舆之輹'
                    font_name: './yahei.ttf'
                Label:
                    text: '九三小人用壮君子用罔贞厉羝羊触藩羸其角'
                    font_name: './yahei.ttf'
                Label:
                    text: '九二贞吉'
                    font_name: './yahei.ttf'
                Label:
                    text: '初九壮于趾征凶有孚'
                    font_name: './yahei.ttf'

<Screen9>:
    name: '9'

    BoxLayout:
        orientation: 'vertical'
        padding: [10,40,40,30]
        BoxLayout:
            size_hint_y: .3

            Label:
                text:''
                font_name: './yahei.ttf'
                font_size: 60
                markup: True

            Button:
                background_normal: ''
                background_color: 0,0,0,0
                text: '小畜'
                font_size: 60
                font_name: './yahei.ttf'
  
                on_release:
                    root.manager.current = 'menu'
                    root.manager.transition.direction = 'right'
            Button:
                background_normal: ''
                background_color: 0,0,0,0
                text: ''
                font_name: './yahei.ttf'
      
        BoxLayout:
  
            Image:
                id: 9
                source: '9.png'
                allow_stretch: False
            Label:
                text: '小畜亨密云不雨自我西郊'
                font_name: './yahei.ttf'
        BoxLayout:
  
            BoxLayout:
                orientation: 'vertical'
                canvas:
                    Color:
                        rgba: 1,1,1,1

                    Rectangle:
                        size: 140, 10
                        pos: 140, 240

                    Rectangle:
                        size: 60, 10
                        pos: 140, 200

                    Rectangle:
                        size: 60, 10
                        pos: 220, 200

                    Rectangle:
                        size: 140, 10
                        pos: 140, 160

                    Rectangle:
                        size: 140, 10
                        pos: 140, 120

                    Rectangle:
                        size: 140, 10
                        pos: 140, 80

                    Rectangle:
                        size: 140, 10
                        pos: 140, 40  
            BoxLayout:
                orientation: 'vertical'
                Label:
                    text: '上九既雨既处尚德载妇贞厉月几望君子征凶'
                    font_name: './yahei.ttf'
                Label:
                    text: '九五有孚挛如富以其邻'
                    font_name: './yahei.ttf'
                Label:
                    text: '六四有孚血去惕出无咎'
                    font_name: './yahei.ttf'
                Label:
                    text: '九三舆说辐夫妻反目'
                    font_name: './yahei.ttf'
                Label:
                    text: '九二牵复吉'
                    font_name: './yahei.ttf'
                Label:
                    text: '初九复自道何其咎吉'
                    font_name: './yahei.ttf'

<Screen5>:
    name: '5'

    BoxLayout:
        orientation: 'vertical'
        padding: [10,40,40,30]
        BoxLayout:
            size_hint_y: .3

            Label:
                text:''
                font_name: './yahei.ttf'
                font_size: 60
                markup: True

            Button:
                background_normal: ''
                background_color: 0,0,0,0
                text: '需'
                font_size: 60
                font_name: './yahei.ttf'
  
                on_release:
                    root.manager.current = 'menu'
                    root.manager.transition.direction = 'right'
            Button:
                background_normal: ''
                background_color: 0,0,0,0
                text: ''
                font_name: './yahei.ttf'
      
        BoxLayout:
  
            Image:
                id: 5
                source: '5.png'
                allow_stretch: False
            Label:
                text: '需有孚光亨贞吉利涉大川'
                font_name: './yahei.ttf'
        BoxLayout:
  
            BoxLayout:
                orientation: 'vertical'
                canvas:
                    Color:
                        rgba: 1,1,1,1

                    Rectangle:
                        size: 140, 10
                        pos: 140, 240

                    Rectangle:
                        size: 60, 10
                        pos: 140, 200

                    Rectangle:
                        size: 60, 10
                        pos: 220, 200

                    Rectangle:
                        size: 140, 10
                        pos: 140, 160

                    Rectangle:
                        size: 140, 10
                        pos: 140, 120

                    Rectangle:
                        size: 140, 10
                        pos: 140, 80

                    Rectangle:
                        size: 140, 10
                        pos: 140, 40  
            BoxLayout:
                orientation: 'vertical'
                Label:
                    text: '上六入于穴有不速之客三人来敬之终吉'
                    font_name: './yahei.ttf'
                Label:
                    text: '九五需于酒食贞吉'
                    font_name: './yahei.ttf'
                Label:
                    text: '六四需于血出自穴'
                    font_name: './yahei.ttf'
                Label:
                    text: '九三需于泥致寇至'
                    font_name: './yahei.ttf'
                Label:
                    text: '九二需于沙小有言终吉'
                    font_name: './yahei.ttf'
                Label:
                    text: '初九需于郊利用恒无咎'
                    font_name: './yahei.ttf'

<Screen26>:
    name: '26'

    BoxLayout:
        orientation: 'vertical'
        padding: [10,40,40,30]
        BoxLayout:
            size_hint_y: .3

            Label:
                text:''
                font_name: './yahei.ttf'
                font_size: 60
                markup: True

            Button:
                background_normal: ''
                background_color: 0,0,0,0
                text: '大畜'
                font_size: 60
                font_name: './yahei.ttf'
  
                on_release:
                    root.manager.current = 'menu'
                    root.manager.transition.direction = 'right'
            Button:
                background_normal: ''
                background_color: 0,0,0,0
                text: ''
                font_name: './yahei.ttf'
      
        BoxLayout:
  
            Image:
                id: 26
                source: '26.png'
                allow_stretch: False
            Label:
                text: '大畜利贞不家食吉利涉大川'
                font_name: './yahei.ttf'
        BoxLayout:
  
            BoxLayout:
                orientation: 'vertical'
                canvas:
                    Color:
                        rgba: 1,1,1,1

                    Rectangle:
                        size: 140, 10
                        pos: 140, 240

                    Rectangle:
                        size: 60, 10
                        pos: 140, 200

                    Rectangle:
                        size: 60, 10
                        pos: 220, 200

                    Rectangle:
                        size: 140, 10
                        pos: 140, 160

                    Rectangle:
                        size: 140, 10
                        pos: 140, 120

                    Rectangle:
                        size: 140, 10
                        pos: 140, 80

                    Rectangle:
                        size: 140, 10
                        pos: 140, 40  
            BoxLayout:
                orientation: 'vertical'
                Label:
                    text: '上九何天之衢亨'
                    font_name: './yahei.ttf'
                Label:
                    text: '六五豮豕之牙吉'
                    font_name: './yahei.ttf'
                Label:
                    text: '六四童牛之牿元吉'
                    font_name: './yahei.ttf'
                Label:
                    text: '九三良马逐利艰贞曰闲舆卫利有攸往'
                    font_name: './yahei.ttf'
                Label:
                    text: '九二舆说輹'
                    font_name: './yahei.ttf'
                Label:
                    text: '初九有厉利已'
                    font_name: './yahei.ttf'

<Screen11>:
    name: '11'

    BoxLayout:
        orientation: 'vertical'
        padding: [10,40,40,30]
        BoxLayout:
            size_hint_y: .3

            Label:
                text:''
                font_name: './yahei.ttf'
                font_size: 60
                markup: True

            Button:
                background_normal: ''
                background_color: 0,0,0,0
                text: '泰'
                font_size: 60
                font_name: './yahei.ttf'
  
                on_release:
                    root.manager.current = 'menu'
                    root.manager.transition.direction = 'right'
            Button:
                background_normal: ''
                background_color: 0,0,0,0
                text: ''
                font_name: './yahei.ttf'
      
        BoxLayout:
  
            Image:
                id: 11
                source: '11.png'
                allow_stretch: False
            Label:
                text: '泰小往大来吉亨'
                font_name: './yahei.ttf'
        BoxLayout:
  
            BoxLayout:
                orientation: 'vertical'
                canvas:
                    Color:
                        rgba: 1,1,1,1

                    Rectangle:
                        size: 140, 10
                        pos: 140, 240

                    Rectangle:
                        size: 60, 10
                        pos: 140, 200

                    Rectangle:
                        size: 60, 10
                        pos: 220, 200

                    Rectangle:
                        size: 140, 10
                        pos: 140, 160

                    Rectangle:
                        size: 140, 10
                        pos: 140, 120

                    Rectangle:
                        size: 140, 10
                        pos: 140, 80

                    Rectangle:
                        size: 140, 10
                        pos: 140, 40  
            BoxLayout:
                orientation: 'vertical'
                Label:
                    text: '上六城复于隍勿用师自邑告命贞吝'
                    font_name: './yahei.ttf'
                Label:
                    text: '六五帝乙归妹以祉元吉'
                    font_name: './yahei.ttf'
                Label:
                    text: '六四翩翩不富以其邻不戒以孚'
                    font_name: './yahei.ttf'
                Label:
                    text: '九三无平不陂无往不复艰贞无咎勿恤其孚于食有福'
                    font_name: './yahei.ttf'
                Label:
                    text: '九二包荒用冯河不遐遗朋亡得尚于中行'
                    font_name: './yahei.ttf'
                Label:
                    text: '初九拔茅茹以其汇征吉'
                    font_name: './yahei.ttf'

<Screen10>:
    name: '10'

    BoxLayout:
        orientation: 'vertical'
        padding: [10,40,40,30]
        BoxLayout:
            size_hint_y: .3

            Label:
                text:''
                font_name: './yahei.ttf'
                font_size: 60
                markup: True

            Button:
                background_normal: ''
                background_color: 0,0,0,0
                text: '履'
                font_size: 60
                font_name: './yahei.ttf'
  
                on_release:
                    root.manager.current = 'menu'
                    root.manager.transition.direction = 'right'
            Button:
                background_normal: ''
                background_color: 0,0,0,0
                text: ''
                font_name: './yahei.ttf'
      
        BoxLayout:
  
            Image:
                id: 10
                source: '10.png'
                allow_stretch: False
            Label:
                text: '履虎尾不咥人亨'
                font_name: './yahei.ttf'
        BoxLayout:
  
            BoxLayout:
                orientation: 'vertical'
                canvas:
                    Color:
                        rgba: 1,1,1,1

                    Rectangle:
                        size: 140, 10
                        pos: 140, 240

                    Rectangle:
                        size: 60, 10
                        pos: 140, 200

                    Rectangle:
                        size: 60, 10
                        pos: 220, 200

                    Rectangle:
                        size: 140, 10
                        pos: 140, 160

                    Rectangle:
                        size: 140, 10
                        pos: 140, 120

                    Rectangle:
                        size: 140, 10
                        pos: 140, 80

                    Rectangle:
                        size: 140, 10
                        pos: 140, 40  
            BoxLayout:
                orientation: 'vertical'
                Label:
                    text: '上九视履考祥其旋元吉'
                    font_name: './yahei.ttf'
                Label:
                    text: '九五夬履贞厉'
                    font_name: './yahei.ttf'
                Label:
                    text: '九四履虎尾愬愬终吉'
                    font_name: './yahei.ttf'
                Label:
                    text: '六三眇能视跛能履履虎尾咥人凶武人为于大君'
                    font_name: './yahei.ttf'
                Label:
                    text: '九二履道坦坦幽人贞吉'
                    font_name: './yahei.ttf'
                Label:
                    text: '初九素履往无咎'
                    font_name: './yahei.ttf'

<Screen58>:
    name: '58'

    BoxLayout:
        orientation: 'vertical'
        padding: [10,40,40,30]
        BoxLayout:
            size_hint_y: .3

            Label:
                text:''
                font_name: './yahei.ttf'
                font_size: 60
                markup: True

            Button:
                background_normal: ''
                background_color: 0,0,0,0
                text: '履'
                font_size: 60
                font_name: './yahei.ttf'
  
                on_release:
                    root.manager.current = 'menu'
                    root.manager.transition.direction = 'right'
            Button:
                background_normal: ''
                background_color: 0,0,0,0
                text: ''
                font_name: './yahei.ttf'
      
        BoxLayout:
  
            Image:
                id: 10
                source: '10.png'
                allow_stretch: False
            Label:
                text: '兑亨利贞'
                font_name: './yahei.ttf'
        BoxLayout:
  
            BoxLayout:
                orientation: 'vertical'
                canvas:
                    Color:
                        rgba: 1,1,1,1

                    Rectangle:
                        size: 140, 10
                        pos: 140, 240

                    Rectangle:
                        size: 60, 10
                        pos: 140, 200

                    Rectangle:
                        size: 60, 10
                        pos: 220, 200

                    Rectangle:
                        size: 140, 10
                        pos: 140, 160

                    Rectangle:
                        size: 140, 10
                        pos: 140, 120

                    Rectangle:
                        size: 140, 10
                        pos: 140, 80

                    Rectangle:
                        size: 140, 10
                        pos: 140, 40  
            BoxLayout:
                orientation: 'vertical'
                Label:
                    text: '上六引兑'
                    font_name: './yahei.ttf'
                Label:
                    text: '九五孚于剥有厉'
                    font_name: './yahei.ttf'
                Label:
                    text: '九四商兑未宁介疾有喜'
                    font_name: './yahei.ttf'
                Label:
                    text: '六三来兑凶'
                    font_name: './yahei.ttf'
                Label:
                    text: '九二孚兑吉悔亡'
                    font_name: './yahei.ttf'
                Label:
                    text: '初九和兑吉'
                    font_name: './yahei.ttf'

<Screen38>:
    name: '38'

    BoxLayout:
        orientation: 'vertical'
        padding: [10,40,40,30]
        BoxLayout:
            size_hint_y: .3

            Label:
                text:''
                font_name: './yahei.ttf'
                font_size: 60
                markup: True

            Button:
                background_normal: ''
                background_color: 0,0,0,0
                text: '睽'
                font_size: 60
                font_name: './yahei.ttf'
  
                on_release:
                    root.manager.current = 'menu'
                    root.manager.transition.direction = 'right'
            Button:
                background_normal: ''
                background_color: 0,0,0,0
                text: ''
                font_name: './yahei.ttf'
      
        BoxLayout:
  
            Image:
                id: 38
                source: '38.png'
                allow_stretch: False
            Label:
                text: '睽小事吉'
                font_name: './yahei.ttf'
        BoxLayout:
  
            BoxLayout:
                orientation: 'vertical'
                canvas:
                    Color:
                        rgba: 1,1,1,1

                    Rectangle:
                        size: 140, 10
                        pos: 140, 240

                    Rectangle:
                        size: 60, 10
                        pos: 140, 200

                    Rectangle:
                        size: 60, 10
                        pos: 220, 200

                    Rectangle:
                        size: 140, 10
                        pos: 140, 160

                    Rectangle:
                        size: 140, 10
                        pos: 140, 120

                    Rectangle:
                        size: 140, 10
                        pos: 140, 80

                    Rectangle:
                        size: 140, 10
                        pos: 140, 40  
            BoxLayout:
                orientation: 'vertical'
                Label:
                    text: '上九睽孤见豕负涂载鬼一车先张之弧后说之弧匪寇婚媾往遇雨则吉'
                    font_name: './yahei.ttf'
                Label:
                    text: '六五悔亡厥宗噬肤往何咎斋'
                    font_name: './yahei.ttf'
                Label:
                    text: '九四睽孤遇元夫交孚厉无咎'
                    font_name: './yahei.ttf'
                Label:
                    text: '六三见舆曳其牛掣其人天且劓无初有终'
                    font_name: './yahei.ttf'
                Label:
                    text: '九二遇主于巷无咎'
                    font_name: './yahei.ttf'
                Label:
                    text: '初九悔亡丧马勿逐自复见恶人无咎'
                    font_name: './yahei.ttf'

<Screen54>:
    name: '54'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen61>:
    name: '61'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen60>:
    name: '60'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen41>:
    name: '41'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen19>:
    name: '19'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen13>:
    name: '13'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen49>:
    name: '49'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen30>:
    name: '30'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen55>:
    name: '55'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen37>:
    name: '37'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen63>:
    name: '63'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen22>:
    name: '22'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen36>:
    name: '36'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen25>:
    name: '25'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen17>:
    name: '17'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen21>:
    name: '21'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen51>:
    name: '51'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen42>:
    name: '42'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen3>:
    name: '3'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen27>:
    name: '27'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen24>:
    name: '24'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen44>:
    name: '44'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen28>:
    name: '28'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen50>:
    name: '50'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen32>:
    name: '32'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen57>:
    name: '57'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen48>:
    name: '48'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen18>:
    name: '18'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen46>:
    name: '46'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen6>:
    name: '6'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen47>:
    name: '47'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen64>:
    name: '64'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen40>:
    name: '40'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen59>:
    name: '59'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen29>:
    name: '29'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen4>:
    name: '4'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen7>:
    name: '7'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen33>:
    name: '33'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen31>:
    name: '31'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen56>:
    name: '56'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen62>:
    name: '62'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen53>:
    name: '53'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen39>:
    name: '39'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen52>:
    name: '52'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen15>:
    name: '15'

    Button:
        text: 'menu'
        on_release:
            root.manager.current = 'menu'
            root.manager.transition.direction = 'right'

<Screen12>:
    name: '12'
    BoxLayout:
        orientation: 'vertical'
        padding: [10,40,40,30]
        BoxLayout:
            size_hint_y: .3

            Label:
                text:'[b]00[/b]:00:00'
      
                font_size: 60
                markup: True

            Button:
                background_normal: ''
                background_color: 0,0,0,0
                text: '否'
                font_size: 60
                font_name: './yahei.ttf'

                on_release:
                    root.manager.current = 'menu'
                    root.manager.transition.direction = 'right'
            Button:
                background_normal: ''
                background_color: 0,0,0,0
                text: ''
                font_name: './yahei.ttf'

        BoxLayout:

            Image:
                id: 12
                source: '12.png'
                allow_stretch: False
            Label:
                text: '否之匪人不利君子貞大往小來'
                font_name: './yahei.ttf'
        BoxLayout:

            BoxLayout:
                orientation: 'vertical'
                canvas:
                    Color:
                        rgba: 1,1,1,1

                    Rectangle:
                        size: 140, 10
                        pos: 140, 240

                    Rectangle:
                        size: 140, 10
                        pos: 140, 200

                    Rectangle:
                        size: 140, 10
                        pos: 140, 160
          
                    Rectangle:
                        size: 60, 10
                        pos: 140, 120
                    Rectangle:
                        size: 60, 10
                        pos: 220, 120

                    Rectangle:
                        size: 60, 10
                        pos: 140, 80
                    Rectangle:
                        size: 60, 10
                        pos: 220, 80

                    Rectangle:
                        size: 60, 10
                        pos: 140, 40
                    Rectangle:
                        size: 60, 10
                        pos: 220, 40
            BoxLayout:
                orientation: 'vertical'
                Label:
                    text: '上九傾否先否後喜'
                    font_name: './yahei.ttf'
                Label:
                    text: '九五休否大人吉其亡其亡繫于苞桑'
                    font_name: './yahei.ttf'
                Label:
                    text: '九四有命无咎疇離祉'
                    font_name: './yahei.ttf'
                Label:
                    text: '六三包羞'
                    font_name: './yahei.ttf'
                Label:
                    text: '六二包承小人吉大人否亨'
                    font_name: './yahei.ttf'
                Label:
                    text: '初六拔茅茹以其彙貞吉亨'
                    font_name: './yahei.ttf'

<Screen45>:
    name: '45'
    BoxLayout:
        orientation: 'vertical'
        padding: [10,40,40,30]
        BoxLayout:
            size_hint_y: .3

            Label:
                #text:'[b]00[/b]:00:00'
                text:'[b]00[/b]:00:00'
                font_size: 60
                markup: True

            Button:
                background_normal: ''
                background_color: 0,0,0,0
                text: '萃'
                font_size: 60
                font_name: './yahei.ttf'

                on_release:
                    root.manager.current = 'menu'
                    root.manager.transition.direction = 'right'
            Button:
                background_normal: ''
                background_color: 0,0,0,0
                text: ''
                font_name: './yahei.ttf'

        BoxLayout:

            Image:
                id: 45
                source: '45.png'
                allow_stretch: False
            Label:
                text: '萃亨王假有廟利見大人亨利貞用大牲吉利有攸往'
                font_name: './yahei.ttf'
        BoxLayout:

            BoxLayout:
                orientation: 'vertical'
                canvas:
                    Color:
                        rgba: 1,1,1,1

                    Rectangle:
                        size: 60, 10
                        pos: 140, 240
                    Rectangle:
                        size: 60, 10
                        pos: 220, 240

                    Rectangle:
                        size: 140, 10
                        pos: 140, 200

                    Rectangle:
                        size: 140, 10
                        pos: 140, 160

                    Rectangle:
                        size: 60, 10
                        pos: 140, 120
                    Rectangle:
                        size: 60, 10
                        pos: 220, 120

                    Rectangle:
                        size: 60, 10
                        pos: 140, 80
                    Rectangle:
                        size: 60, 10
                        pos: 220, 80

                    Rectangle:
                        size: 60, 10
                        pos: 140, 40
                    Rectangle:
                        size: 60, 10
                        pos: 220, 40
            BoxLayout:
                orientation: 'vertical'
                Label:
                    text: '上六齎咨涕洟无咎'
                    font_name: './yahei.ttf'
                Label:
                    text: '九五萃有位无咎匪孚元永貞悔亡'
                    font_name: './yahei.ttf'
                Label:
                    text: '九四大吉无咎'
                    font_name: './yahei.ttf'
                Label:
                    text: '六三萃如嗟如无攸利往无咎小吝'
                    font_name: './yahei.ttf'
                Label:
                    text: '六二引吉无咎孚乃利用禴'
                    font_name: './yahei.ttf'
                Label:
                    text: '初六有孚不終乃亂乃萃若號一握為笑勿恤往无咎'
                    font_name: './yahei.ttf'

<Screen35>:
    name: '35'
    BoxLayout:
        orientation: 'vertical'
        padding: [10,40,40,30]
        BoxLayout:
            size_hint_y: .3

            Label:
                #text:'[b]00[/b]:00:00'
                text:'[b]00[/b]:00:00'
                font_size: 60
                markup: True

            Button:
                background_normal: ''
                background_color: 0,0,0,0
                text: '晋'
                font_size: 60
                font_name: './yahei.ttf'

                on_release:
                    root.manager.current = 'menu'
                    root.manager.transition.direction = 'right'
            Button:
                background_normal: ''
                background_color: 0,0,0,0
                text: ''
                font_name: './yahei.ttf'

        BoxLayout:

            Image:
                id: 35
                source: '35.png'
                allow_stretch: False
            Label:
                text: '晉康侯用錫馬蕃庶晝日三接'
                font_name: './yahei.ttf'
        BoxLayout:

            BoxLayout:
                orientation: 'vertical'
                canvas:
                    Color:
                        rgba: 1,1,1,1

                    Rectangle:
                        size: 140, 10
                        pos: 140, 240

                    Rectangle:
                        size: 60, 10
                        pos: 140, 200
                    Rectangle:
                        size: 60, 10
                        pos: 220, 200

                    Rectangle:
                        size: 140, 10
                        pos: 140, 160

                    Rectangle:
                        size: 60, 10
                        pos: 140, 120
                    Rectangle:
                        size: 60, 10
                        pos: 220, 120

                    Rectangle:
                        size: 60, 10
                        pos: 140, 80
                    Rectangle:
                        size: 60, 10
                        pos: 220, 80

                    Rectangle:
                        size: 60, 10
                        pos: 140, 40
                    Rectangle:
                        size: 60, 10
                        pos: 220, 40
            BoxLayout:
                orientation: 'vertical'
                Label:
                    text: '上九晉其角維用伐邑厲吉无咎貞吝'
                    font_name: './yahei.ttf'
                Label:
                    text: '六五悔亡失得勿恤往吉无不利'
                    font_name: './yahei.ttf'
                Label:
                    text: '九四晉如鼫鼠貞厲'
                    font_name: './yahei.ttf'
                Label:
                    text: '六三眾允悔亡'
                    font_name: './yahei.ttf'
                Label:
                    text: '六二晉如愁如貞吉受茲介福于其王母'
                    font_name: './yahei.ttf'
                Label:
                    text: '初六晉如摧如貞吉罔孚裕无咎'
                    font_name: './yahei.ttf'

<Screen16>:
    name: '16'
    BoxLayout:
        orientation: 'vertical'
        padding: [10,40,40,30]
        BoxLayout:
            size_hint_y: .3

            Label:
                #text:'[b]00[/b]:00:00'
                text:'[b]00[/b]:00:00'
                font_size: 60
                markup: True

            Button:
                background_normal: ''
                background_color: 0,0,0,0
                text: '豫'
                font_size: 60
                font_name: './yahei.ttf'

                on_release:
                    root.manager.current = 'menu'
                    root.manager.transition.direction = 'right'
            Button:
                background_normal: ''
                background_color: 0,0,0,0
                text: ''
                font_name: './yahei.ttf'

        BoxLayout:

            Image:
                id: 16
                source: '16.png'
                allow_stretch: False
            Label:
                text: '豫利建侯行師'
                font_name: './yahei.ttf'
        BoxLayout:

            BoxLayout:
                orientation: 'vertical'
                canvas:
                    Color:
                        rgba: 1,1,1,1

                    Rectangle:
                        size: 60, 10
                        pos: 140, 240
                    Rectangle:
                        size: 60, 10
                        pos: 220, 240

                    Rectangle:
                        size: 60, 10
                        pos: 140, 200
                    Rectangle:
                        size: 60, 10
                        pos: 220, 200

                    Rectangle:
                        size: 140, 10
                        pos: 140, 160

                    Rectangle:
                        size: 60, 10
                        pos: 140, 120
                    Rectangle:
                        size: 60, 10
                        pos: 220, 120

                    Rectangle:
                        size: 60, 10
                        pos: 140, 80
                    Rectangle:
                        size: 60, 10
                        pos: 220, 80

                    Rectangle:
                        size: 60, 10
                        pos: 140, 40
                    Rectangle:
                        size: 60, 10
                        pos: 220, 40
            BoxLayout:
                orientation: 'vertical'
                Label:
                    text: '上六冥豫成有渝无咎'
                    font_name: './yahei.ttf'
                Label:
                    text: '六五貞疾恒不死'
                    font_name: './yahei.ttf'
                Label:
                    text: '九四由豫大有得勿疑朋盍簪'
                    font_name: './yahei.ttf'
                Label:
                    text: '六三盱豫悔遲有悔'
                    font_name: './yahei.ttf'
                Label:
                    text: '六二介于石不終日貞吉'
                    font_name: './yahei.ttf'
                Label:
                    text: '初六鳴豫凶'
                    font_name: './yahei.ttf'

<Screen20>:
    name: '20'
    BoxLayout:
        orientation: 'vertical'
        padding: [10,40,40,30]
        BoxLayout:
            size_hint_y: .3

            Label:
                #text:'[b]00[/b]:00:00'
                text:'[b]00[/b]:00:00'
                font_size: 60
                markup: True

            Button:
                background_normal: ''
                background_color: 0,0,0,0
                text: '观'
                font_size: 20
                font_name: './yahei.ttf'

                on_release:
                    root.manager.current = 'menu'
                    root.manager.transition.direction = 'right'
            Button:
                background_normal: ''
                background_color: 0,0,0,0
                text: ''
                font_name: './yahei.ttf'

        BoxLayout:

            Image:
                id: 20
                source: '20.png'
                allow_stretch: False
            Label:
                text: '觀盥而不薦有孚顒若'
                font_name: './yahei.ttf'
        BoxLayout:

            BoxLayout:
                orientation: 'vertical'
                canvas:
                    Color:
                        rgba: 1,1,1,1

                    Rectangle:
                        size: 140, 10
                        pos: 140, 240

                    Rectangle:
                        size: 140, 10
                        pos: 140, 200

                    Rectangle:
                        size: 60, 10
                        pos: 140, 160
                    Rectangle:
                        size: 60, 10
                        pos: 220, 160

                    Rectangle:
                        size: 60, 10
                        pos: 140, 120
                    Rectangle:
                        size: 60, 10
                        pos: 220, 120

                    Rectangle:
                        size: 60, 10
                        pos: 140, 80
                    Rectangle:
                        size: 60, 10
                        pos: 220, 80

                    Rectangle:
                        size: 60, 10
                        pos: 140, 40
                    Rectangle:
                        size: 60, 10
                        pos: 220, 40
            BoxLayout:
                orientation: 'vertical'
                Label:
                    text: '上九觀其生君子无咎'
                    font_name: './yahei.ttf'
                Label:
                    text: '九五觀我生君子无咎'
                    font_name: './yahei.ttf'
                Label:
                    text: '六四觀國之光利用賓于王'
                    font_name: './yahei.ttf'
                Label:
                    text: '六三觀我生進退'
                    font_name: './yahei.ttf'
                Label:
                    text: '六二闚觀利女貞'
                    font_name: './yahei.ttf'
                Label:
                    text: '初六童觀小人无咎君子吝'
                    font_name: './yahei.ttf'

<Screen8>:
    name: '8'
    BoxLayout:
        orientation: 'vertical'
        padding: [10,40,40,30]
        BoxLayout:
            size_hint_y: .3

            Label:
                #text:'[b]00[/b]:00:00'
                text:'[b]00[/b]:00:00'
                font_size: 60
                markup: True

            Button:
                background_normal: ''
                background_color: 0,0,0,0
                text: '比'
                font_size: 60
                font_name: './yahei.ttf'

                on_release:
                    root.manager.current = 'menu'
                    root.manager.transition.direction = 'right'
            Button:
                background_normal: ''
                background_color: 0,0,0,0
                text: ''
                font_name: './yahei.ttf'

        BoxLayout:

            Image:
                id: 8
                source: '8.png'
                allow_stretch: False
            Label:
                text: '比吉原筮元永貞无咎不寧方來後夫凶'
                font_name: './yahei.ttf'
        BoxLayout:

            BoxLayout:
                orientation: 'vertical'
                canvas:
                    Color:
                        rgba: 1,1,1,1

                    Rectangle:
                        size: 60, 10
                        pos: 140, 240
                    Rectangle:
                        size: 60, 10
                        pos: 220, 240

                    Rectangle:
                        size: 140, 10
                        pos: 140, 200
          
                    Rectangle:
                        size: 60, 10
                        pos: 140, 160
                    Rectangle:
                        size: 60, 10
                        pos: 220, 160

                    Rectangle:
                        size: 60, 10
                        pos: 140, 120
                    Rectangle:
                        size: 60, 10
                        pos: 220, 120

                    Rectangle:
                        size: 60, 10
                        pos: 140, 80
                    Rectangle:
                        size: 60, 10
                        pos: 220, 80

                    Rectangle:
                        size: 60, 10
                        pos: 140, 40
                    Rectangle:
                        size: 60, 10
                        pos: 220, 40
            BoxLayout:
                orientation: 'vertical'
                Label:
                    text: '上六比之无首凶'
                    font_name: './yahei.ttf'
                Label:
                    text: '九五顯比王用三驅失前禽邑人不誡吉'
                    font_name: './yahei.ttf'
                Label:
                    text: '六四外比之貞吉'
                    font_name: './yahei.ttf'
                Label:
                    text: '六三比之匪人'
                    font_name: './yahei.ttf'
                Label:
                    text: '六二比之自內貞吉'
                    font_name: './yahei.ttf'
                Label:
                    text: '初六有孚比之无咎有孚盈缶終來有它吉'
                    font_name: './yahei.ttf'

<Screen23>:
    name: '23'
    BoxLayout:
        orientation: 'vertical'
        padding: [10,40,40,30]
        BoxLayout:
            size_hint_y: .3

            Label:
                #text:'[b]00[/b]:00:00'
                text:'[b]00[/b]:00:00'
                font_size: 60
                markup: True

            Button:
                background_normal: ''
                background_color: 0,0,0,0
                text: '剥'
                font_size: 60
                font_name: './yahei.ttf'

                on_release:
                    root.manager.current = 'menu'
                    root.manager.transition.direction = 'right'
            Button:
                background_normal: ''
                background_color: 0,0,0,0
                text: ''
                font_name: './yahei.ttf'

        BoxLayout:

            Image:
                id: 23
                source: '23.png'
                allow_stretch: False
            Label:
                text: '剝不利有攸往'
                font_name: './yahei.ttf'
        BoxLayout:

            BoxLayout:
                orientation: 'vertical'
                canvas:
                    Color:
                        rgba: 1,1,1,1

                    Rectangle:
                        size: 140, 10
                        pos: 140, 240

                    Rectangle:
                        size: 60, 10
                        pos: 140, 200
                    Rectangle:
                        size: 60, 10
                        pos: 220, 200

                    Rectangle:
                        size: 60, 10
                        pos: 140, 160
                    Rectangle:
                        size: 60, 10
                        pos: 220, 160

                    Rectangle:
                        size: 60, 10
                        pos: 140, 120
                    Rectangle:
                        size: 60, 10
                        pos: 220, 120

                    Rectangle:
                        size: 60, 10
                        pos: 140, 80
                    Rectangle:
                        size: 60, 10
                        pos: 220, 80

                    Rectangle:
                        size: 60, 10
                        pos: 140, 40
                    Rectangle:
                        size: 60, 10
                        pos: 220, 40
            BoxLayout:
                orientation: 'vertical'
                Label:
                    text: '上九碩果不食君子得輿小人剝廬'
                    font_name: './yahei.ttf'
                Label:
                    text: '六五貫魚以宮人寵无不利'
                    font_name: './yahei.ttf'
                Label:
                    text: '六四剝床以膚凶'
                    font_name: './yahei.ttf'
                Label:
                    text: '六三剝之无咎'
                    font_name: './yahei.ttf'
                Label:
                    text: '六二剝床以辨蔑貞凶'
                    font_name: './yahei.ttf'
                Label:
                    text: '初六剝床以足蔑貞凶'
                    font_name: './yahei.ttf'

<Screen2>:
    BoxLayout:
        orientation: 'vertical'
        padding: [10,40,40,30]
        BoxLayout:
            size_hint_y: .3

            Label:
                #text:'[b]00[/b]:00:00'
                text:'[b]00[/b]:00:00'
                font_size: 60
                markup: True

            Button:
                background_normal: ''
                background_color: 0,0,0,0
                text: '坤'
                font_size: 60
                font_name: './yahei.ttf'

                on_release:
                    root.manager.current = 'menu'
                    root.manager.transition.direction = 'right'
            Button:
                background_normal: ''
                background_color: 0,0,0,0
                text: ''
                font_name: './yahei.ttf'

        BoxLayout:

            Image:
                id: 2
                source: '2.png'
                allow_stretch: False
            Label:
                text: '坤元亨利牝馬之貞君子有攸往先迷後得主利西南得朋東北喪朋安貞吉'
                font_name: './yahei.ttf'
        BoxLayout:

            BoxLayout:
                orientation: 'vertical'
                canvas:
                    Color:
                        rgba: 1,1,1,1

                    Rectangle:
                        size: 60, 10
                        pos: 140, 240
                    Rectangle:
                        size: 60, 10
                        pos: 220, 240

                    Rectangle:
                        size: 60, 10
                        pos: 140, 200
                    Rectangle:
                        size: 60, 10
                        pos: 220, 200

                    Rectangle:
                        size: 60, 10
                        pos: 140, 160
                    Rectangle:
                        size: 60, 10
                        pos: 220, 160

                    Rectangle:
                        size: 60, 10
                        pos: 140, 120
                    Rectangle:
                        size: 60, 10
                        pos: 220, 120

                    Rectangle:
                        size: 60, 10
                        pos: 140, 80
                    Rectangle:
                        size: 60, 10
                        pos: 220, 80

                    Rectangle:
                        size: 60, 10
                        pos: 140, 40
                    Rectangle:
                        size: 60, 10
                        pos: 220, 40
            BoxLayout:
                orientation: 'vertical'
                Label:
                    text: '上六龍戰于野其血玄黃'
                    font_name: './yahei.ttf'
                Label:
                    text: '六五黃裳元吉'
                    font_name: './yahei.ttf'
                Label:
                    text: '六四括囊无咎无譽'
                    font_name: './yahei.ttf'
                Label:
                    text: '六三含章可貞或從王事无成有終'
                    font_name: './yahei.ttf'
                Label:
                    text: '六二直方大不習无不利'
                    font_name: './yahei.ttf'
                Label:
                    text: '初六履霜堅冰至'
                    font_name: './yahei.ttf'
  
  
  
""")
   
# Create a class for all screens in which you can include
# helpful methods specific to that screen
class MenuScreen(Screen):
    pass

class Screen1(Screen):
    pass
   
class Screen43(Screen):
    pass

class Screen14(Screen):
    pass

class Screen34(Screen):
    pass

class Screen9(Screen):
    pass

class Screen5(Screen):
    pass

class Screen26(Screen):
    pass

class Screen11(Screen):
    pass

class Screen10(Screen):
    pass

class Screen58(Screen):
    pass

class Screen38(Screen):
    pass

class Screen54(Screen):
    pass

class Screen61(Screen):
    pass

class Screen60(Screen):
    pass

class Screen41(Screen):
    pass

class Screen19(Screen):
    pass

class Screen13(Screen):
    pass

class Screen49(Screen):
    pass

class Screen30(Screen):
    pass

class Screen55(Screen):
    pass

class Screen37(Screen):
    pass

class Screen63(Screen):
    pass

class Screen22(Screen):
    pass

class Screen36(Screen):
    pass

class Screen25(Screen):
    pass

class Screen17(Screen):
    pass

class Screen21(Screen):
    pass

class Screen51(Screen):
    pass

class Screen42(Screen):
    pass

class Screen3(Screen):
    pass

class Screen27(Screen):
    pass

class Screen24(Screen):
    pass

class Screen44(Screen):
    pass

class Screen28(Screen):
    pass

class Screen50(Screen):
    pass

class Screen32(Screen):
    pass

class Screen57(Screen):
    pass

class Screen48(Screen):
    pass

class Screen18(Screen):
    pass

class Screen46(Screen):
    pass

class Screen6(Screen):
    pass

class Screen47(Screen):
    pass

class Screen64(Screen):
    pass

class Screen40(Screen):
    pass

class Screen59(Screen):
    pass

class Screen29(Screen):
    pass

class Screen4(Screen):
    pass

class Screen7(Screen):
    pass

class Screen33(Screen):
    pass

class Screen31(Screen):
    pass

class Screen56(Screen):
    pass

class Screen62(Screen):
    pass

class Screen53(Screen):
    pass

class Screen39(Screen):
    pass

class Screen52(Screen):
    pass

class Screen15(Screen):
    pass

class Screen12(Screen):
    pass

class Screen45(Screen):
    pass

class Screen35(Screen):
    pass

class Screen16(Screen):
    pass

class Screen20(Screen):
    pass

class Screen8(Screen):
    pass

class Screen23(Screen):
    pass

class Screen2(Screen):
    pass
   
   
# The ScreenManager controls moving between screens
# You can change the transitions accorsingly
sm = ScreenManager(transition = RiseInTransition())
   
# Add the screens to the manager and then supply a name
# that is used to switch screens
sm.add_widget(MenuScreen(name ="menu"))
sm.add_widget(Screen1(name ="Screen1"))
sm.add_widget(Screen43(name='Screen43'))
sm.add_widget(Screen14(name='Screen14'))
sm.add_widget(Screen34(name='Screen34'))
sm.add_widget(Screen9(name='Screen9'))
sm.add_widget(Screen5(name='Screen5'))
sm.add_widget(Screen26(name='Screen26'))
sm.add_widget(Screen11(name='Screen11'))
sm.add_widget(Screen10(name='Screen10'))
sm.add_widget(Screen58(name='Screen58'))
sm.add_widget(Screen38(name='Screen38'))
sm.add_widget(Screen54(name='Screen54'))
sm.add_widget(Screen61(name='Screen61'))
sm.add_widget(Screen60(name='Screen60'))
sm.add_widget(Screen41(name='Screen41'))
sm.add_widget(Screen19(name='Screen19'))
sm.add_widget(Screen13(name='Screen13'))
sm.add_widget(Screen49(name='Screen49'))
sm.add_widget(Screen30(name='Screen30'))
sm.add_widget(Screen55(name='Screen55'))
sm.add_widget(Screen37(name='Screen37'))
sm.add_widget(Screen63(name='Screen63'))
sm.add_widget(Screen22(name='Screen22'))
sm.add_widget(Screen36(name='Screen36'))
sm.add_widget(Screen25(name='Screen25'))
sm.add_widget(Screen17(name='Screen17'))
sm.add_widget(Screen21(name='Screen21'))
sm.add_widget(Screen51(name='Screen51'))
sm.add_widget(Screen42(name='Screen42'))
sm.add_widget(Screen3(name='Screen3'))
sm.add_widget(Screen27(name='Screen27'))
sm.add_widget(Screen24(name='Screen24'))
sm.add_widget(Screen44(name='Screen44'))
sm.add_widget(Screen28(name='Screen28'))
sm.add_widget(Screen50(name='Screen50'))
sm.add_widget(Screen32(name='Screen32'))
sm.add_widget(Screen57(name='Screen57'))
sm.add_widget(Screen48(name='Screen48'))
sm.add_widget(Screen18(name='Screen18'))
sm.add_widget(Screen46(name='Screen46'))
sm.add_widget(Screen6(name='Screen6'))
sm.add_widget(Screen47(name='Screen47'))
sm.add_widget(Screen64(name='Screen64'))
sm.add_widget(Screen40(name='Screen40'))
sm.add_widget(Screen59(name='Screen59'))
sm.add_widget(Screen29(name='Screen29'))
sm.add_widget(Screen4(name='Screen4'))
sm.add_widget(Screen7(name='Screen7'))
sm.add_widget(Screen33(name='Screen33'))
sm.add_widget(Screen31(name='Screen31'))
sm.add_widget(Screen56(name='Screen56'))
sm.add_widget(Screen62(name='Screen62'))
sm.add_widget(Screen53(name='Screen53'))
sm.add_widget(Screen39(name='Screen39'))
sm.add_widget(Screen52(name='Screen52'))
sm.add_widget(Screen15(name='Screen15'))
sm.add_widget(Screen12(name='Screen12'))
sm.add_widget(Screen45(name='Screen45'))
sm.add_widget(Screen35(name='Screen35'))
sm.add_widget(Screen16(name='Screen16'))
sm.add_widget(Screen20(name='Screen20'))
sm.add_widget(Screen8(name='Screen8'))
sm.add_widget(Screen23(name='Screen23'))
sm.add_widget(Screen2(name='Screen2'))


# Create the App class
class GuaApp(App):
    def build(self):
        return sm
  
# run the app 
sample_app = GuaApp()
sample_app.run()

🙋
翠缕又点头笑了。还要拿几件东西要问,因想不起什么来,猛低头看见湘云宫绦上的金麒麟,便提起来,笑道:“姑娘,这个难道也有阴阳?”湘云道:“走兽飞禽,雄为阳,雌为阴;牝为阴,牡为阳:怎么没有呢。”翠缕道:“这是公的,还是母的呢?”湘云啐道:“什么‘公’的‘母’的!又胡说了。”翠缕道:“这也罢了,怎么东西都有阴阳,咱们人倒没有阴阳呢?”湘云沉了脸说道:“下流东西,好生走罢,越问越说出好的来了!”翠缕道:“这有什么不告诉我的呢?我也知道了,不用难我。”湘云“扑嗤”笑道:“你知道什么?”翠缕道:“姑娘是阳,我就是阴。”湘云拿着绢子掩着嘴笑起来。翠缕道:“说的是了,就笑的这么样?”湘云道:“很是,很是!”翠缕道:“人家说主子为阳,奴才为阴,我连这个大道理也不懂得?”湘云笑道:“你很懂得。”

  • 游戏

    沉迷游戏伤身,强撸灰飞烟灭。

    176 引用 • 815 回帖
2 操作
yangchaoyue 在 2021-07-08 09:41:42 更新了该帖
yangchaoyue 在 2021-07-07 16:15:17 更新了该帖

相关帖子

欢迎来到这里!

我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。

注册 关于
请输入回帖内容 ...

推荐标签 标签

  • 友情链接

    确认过眼神后的灵魂连接,站在链在!

    24 引用 • 373 回帖
  • RESTful

    一种软件架构设计风格而不是标准,提供了一组设计原则和约束条件,主要用于客户端和服务器交互类的软件。基于这个风格设计的软件可以更简洁,更有层次,更易于实现缓存等机制。

    30 引用 • 114 回帖 • 2 关注
  • 新人

    让我们欢迎这对新人。哦,不好意思说错了,让我们欢迎这位新人!
    新手上路,请谨慎驾驶!

    52 引用 • 228 回帖
  • Kafka

    Kafka 是一种高吞吐量的分布式发布订阅消息系统,它可以处理消费者规模的网站中的所有动作流数据。 这种动作(网页浏览,搜索和其他用户的行动)是现代系统中许多功能的基础。 这些数据通常是由于吞吐量的要求而通过处理日志和日志聚合来解决。

    36 引用 • 35 回帖
  • danl
    132 关注
  • 强迫症

    强迫症(OCD)属于焦虑障碍的一种类型,是一组以强迫思维和强迫行为为主要临床表现的神经精神疾病,其特点为有意识的强迫和反强迫并存,一些毫无意义、甚至违背自己意愿的想法或冲动反反复复侵入患者的日常生活。

    15 引用 • 161 回帖
  • 自由行
    10 关注
  • 博客

    记录并分享人生的经历。

    273 引用 • 2388 回帖
  • GitLab

    GitLab 是利用 Ruby 一个开源的版本管理系统,实现一个自托管的 Git 项目仓库,可通过 Web 界面操作公开或私有项目。

    46 引用 • 72 回帖
  • 工具

    子曰:“工欲善其事,必先利其器。”

    286 引用 • 729 回帖
  • Jenkins

    Jenkins 是一套开源的持续集成工具。它提供了非常丰富的插件,让构建、部署、自动化集成项目变得简单易用。

    53 引用 • 37 回帖
  • ZeroNet

    ZeroNet 是一个基于比特币加密技术和 BT 网络技术的去中心化的、开放开源的网络和交流系统。

    1 引用 • 21 回帖 • 638 关注
  • GitHub

    GitHub 于 2008 年上线,目前,除了 Git 代码仓库托管及基本的 Web 管理界面以外,还提供了订阅、讨论组、文本渲染、在线文件编辑器、协作图谱(报表)、代码片段分享(Gist)等功能。正因为这些功能所提供的便利,又经过长期的积累,GitHub 的用户活跃度很高,在开源世界里享有深远的声望,并形成了社交化编程文化(Social Coding)。

    209 引用 • 2031 回帖
  • 安装

    你若安好,便是晴天。

    132 引用 • 1184 回帖
  • HHKB

    HHKB 是富士通的 Happy Hacking 系列电容键盘。电容键盘即无接点静电电容式键盘(Capacitive Keyboard)。

    5 引用 • 74 回帖 • 471 关注
  • Dubbo

    Dubbo 是一个分布式服务框架,致力于提供高性能和透明化的 RPC 远程服务调用方案,是 [阿里巴巴] SOA 服务化治理方案的核心框架,每天为 2,000+ 个服务提供 3,000,000,000+ 次访问量支持,并被广泛应用于阿里巴巴集团的各成员站点。

    60 引用 • 82 回帖 • 595 关注
  • 黑曜石

    黑曜石是一款强大的知识库工具,支持本地 Markdown 文件编辑,支持双向链接和关系图。

    A second brain, for you, forever.

    15 引用 • 122 回帖
  • 正则表达式

    正则表达式(Regular Expression)使用单个字符串来描述、匹配一系列遵循某个句法规则的字符串。

    31 引用 • 94 回帖
  • Spring

    Spring 是一个开源框架,是于 2003 年兴起的一个轻量级的 Java 开发框架,由 Rod Johnson 在其著作《Expert One-On-One J2EE Development and Design》中阐述的部分理念和原型衍生而来。它是为了解决企业应用开发的复杂性而创建的。框架的主要优势之一就是其分层架构,分层架构允许使用者选择使用哪一个组件,同时为 JavaEE 应用程序开发提供集成的框架。

    944 引用 • 1459 回帖 • 17 关注
  • 30Seconds

    📙 前端知识精选集,包含 HTML、CSS、JavaScript、React、Node、安全等方面,每天仅需 30 秒。

    • 精选常见面试题,帮助您准备下一次面试
    • 精选常见交互,帮助您拥有简洁酷炫的站点
    • 精选有用的 React 片段,帮助你获取最佳实践
    • 精选常见代码集,帮助您提高打码效率
    • 整理前端界的最新资讯,邀您一同探索新世界
    488 引用 • 384 回帖 • 8 关注
  • 职场

    找到自己的位置,萌新烦恼少。

    127 引用 • 1705 回帖 • 1 关注
  • App

    App(应用程序,Application 的缩写)一般指手机软件。

    91 引用 • 384 回帖
  • 深度学习

    深度学习(Deep Learning)是机器学习的分支,是一种试图使用包含复杂结构或由多重非线性变换构成的多个处理层对数据进行高层抽象的算法。

    53 引用 • 40 回帖 • 2 关注
  • Chrome

    Chrome 又称 Google 浏览器,是一个由谷歌公司开发的网页浏览器。该浏览器是基于其他开源软件所编写,包括 WebKit,目标是提升稳定性、速度和安全性,并创造出简单且有效率的使用者界面。

    62 引用 • 289 回帖 • 1 关注
  • GitBook

    GitBook 使您的团队可以轻松编写和维护高质量的文档。 分享知识,提高团队的工作效率,让用户满意。

    3 引用 • 8 回帖 • 4 关注
  • 域名

    域名(Domain Name),简称域名、网域,是由一串用点分隔的名字组成的 Internet 上某一台计算机或计算机组的名称,用于在数据传输时标识计算机的电子方位(有时也指地理位置)。

    43 引用 • 208 回帖
  • abitmean

    有点意思就行了

    29 关注