The only downloader you need. 下载器的集大成者。
TypeScript asyncasynciobittorentbtcross-platformdownload-managerdownloaderfluent-designftphttp3magnetpyqtpyside6pythonqtquicreactsoftwarestreaming
Fixes #440
XiaoYouChRb198f0735951
diff --git a/app/view/components/cards.py b/app/view/components/cards.pyindex 1fce7b2d..1320b095 100644--- a/app/view/components/cards.py+++ b/app/view/components/cards.py@@ -509,8 +509,7 @@ class UniversalTaskCard(TaskCard):self.infoLayout.addStretch()self.infoVBoxLayout.addLayout(self.infoLayout)self.infoVBoxLayout.setContentsMargins(2, 8, 2, 8)- self.hBoxLayout.addLayout(self.infoVBoxLayout)- self.hBoxLayout.addStretch()+ self.hBoxLayout.addLayout(self.infoVBoxLayout, 1)self.hBoxLayout.addWidget(self.toggleRunningStatusButton)self.hBoxLayout.addWidget(self.verifyHashButton)self.hBoxLayout.addWidget(self.openFileButton)@@ -554,9 +553,8 @@ class UniversalResultCard(ResultCard):self.mainLayout.setContentsMargins(10, 2, 10, 2)self.mainLayout.setSpacing(12)self.mainLayout.addWidget(self.iconLabel)- self.mainLayout.addWidget(self.filenameLabel)- self.mainLayout.addWidget(self.filenameEdit)- self.mainLayout.addStretch()+ self.mainLayout.addWidget(self.filenameLabel, 1)+ self.mainLayout.addWidget(self.filenameEdit, 1)self.mainLayout.addWidget(self.sizeLabel)def eventFilter(self, obj, event: QEvent):diff --git a/features/ftp_pack/cards.py b/features/ftp_pack/cards.pyindex 569f318a..af529282 100644--- a/features/ftp_pack/cards.py+++ b/features/ftp_pack/cards.py@@ -101,8 +101,7 @@ class FtpResultCard(ResultCard):self.textLayout.addWidget(self.titleEdit)self.textLayout.addWidget(self.sourceLabel)self.mainLayout.addWidget(self.iconLabel, 0, Qt.AlignmentFlag.AlignCenter)- self.mainLayout.addLayout(self.textLayout)- self.mainLayout.addStretch(1)+ self.mainLayout.addLayout(self.textLayout, 1)self.mainLayout.addWidget(self.summaryLabel)self.mainLayout.addSpacing(12)self.mainLayout.addWidget(self.selectFilesButton)diff --git a/features/m3u8_pack/cards.py b/features/m3u8_pack/cards.pyindex 6f01b3d7..cd7c42ff 100644--- a/features/m3u8_pack/cards.py+++ b/features/m3u8_pack/cards.py@@ -126,9 +126,8 @@ class M3U8ResultCard(ResultCard):self.mainLayout.setContentsMargins(10, 2, 10, 2)self.mainLayout.setSpacing(12)self.mainLayout.addWidget(self.iconLabel)- self.mainLayout.addWidget(self.filenameLabel)- self.mainLayout.addWidget(self.filenameEdit)- self.mainLayout.addStretch()+ self.mainLayout.addWidget(self.filenameLabel, 1)+ self.mainLayout.addWidget(self.filenameEdit, 1)self.mainLayout.addWidget(self.metaLabel)def _metaText(self) -> str: