pyviblib.gui.resources | index /usr/lib/python2.4/site-packages/pyviblib/gui/resources.py |
Resources used in PyVib2.
The following function is exported :
get_font_molecules() -- optimal font for displaying names of molecules
The following prefices are used to identify the type of the resources :
STRING_ -- string
STRINGS_ -- tuple of strings
NUM_ -- number
FONT_ -- font
LIST_ -- list of objects
Modules | ||||||
|
Functions | ||
|
Data | ||
COLOR_BONDS_DEFAULT = '#008989' COLOR_HIGHLIGHTED_PICKED_ATOM = '#FFFF00' COLOR_HIGHLIGHTED_PICKED_VIBATOM = '#FF0000' COLOR_MARKED_TABLE_ELEMENT_BG = '#FFFF00' COLOR_MARKED_VIB_ATOM = '#FFFFFF' COLOR_MARKING_TRIANGLE = '#0080FF' COLOR_MOLECULE_WINDOW_BG = '#646464' COLOR_PICKED_ATOM = '#FFFFFF' COLOR_PICKED_ATOM_COMPARISON = '#98FB98' COLOR_PICKED_ATOM_FIT = '#B9D3EE' COLOR_PICKED_ATOM_MEASURE = '#FFFF00' COLOR_PICKED_VIBATOM = '#C0C0C0' COLOR_VIB_HEMISPHERE_1 = '#0000FF' COLOR_VIB_HEMISPHERE_2 = '#FFFF00' COLOR_VIB_REPRESENTATION_ARROWS = '#FF0000' FONT_MOLECULE_NAMES = ('Arial', 12, 'bold') FONT_OTHER_WINDOWS = ('Arial', 12) FONT_TABLE_ELEMENT = '-misc-fixed-medium-r-normal--*-120-*-*-c-*-iso8859-1' FONT_TABLE_HEADER1 = '-misc-fixed-medium-r-normal--*-120-*-*-c-*-iso8859-1' FONT_TABLE_HEADER2 = '-misc-fixed-medium-r-normal--*-120-*-*-c-*-iso8859-1' FONT_TABLE_SEL_HEADER1 = '-misc-fixed-bold-r-normal--*-120-*-*-c-*-iso8859-1' FONT_TABLE_SEL_HEADER2 = '-misc-fixed-bold-r-normal--*-120-*-*-c-*-iso8859-1' FONT_TWODCIRCLES_LABEL1 = ('Courier', 11, 'italic', 'bold') FONT_TWODCIRCLES_LABEL2 = ('Courier', 13, 'bold') LIST_EXPORT_FILETYPES = (('MOLDEN File', '*.mol'), ('XMol XYZ Files', '*.xyz'), ('Gaussian Input Files', '*.in *.inp')) LIST_INPUT_FILETYPES = (('All Files', '*'), ('Gaussian Formatted Checkpoint File', '*.fchk *.fch'), ('VOAVIEW File', '*.dat *.voa'), ('DALTON 1.x or 2.0 Output File', '*.out'), ('MOLDEN File', '*.mol'), ('XMol XYZ Files', '*.xyz')) LIST_SAVEAS_FILETYPES = (('VOAVIEW File', '*.dat *.voa'),) LIST_VTK_SNAPSHOT_FILETYPES = (('Joint Photographic Experts Group Files', '*.jpg *.jpeg'), ('Tagged Image File Format Files', '*.tif *.tiff'), ('Portable Network Graphic Files', '*.png'), ('PostScript / Encapsulated PostScript Files', '*.eps *.ps'), ('Netpbm Color Image Format Files', '*.ppm *.pnm')) NUMS_VTK_SCREENSHOT_RESOLUTIONS = (72, 150, 300, 600) NUM_FACTOR_SPHERE_RADIUS = 0.40000000000000002 NUM_HEIGHT_ARROWS_CONES = 0.10000000000000001 NUM_MAXRECENTFILES = 13 NUM_MODE_BALLSTICK = 0 NUM_MODE_BONDS_ATOMS_COLOR = 1 NUM_MODE_BONDS_MONOLITH_COLOR = 0 NUM_MODE_LOWERHALFONLY = 2 NUM_MODE_PROPORTIONAL_TO_SURFACE = 0 NUM_MODE_PROPORTIONAL_TO_VOLUME = 1 NUM_MODE_STICK = 1 NUM_MODE_UPPERHALFONLY = 1 NUM_MODE_VDW = 2 NUM_MODE_WHOLE = 0 NUM_MOUSE_SLOWING_FACTOR = 0.33333333333333331 NUM_RADIUS_ARROWS = 0.025000000000000001 NUM_RADIUS_ARROWS_CONES = 0.050000000000000003 NUM_RADIUS_BONDS = 0.050000000000000003 NUM_RESOLUTION_VTK = 10 NUM_RESOLUTION_VTK_MAX = 100 NUM_RESOLUTION_VTK_MIN = 5 NUM_TRANSPARENCY_PICKED_ATOM = 0.40000000000000002 NUM_TRANSPARENCY_VIB_ATOM = 0.69999999999999996 NUM_TYPE_PROPORTIONAL_TO_DIAMETER = 1 NUM_TYPE_PROPORTIONAL_TO_SQUARE = 0 STRINGS_ALIGNMENT_TYPES = ('Orientational', 'Inertia axes') STRINGS_BUTTONS_BACK_NEXT_CANCEL = ('< Back', 'Next >', 'Cancel') STRINGS_BUTTONS_OK_APPLY = ('Ok', 'Apply') STRINGS_BUTTONS_OK_APPLY_CANCEL = ('Ok', 'Apply', 'Cancel') STRINGS_BUTTONS_OK_CANCEL = ('Ok', 'Cancel') STRINGS_CAMERA_PROPERTIES = ('ParallelProjection', 'ParallelScale', 'FocalPoint', 'Position', 'ClippingRange', 'ViewUp') STRINGS_ENERGY_VOLUME_REPRESENTATIONS = ('Total volume fix', 'Zero-point') STRINGS_EXCURSIONS_DIAMETER_REPRESENTATIONS = ('Total surface fix', 'Zero-point', 'Standard normalization') STRINGS_EXPSPECTRA_TYPES = ('Raman/ROA', 'Degree of circularity') STRINGS_MODE_BONDS = ('Monolith', 'Two-colored') STRINGS_MODE_MOLECULE = ('Ball & Stick', 'Stick', 'Van der Waals radii') STRINGS_MODE_VIB_REPRESENTATION = ('Spheres', 'Arrows', 'Animation', 'Structure') STRINGS_PDFCOMPATIBILITYLEVELS = ('1.2', '1.3', '1.4') STRINGS_SCATTERING_TYPES = ('Backward', 'Forward') STRINGS_SPECTRA_NAMES = ('Raman', 'ROA', 'Degree of circularity') STRINGS_SPECTRA_PREFICES = ('raman', 'roa', 'degcirc') STRINGS_SPECTRA_REPRESENTATION_TYPES = ('Curves', 'Stick') STRINGS_TRANSLATIONS_ROTATIONS_LABELS = ('Tx', 'Ty', 'Tz', 'I1', 'I2', 'I3') STRINGS_VIB_REPRESENTATIONS = ('Energy (volume)', 'Excursions (diameter)') STRINGS_VIB_REPRESENTATIONS_ALL = ('Total volume fix', 'Zero-point', 'Total surface fix', 'Zero-point', 'Standard normalization') STRINGS_VROA_SPECTRA_NAMES = ('Raman', 'ROA', 'Degree of circularity', 'IR', 'VCD', 'G') STRINGS_VROA_SPECTRA_PREFICES = ('raman', 'roa', 'degcirc', 'ir', 'vcd', 'g') STRINGS_VTK_SNAPSHOT_FORMATS = ('jpeg', 'tiff', 'png', 'eps', 'ppm') STRING_ALIGNMENT_INERTIA_AXES = 'Inertia axes' STRING_ALIGNMENT_ORIENTATIONAL = 'Orientational' STRING_BUTTON_APPLY = 'Apply' STRING_BUTTON_BACK = '< Back' STRING_BUTTON_CANCEL = 'Cancel' STRING_BUTTON_NEXT = 'Next >' STRING_BUTTON_OK = 'Ok' STRING_FILETYPE_ALLFILES_DESCRIPTION = 'All Files' STRING_FILETYPE_CAMERAFILE_DESCRIPTION = 'PyVib2 Camera Files' STRING_FILETYPE_CSVFILE_DESCRIPTION = 'Comma Separated Values Files' STRING_FILETYPE_DALTONOUTPUT_DESCRIPTION = 'DALTON 1.x or 2.0 Output File' STRING_FILETYPE_EPSFILE_DESCRIPTION = 'PostScript / Encapsulated PostScript Files' STRING_FILETYPE_FCHKFILE_DESCRIPTION = 'Gaussian Formatted Checkpoint File' STRING_FILETYPE_FLIFILE_DESCRIPTION = 'Autodesk Animator Flic Files' STRING_FILETYPE_GAUSSINFILE_DESCRIPTION = 'Gaussian Input Files' STRING_FILETYPE_GIFFILE_DESCRIPTION = 'CompuServe GIF Files' STRING_FILETYPE_GROUPFILE_DESCRIPTION = 'Group Files' STRING_FILETYPE_JPEGFILE_DESCRIPTION = 'Joint Photographic Experts Group Files' STRING_FILETYPE_MOLDENFILE_DESCRIPTION = 'MOLDEN File' STRING_FILETYPE_PDFFILE_DESCRIPTION = 'Portable Document Format Files' STRING_FILETYPE_PLTFILE_DESCRIPTION = 'Instrument PLT files' STRING_FILETYPE_PNGFILE_DESCRIPTION = 'Portable Network Graphic Files' STRING_FILETYPE_PPMFILE_DESCRIPTION = 'Netpbm Color Image Format Files' STRING_FILETYPE_TIFFFILE_DESCRIPTION = 'Tagged Image File Format Files' STRING_FILETYPE_TXTFILE_DESCRIPTION = 'Text files' STRING_FILETYPE_VOAVIEWFILE_DESCRIPTION = 'VOAVIEW File' STRING_FILETYPE_XMOLXYZFILE_DESCRIPTION = 'XMol XYZ Files' STRING_FORMAT_TIME = '%a, %d %b %Y %H:%M:%S' STRING_MODE_VIB_REPRESENTATION_ANIMATION = 'Animation' STRING_MODE_VIB_REPRESENTATION_ARROWS = 'Arrows' STRING_MODE_VIB_REPRESENTATION_SPHERES = 'Spheres' STRING_MODE_VIB_REPRESENTATION_STRUCTURE = 'Structure' STRING_UNIT_ENERGY_HARTREE = 'Hartree' STRING_UNIT_ENERGY_KJMOL = 'kJ / mol' STRING_VIB_ENERGY = 'Energy (volume)' STRING_VIB_ENERGY_VOLUME = 'Total volume fix' STRING_VIB_ENERGY_VOLUME_ZERO_POINT = 'Zero-point' STRING_VIB_EXCURSIONS = 'Excursions (diameter)' STRING_VIB_EXCURSIONS_DIAMETER = 'Total surface fix' STRING_VIB_EXCURSIONS_DIAMETER_STANDARD = 'Standard normalization' STRING_VIB_EXCURSIONS_DIAMETER_ZEROPOINT = 'Zero-point' __author__ = 'Maxim Fedorovsky' |
Author | ||
Maxim Fedorovsky |