Skip to content

Commit

Permalink
first release
Browse files Browse the repository at this point in the history
  • Loading branch information
blackboxo committed Feb 16, 2020
1 parent c857aa1 commit 0140253
Show file tree
Hide file tree
Showing 9 changed files with 421 additions and 79 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
__pycache__/
dist/
build/
2 changes: 1 addition & 1 deletion autodelete.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ def __init__(self, parent=None):
app = QApplication(sys.argv)
myWin = MyWindow()
myWin.show()
sys.exit(app.exec())
sys.exit(app.exec_())
33 changes: 33 additions & 0 deletions autodelete.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# -*- mode: python ; coding: utf-8 -*-

block_cipher = None


a = Analysis(['autodelete.py'],
pathex=['C:\\Project\\AutoDeleteFileOnPCWechat'],
binaries=[],
datas=[],
hiddenimports=[],
hookspath=[],
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=False)
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)
exe = EXE(pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
[],
name='autodelete',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
console=False , icon='icon.ico')
156 changes: 89 additions & 67 deletions autodelete.ui
Original file line number Diff line number Diff line change
Expand Up @@ -6,34 +6,35 @@
<rect>
<x>0</x>
<y>0</y>
<width>427</width>
<height>175</height>
<width>450</width>
<height>232</height>
</rect>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QGridLayout" name="gridLayout">
<item row="6" column="1" colspan="2">
<widget class="QCheckBox" name="checkBox_4">
<item row="3" column="0">
<widget class="QLabel" name="label_4">
<property name="font">
<font>
<family>宋体</family>
<pointsize>11</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>视频(视频文件和视频的封面图)</string>
<string>想要删除的文件类型:</string>
</property>
<property name="checked">
<bool>true</bool>
<property name="textFormat">
<enum>Qt::AutoText</enum>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label">
<item row="2" column="0">
<widget class="QLabel" name="label_2">
<property name="font">
<font>
<family>宋体</family>
Expand All @@ -43,22 +44,54 @@
</font>
</property>
<property name="text">
<string>请输入微信文件的存储路径:</string>
<string>需要删除多久以前的文件:</string>
</property>
<property name="textFormat">
<enum>Qt::AutoText</enum>
</property>
</widget>
</item>
<item row="10" column="0" colspan="3">
<widget class="QLabel" name="label_6">
<property name="text">
<string>Made by blackboxo</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="margin">
<number>0</number>
</property>
<property name="openExternalLinks">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="1" colspan="2">
<widget class="QLineEdit" name="lineEdit">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="text">
<string/>
</property>
<property name="placeholderText">
<string>类似C:\Users\xx\Documents\WeChat Files\xx</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="lineEdit_2">
<property name="text">
<string>2</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_4">
<item row="2" column="2">
<widget class="QLabel" name="label_3">
<property name="font">
<font>
<family>宋体</family>
Expand All @@ -68,24 +101,17 @@
</font>
</property>
<property name="text">
<string>想要删除的文件类型:</string>
<string>个月前</string>
</property>
<property name="textFormat">
<enum>Qt::AutoText</enum>
</property>
</widget>
</item>
<item row="7" column="1">
<widget class="QPushButton" name="pushButton">
<property name="font">
<font>
<pointsize>12</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<item row="9" column="0">
<widget class="QLabel" name="label_7">
<property name="text">
<string>确定</string>
<string/>
</property>
</widget>
</item>
Expand All @@ -106,24 +132,8 @@
</property>
</widget>
</item>
<item row="0" column="1" colspan="2">
<widget class="QLineEdit" name="lineEdit">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="text">
<string/>
</property>
<property name="placeholderText">
<string>类似C:\Users\xx\Documents\WeChat Files\xx</string>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QLabel" name="label_3">
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="font">
<font>
<family>宋体</family>
Expand All @@ -133,17 +143,20 @@
</font>
</property>
<property name="text">
<string>个月前</string>
<string>请输入微信文件的存储路径:</string>
</property>
<property name="textFormat">
<enum>Qt::AutoText</enum>
</property>
</widget>
</item>
<item row="3" column="1" colspan="2">
<widget class="QCheckBox" name="checkBox">
<property name="enabled">
<bool>true</bool>
<item row="5" column="1" colspan="2">
<widget class="QCheckBox" name="checkBox_3">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="font">
<font>
Expand All @@ -153,21 +166,22 @@
</font>
</property>
<property name="text">
<string>图片类缓存(来自小程序、公众号等)</string>
<string>图片(JPG 等)</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="5" column="1" colspan="2">
<widget class="QCheckBox" name="checkBox_3">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
<item row="1" column="1" colspan="2">
<widget class="QLabel" name="label_5">
<property name="text">
<string>微信左下角-&gt;设置-&gt;通用设置-&gt;打开文件夹-&gt;复制路径</string>
</property>
</widget>
</item>
<item row="6" column="1" colspan="2">
<widget class="QCheckBox" name="checkBox_4">
<property name="font">
<font>
<pointsize>11</pointsize>
Expand All @@ -176,41 +190,49 @@
</font>
</property>
<property name="text">
<string>图片(JPG 等)</string>
<string>视频(视频文件和视频的封面图)</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_2">
<item row="7" column="1">
<widget class="QPushButton" name="pushButton">
<property name="font">
<font>
<family>宋体</family>
<pointsize>11</pointsize>
<pointsize>12</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>需要删除多久以前的文件:</string>
</property>
<property name="textFormat">
<enum>Qt::AutoText</enum>
<string>确定</string>
</property>
</widget>
</item>
<item row="1" column="1" colspan="2">
<widget class="QLabel" name="label_5">
<item row="3" column="1" colspan="2">
<widget class="QCheckBox" name="checkBox">
<property name="enabled">
<bool>true</bool>
</property>
<property name="font">
<font>
<pointsize>11</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>微信左下角-&gt;设置-&gt;通用设置-&gt;打开文件夹-&gt;复制路径</string>
<string>图片类缓存(来自小程序、公众号等)</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QStatusBar" name="statusbar"/>
</widget>
<resources/>
<connections/>
Expand Down

0 comments on commit 0140253

Please sign in to comment.