mirror of
https://github.com/283375/arcaea-offline-pyside-ui.git
synced 2025-07-01 12:26:26 +00:00
impr: ScoreEditor
preview label
This commit is contained in:
@ -14,73 +14,33 @@
|
||||
<string notr="true">ScoreEditor</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="2" column="2">
|
||||
<widget class="QCheckBox" name="pureNoneCheckBox">
|
||||
<property name="text">
|
||||
<string>setNone</string>
|
||||
<item row="1" column="1">
|
||||
<widget class="FocusSelectAllLineEdit" name="scoreLineEdit">
|
||||
<property name="inputMask">
|
||||
<string notr="true">B9'999'999;_</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="9" column="0">
|
||||
<widget class="QLabel" name="label_7">
|
||||
<item row="13" column="1">
|
||||
<widget class="QLabel" name="validateLabel">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string notr="true">Modifier</string>
|
||||
<string notr="true">...</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="1">
|
||||
<widget class="QSpinBox" name="pureSpinBox">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>100</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="minimum">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<number>0</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="10" column="2">
|
||||
<widget class="QCheckBox" name="clearTypeNoneCheckBox">
|
||||
<property name="text">
|
||||
<string>setNone</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<widget class="QLabel" name="label_2">
|
||||
<property name="text">
|
||||
<string notr="true">PURE</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="0">
|
||||
<widget class="QLabel" name="label_4">
|
||||
<property name="text">
|
||||
<string notr="true">LOST</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="2">
|
||||
<widget class="QCheckBox" name="dateNoneCheckBox">
|
||||
<property name="text">
|
||||
<string>setNone</string>
|
||||
<item row="11" column="1">
|
||||
<widget class="QLineEdit" name="commentLineEdit">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -97,19 +57,10 @@
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item row="12" column="1">
|
||||
<widget class="QLabel" name="validateLabel">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<item row="13" column="2">
|
||||
<widget class="QPushButton" name="commitButton">
|
||||
<property name="text">
|
||||
<string notr="true">...</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
<string>commitButton</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -126,6 +77,49 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="1">
|
||||
<widget class="QSpinBox" name="farSpinBox">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>100</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="minimum">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<number>0</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="text">
|
||||
<string>formLabel.score</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="11" column="2">
|
||||
<widget class="QCheckBox" name="commentNoneCheckBox">
|
||||
<property name="text">
|
||||
<string>setNone</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="2">
|
||||
<widget class="QCheckBox" name="farNoneCheckBox">
|
||||
<property name="text">
|
||||
<string>setNone</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="10" column="0">
|
||||
<widget class="QLabel" name="label_8">
|
||||
<property name="text">
|
||||
@ -146,16 +140,176 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="8" column="0">
|
||||
<widget class="QLabel" name="label_6">
|
||||
<item row="4" column="1">
|
||||
<widget class="QSpinBox" name="lostSpinBox">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>100</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="minimum">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<number>0</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="QLabel" name="idLabel">
|
||||
<property name="text">
|
||||
<string notr="true">MAX RECALL</string>
|
||||
<string>idAutoInsert</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="0">
|
||||
<widget class="QLabel" name="label_5">
|
||||
<property name="text">
|
||||
<string>formLabel.date</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="9" column="0">
|
||||
<widget class="QLabel" name="label_7">
|
||||
<property name="text">
|
||||
<string notr="true">Modifier</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="8" column="2">
|
||||
<widget class="QCheckBox" name="maxRecallNoneCheckBox">
|
||||
<property name="text">
|
||||
<string>setNone</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="10" column="2">
|
||||
<widget class="QCheckBox" name="clearTypeNoneCheckBox">
|
||||
<property name="text">
|
||||
<string>setNone</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_10">
|
||||
<property name="text">
|
||||
<string notr="true">ID</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<widget class="QLabel" name="label_2">
|
||||
<property name="text">
|
||||
<string notr="true">PURE</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="0">
|
||||
<widget class="QLabel" name="label_4">
|
||||
<property name="text">
|
||||
<string notr="true">LOST</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="9" column="2">
|
||||
<widget class="QCheckBox" name="modifierNoneCheckBox">
|
||||
<property name="text">
|
||||
<string>setNone</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="1">
|
||||
<widget class="QDateTimeEdit" name="dateTimeEdit">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="displayFormat">
|
||||
<string notr="true">yyyy/MM/dd HH:mm:ss</string>
|
||||
</property>
|
||||
<property name="calendarPopup">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="9" column="1">
|
||||
<widget class="QComboBox" name="modifierComboBox">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="2">
|
||||
<widget class="QCheckBox" name="dateNoneCheckBox">
|
||||
<property name="text">
|
||||
<string>setNone</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="2">
|
||||
<widget class="QCheckBox" name="pureNoneCheckBox">
|
||||
<property name="text">
|
||||
<string>setNone</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="1">
|
||||
<widget class="QSpinBox" name="pureSpinBox">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>100</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="minimum">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<number>0</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="2">
|
||||
<widget class="QCheckBox" name="lostNoneCheckBox">
|
||||
<property name="text">
|
||||
<string>setNone</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="13" column="0">
|
||||
<widget class="QCheckBox" name="warnIfIncompleteCheckBox">
|
||||
<property name="text">
|
||||
<string>warnIfIncomplete</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="8" column="1">
|
||||
<widget class="QSpinBox" name="maxRecallSpinBox">
|
||||
<property name="enabled">
|
||||
@ -178,129 +332,6 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="9" column="1">
|
||||
<widget class="QComboBox" name="modifierComboBox">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="1">
|
||||
<widget class="QDateTimeEdit" name="dateTimeEdit">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="displayFormat">
|
||||
<string notr="true">yyyy/MM/dd HH:mm:ss</string>
|
||||
</property>
|
||||
<property name="calendarPopup">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="1">
|
||||
<widget class="QSpinBox" name="lostSpinBox">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>100</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="minimum">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<number>0</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="2">
|
||||
<widget class="QCheckBox" name="lostNoneCheckBox">
|
||||
<property name="text">
|
||||
<string>setNone</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="11" column="1">
|
||||
<widget class="QLineEdit" name="commentLineEdit">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="9" column="2">
|
||||
<widget class="QCheckBox" name="modifierNoneCheckBox">
|
||||
<property name="text">
|
||||
<string>setNone</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="11" column="2">
|
||||
<widget class="QCheckBox" name="commentNoneCheckBox">
|
||||
<property name="text">
|
||||
<string>setNone</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="0">
|
||||
<widget class="QLabel" name="label_5">
|
||||
<property name="text">
|
||||
<string>formLabel.date</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="12" column="2">
|
||||
<widget class="QPushButton" name="commitButton">
|
||||
<property name="text">
|
||||
<string>commitButton</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="FocusSelectAllLineEdit" name="scoreLineEdit">
|
||||
<property name="inputMask">
|
||||
<string notr="true">B9'999'999;_</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="8" column="2">
|
||||
<widget class="QCheckBox" name="maxRecallNoneCheckBox">
|
||||
<property name="text">
|
||||
<string>setNone</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="1">
|
||||
<widget class="QSpinBox" name="farSpinBox">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>100</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="minimum">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<number>0</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="11" column="0">
|
||||
<widget class="QLabel" name="label_9">
|
||||
<property name="text">
|
||||
@ -311,44 +342,42 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="label">
|
||||
<item row="8" column="0">
|
||||
<widget class="QLabel" name="label_6">
|
||||
<property name="text">
|
||||
<string>formLabel.score</string>
|
||||
<string notr="true">MAX RECALL</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="2">
|
||||
<widget class="QCheckBox" name="farNoneCheckBox">
|
||||
<property name="text">
|
||||
<string>setNone</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_10">
|
||||
<property name="text">
|
||||
<string notr="true">ID</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="QLabel" name="idLabel">
|
||||
<property name="text">
|
||||
<string>idAutoInsert</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="12" column="0">
|
||||
<widget class="QCheckBox" name="warnIfIncompleteCheckBox">
|
||||
<widget class="QLabel" name="label_11">
|
||||
<property name="text">
|
||||
<string>warnIfIncomplete</string>
|
||||
<string>formLabel.preview</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="12" column="1">
|
||||
<widget class="QLabel" name="previewLabel">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel { color: gray }</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string notr="true">None</string>
|
||||
</property>
|
||||
<property name="wordWrap">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -29,54 +29,11 @@ class Ui_ScoreEditor(object):
|
||||
ScoreEditor.setWindowTitle(u"ScoreEditor")
|
||||
self.gridLayout = QGridLayout(ScoreEditor)
|
||||
self.gridLayout.setObjectName(u"gridLayout")
|
||||
self.pureNoneCheckBox = QCheckBox(ScoreEditor)
|
||||
self.pureNoneCheckBox.setObjectName(u"pureNoneCheckBox")
|
||||
self.scoreLineEdit = FocusSelectAllLineEdit(ScoreEditor)
|
||||
self.scoreLineEdit.setObjectName(u"scoreLineEdit")
|
||||
self.scoreLineEdit.setInputMask(u"B9'999'999;_")
|
||||
|
||||
self.gridLayout.addWidget(self.pureNoneCheckBox, 2, 2, 1, 1)
|
||||
|
||||
self.label_7 = QLabel(ScoreEditor)
|
||||
self.label_7.setObjectName(u"label_7")
|
||||
self.label_7.setText(u"Modifier")
|
||||
self.label_7.setAlignment(Qt.AlignRight|Qt.AlignTrailing|Qt.AlignVCenter)
|
||||
|
||||
self.gridLayout.addWidget(self.label_7, 9, 0, 1, 1)
|
||||
|
||||
self.pureSpinBox = QSpinBox(ScoreEditor)
|
||||
self.pureSpinBox.setObjectName(u"pureSpinBox")
|
||||
self.pureSpinBox.setMinimumSize(QSize(100, 0))
|
||||
self.pureSpinBox.setMinimum(0)
|
||||
self.pureSpinBox.setMaximum(0)
|
||||
|
||||
self.gridLayout.addWidget(self.pureSpinBox, 2, 1, 1, 1)
|
||||
|
||||
self.clearTypeNoneCheckBox = QCheckBox(ScoreEditor)
|
||||
self.clearTypeNoneCheckBox.setObjectName(u"clearTypeNoneCheckBox")
|
||||
self.clearTypeNoneCheckBox.setChecked(True)
|
||||
|
||||
self.gridLayout.addWidget(self.clearTypeNoneCheckBox, 10, 2, 1, 1)
|
||||
|
||||
self.label_2 = QLabel(ScoreEditor)
|
||||
self.label_2.setObjectName(u"label_2")
|
||||
self.label_2.setText(u"PURE")
|
||||
self.label_2.setAlignment(Qt.AlignRight|Qt.AlignTrailing|Qt.AlignVCenter)
|
||||
|
||||
self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1)
|
||||
|
||||
self.label_4 = QLabel(ScoreEditor)
|
||||
self.label_4.setObjectName(u"label_4")
|
||||
self.label_4.setText(u"LOST")
|
||||
self.label_4.setAlignment(Qt.AlignRight|Qt.AlignTrailing|Qt.AlignVCenter)
|
||||
|
||||
self.gridLayout.addWidget(self.label_4, 4, 0, 1, 1)
|
||||
|
||||
self.dateNoneCheckBox = QCheckBox(ScoreEditor)
|
||||
self.dateNoneCheckBox.setObjectName(u"dateNoneCheckBox")
|
||||
|
||||
self.gridLayout.addWidget(self.dateNoneCheckBox, 5, 2, 1, 1)
|
||||
|
||||
self.verticalSpacer = QSpacerItem(20, 40, QSizePolicy.Minimum, QSizePolicy.Expanding)
|
||||
|
||||
self.gridLayout.addItem(self.verticalSpacer, 6, 1, 1, 1)
|
||||
self.gridLayout.addWidget(self.scoreLineEdit, 1, 1, 1, 1)
|
||||
|
||||
self.validateLabel = QLabel(ScoreEditor)
|
||||
self.validateLabel.setObjectName(u"validateLabel")
|
||||
@ -88,7 +45,22 @@ class Ui_ScoreEditor(object):
|
||||
self.validateLabel.setText(u"...")
|
||||
self.validateLabel.setAlignment(Qt.AlignRight|Qt.AlignTrailing|Qt.AlignVCenter)
|
||||
|
||||
self.gridLayout.addWidget(self.validateLabel, 12, 1, 1, 1)
|
||||
self.gridLayout.addWidget(self.validateLabel, 13, 1, 1, 1)
|
||||
|
||||
self.commentLineEdit = QLineEdit(ScoreEditor)
|
||||
self.commentLineEdit.setObjectName(u"commentLineEdit")
|
||||
self.commentLineEdit.setEnabled(False)
|
||||
|
||||
self.gridLayout.addWidget(self.commentLineEdit, 11, 1, 1, 1)
|
||||
|
||||
self.verticalSpacer = QSpacerItem(20, 40, QSizePolicy.Minimum, QSizePolicy.Expanding)
|
||||
|
||||
self.gridLayout.addItem(self.verticalSpacer, 6, 1, 1, 1)
|
||||
|
||||
self.commitButton = QPushButton(ScoreEditor)
|
||||
self.commitButton.setObjectName(u"commitButton")
|
||||
|
||||
self.gridLayout.addWidget(self.commitButton, 13, 2, 1, 1)
|
||||
|
||||
self.clearTypeComboBox = QComboBox(ScoreEditor)
|
||||
self.clearTypeComboBox.setObjectName(u"clearTypeComboBox")
|
||||
@ -97,6 +69,31 @@ class Ui_ScoreEditor(object):
|
||||
|
||||
self.gridLayout.addWidget(self.clearTypeComboBox, 10, 1, 1, 1)
|
||||
|
||||
self.farSpinBox = QSpinBox(ScoreEditor)
|
||||
self.farSpinBox.setObjectName(u"farSpinBox")
|
||||
self.farSpinBox.setMinimumSize(QSize(100, 0))
|
||||
self.farSpinBox.setMinimum(0)
|
||||
self.farSpinBox.setMaximum(0)
|
||||
|
||||
self.gridLayout.addWidget(self.farSpinBox, 3, 1, 1, 1)
|
||||
|
||||
self.label = QLabel(ScoreEditor)
|
||||
self.label.setObjectName(u"label")
|
||||
self.label.setAlignment(Qt.AlignRight|Qt.AlignTrailing|Qt.AlignVCenter)
|
||||
|
||||
self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
|
||||
|
||||
self.commentNoneCheckBox = QCheckBox(ScoreEditor)
|
||||
self.commentNoneCheckBox.setObjectName(u"commentNoneCheckBox")
|
||||
self.commentNoneCheckBox.setChecked(True)
|
||||
|
||||
self.gridLayout.addWidget(self.commentNoneCheckBox, 11, 2, 1, 1)
|
||||
|
||||
self.farNoneCheckBox = QCheckBox(ScoreEditor)
|
||||
self.farNoneCheckBox.setObjectName(u"farNoneCheckBox")
|
||||
|
||||
self.gridLayout.addWidget(self.farNoneCheckBox, 3, 2, 1, 1)
|
||||
|
||||
self.label_8 = QLabel(ScoreEditor)
|
||||
self.label_8.setObjectName(u"label_8")
|
||||
self.label_8.setText(u"Clear Type")
|
||||
@ -111,28 +108,70 @@ class Ui_ScoreEditor(object):
|
||||
|
||||
self.gridLayout.addWidget(self.label_3, 3, 0, 1, 1)
|
||||
|
||||
self.label_6 = QLabel(ScoreEditor)
|
||||
self.label_6.setObjectName(u"label_6")
|
||||
self.label_6.setText(u"MAX RECALL")
|
||||
self.label_6.setAlignment(Qt.AlignRight|Qt.AlignTrailing|Qt.AlignVCenter)
|
||||
self.lostSpinBox = QSpinBox(ScoreEditor)
|
||||
self.lostSpinBox.setObjectName(u"lostSpinBox")
|
||||
self.lostSpinBox.setMinimumSize(QSize(100, 0))
|
||||
self.lostSpinBox.setMinimum(0)
|
||||
self.lostSpinBox.setMaximum(0)
|
||||
|
||||
self.gridLayout.addWidget(self.label_6, 8, 0, 1, 1)
|
||||
self.gridLayout.addWidget(self.lostSpinBox, 4, 1, 1, 1)
|
||||
|
||||
self.maxRecallSpinBox = QSpinBox(ScoreEditor)
|
||||
self.maxRecallSpinBox.setObjectName(u"maxRecallSpinBox")
|
||||
self.maxRecallSpinBox.setEnabled(False)
|
||||
self.maxRecallSpinBox.setMinimumSize(QSize(100, 0))
|
||||
self.maxRecallSpinBox.setMinimum(0)
|
||||
self.maxRecallSpinBox.setMaximum(0)
|
||||
self.maxRecallSpinBox.setValue(0)
|
||||
self.idLabel = QLabel(ScoreEditor)
|
||||
self.idLabel.setObjectName(u"idLabel")
|
||||
|
||||
self.gridLayout.addWidget(self.maxRecallSpinBox, 8, 1, 1, 1)
|
||||
self.gridLayout.addWidget(self.idLabel, 0, 1, 1, 1)
|
||||
|
||||
self.modifierComboBox = QComboBox(ScoreEditor)
|
||||
self.modifierComboBox.setObjectName(u"modifierComboBox")
|
||||
self.modifierComboBox.setEnabled(False)
|
||||
self.label_5 = QLabel(ScoreEditor)
|
||||
self.label_5.setObjectName(u"label_5")
|
||||
self.label_5.setAlignment(Qt.AlignRight|Qt.AlignTrailing|Qt.AlignVCenter)
|
||||
|
||||
self.gridLayout.addWidget(self.modifierComboBox, 9, 1, 1, 1)
|
||||
self.gridLayout.addWidget(self.label_5, 5, 0, 1, 1)
|
||||
|
||||
self.label_7 = QLabel(ScoreEditor)
|
||||
self.label_7.setObjectName(u"label_7")
|
||||
self.label_7.setText(u"Modifier")
|
||||
self.label_7.setAlignment(Qt.AlignRight|Qt.AlignTrailing|Qt.AlignVCenter)
|
||||
|
||||
self.gridLayout.addWidget(self.label_7, 9, 0, 1, 1)
|
||||
|
||||
self.maxRecallNoneCheckBox = QCheckBox(ScoreEditor)
|
||||
self.maxRecallNoneCheckBox.setObjectName(u"maxRecallNoneCheckBox")
|
||||
self.maxRecallNoneCheckBox.setChecked(True)
|
||||
|
||||
self.gridLayout.addWidget(self.maxRecallNoneCheckBox, 8, 2, 1, 1)
|
||||
|
||||
self.clearTypeNoneCheckBox = QCheckBox(ScoreEditor)
|
||||
self.clearTypeNoneCheckBox.setObjectName(u"clearTypeNoneCheckBox")
|
||||
self.clearTypeNoneCheckBox.setChecked(True)
|
||||
|
||||
self.gridLayout.addWidget(self.clearTypeNoneCheckBox, 10, 2, 1, 1)
|
||||
|
||||
self.label_10 = QLabel(ScoreEditor)
|
||||
self.label_10.setObjectName(u"label_10")
|
||||
self.label_10.setText(u"ID")
|
||||
self.label_10.setAlignment(Qt.AlignRight|Qt.AlignTrailing|Qt.AlignVCenter)
|
||||
|
||||
self.gridLayout.addWidget(self.label_10, 0, 0, 1, 1)
|
||||
|
||||
self.label_2 = QLabel(ScoreEditor)
|
||||
self.label_2.setObjectName(u"label_2")
|
||||
self.label_2.setText(u"PURE")
|
||||
self.label_2.setAlignment(Qt.AlignRight|Qt.AlignTrailing|Qt.AlignVCenter)
|
||||
|
||||
self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1)
|
||||
|
||||
self.label_4 = QLabel(ScoreEditor)
|
||||
self.label_4.setObjectName(u"label_4")
|
||||
self.label_4.setText(u"LOST")
|
||||
self.label_4.setAlignment(Qt.AlignRight|Qt.AlignTrailing|Qt.AlignVCenter)
|
||||
|
||||
self.gridLayout.addWidget(self.label_4, 4, 0, 1, 1)
|
||||
|
||||
self.modifierNoneCheckBox = QCheckBox(ScoreEditor)
|
||||
self.modifierNoneCheckBox.setObjectName(u"modifierNoneCheckBox")
|
||||
self.modifierNoneCheckBox.setChecked(True)
|
||||
|
||||
self.gridLayout.addWidget(self.modifierNoneCheckBox, 9, 2, 1, 1)
|
||||
|
||||
self.dateTimeEdit = QDateTimeEdit(ScoreEditor)
|
||||
self.dateTimeEdit.setObjectName(u"dateTimeEdit")
|
||||
@ -146,67 +185,49 @@ class Ui_ScoreEditor(object):
|
||||
|
||||
self.gridLayout.addWidget(self.dateTimeEdit, 5, 1, 1, 1)
|
||||
|
||||
self.lostSpinBox = QSpinBox(ScoreEditor)
|
||||
self.lostSpinBox.setObjectName(u"lostSpinBox")
|
||||
self.lostSpinBox.setMinimumSize(QSize(100, 0))
|
||||
self.lostSpinBox.setMinimum(0)
|
||||
self.lostSpinBox.setMaximum(0)
|
||||
self.modifierComboBox = QComboBox(ScoreEditor)
|
||||
self.modifierComboBox.setObjectName(u"modifierComboBox")
|
||||
self.modifierComboBox.setEnabled(False)
|
||||
|
||||
self.gridLayout.addWidget(self.lostSpinBox, 4, 1, 1, 1)
|
||||
self.gridLayout.addWidget(self.modifierComboBox, 9, 1, 1, 1)
|
||||
|
||||
self.dateNoneCheckBox = QCheckBox(ScoreEditor)
|
||||
self.dateNoneCheckBox.setObjectName(u"dateNoneCheckBox")
|
||||
|
||||
self.gridLayout.addWidget(self.dateNoneCheckBox, 5, 2, 1, 1)
|
||||
|
||||
self.pureNoneCheckBox = QCheckBox(ScoreEditor)
|
||||
self.pureNoneCheckBox.setObjectName(u"pureNoneCheckBox")
|
||||
|
||||
self.gridLayout.addWidget(self.pureNoneCheckBox, 2, 2, 1, 1)
|
||||
|
||||
self.pureSpinBox = QSpinBox(ScoreEditor)
|
||||
self.pureSpinBox.setObjectName(u"pureSpinBox")
|
||||
self.pureSpinBox.setMinimumSize(QSize(100, 0))
|
||||
self.pureSpinBox.setMinimum(0)
|
||||
self.pureSpinBox.setMaximum(0)
|
||||
|
||||
self.gridLayout.addWidget(self.pureSpinBox, 2, 1, 1, 1)
|
||||
|
||||
self.lostNoneCheckBox = QCheckBox(ScoreEditor)
|
||||
self.lostNoneCheckBox.setObjectName(u"lostNoneCheckBox")
|
||||
|
||||
self.gridLayout.addWidget(self.lostNoneCheckBox, 4, 2, 1, 1)
|
||||
|
||||
self.commentLineEdit = QLineEdit(ScoreEditor)
|
||||
self.commentLineEdit.setObjectName(u"commentLineEdit")
|
||||
self.commentLineEdit.setEnabled(False)
|
||||
self.warnIfIncompleteCheckBox = QCheckBox(ScoreEditor)
|
||||
self.warnIfIncompleteCheckBox.setObjectName(u"warnIfIncompleteCheckBox")
|
||||
|
||||
self.gridLayout.addWidget(self.commentLineEdit, 11, 1, 1, 1)
|
||||
self.gridLayout.addWidget(self.warnIfIncompleteCheckBox, 13, 0, 1, 1)
|
||||
|
||||
self.modifierNoneCheckBox = QCheckBox(ScoreEditor)
|
||||
self.modifierNoneCheckBox.setObjectName(u"modifierNoneCheckBox")
|
||||
self.modifierNoneCheckBox.setChecked(True)
|
||||
self.maxRecallSpinBox = QSpinBox(ScoreEditor)
|
||||
self.maxRecallSpinBox.setObjectName(u"maxRecallSpinBox")
|
||||
self.maxRecallSpinBox.setEnabled(False)
|
||||
self.maxRecallSpinBox.setMinimumSize(QSize(100, 0))
|
||||
self.maxRecallSpinBox.setMinimum(0)
|
||||
self.maxRecallSpinBox.setMaximum(0)
|
||||
self.maxRecallSpinBox.setValue(0)
|
||||
|
||||
self.gridLayout.addWidget(self.modifierNoneCheckBox, 9, 2, 1, 1)
|
||||
|
||||
self.commentNoneCheckBox = QCheckBox(ScoreEditor)
|
||||
self.commentNoneCheckBox.setObjectName(u"commentNoneCheckBox")
|
||||
self.commentNoneCheckBox.setChecked(True)
|
||||
|
||||
self.gridLayout.addWidget(self.commentNoneCheckBox, 11, 2, 1, 1)
|
||||
|
||||
self.label_5 = QLabel(ScoreEditor)
|
||||
self.label_5.setObjectName(u"label_5")
|
||||
self.label_5.setAlignment(Qt.AlignRight|Qt.AlignTrailing|Qt.AlignVCenter)
|
||||
|
||||
self.gridLayout.addWidget(self.label_5, 5, 0, 1, 1)
|
||||
|
||||
self.commitButton = QPushButton(ScoreEditor)
|
||||
self.commitButton.setObjectName(u"commitButton")
|
||||
|
||||
self.gridLayout.addWidget(self.commitButton, 12, 2, 1, 1)
|
||||
|
||||
self.scoreLineEdit = FocusSelectAllLineEdit(ScoreEditor)
|
||||
self.scoreLineEdit.setObjectName(u"scoreLineEdit")
|
||||
self.scoreLineEdit.setInputMask(u"B9'999'999;_")
|
||||
|
||||
self.gridLayout.addWidget(self.scoreLineEdit, 1, 1, 1, 1)
|
||||
|
||||
self.maxRecallNoneCheckBox = QCheckBox(ScoreEditor)
|
||||
self.maxRecallNoneCheckBox.setObjectName(u"maxRecallNoneCheckBox")
|
||||
self.maxRecallNoneCheckBox.setChecked(True)
|
||||
|
||||
self.gridLayout.addWidget(self.maxRecallNoneCheckBox, 8, 2, 1, 1)
|
||||
|
||||
self.farSpinBox = QSpinBox(ScoreEditor)
|
||||
self.farSpinBox.setObjectName(u"farSpinBox")
|
||||
self.farSpinBox.setMinimumSize(QSize(100, 0))
|
||||
self.farSpinBox.setMinimum(0)
|
||||
self.farSpinBox.setMaximum(0)
|
||||
|
||||
self.gridLayout.addWidget(self.farSpinBox, 3, 1, 1, 1)
|
||||
self.gridLayout.addWidget(self.maxRecallSpinBox, 8, 1, 1, 1)
|
||||
|
||||
self.label_9 = QLabel(ScoreEditor)
|
||||
self.label_9.setObjectName(u"label_9")
|
||||
@ -214,33 +235,31 @@ class Ui_ScoreEditor(object):
|
||||
|
||||
self.gridLayout.addWidget(self.label_9, 11, 0, 1, 1)
|
||||
|
||||
self.label = QLabel(ScoreEditor)
|
||||
self.label.setObjectName(u"label")
|
||||
self.label.setAlignment(Qt.AlignRight|Qt.AlignTrailing|Qt.AlignVCenter)
|
||||
self.label_6 = QLabel(ScoreEditor)
|
||||
self.label_6.setObjectName(u"label_6")
|
||||
self.label_6.setText(u"MAX RECALL")
|
||||
self.label_6.setAlignment(Qt.AlignRight|Qt.AlignTrailing|Qt.AlignVCenter)
|
||||
|
||||
self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
|
||||
self.gridLayout.addWidget(self.label_6, 8, 0, 1, 1)
|
||||
|
||||
self.farNoneCheckBox = QCheckBox(ScoreEditor)
|
||||
self.farNoneCheckBox.setObjectName(u"farNoneCheckBox")
|
||||
self.label_11 = QLabel(ScoreEditor)
|
||||
self.label_11.setObjectName(u"label_11")
|
||||
self.label_11.setAlignment(Qt.AlignRight|Qt.AlignTrailing|Qt.AlignVCenter)
|
||||
|
||||
self.gridLayout.addWidget(self.farNoneCheckBox, 3, 2, 1, 1)
|
||||
self.gridLayout.addWidget(self.label_11, 12, 0, 1, 1)
|
||||
|
||||
self.label_10 = QLabel(ScoreEditor)
|
||||
self.label_10.setObjectName(u"label_10")
|
||||
self.label_10.setText(u"ID")
|
||||
self.label_10.setAlignment(Qt.AlignRight|Qt.AlignTrailing|Qt.AlignVCenter)
|
||||
self.previewLabel = QLabel(ScoreEditor)
|
||||
self.previewLabel.setObjectName(u"previewLabel")
|
||||
sizePolicy2 = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Minimum)
|
||||
sizePolicy2.setHorizontalStretch(0)
|
||||
sizePolicy2.setVerticalStretch(0)
|
||||
sizePolicy2.setHeightForWidth(self.previewLabel.sizePolicy().hasHeightForWidth())
|
||||
self.previewLabel.setSizePolicy(sizePolicy2)
|
||||
self.previewLabel.setStyleSheet(u"QLabel { color: gray }")
|
||||
self.previewLabel.setText(u"None")
|
||||
self.previewLabel.setWordWrap(True)
|
||||
|
||||
self.gridLayout.addWidget(self.label_10, 0, 0, 1, 1)
|
||||
|
||||
self.idLabel = QLabel(ScoreEditor)
|
||||
self.idLabel.setObjectName(u"idLabel")
|
||||
|
||||
self.gridLayout.addWidget(self.idLabel, 0, 1, 1, 1)
|
||||
|
||||
self.warnIfIncompleteCheckBox = QCheckBox(ScoreEditor)
|
||||
self.warnIfIncompleteCheckBox.setObjectName(u"warnIfIncompleteCheckBox")
|
||||
|
||||
self.gridLayout.addWidget(self.warnIfIncompleteCheckBox, 12, 0, 1, 1)
|
||||
self.gridLayout.addWidget(self.previewLabel, 12, 1, 1, 1)
|
||||
|
||||
QWidget.setTabOrder(self.scoreLineEdit, self.pureSpinBox)
|
||||
QWidget.setTabOrder(self.pureSpinBox, self.pureNoneCheckBox)
|
||||
@ -274,20 +293,21 @@ class Ui_ScoreEditor(object):
|
||||
# setupUi
|
||||
|
||||
def retranslateUi(self, ScoreEditor):
|
||||
self.pureNoneCheckBox.setText(QCoreApplication.translate("ScoreEditor", u"setNone", None))
|
||||
self.clearTypeNoneCheckBox.setText(QCoreApplication.translate("ScoreEditor", u"setNone", None))
|
||||
self.dateNoneCheckBox.setText(QCoreApplication.translate("ScoreEditor", u"setNone", None))
|
||||
self.lostNoneCheckBox.setText(QCoreApplication.translate("ScoreEditor", u"setNone", None))
|
||||
self.modifierNoneCheckBox.setText(QCoreApplication.translate("ScoreEditor", u"setNone", None))
|
||||
self.commentNoneCheckBox.setText(QCoreApplication.translate("ScoreEditor", u"setNone", None))
|
||||
self.label_5.setText(QCoreApplication.translate("ScoreEditor", u"formLabel.date", None))
|
||||
self.commitButton.setText(QCoreApplication.translate("ScoreEditor", u"commitButton", None))
|
||||
self.maxRecallNoneCheckBox.setText(QCoreApplication.translate("ScoreEditor", u"setNone", None))
|
||||
self.label_9.setText(QCoreApplication.translate("ScoreEditor", u"formLabel.comment", None))
|
||||
self.label.setText(QCoreApplication.translate("ScoreEditor", u"formLabel.score", None))
|
||||
self.commentNoneCheckBox.setText(QCoreApplication.translate("ScoreEditor", u"setNone", None))
|
||||
self.farNoneCheckBox.setText(QCoreApplication.translate("ScoreEditor", u"setNone", None))
|
||||
self.idLabel.setText(QCoreApplication.translate("ScoreEditor", u"idAutoInsert", None))
|
||||
self.label_5.setText(QCoreApplication.translate("ScoreEditor", u"formLabel.date", None))
|
||||
self.maxRecallNoneCheckBox.setText(QCoreApplication.translate("ScoreEditor", u"setNone", None))
|
||||
self.clearTypeNoneCheckBox.setText(QCoreApplication.translate("ScoreEditor", u"setNone", None))
|
||||
self.modifierNoneCheckBox.setText(QCoreApplication.translate("ScoreEditor", u"setNone", None))
|
||||
self.dateNoneCheckBox.setText(QCoreApplication.translate("ScoreEditor", u"setNone", None))
|
||||
self.pureNoneCheckBox.setText(QCoreApplication.translate("ScoreEditor", u"setNone", None))
|
||||
self.lostNoneCheckBox.setText(QCoreApplication.translate("ScoreEditor", u"setNone", None))
|
||||
self.warnIfIncompleteCheckBox.setText(QCoreApplication.translate("ScoreEditor", u"warnIfIncomplete", None))
|
||||
self.label_9.setText(QCoreApplication.translate("ScoreEditor", u"formLabel.comment", None))
|
||||
self.label_11.setText(QCoreApplication.translate("ScoreEditor", u"formLabel.preview", None))
|
||||
pass
|
||||
# retranslateUi
|
||||
|
||||
|
@ -135,6 +135,8 @@ class ScoreEditor(Ui_ScoreEditor, QWidget):
|
||||
|
||||
self.dateTimeEdit.setDateTime(QDateTime.currentDateTime())
|
||||
|
||||
self.valueChanged.connect(self.updatePreviewLabel)
|
||||
|
||||
def retranslateUi(self, *args):
|
||||
super().retranslateUi(self)
|
||||
|
||||
@ -145,6 +147,17 @@ class ScoreEditor(Ui_ScoreEditor, QWidget):
|
||||
item.title = titleCallable()
|
||||
item.text = textCallable()
|
||||
|
||||
def updatePreviewLabel(self):
|
||||
if score := self.value():
|
||||
texts = [
|
||||
f"({score.song_id}, {score.rating_class}), Score {score.score}",
|
||||
f"PURE {score.pure}, FAR {score.far}, LOST {score.lost}, MR {score.max_recall}",
|
||||
f"Date {score.date}, Clear type {score.clear_type}, Modifier {score.modifier}",
|
||||
]
|
||||
self.previewLabel.setText("<br>".join(texts))
|
||||
else:
|
||||
self.previewLabel.setText("None")
|
||||
|
||||
def validateBeforeAccept(self):
|
||||
return self.__validateBeforeAccept
|
||||
|
||||
@ -267,6 +280,7 @@ class ScoreEditor(Ui_ScoreEditor, QWidget):
|
||||
self.__chart = None
|
||||
self.resetLimits()
|
||||
self.updateValidateLabel()
|
||||
self.updatePreviewLabel()
|
||||
|
||||
def validateScore(self) -> ScoreValidateResult:
|
||||
if not isinstance(self.__chart, Chart):
|
||||
|
@ -314,49 +314,54 @@ validation</translation>
|
||||
<context>
|
||||
<name>ScoreEditor</name>
|
||||
<message>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="20"/>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="53"/>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="83"/>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="223"/>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="237"/>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="247"/>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="281"/>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="327"/>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="109"/>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="119"/>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="189"/>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="199"/>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="239"/>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="272"/>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="279"/>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="302"/>
|
||||
<source>setNone</source>
|
||||
<translation>None</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="257"/>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="169"/>
|
||||
<source>formLabel.date</source>
|
||||
<translation>Time</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="307"/>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="338"/>
|
||||
<source>formLabel.comment</source>
|
||||
<translation>Comment</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="317"/>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="358"/>
|
||||
<source>formLabel.preview</source>
|
||||
<translation>Preview</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="99"/>
|
||||
<source>formLabel.score</source>
|
||||
<translation>Score</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="344"/>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="162"/>
|
||||
<source>idAutoInsert</source>
|
||||
<translation>(Auto insert)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="351"/>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="309"/>
|
||||
<source>warnIfIncomplete</source>
|
||||
<translation>Warn if incomplete</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="267"/>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="63"/>
|
||||
<source>commitButton</source>
|
||||
<translation>Commit</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="306"/>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="320"/>
|
||||
<source>validate.ok</source>
|
||||
<translation>OK</translation>
|
||||
</message>
|
||||
@ -401,57 +406,57 @@ validation</translation>
|
||||
<translation>Cannot verify an incomplete score. Commit anyway?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="192"/>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="205"/>
|
||||
<source>confirmDialog.chartNotSet.title</source>
|
||||
<translation>Chart not set</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="193"/>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="206"/>
|
||||
<source>confirmDialog.chartNotSet.text</source>
|
||||
<translation>Chart not set, cannot commit.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="201"/>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="214"/>
|
||||
<source>confirmDialog.scoreIncomplete.title</source>
|
||||
<translation>Score incomplete</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="202"/>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="215"/>
|
||||
<source>confirmDialog.scoreIncomplete.text</source>
|
||||
<translation>Necessary score field missing, cannot commit.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="310"/>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="324"/>
|
||||
<source>validate.chartNotSet</source>
|
||||
<translation>Chart not set</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="314"/>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="328"/>
|
||||
<source>validate.chartIncomple</source>
|
||||
<translation>No chart data, cannot verify</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="318"/>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="332"/>
|
||||
<source>validate.scoreMismatch</source>
|
||||
<translation>Possible invalid score</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="322"/>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="336"/>
|
||||
<source>validate.scoreEmpty</source>
|
||||
<translation>Empty score</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="326"/>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="340"/>
|
||||
<source>validate.scoreIncomplete</source>
|
||||
<translation>Missing necessary score field</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="332"/>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="346"/>
|
||||
<source>validate.scoreIncompleteForValidate</source>
|
||||
<translation>Score incomplete, cannot verify</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="337"/>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="351"/>
|
||||
<source>validate.unknownState</source>
|
||||
<translation>Unknown</translation>
|
||||
</message>
|
||||
|
@ -313,49 +313,54 @@
|
||||
<context>
|
||||
<name>ScoreEditor</name>
|
||||
<message>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="20"/>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="53"/>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="83"/>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="223"/>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="237"/>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="247"/>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="281"/>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="327"/>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="109"/>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="119"/>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="189"/>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="199"/>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="239"/>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="272"/>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="279"/>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="302"/>
|
||||
<source>setNone</source>
|
||||
<translation>置空</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="257"/>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="169"/>
|
||||
<source>formLabel.date</source>
|
||||
<translation>时间</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="307"/>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="338"/>
|
||||
<source>formLabel.comment</source>
|
||||
<translation>注释</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="317"/>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="358"/>
|
||||
<source>formLabel.preview</source>
|
||||
<translation>预览</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="99"/>
|
||||
<source>formLabel.score</source>
|
||||
<translation>分数</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="344"/>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="162"/>
|
||||
<source>idAutoInsert</source>
|
||||
<translation>(自动插入)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="351"/>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="309"/>
|
||||
<source>warnIfIncomplete</source>
|
||||
<translation>不完整时要求确认</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="267"/>
|
||||
<location filename="../../designer/components/scoreEditor.ui" line="63"/>
|
||||
<source>commitButton</source>
|
||||
<translation>提交</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="306"/>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="320"/>
|
||||
<source>validate.ok</source>
|
||||
<translation>OK</translation>
|
||||
</message>
|
||||
@ -400,57 +405,57 @@
|
||||
<translation>无法验证不完整的分数。继续提交吗?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="192"/>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="205"/>
|
||||
<source>confirmDialog.chartNotSet.title</source>
|
||||
<translation>未指定谱面</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="193"/>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="206"/>
|
||||
<source>confirmDialog.chartNotSet.text</source>
|
||||
<translation>未指定谱面,无法提交。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="201"/>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="214"/>
|
||||
<source>confirmDialog.scoreIncomplete.title</source>
|
||||
<translation>分数不完整</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="202"/>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="215"/>
|
||||
<source>confirmDialog.scoreIncomplete.text</source>
|
||||
<translation>缺失必要的分数数据,无法提交。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="310"/>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="324"/>
|
||||
<source>validate.chartNotSet</source>
|
||||
<translation>未指定谱面</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="314"/>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="328"/>
|
||||
<source>validate.chartIncomple</source>
|
||||
<translation>谱面数据缺失,无法验证分数</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="318"/>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="332"/>
|
||||
<source>validate.scoreMismatch</source>
|
||||
<translation>分数可能有误</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="322"/>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="336"/>
|
||||
<source>validate.scoreEmpty</source>
|
||||
<translation>分数为空</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="326"/>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="340"/>
|
||||
<source>validate.scoreIncomplete</source>
|
||||
<translation>缺失必要分数数据</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="332"/>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="346"/>
|
||||
<source>validate.scoreIncompleteForValidate</source>
|
||||
<translation>分数不完整,无法验证</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="337"/>
|
||||
<location filename="../../implements/components/scoreEditor.py" line="351"/>
|
||||
<source>validate.unknownState</source>
|
||||
<translation>未知</translation>
|
||||
</message>
|
||||
|
Reference in New Issue
Block a user