Skip to content

Commit

Permalink
删除与核心功能无关的工具
Browse files Browse the repository at this point in the history
  • Loading branch information
cforth committed May 10, 2019
1 parent 813822a commit dfad46e
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 627 deletions.
24 changes: 0 additions & 24 deletions CryptoApp.pyw
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ import tkinter.messagebox as messagebox
import TextLook
import ImgLook
import Cryptor
import FileSplit
import RandomPassword
import MD5Generate


class RootWindow(ttk.Frame):
Expand All @@ -22,9 +19,6 @@ class RootWindow(ttk.Frame):
option_menu = tk.Menu(self.menubar, tearoff=0)
option_menu.add_command(label="文本查看", command=self.text_look)
option_menu.add_command(label="图片查看", command=self.img_look)
option_menu.add_command(label="随机密码", command=self.random_password)
option_menu.add_command(label="文件分割", command=self.file_split)
option_menu.add_command(label="MD5值", command=self.md5_gen)
option_menu.add_command(label="加密解密", command=self.crypto)
option_menu.add_separator()
option_menu.add_command(label="退出", command=self.quit_program)
Expand Down Expand Up @@ -64,24 +58,6 @@ class RootWindow(ttk.Frame):
self.master.title("图片查看器")
self.master.minsize(600, 600)

def random_password(self):
self.clear_window()
self.ChildWindow = RandomPassword.Window("RandomPasswordUI.json", self)
self.master.title("随机密码生成器")
self.master.minsize(600, 30)

def file_split(self):
self.clear_window()
self.ChildWindow = FileSplit.Window("FileSplitUI.json", self)
self.master.title("文件分割合并器")
self.master.minsize(600, 30)

def md5_gen(self):
self.clear_window()
self.ChildWindow = MD5Generate.Window("MD5GenerateUI.json")
self.master.title("MD5值生成器")
self.master.minsize(600, 30)

def crypto(self):
self.clear_window()
self.ChildWindow = Cryptor.Window(self)
Expand Down
86 changes: 0 additions & 86 deletions FileSplit.py

This file was deleted.

70 changes: 0 additions & 70 deletions FileSplitUI.json

This file was deleted.

4 changes: 3 additions & 1 deletion ImgLook.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import io
import os
import logging
import tkinter as tk
import tkinter.ttk as ttk
import tkinter.filedialog as filedialog
import tkinter.messagebox as tkmessagebox
from libs.json2gui import *
from libs.CFCrypto import ByteCrypto, StringCrypto
from libs.CFCanvas import CFCanvas
from libs.Util import set_combobox_item

logging.basicConfig(level=logging.INFO)

Expand Down
119 changes: 0 additions & 119 deletions MD5Generate.py

This file was deleted.

45 changes: 0 additions & 45 deletions MD5GenerateUI.json

This file was deleted.

Loading

0 comments on commit dfad46e

Please sign in to comment.