1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
#!/usr/bin/env python3
#******************************************************************************
# globalref.py, provides a module for access to a few global variables
#
# TreeLine, an information storage program
# Copyright (C) 2017, Douglas W. Bell
#
# This is free software; you can redistribute it and/or modify it under the
# terms of the GNU General Public License, either Version 2 or any later
# version. This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY. See the included LICENSE file for details.
#******************************************************************************
mainControl = None
genOptions = None
miscOptions = None
histOptions = None
toolbarOptions = None
keyboardOptions = None
toolIcons = None
treeIcons = None
localTextEncoding = ''
lang = ''
fileFilters = {'trlnopen': '{} (*.trln *.trln.gz *.trl)'.
format(_('All TreeLine Files')),
'trlnv3': '{} (*.trln *.trln.gz)'.format(_('TreeLine Files')),
'trlnsave': '{} (*.trln)'.format(_('TreeLine Files')),
'trlngz': '{} (*.trln *.trln.gz)'.
format(_('TreeLine Files - Compressed')),
'trlnenc': '{} (*.trln)'.
format(_('TreeLine Files - Encrypted')),
'trl': '{} (*.trl *.xml)'.format(_('Old TreeLine Files')),
'all': '{} (*)'.format(_('All Files')),
'html': '{} (*.html *.htm)'.format(_('HTML Files')),
'txt': '{} (*.txt)'.format(_('Text Files')),
'xml': '{} (*.xml)'.format(_('XML Files')),
'csv': '{} (*.csv)'.format(_('CSV (Comma Delimited) Files')),
'odt': '{} (*.odt)'.format(_('ODF Text Files')),
'hjt': '{} (*.hjt)'.format(_('Treepad Files')),
'pdf': '{} (*.pdf)'.format(_('PDF Files'))}
|