Adjust visual defaults in settings from ui
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
This commit is contained in:
parent
7293db7c40
commit
a88b61fbcd
|
@ -714,7 +714,7 @@ def loadProject(project, zip=None):
|
|||
errors.append("settings.txt")
|
||||
|
||||
# Just to be sure
|
||||
settings.saveToZip = zip
|
||||
settings.saveToZip = True if zip else False
|
||||
settings.defaultTextType = "md"
|
||||
|
||||
####################################################################################################################
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Form implementation generated from reading ui file 'manuskript/ui/settings_ui.ui'
|
||||
#
|
||||
# Created by: PyQt5 UI code generator 5.15.7
|
||||
# Created by: PyQt5 UI code generator 5.15.8
|
||||
#
|
||||
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
|
||||
# run again. Do not edit this file unless you know what you are doing.
|
||||
|
@ -14,7 +14,7 @@ from PyQt5 import QtCore, QtGui, QtWidgets
|
|||
class Ui_Settings(object):
|
||||
def setupUi(self, Settings):
|
||||
Settings.setObjectName("Settings")
|
||||
Settings.resize(681, 598)
|
||||
Settings.resize(803, 623)
|
||||
self.horizontalLayout_8 = QtWidgets.QHBoxLayout(Settings)
|
||||
self.horizontalLayout_8.setObjectName("horizontalLayout_8")
|
||||
self.lstMenu = QtWidgets.QListWidget(Settings)
|
||||
|
@ -144,7 +144,7 @@ class Ui_Settings(object):
|
|||
font.setBold(False)
|
||||
font.setWeight(50)
|
||||
self.chkAutoLoad.setFont(font)
|
||||
self.chkAutoLoad.setChecked(True)
|
||||
self.chkAutoLoad.setChecked(False)
|
||||
self.chkAutoLoad.setObjectName("chkAutoLoad")
|
||||
self.verticalLayout_18.addWidget(self.chkAutoLoad)
|
||||
self.verticalLayout_7.addWidget(self.groupBox_10)
|
||||
|
@ -163,7 +163,7 @@ class Ui_Settings(object):
|
|||
font.setBold(False)
|
||||
font.setWeight(50)
|
||||
self.chkAutoSave.setFont(font)
|
||||
self.chkAutoSave.setChecked(True)
|
||||
self.chkAutoSave.setChecked(False)
|
||||
self.chkAutoSave.setObjectName("chkAutoSave")
|
||||
self.horizontalLayout_5.addWidget(self.chkAutoSave)
|
||||
self.txtAutoSave = QtWidgets.QLineEdit(self.groupBox)
|
||||
|
@ -199,7 +199,7 @@ class Ui_Settings(object):
|
|||
font.setBold(False)
|
||||
font.setWeight(50)
|
||||
self.chkAutoSaveNoChanges.setFont(font)
|
||||
self.chkAutoSaveNoChanges.setChecked(True)
|
||||
self.chkAutoSaveNoChanges.setChecked(False)
|
||||
self.chkAutoSaveNoChanges.setObjectName("chkAutoSaveNoChanges")
|
||||
self.horizontalLayout_7.addWidget(self.chkAutoSaveNoChanges)
|
||||
self.txtAutoSaveNoChanges = QtWidgets.QLineEdit(self.groupBox)
|
||||
|
@ -233,7 +233,7 @@ class Ui_Settings(object):
|
|||
font.setBold(False)
|
||||
font.setWeight(50)
|
||||
self.chkSaveOnQuit.setFont(font)
|
||||
self.chkSaveOnQuit.setChecked(True)
|
||||
self.chkSaveOnQuit.setChecked(False)
|
||||
self.chkSaveOnQuit.setObjectName("chkSaveOnQuit")
|
||||
self.verticalLayout_6.addWidget(self.chkSaveOnQuit)
|
||||
self.chkSaveToZip = QtWidgets.QCheckBox(self.groupBox)
|
||||
|
@ -242,7 +242,7 @@ class Ui_Settings(object):
|
|||
font.setWeight(50)
|
||||
self.chkSaveToZip.setFont(font)
|
||||
self.chkSaveToZip.setStatusTip("")
|
||||
self.chkSaveToZip.setChecked(True)
|
||||
self.chkSaveToZip.setChecked(False)
|
||||
self.chkSaveToZip.setObjectName("chkSaveToZip")
|
||||
self.verticalLayout_6.addWidget(self.chkSaveToZip)
|
||||
self.verticalLayout_7.addWidget(self.groupBox)
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>681</width>
|
||||
<height>598</height>
|
||||
<width>803</width>
|
||||
<height>623</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
|
@ -259,7 +259,7 @@
|
|||
<string>Automatically load last project on startup</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -292,7 +292,7 @@
|
|||
<string>Automatically save every</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -375,7 +375,7 @@
|
|||
<string>If no changes during</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -456,7 +456,7 @@
|
|||
<string>Save on project close</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -478,7 +478,7 @@
|
|||
<string>Save to one single file</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
|
Loading…
Reference in New Issue