Exemple #1
0
    def change_settings(self):
        """ Change default settings - the coder name, font, font size. Non-modal. """

        ui = DialogSettings(self.settings)
        ui.exec_()
        self.settings_report()
        newfont = QtGui.QFont(self.settings['font'], self.settings['fontsize'], QtGui.QFont.Normal)
        self.setFont(newfont)
Exemple #2
0
    def change_settings(self):
        """ Change default settings - the coder name, font, font size. Non-modal.
        Backup options """

        ui = DialogSettings(self.app)
        ui.exec_()
        self.settings_report()
        font = 'font: ' + str(self.app.settings['fontsize']) + 'pt '
        font += '"' + self.app.settings['font'] + '";'
        self.setStyleSheet(font)
Exemple #3
0
 def showSettings(self):
     """
     Show the dialog for change/view settings
     """
     winSett = DialogSettings()
     winSett.exec_()