设置默认值
This commit is contained in:
parent
d9749e42ee
commit
2e5622e4d5
|
@ -159,7 +159,7 @@ class Window:
|
|||
# 获取界面输入
|
||||
file_dict = {}
|
||||
file_dict['filename'] = self.check_common(self.ui.fileNameText)
|
||||
file_dict['outputpath'] = self.check_common(self.ui.fileOutputText)
|
||||
file_dict['outputpath'] = self.ui.fileOutputText.text()
|
||||
file_dict['fileinit'] = self.check_common(self.ui.fileInitRowsText)
|
||||
# 是否持续
|
||||
file_dict['filecreating'] = self.ui.checkBox.isChecked()
|
||||
|
|
|
@ -88,15 +88,26 @@
|
|||
<string>filetest</string>
|
||||
</property>
|
||||
<property name="placeholderText">
|
||||
<string>qqq</string>
|
||||
<string>文件名</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="fileOutputText"/>
|
||||
<widget class="QLineEdit" name="fileOutputText">
|
||||
<property name="placeholderText">
|
||||
<string>默认:./data</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="fileInitRowsText"/>
|
||||
<widget class="QLineEdit" name="fileInitRowsText">
|
||||
<property name="text">
|
||||
<string>10</string>
|
||||
</property>
|
||||
<property name="placeholderText">
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="verticalSpacer">
|
||||
|
@ -181,6 +192,9 @@
|
|||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>200</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
|
@ -202,7 +216,11 @@
|
|||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="fileDelRowsText"/>
|
||||
<widget class="QLineEdit" name="fileDelRowsText">
|
||||
<property name="text">
|
||||
<string>100</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_7">
|
||||
|
|
Loading…
Reference in New Issue