fix: 增加图标
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -25,6 +25,9 @@ share/python-wheels/
|
||||
.installed.cfg
|
||||
*.egg
|
||||
MANIFEST
|
||||
*.build/
|
||||
*.dist/
|
||||
|
||||
|
||||
# PyInstaller
|
||||
# Usually these files are written by a python script from a template
|
||||
|
||||
BIN
asset/kps-unifier.png
Normal file
BIN
asset/kps-unifier.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 123 KiB |
BIN
kps-unifier.ico
Normal file
BIN
kps-unifier.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 264 KiB |
@@ -1,5 +1,6 @@
|
||||
<RCC>
|
||||
<qresource prefix="/">
|
||||
<file>asset/kps-unifier.png</file>
|
||||
<file>asset/img/ellipsis.svg</file>
|
||||
<file>asset/img/eye.svg</file>
|
||||
<file>asset/img/eye-off.svg</file>
|
||||
|
||||
@@ -24,6 +24,8 @@ class UiKpsUnifier(object):
|
||||
window: QtWidgets.QMainWindow
|
||||
):
|
||||
window.setWindowTitle('KeePassXC 多合一')
|
||||
window.setWindowIcon(QtGui.QIcon(":/asset/kps-unifier.png"))
|
||||
|
||||
self.cw = QtWidgets.QWidget(window)
|
||||
self.vly_m = QtWidgets.QVBoxLayout()
|
||||
self.cw.setLayout(self.vly_m)
|
||||
|
||||
@@ -110,6 +110,8 @@ class UiPageQuery(object):
|
||||
self.vly_sa_wg.addWidget(self.pbn_all)
|
||||
|
||||
self.pbn_deleted = QtWidgets.QPushButton("已删除", self.sa_wg)
|
||||
# 暂时先隐藏
|
||||
self.pbn_deleted.setVisible(False)
|
||||
self.pbn_deleted.setMinimumWidth(config["button_min_width"])
|
||||
self.vly_sa_wg.addWidget(self.pbn_deleted)
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user