优化导入!
This commit is contained in:
parent
68a958a69b
commit
e4fbb93f94
2 changed files with 2 additions and 6 deletions
|
@ -0,0 +1 @@
|
||||||
|
使用`PyQt`制作的可以上传至阿里云`cos`的小工具,用来代替`PicGo`
|
7
start.py
7
start.py
|
@ -2,14 +2,11 @@ import sys
|
||||||
|
|
||||||
from PyQt5 import QtCore
|
from PyQt5 import QtCore
|
||||||
from PyQt5.QtGui import QFont, QIcon
|
from PyQt5.QtGui import QFont, QIcon
|
||||||
from PyQt5.QtWidgets import *
|
from PyQt5.QtWidgets import QWidget, QVBoxLayout, QPushButton, QDialog, QLabel, QLineEdit, QGridLayout, QApplication
|
||||||
from PyQt5.QtCore import Qt
|
from PyQt5.QtCore import Qt
|
||||||
from qt_material import apply_stylesheet
|
from qt_material import apply_stylesheet
|
||||||
|
|
||||||
|
|
||||||
# import
|
|
||||||
|
|
||||||
|
|
||||||
class MainWin(QWidget):
|
class MainWin(QWidget):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super(MainWin, self).__init__()
|
super(MainWin, self).__init__()
|
||||||
|
@ -84,8 +81,6 @@ class MainWin(QWidget):
|
||||||
print(content)
|
print(content)
|
||||||
for i in content:
|
for i in content:
|
||||||
print(i)
|
print(i)
|
||||||
# pass
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
app = QApplication(sys.argv)
|
app = QApplication(sys.argv)
|
||||||
|
|
Loading…
Reference in a new issue