mirror of
https://github.com/KenanZhu/AutoLibrary.git
synced 2026-08-02 22:19:37 +08:00
Compare commits
4 Commits
30a7a8e996
...
v1.4.0
| Author | SHA1 | Date | |
|---|---|---|---|
| e4d838a9d0 | |||
| 70f78c2a6f | |||
| e40e7767c7 | |||
| 1b6c170d6c |
@@ -104,6 +104,7 @@ class _DateInputContainer(QWidget):
|
|||||||
):
|
):
|
||||||
|
|
||||||
super().__init__(parent)
|
super().__init__(parent)
|
||||||
|
|
||||||
self.setupUi()
|
self.setupUi()
|
||||||
|
|
||||||
def setupUi(
|
def setupUi(
|
||||||
@@ -153,10 +154,16 @@ class _TimeInputContainer(QWidget):
|
|||||||
):
|
):
|
||||||
|
|
||||||
super().__init__(parent)
|
super().__init__(parent)
|
||||||
|
|
||||||
|
self.setupUi()
|
||||||
|
|
||||||
|
def setupUi(
|
||||||
|
self
|
||||||
|
):
|
||||||
|
|
||||||
self.TimeEdit = QTimeEdit(self)
|
self.TimeEdit = QTimeEdit(self)
|
||||||
self.TimeEdit.setDisplayFormat("HH:mm")
|
self.TimeEdit.setDisplayFormat("HH:mm")
|
||||||
self.TimeEdit.setFixedHeight(25)
|
self.TimeEdit.setFixedHeight(25)
|
||||||
|
|
||||||
Layout = QHBoxLayout(self)
|
Layout = QHBoxLayout(self)
|
||||||
Layout.setContentsMargins(0, 0, 0, 0)
|
Layout.setContentsMargins(0, 0, 0, 0)
|
||||||
Layout.addWidget(self.TimeEdit)
|
Layout.addWidget(self.TimeEdit)
|
||||||
@@ -176,6 +183,13 @@ class _DateOffsetContainer(QWidget):
|
|||||||
):
|
):
|
||||||
|
|
||||||
super().__init__(parent)
|
super().__init__(parent)
|
||||||
|
|
||||||
|
self.setupUi()
|
||||||
|
|
||||||
|
def setupUi(
|
||||||
|
self
|
||||||
|
):
|
||||||
|
|
||||||
self.SpinBox = QSpinBox(self)
|
self.SpinBox = QSpinBox(self)
|
||||||
self.SpinBox.setRange(0, 99999)
|
self.SpinBox.setRange(0, 99999)
|
||||||
self.SpinBox.setFixedHeight(25)
|
self.SpinBox.setFixedHeight(25)
|
||||||
@@ -183,7 +197,6 @@ class _DateOffsetContainer(QWidget):
|
|||||||
for display, data in DATE_OFFSET_OPTIONS:
|
for display, data in DATE_OFFSET_OPTIONS:
|
||||||
self.UnitCombo.addItem(display, data)
|
self.UnitCombo.addItem(display, data)
|
||||||
self.UnitCombo.setFixedHeight(25)
|
self.UnitCombo.setFixedHeight(25)
|
||||||
|
|
||||||
Layout = QHBoxLayout(self)
|
Layout = QHBoxLayout(self)
|
||||||
Layout.setContentsMargins(0, 0, 0, 0)
|
Layout.setContentsMargins(0, 0, 0, 0)
|
||||||
Layout.setSpacing(4)
|
Layout.setSpacing(4)
|
||||||
@@ -220,11 +233,17 @@ class _TimeOffsetContainer(QWidget):
|
|||||||
):
|
):
|
||||||
|
|
||||||
super().__init__(parent)
|
super().__init__(parent)
|
||||||
|
|
||||||
|
self.setupUi()
|
||||||
|
|
||||||
|
def setupUi(
|
||||||
|
self
|
||||||
|
):
|
||||||
|
|
||||||
self.SpinBox = QSpinBox(self)
|
self.SpinBox = QSpinBox(self)
|
||||||
self.SpinBox.setRange(0, 99999)
|
self.SpinBox.setRange(0, 99999)
|
||||||
self.SpinBox.setSuffix(" 小时")
|
self.SpinBox.setSuffix(" 小时")
|
||||||
self.SpinBox.setFixedHeight(25)
|
self.SpinBox.setFixedHeight(25)
|
||||||
|
|
||||||
Layout = QHBoxLayout(self)
|
Layout = QHBoxLayout(self)
|
||||||
Layout.setContentsMargins(0, 0, 0, 0)
|
Layout.setContentsMargins(0, 0, 0, 0)
|
||||||
Layout.addWidget(self.SpinBox)
|
Layout.addWidget(self.SpinBox)
|
||||||
|
|||||||
@@ -388,7 +388,6 @@ class ALSettingsWidget(CenterOnParentMixin, QWidget, Ui_ALSettingsWidget):
|
|||||||
idx = self.CustomThemeComboBox.findData(file_id)
|
idx = self.CustomThemeComboBox.findData(file_id)
|
||||||
if idx >= 0:
|
if idx >= 0:
|
||||||
self.CustomThemeComboBox.setCurrentIndex(idx)
|
self.CustomThemeComboBox.setCurrentIndex(idx)
|
||||||
self.updateCustomThemeStatus()
|
|
||||||
self.updateCustomThemeInfo()
|
self.updateCustomThemeInfo()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
QMessageBox.warning(
|
QMessageBox.warning(
|
||||||
|
|||||||
@@ -5,11 +5,11 @@
|
|||||||
workflow process. Do not edit manually.
|
workflow process. Do not edit manually.
|
||||||
|
|
||||||
This file is auto-generated during the workflow process.
|
This file is auto-generated during the workflow process.
|
||||||
Last updated: 2026-05-09 06:05:13 UTC
|
Last updated: 2026-07-14 02:19:31 UTC
|
||||||
"""
|
"""
|
||||||
|
|
||||||
AL_VERSION = "1.3.0"
|
AL_VERSION = "1.4.0"
|
||||||
AL_TAG = "v1.3.0"
|
AL_TAG = "v1.4.0"
|
||||||
AL_COMMIT_SHA = "local"
|
AL_COMMIT_SHA = "local"
|
||||||
AL_COMMIT_DATE = "null" # time zone : UTC
|
AL_COMMIT_DATE = "null" # time zone : UTC
|
||||||
AL_BUILD_DATE = "null" # time zone : UTC
|
AL_BUILD_DATE = "null" # time zone : UTC
|
||||||
|
|||||||
Reference in New Issue
Block a user