Skip to content

Commit 80cd071

Browse files
authored
Add files via upload
Release 1.1.0
1 parent 06c1066 commit 80cd071

100 files changed

Lines changed: 16664 additions & 2 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

GUI/Dialog/__init__.py

Whitespace-only changes.
189 Bytes
Binary file not shown.
1.37 KB
Binary file not shown.
1.08 KB
Binary file not shown.

GUI/Dialog/icon/info_fill.bmp

156 KB
Binary file not shown.

GUI/Dialog/info_dialog.py

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# -*- coding: utf-8 -*-
2+
3+
###########################################################################
4+
## Python code generated with wxFormBuilder (version 3.10.1-0-g8feb16b3)
5+
## http://www.wxformbuilder.org/
6+
##
7+
## PLEASE DO *NOT* EDIT THIS FILE!
8+
###########################################################################
9+
10+
import wx
11+
import wx.xrc
12+
13+
###########################################################################
14+
## Class InfoDialog
15+
###########################################################################
16+
17+
class InfoDialog ( wx.Dialog ):
18+
19+
def __init__( self, parent ):
20+
wx.Dialog.__init__ ( self, parent, id = wx.ID_ANY, title = u"Info", pos = wx.DefaultPosition, size = wx.Size( 322,179 ), style = wx.DEFAULT_DIALOG_STYLE )
21+
22+
self.SetSizeHints( wx.DefaultSize, wx.DefaultSize )
23+
24+
bSizer5 = wx.BoxSizer( wx.VERTICAL )
25+
26+
self.content = wx.StaticText( self, wx.ID_ANY, u"Info Content", wx.DefaultPosition, wx.DefaultSize, 0 )
27+
self.content.Wrap( -1 )
28+
29+
bSizer5.Add( self.content, 1, wx.ALL|wx.EXPAND, 5 )
30+
31+
btn_yn = wx.StdDialogButtonSizer()
32+
self.btn_ynOK = wx.Button( self, wx.ID_OK )
33+
btn_yn.AddButton( self.btn_ynOK )
34+
btn_yn.Realize();
35+
36+
bSizer5.Add( btn_yn, 1, wx.EXPAND, 5 )
37+
38+
39+
self.SetSizer( bSizer5 )
40+
self.Layout()
41+
42+
self.Centre( wx.BOTH )
43+
44+
# Connect Events
45+
self.btn_ynOK.Bind( wx.EVT_BUTTON, self.exit )
46+
47+
def __del__( self ):
48+
pass
49+
50+
51+
# Virtual event handlers, override them in your derived class
52+
def exit( self, event ):
53+
event.Skip()
54+
55+

GUI/Dialog/info_dialog_trigger.py

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
import wx
2+
import wx.xrc
3+
from . import info_dialog
4+
import sys
5+
import os
6+
7+
def main():
8+
app = wx.App(False)
9+
page = PageEvent(None)
10+
page.Show(True)
11+
app.MainLoop()
12+
13+
class PageEvent(info_dialog.InfoDialog):
14+
15+
def __init__(self, parent):
16+
info_dialog.InfoDialog.__init__(self, parent)
17+
pass
18+
19+
def display(self, content):
20+
self.content.SetLabel(content)
21+
main()
22+
pass
23+
24+
def exit(self, event):
25+
self.Close()
26+
self.Destroy()
27+
28+
29+
30+
2.49 KB
Binary file not shown.

GUI/Export/export_category_page.py

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
# -*- coding: utf-8 -*-
2+
3+
###########################################################################
4+
## Python code generated with wxFormBuilder (version 3.10.1-0-g8feb16b3)
5+
## http://www.wxformbuilder.org/
6+
##
7+
## PLEASE DO *NOT* EDIT THIS FILE!
8+
###########################################################################
9+
10+
import wx
11+
import wx.xrc
12+
13+
###########################################################################
14+
## Class export_category
15+
###########################################################################
16+
17+
class export_category ( wx.Dialog ):
18+
19+
def __init__( self, parent ):
20+
wx.Dialog.__init__ ( self, parent, id = wx.ID_ANY, title = u"Export Category", pos = wx.DefaultPosition, size = wx.Size( 364,238 ), style = wx.DEFAULT_DIALOG_STYLE )
21+
22+
self.SetSizeHints( wx.DefaultSize, wx.DefaultSize )
23+
24+
bSizer1 = wx.BoxSizer( wx.VERTICAL )
25+
26+
self.m_staticText1 = wx.StaticText( self, wx.ID_ANY, u"Select a category you want to export", wx.DefaultPosition, wx.DefaultSize, 0 )
27+
self.m_staticText1.Wrap( -1 )
28+
29+
bSizer1.Add( self.m_staticText1, 0, wx.ALL, 5 )
30+
31+
btn_category_choices_listChoices = []
32+
self.btn_category_choices_list = wx.ComboBox( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, btn_category_choices_listChoices, 0 )
33+
bSizer1.Add( self.btn_category_choices_list, 0, wx.ALL|wx.EXPAND, 5 )
34+
35+
self.statictext2 = wx.StaticText( self, wx.ID_ANY, u"Select a location you want to save your export", wx.DefaultPosition, wx.DefaultSize, 0 )
36+
self.statictext2.Wrap( -1 )
37+
38+
bSizer1.Add( self.statictext2, 0, wx.ALL, 5 )
39+
40+
self.input_export_dst_display = wx.TextCtrl( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, wx.TE_READONLY )
41+
bSizer1.Add( self.input_export_dst_display, 0, wx.ALL|wx.EXPAND, 5 )
42+
43+
self.btn_choose_file = wx.Button( self, wx.ID_ANY, u"Choose Location", wx.DefaultPosition, wx.DefaultSize, 0 )
44+
bSizer1.Add( self.btn_choose_file, 0, wx.ALL, 5 )
45+
46+
btn_apply = wx.StdDialogButtonSizer()
47+
self.btn_applyApply = wx.Button( self, wx.ID_APPLY )
48+
btn_apply.AddButton( self.btn_applyApply )
49+
self.btn_applyCancel = wx.Button( self, wx.ID_CANCEL )
50+
btn_apply.AddButton( self.btn_applyCancel )
51+
btn_apply.Realize();
52+
53+
bSizer1.Add( btn_apply, 1, wx.EXPAND, 5 )
54+
55+
56+
self.SetSizer( bSizer1 )
57+
self.Layout()
58+
59+
self.Centre( wx.BOTH )
60+
61+
# Connect Events
62+
self.Bind( wx.EVT_INIT_DIALOG, self.init_data )
63+
self.btn_choose_file.Bind( wx.EVT_BUTTON, self.open_file_picker )
64+
self.btn_applyApply.Bind( wx.EVT_BUTTON, self.export_category )
65+
self.btn_applyCancel.Bind( wx.EVT_BUTTON, self.close_window )
66+
67+
def __del__( self ):
68+
pass
69+
70+
71+
# Virtual event handlers, override them in your derived class
72+
def init_data( self, event ):
73+
event.Skip()
74+
75+
def open_file_picker( self, event ):
76+
event.Skip()
77+
78+
def export_category( self, event ):
79+
event.Skip()
80+
81+
def close_window( self, event ):
82+
event.Skip()
83+
84+

GUI/Others/Icon/logo.bmp

39.1 KB
Binary file not shown.

0 commit comments

Comments
 (0)