WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 9ac0136

Browse files
committed
update
1 parent 049999a commit 9ac0136

32 files changed

+461
-329
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,10 +275,10 @@ jobs:
275275
PACKAGENAME: bika_py37_linux
276276
steps:
277277
- uses: actions/checkout@v4
278-
- name: Set up Python 3.7
278+
- name: Set up Python 3.9
279279
uses: actions/setup-python@v5
280280
with:
281-
python-version: 3.7
281+
python-version: 3.9
282282
- name: Install dependencies
283283
run: |
284284
sudo apt-get install -y fuse libfuse2

src/config/config.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@
5050
Issues2 = "https://hub.ggo.icu/tonquer/picacg-qt/issues"
5151
Issues3 = "https://hub.fastgit.xyz/tonquer/picacg-qt/issues"
5252

53-
UpdateVersion = "v1.5.1.1"
54-
RealVersion = "v1.5.1.1"
55-
TimeVersion = "2024-10-29"
53+
UpdateVersion = "v1.5.2"
54+
RealVersion = "v1.5.2"
55+
TimeVersion = "2025-3-16"
5656
DbVersion = ""
5757

5858
Waifu2xVersion = "1.2.0"
@@ -89,11 +89,11 @@
8989
# ImageServer3 = 'storage.diwodiwo.xyz' # 分流3 使用的图片服务器
9090
# ImageServer3Jump = 'img.diwodiwo.xyz' # 分流3 使用的图片服务器
9191

92-
ProxyApiDomain = "bika-api.ggo.icu"
93-
ProxyImgDomain = "bika-img.ggo.icu"
92+
# ProxyApiDomain = "bika-api.ggo.icu"
93+
# ProxyImgDomain = "bika-img.ggo.icu"
9494

95-
ProxyApiDomain2 = "bika2-api.ggo.icu"
96-
ProxyImgDomain2 = "bika2-img.ggo.icu"
95+
# ProxyApiDomain2 = "bika2-api.ggo.icu"
96+
# ProxyImgDomain2 = "bika2-img.ggo.icu"
9797

9898
ApiDomain = [
9999
"picaapi.picacomic.com",

src/config/global_config.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,25 @@ def set_value(self, value):
2121

2222

2323
class GlobalConfig:
24-
Ver = GlobalItem(0)
24+
Ver = GlobalItem(6)
2525
VerTime = GlobalItem("2024-10-15")
26+
# web url
27+
WebDnsList = GlobalItem([])
28+
29+
2630
LocalProxyIndex = [2, 3]
2731
Address = GlobalItem(["104.21.91.145", "188.114.98.153"])
2832
AddressIpv6 = GlobalItem(["2606:4700:d:28:dbf4:26f3:c265:73bc", "2a06:98c1:3120:ca71:be2c:c721:d2b5:5dbf"])
2933
ImageUrl = GlobalItem("s3.picacomic.com")
3034
ImageServerList = GlobalItem(["s3.picacomic.com", "storage.diwodiwo.xyz", "s2.picacomic.com", "storage1.picacomic.com", "storage-b.picacomic.com"])
3135
ImageJumList = GlobalItem(["img.picacomic.com", "img.diwodiwo.xyz"])
3236

37+
ProxyApiDomain = GlobalItem("bika-api.ggo.icu")
38+
ProxyImgDomain = GlobalItem("bika-img.ggo.icu")
39+
40+
ProxyApiDomain2 = GlobalItem("bika2-api.ggo.icu")
41+
ProxyImgDomain2 = GlobalItem("bika21-img.ggo.icu")
42+
3343
def __init__(self):
3444
pass
3545

src/config/setting.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,12 @@ class Setting:
8989
NotCategoryShow = SettingValue("GeneraSetting", 0, False) #
9090

9191
CategorySize = SettingValue("GeneraSetting", 80, False) #
92-
ScaleLevel = SettingValue("GeneraSetting", 0, True, ["Auto", 100, 125, 150, 175, 200])
92+
# ScaleLevel = SettingValue("GeneraSetting", 0, True, ["Auto", 100, 125, 150, 175, 200])
93+
IsUseScaleFactor = SettingValue("GeneraSetting", 0, True)
94+
ScaleFactor = SettingValue("GeneraSetting", 100, True)
95+
9396
# IsUseTitleBar = SettingValue("GeneraSetting", 1, True)
94-
IsUsewindowsize = SettingValue("GeneraSetting", 0, False)
97+
9598
FontName = SettingValue("GeneraSetting", "", True)
9699
FontSize = SettingValue("GeneraSetting", "", True)
97100
FontStyle = SettingValue("GeneraSetting", 0, True)
@@ -174,6 +177,7 @@ class Setting:
174177
IsForbidCategory =SettingValue("Other", True, False)
175178
IsForbidTag = SettingValue("Other", False, False)
176179
IsForbidTitle = SettingValue("Other", False, False)
180+
IsSkipSpace = SettingValue("Other", 0, False)
177181

178182
@staticmethod
179183
def InitLoadSetting():

src/interface/ui_book_info.py

Lines changed: 55 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,55 @@ def setupUi(self, BookInfo):
119119

120120
self.verticalLayout_2.addLayout(self.horizontalLayout_8)
121121

122+
self.horizontalLayout_9 = QHBoxLayout()
123+
self.horizontalLayout_9.setObjectName(u"horizontalLayout_9")
124+
self.label_7 = QLabel(self.scrollAreaWidgetContents)
125+
self.label_7.setObjectName(u"label_7")
126+
self.label_7.setMaximumSize(QSize(80, 20))
127+
128+
self.horizontalLayout_9.addWidget(self.label_7)
129+
130+
self.views = QLabel(self.scrollAreaWidgetContents)
131+
self.views.setObjectName(u"views")
132+
self.views.setMaximumSize(QSize(16777215, 20))
133+
134+
self.horizontalLayout_9.addWidget(self.views)
135+
136+
137+
self.verticalLayout_2.addLayout(self.horizontalLayout_9)
138+
139+
self.horizontalLayout_13 = QHBoxLayout()
140+
self.horizontalLayout_13.setObjectName(u"horizontalLayout_13")
141+
self.label_9 = QLabel(self.scrollAreaWidgetContents)
142+
self.label_9.setObjectName(u"label_9")
143+
self.label_9.setMaximumSize(QSize(80, 16777215))
144+
145+
self.horizontalLayout_13.addWidget(self.label_9)
146+
147+
self.upTime = QLabel(self.scrollAreaWidgetContents)
148+
self.upTime.setObjectName(u"upTime")
149+
150+
self.horizontalLayout_13.addWidget(self.upTime)
151+
152+
153+
self.verticalLayout_2.addLayout(self.horizontalLayout_13)
154+
155+
self.horizontalLayout_14 = QHBoxLayout()
156+
self.horizontalLayout_14.setObjectName(u"horizontalLayout_14")
157+
self.label_12 = QLabel(self.scrollAreaWidgetContents)
158+
self.label_12.setObjectName(u"label_12")
159+
self.label_12.setMaximumSize(QSize(80, 16777215))
160+
161+
self.horizontalLayout_14.addWidget(self.label_12)
162+
163+
self.lastUpTime = QLabel(self.scrollAreaWidgetContents)
164+
self.lastUpTime.setObjectName(u"lastUpTime")
165+
166+
self.horizontalLayout_14.addWidget(self.lastUpTime)
167+
168+
169+
self.verticalLayout_2.addLayout(self.horizontalLayout_14)
170+
122171
self.horizontalLayout_4 = QHBoxLayout()
123172
self.horizontalLayout_4.setObjectName(u"horizontalLayout_4")
124173
self.horizontalLayout_11 = QHBoxLayout()
@@ -233,23 +282,6 @@ def setupUi(self, BookInfo):
233282

234283
self.verticalLayout_2.addLayout(self.horizontalLayout_7)
235284

236-
self.horizontalLayout_9 = QHBoxLayout()
237-
self.horizontalLayout_9.setObjectName(u"horizontalLayout_9")
238-
self.label_7 = QLabel(self.scrollAreaWidgetContents)
239-
self.label_7.setObjectName(u"label_7")
240-
self.label_7.setMaximumSize(QSize(55, 20))
241-
242-
self.horizontalLayout_9.addWidget(self.label_7)
243-
244-
self.views = QLabel(self.scrollAreaWidgetContents)
245-
self.views.setObjectName(u"views")
246-
self.views.setMaximumSize(QSize(16777215, 20))
247-
248-
self.horizontalLayout_9.addWidget(self.views)
249-
250-
251-
self.verticalLayout_2.addLayout(self.horizontalLayout_9)
252-
253285
self.commandLinkButton = QCommandLinkButton(self.scrollAreaWidgetContents)
254286
self.commandLinkButton.setObjectName(u"commandLinkButton")
255287
sizePolicy = QSizePolicy(QSizePolicy.Fixed, QSizePolicy.Preferred)
@@ -519,12 +551,16 @@ def retranslateUi(self, BookInfo):
519551
self.title.setText(QCoreApplication.translate("BookInfo", u"\u6807\u9898", None))
520552
self.label_6.setText(QCoreApplication.translate("BookInfo", u"id:", None))
521553
self.idLabel.setText("")
554+
self.label_7.setText(QCoreApplication.translate("BookInfo", u"\u89c2\u770b\u6570\uff1a", None))
555+
self.views.setText(QCoreApplication.translate("BookInfo", u"\u89c2\u770b\u6570", None))
556+
self.label_9.setText(QCoreApplication.translate("BookInfo", u"\u4e0a\u4f20\u65f6\u95f4\uff1a", None))
557+
self.upTime.setText("")
558+
self.label_12.setText(QCoreApplication.translate("BookInfo", u"\u66f4\u65b0\u65f6\u95f4\uff1a", None))
559+
self.lastUpTime.setText("")
522560
self.label_2.setText(QCoreApplication.translate("BookInfo", u"\u4f5c\u8005\uff1a", None))
523561
self.label_3.setText(QCoreApplication.translate("BookInfo", u"\u63cf\u8ff0\uff1a", None))
524562
self.label_4.setText(QCoreApplication.translate("BookInfo", u"\u5206\u7c7b\uff1a", None))
525563
self.label_5.setText(QCoreApplication.translate("BookInfo", u"Tags\uff1a", None))
526-
self.label_7.setText(QCoreApplication.translate("BookInfo", u"\u89c2\u770b\u6570\uff1a", None))
527-
self.views.setText(QCoreApplication.translate("BookInfo", u"\u89c2\u770b\u6570", None))
528564
self.commandLinkButton.setText(QCoreApplication.translate("BookInfo", u"\u770b\u4e86\u8fd9\u8fb9\u672c\u5b50\u7684\u4eba\u4e5f\u5728\u770b", None))
529565
self.user_icon.setText(QCoreApplication.translate("BookInfo", u"TextLabel", None))
530566
self.user_name.setText(QCoreApplication.translate("BookInfo", u"TextLabel", None))

src/interface/ui_download.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ def setupUi(self, Download):
3333

3434
self.horizontalLayout_2.addItem(self.horizontalSpacer_2)
3535

36+
self.skipSpaceRadio = QCheckBox(Download)
37+
self.skipSpaceRadio.setObjectName(u"skipSpaceRadio")
38+
39+
self.horizontalLayout_2.addWidget(self.skipSpaceRadio)
40+
3641
self.redownloadRadio = QCheckBox(Download)
3742
self.redownloadRadio.setObjectName(u"redownloadRadio")
3843

@@ -147,6 +152,7 @@ def setupUi(self, Download):
147152

148153
def retranslateUi(self, Download):
149154
Download.setWindowTitle(QCoreApplication.translate("Download", u"\u4e0b\u8f7d", None))
155+
self.skipSpaceRadio.setText(QCoreApplication.translate("Download", u"\u8df3\u8fc7\u7a7a\u767d\u7ae0\u8282", None))
150156
self.redownloadRadio.setText(QCoreApplication.translate("Download", u"\u4e0b\u8f7d\u5931\u8d25\u540e\u81ea\u52a8\u91cd\u8bd5", None))
151157
self.radioButton.setText(QCoreApplication.translate("Download", u"\u4e0b\u8f7d\u81ea\u52a8Waifu2x\u8f6c\u6362", None))
152158
self.comboBox.setItemText(0, QCoreApplication.translate("Download", u"\u5168\u90e8", None))

src/interface/ui_help.py

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def setupUi(self, Help):
3636
self.scrollArea.setWidgetResizable(True)
3737
self.scrollAreaWidgetContents = QWidget()
3838
self.scrollAreaWidgetContents.setObjectName(u"scrollAreaWidgetContents")
39-
self.scrollAreaWidgetContents.setGeometry(QRect(0, 0, 736, 771))
39+
self.scrollAreaWidgetContents.setGeometry(QRect(0, 0, 736, 815))
4040
self.verticalLayout_3 = QVBoxLayout(self.scrollAreaWidgetContents)
4141
self.verticalLayout_3.setObjectName(u"verticalLayout_3")
4242
self.horizontalLayout = QHBoxLayout()
@@ -78,6 +78,20 @@ def setupUi(self, Help):
7878

7979
self.verticalLayout_2.addWidget(self.pushButton, 0, Qt.AlignHCenter)
8080

81+
self.label_13 = QLabel(self.widget)
82+
self.label_13.setObjectName(u"label_13")
83+
font1 = QFont()
84+
font1.setItalic(True)
85+
self.label_13.setFont(font1)
86+
87+
self.verticalLayout_2.addWidget(self.label_13, 0, Qt.AlignHCenter)
88+
89+
self.label_14 = QLabel(self.widget)
90+
self.label_14.setObjectName(u"label_14")
91+
self.label_14.setFont(font1)
92+
93+
self.verticalLayout_2.addWidget(self.label_14, 0, Qt.AlignHCenter)
94+
8195
self.widget_2 = QWidget(self.widget)
8296
self.widget_2.setObjectName(u"widget_2")
8397
self.gridLayout = QGridLayout(self.widget_2)
@@ -211,9 +225,9 @@ def setupUi(self, Help):
211225
self.verticalLayout_4.setObjectName(u"verticalLayout_4")
212226
self.label_8 = QLabel(self.updateWidget)
213227
self.label_8.setObjectName(u"label_8")
214-
font1 = QFont()
215-
font1.setPointSize(16)
216-
self.label_8.setFont(font1)
228+
font2 = QFont()
229+
font2.setPointSize(16)
230+
self.label_8.setFont(font2)
217231

218232
self.verticalLayout_4.addWidget(self.label_8)
219233

@@ -262,7 +276,9 @@ def retranslateUi(self, Help):
262276
self.label.setText("")
263277
self.label_2.setText(QCoreApplication.translate("Help", u"\u9700\u8981\u53cd\u9988\u4f7f\u7528\u8fc7\u7a0b\u4e2d\u7684\u95ee\u9898\uff1f", None))
264278
self.label_3.setText(QCoreApplication.translate("Help", u"\u60f3\u63d0\u4f9b\u4e00\u4e9b\u5efa\u8bae\uff1f", None))
265-
self.pushButton.setText(QCoreApplication.translate("Help", u"Github Issue", None))
279+
self.pushButton.setText(QCoreApplication.translate("Help", u"\u524d\u5f80Github Issue", None))
280+
self.label_13.setText(QCoreApplication.translate("Help", u"\u672c\u8f6f\u4ef6\u5728Github\u5f00\u6e90\uff0c\u8bf7\u52ff\u7528\u4e8e\u4efb\u4f55\u5546\u4e1a\u884c\u4e3a", None))
281+
self.label_14.setText(QCoreApplication.translate("Help", u"by@tonquer", None))
266282
self.label_5.setText(QCoreApplication.translate("Help", u"\u672c\u5730\u5e93\u6570\u91cf:", None))
267283
self.label_9.setText(QCoreApplication.translate("Help", u"\u4e0a\u6b21\u66f4\u65b0\u65f6\u95f4\uff1a", None))
268284
self.preCheckBox.setText(QCoreApplication.translate("Help", u"\u63a5\u53d7Beta\u7248\u672c\u66f4\u65b0", None))

src/interface/ui_main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
from view.read.read_view import ReadView
4444
from view.search.search_view import SearchView
4545
from view.setting.setting_view import SettingView
46-
from view.tool.local_eps_read_view import LocalEpsReadView
4746
from view.tool.local_read_all_view import LocalReadAllView
47+
from view.tool.local_read_eps_view import LocalReadEpsView
4848
from view.tool.local_read_view import LocalReadView
4949
from view.tool.waifu2x_tool_view import Waifu2xToolView
5050
from view.user.favorite_view import FavoriteView
@@ -113,7 +113,7 @@ def setupUi(self, Main):
113113
self.convertView = ConvertView()
114114
self.convertView.setObjectName(u"convertView")
115115
self.subStackWidget.addWidget(self.convertView)
116-
self.localReadEpsView = LocalEpsReadView()
116+
self.localReadEpsView = LocalReadEpsView()
117117
self.localReadEpsView.setObjectName(u"localReadEpsView")
118118
self.subStackWidget.addWidget(self.localReadEpsView)
119119
self.chatNewView = ChatNewView()

0 commit comments

Comments
 (0)