Exemplo n.º 1
0
    def __init__(self):
        self.큰바 = Object.Box(Point(0, 300), Point(1400, 100), Color.c2,
                             "추가.큰바")
        self.창바 = Object.Box(Point(600, 300), Point(600, 400), Color.c2,
                             "추가.창바")
        self.작은바 = Object.Box(Point(600, 300), Point(600, 100), Color.c3,
                              "추가.작은바")
        self.설명글 = Object.TextOnlyButton(Point(0, 300), Point(600, 100),
                                         "추가.설명글", Text("먼저, 년도를 입력하세요", None))

        self.날자범위 = Object.ClickBox(Point(600, 300), Point(600, 100),
                                    "추가.날자범위")
        self.금액범위 = Object.ClickBox(Point(600, 400), Point(600, 100),
                                    "추가.금액범위")
        self.태그범위 = Object.ClickBox(Point(600, 500), Point(600, 100),
                                    "추가.태그범위")
        self.내용범위 = Object.ClickBox(Point(600, 600), Point(600, 100),
                                    "추가.내용범위")

        self.날자 = Object.TextOnlyButton(Point(600, 300), Point(100, 100),
                                        "추가.날자", Text("날자", None))
        self.금액 = Object.TextOnlyButton(Point(600, 400), Point(100, 100),
                                        "추가.금액", Text("금액", None))
        self.태그 = Object.TextOnlyButton(Point(600, 500), Point(100, 100),
                                        "추가.태그", Text("태그", None))
        self.내용 = Object.TextOnlyButton(Point(600, 600), Point(100, 100),
                                        "추가.내용", Text("내용", None))
        self.날자글 = Object.TextOnlyButton(Point(700, 300), Point(500, 100),
                                         "추가.날자글", Text(""))
        self.금액글 = Object.TextOnlyButton(Point(700, 400), Point(500, 100),
                                         "추가.금액글", Text(""))
        self.태그글 = Object.TextOnlyButton(Point(700, 500), Point(500, 100),
                                         "추가.태그글", Text(""))
        self.내용글 = Object.TextOnlyButton(Point(700, 600), Point(500, 100),
                                         "추가.내용글", Text(""))
Exemplo n.º 2
0
    def __init__(self):
        """ """
        self.큰바 = Object.Box(Point(0, 300), Point(1400, 100), Color.c2,
                             "내역.큰바")
        self.창바 = Object.Box(Point(500, 300), Point(700, 400), Color.c2,
                             "내역.창바")
        self.작은바 = Object.Box(Point(500, 300), Point(700, 100), Color.c3,
                              "내역.작은바")

        self.이전글 = Object.TextOnlyButton(Point(0, 300), Point(500, 100),
                                         "내역.이전글", Text("테스트테스트테스트", None))
        self.다음글 = Object.TextOnlyButton(Point(1200, 300), Point(200, 100),
                                         "내역.다음글", Text("테스트테스트", None))

        self.날자 = Object.TextOnlyButton(Point(500, 300), Point(100, 100),
                                        "내역.날자", Text("날자", None))
        self.금액 = Object.TextOnlyButton(Point(500, 400), Point(100, 100),
                                        "내역.금액", Text("금액", None))
        self.태그 = Object.TextOnlyButton(Point(500, 500), Point(100, 100),
                                        "내역.태그", Text("태그", None))
        self.내용 = Object.TextOnlyButton(Point(500, 600), Point(100, 100),
                                        "내역.내용", Text("내용", None))

        self.날자범위 = Object.ClickBox(Point(500, 300), Point(700, 100),
                                    "내역.날자범위")
        self.금액범위 = Object.ClickBox(Point(500, 400), Point(700, 100),
                                    "내역.금액범위")
        self.태그범위 = Object.ClickBox(Point(500, 500), Point(700, 100),
                                    "내역.태그범위")
        self.내용범위 = Object.ClickBox(Point(500, 600), Point(700, 100),
                                    "내역.내용범위")

        self.날자글 = Object.TextOnlyButton(Point(600, 300), Point(600, 100),
                                         "내역.날자글", Text("테스트테스트테스트테스트"))
        self.금액글 = Object.TextOnlyButton(Point(600, 400), Point(600, 100),
                                         "내역.금액글", Text("테스트테스트테스트테스트"))
        self.태그글 = Object.TextOnlyButton(Point(600, 500), Point(600, 100),
                                         "내역.태그글", Text("테스트테스트테스트테스트"))
        self.내용글 = Object.TextOnlyButton(Point(600, 600), Point(600, 100),
                                         "내역.내용글", Text("테스트테스트테스트테스트"))

        datass = data.Data()
        datass.MakeViewData("날자")
        datas = datass.MakeList()
        self.이전글.text.text = datas[0]
        self.다음글.text.text = datas[2]
        self.날자글.text.text = datas[1]["날자"]
        self.금액글.text.text = datas[1]["금액"]
        self.태그글.text.text = datas[1]["태그"]
        self.내용글.text.text = datas[1]["내용"]
Exemplo n.º 3
0
 def __init__(self):
     self.메인 = Object.iButton(Point(0, 0), Point(100, 100), Object.Color.c1,
                              "메인.메인", "icon_graph.png")
     self.내역 = Object.iButton(Point(100, 0), Point(100, 100),
                              Object.Color.c1, "메인.내역", "icon_view.png")
     self.추가 = Object.iButton(Point(200, 0), Point(100, 100),
                              Object.Color.c1, "메인.추가", "icon_plus.png")
     self.빈공간 = Object.Box(Point(300, 0), Point(1000, 100), Object.Color.c2,
                           "메인.빈공간")
     self.종료 = Object.iButton(Point(1300, 0), Point(100, 100),
                              Object.Color.c5, "메인.종료", "icon_exit.png")
     self.상태바 = Object.Label(Point(0, 100), Point(1400, 100),
                             Object.Color.c7, "메인.상태바", Text("개발중"))
     self.배경가림 = Object.Box(Point(0, 200), Point(1400, 550),
                            Object.Color.c7, "메인.배경가림")
Exemplo n.º 4
0
    def __init__(self):
        self.창바라인 = Object.Box(Point(396, 196), Point(608, 308), Color.c4,
                               "경고창.창바")
        self.창바 = Object.Label(Point(400, 200), Point(600, 300), Color.c2,
                               "경고창.창바", Text("m12버전입니다.", None))
        self.제목바 = Object.Label(Point(400, 200), Point(600, 100), Color.c3,
                                "경고창.제목창", Text("알림", None, "24 bold"))
        self.확인버튼 = Object.iButton(Point(800, 400), Point(100, 100), Color.c6,
                                   "경고창.확인버튼", "icon_yes.png")
        self.취소버튼 = Object.iButton(Point(900, 400), Point(100, 100), Color.c6,
                                   "경고창.취소버튼", "icon_no.png")

        self.__sw = 0
Exemplo n.º 5
0
 def __init__(self):
     self.아래바 = Object.Box(Point(0, 600), Point(1400, 100), Object.Color.c2,
                           "그래프.아래바")
     self.전체바 = Object.Box(Point(100, 300), Point(100, 400),
                           Object.Color.c3, "그래프.전체바")
     self.첫바 = Object.Box(Point(400, 300), Point(100, 300), Object.Color.c3,
                          "그래프.첫바")
     self.둘바 = Object.Box(Point(600, 300), Point(100, 300), Object.Color.c3,
                          "그래프.둘바")
     self.삼바 = Object.Box(Point(800, 300), Point(100, 300), Object.Color.c3,
                          "그래프.삼바")
     self.넷바 = Object.Box(Point(1000, 300), Point(100, 300),
                          Object.Color.c3, "그래프.셋바")
     self.오바 = Object.Box(Point(1200, 300), Point(100, 300),
                          Object.Color.c3, "그래프.오바")
     self.전체이름 = Object.Label(Point(100, 600), Point(100, 100),
                              Object.Color.c3, " 그래프.전체이름",
                              Text("전체\n100%", None))
     self.첫이름 = Object.Label(Point(400, 600), Point(100, 100),
                             Object.Color.c3, " 그래프.첫이름", Text("전체", None))
     self.둘이름 = Object.Label(Point(600, 600), Point(100, 100),
                             Object.Color.c3, " 그래프.둘이름", Text("전체", None))
     self.삼이름 = Object.Label(Point(800, 600), Point(100, 100),
                             Object.Color.c3, " 그래프.삼이름", Text("전체", None))
     self.넷이름 = Object.Label(Point(1000, 600), Point(100, 100),
                             Object.Color.c3, " 그래프.넷이름", Text("전체", None))
     self.오이름 = Object.Label(Point(1200, 600), Point(100, 100),
                             Object.Color.c3, " 그래프.오이름", Text("전체", None))
     self.전체그래프 = Object.Box(Point(100, 300), Point(100, 300),
                             Object.Color.c2, "그래프.전체그래프")
     self.첫그래프 = Object.Box(Point(400, 300), Point(100, 300),
                            Object.Color.c2, "그래프.첫그래프")
     self.둘그래프 = Object.Box(Point(600, 300), Point(100, 300),
                            Object.Color.c2, "그래프.둘그래프")
     self.삼그래프 = Object.Box(Point(800, 300), Point(100, 300),
                            Object.Color.c2, "그래프.삼그래프")
     self.넷그래프 = Object.Box(Point(1000, 300), Point(100, 300),
                            Object.Color.c2, "그래프.넷그래프")
     self.오그래프 = Object.Box(Point(1200, 300), Point(100, 300),
                            Object.Color.c2, "그래프.오그래프")