mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-05-02 20:12:24 +12:00
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")
|
errors.append("settings.txt")
|
||||||
|
|
||||||
# Just to be sure
|
# Just to be sure
|
||||||
settings.saveToZip = zip
|
settings.saveToZip = True if zip else False
|
||||||
settings.defaultTextType = "md"
|
settings.defaultTextType = "md"
|
||||||
|
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Form implementation generated from reading ui file 'manuskript/ui/settings_ui.ui'
|
# 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
|
# 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.
|
# 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):
|
class Ui_Settings(object):
|
||||||
def setupUi(self, Settings):
|
def setupUi(self, Settings):
|
||||||
Settings.setObjectName("Settings")
|
Settings.setObjectName("Settings")
|
||||||
Settings.resize(681, 598)
|
Settings.resize(803, 623)
|
||||||
self.horizontalLayout_8 = QtWidgets.QHBoxLayout(Settings)
|
self.horizontalLayout_8 = QtWidgets.QHBoxLayout(Settings)
|
||||||
self.horizontalLayout_8.setObjectName("horizontalLayout_8")
|
self.horizontalLayout_8.setObjectName("horizontalLayout_8")
|
||||||
self.lstMenu = QtWidgets.QListWidget(Settings)
|
self.lstMenu = QtWidgets.QListWidget(Settings)
|
||||||
|
@ -144,7 +144,7 @@ class Ui_Settings(object):
|
||||||
font.setBold(False)
|
font.setBold(False)
|
||||||
font.setWeight(50)
|
font.setWeight(50)
|
||||||
self.chkAutoLoad.setFont(font)
|
self.chkAutoLoad.setFont(font)
|
||||||
self.chkAutoLoad.setChecked(True)
|
self.chkAutoLoad.setChecked(False)
|
||||||
self.chkAutoLoad.setObjectName("chkAutoLoad")
|
self.chkAutoLoad.setObjectName("chkAutoLoad")
|
||||||
self.verticalLayout_18.addWidget(self.chkAutoLoad)
|
self.verticalLayout_18.addWidget(self.chkAutoLoad)
|
||||||
self.verticalLayout_7.addWidget(self.groupBox_10)
|
self.verticalLayout_7.addWidget(self.groupBox_10)
|
||||||
|
@ -163,7 +163,7 @@ class Ui_Settings(object):
|
||||||
font.setBold(False)
|
font.setBold(False)
|
||||||
font.setWeight(50)
|
font.setWeight(50)
|
||||||
self.chkAutoSave.setFont(font)
|
self.chkAutoSave.setFont(font)
|
||||||
self.chkAutoSave.setChecked(True)
|
self.chkAutoSave.setChecked(False)
|
||||||
self.chkAutoSave.setObjectName("chkAutoSave")
|
self.chkAutoSave.setObjectName("chkAutoSave")
|
||||||
self.horizontalLayout_5.addWidget(self.chkAutoSave)
|
self.horizontalLayout_5.addWidget(self.chkAutoSave)
|
||||||
self.txtAutoSave = QtWidgets.QLineEdit(self.groupBox)
|
self.txtAutoSave = QtWidgets.QLineEdit(self.groupBox)
|
||||||
|
@ -199,7 +199,7 @@ class Ui_Settings(object):
|
||||||
font.setBold(False)
|
font.setBold(False)
|
||||||
font.setWeight(50)
|
font.setWeight(50)
|
||||||
self.chkAutoSaveNoChanges.setFont(font)
|
self.chkAutoSaveNoChanges.setFont(font)
|
||||||
self.chkAutoSaveNoChanges.setChecked(True)
|
self.chkAutoSaveNoChanges.setChecked(False)
|
||||||
self.chkAutoSaveNoChanges.setObjectName("chkAutoSaveNoChanges")
|
self.chkAutoSaveNoChanges.setObjectName("chkAutoSaveNoChanges")
|
||||||
self.horizontalLayout_7.addWidget(self.chkAutoSaveNoChanges)
|
self.horizontalLayout_7.addWidget(self.chkAutoSaveNoChanges)
|
||||||
self.txtAutoSaveNoChanges = QtWidgets.QLineEdit(self.groupBox)
|
self.txtAutoSaveNoChanges = QtWidgets.QLineEdit(self.groupBox)
|
||||||
|
@ -233,7 +233,7 @@ class Ui_Settings(object):
|
||||||
font.setBold(False)
|
font.setBold(False)
|
||||||
font.setWeight(50)
|
font.setWeight(50)
|
||||||
self.chkSaveOnQuit.setFont(font)
|
self.chkSaveOnQuit.setFont(font)
|
||||||
self.chkSaveOnQuit.setChecked(True)
|
self.chkSaveOnQuit.setChecked(False)
|
||||||
self.chkSaveOnQuit.setObjectName("chkSaveOnQuit")
|
self.chkSaveOnQuit.setObjectName("chkSaveOnQuit")
|
||||||
self.verticalLayout_6.addWidget(self.chkSaveOnQuit)
|
self.verticalLayout_6.addWidget(self.chkSaveOnQuit)
|
||||||
self.chkSaveToZip = QtWidgets.QCheckBox(self.groupBox)
|
self.chkSaveToZip = QtWidgets.QCheckBox(self.groupBox)
|
||||||
|
@ -242,7 +242,7 @@ class Ui_Settings(object):
|
||||||
font.setWeight(50)
|
font.setWeight(50)
|
||||||
self.chkSaveToZip.setFont(font)
|
self.chkSaveToZip.setFont(font)
|
||||||
self.chkSaveToZip.setStatusTip("")
|
self.chkSaveToZip.setStatusTip("")
|
||||||
self.chkSaveToZip.setChecked(True)
|
self.chkSaveToZip.setChecked(False)
|
||||||
self.chkSaveToZip.setObjectName("chkSaveToZip")
|
self.chkSaveToZip.setObjectName("chkSaveToZip")
|
||||||
self.verticalLayout_6.addWidget(self.chkSaveToZip)
|
self.verticalLayout_6.addWidget(self.chkSaveToZip)
|
||||||
self.verticalLayout_7.addWidget(self.groupBox)
|
self.verticalLayout_7.addWidget(self.groupBox)
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>681</width>
|
<width>803</width>
|
||||||
<height>598</height>
|
<height>623</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
|
@ -259,7 +259,7 @@
|
||||||
<string>Automatically load last project on startup</string>
|
<string>Automatically load last project on startup</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="checked">
|
<property name="checked">
|
||||||
<bool>true</bool>
|
<bool>false</bool>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -292,7 +292,7 @@
|
||||||
<string>Automatically save every</string>
|
<string>Automatically save every</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="checked">
|
<property name="checked">
|
||||||
<bool>true</bool>
|
<bool>false</bool>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -375,7 +375,7 @@
|
||||||
<string>If no changes during</string>
|
<string>If no changes during</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="checked">
|
<property name="checked">
|
||||||
<bool>true</bool>
|
<bool>false</bool>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -456,7 +456,7 @@
|
||||||
<string>Save on project close</string>
|
<string>Save on project close</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="checked">
|
<property name="checked">
|
||||||
<bool>true</bool>
|
<bool>false</bool>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -478,7 +478,7 @@
|
||||||
<string>Save to one single file</string>
|
<string>Save to one single file</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="checked">
|
<property name="checked">
|
||||||
<bool>true</bool>
|
<bool>false</bool>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|
Loading…
Reference in a new issue