mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-15 18:13:09 +00:00
Use Courier for mono-spaced font in Windows.
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3837 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
c9e9f95da1
commit
b362e61e7d
2 changed files with 4 additions and 2 deletions
1
TODO.txt
1
TODO.txt
|
|
@ -1,4 +1,3 @@
|
|||
- [INTERFACE] GUI for linkchecker
|
||||
+ Font setting "Mono" for log output has no effect on Windows.
|
||||
+ more configuration options
|
||||
- Test installation and dist files
|
||||
|
|
|
|||
|
|
@ -31,7 +31,10 @@ class LinkCheckerMain (QtGui.QMainWindow, Ui_MainWindow):
|
|||
self.setupUi(self)
|
||||
self.setWindowFlags(self.windowFlags() | QtCore.Qt.WindowContextHelpButtonHint)
|
||||
self.setWindowTitle(configuration.App)
|
||||
self.textEdit.setFontFamily("mono")
|
||||
if os.name == 'nt':
|
||||
self.textEdit.setFontFamily("Courier")
|
||||
else:
|
||||
self.textEdit.setFontFamily("mono")
|
||||
self.checker = Checker()
|
||||
|
||||
settings = QtCore.QSettings('bfk', configuration.AppName)
|
||||
|
|
|
|||
Loading…
Reference in a new issue