Prefs

Prefs

Table 6.19. Prefs type members

MemberTypeAccessDescription
elementselementroArray of element data (masses, symbols, names, etc.)
anglelabelstringrwThe units label appended to angle measurements
atomdetailintrwQuadric detail of atoms. Higher values give rounder atoms but make rendering slower
atomstyleradiusdouble[4]rwThe atom radii used for selection and rendering in the four Drawing Styles
backcullintrwWhether culling of backward-facing polygons should be performed
backgroundcolourdouble[4]rwBackground colour of the main canvas on which models are drawn
bonddetailintrwQuadric detail of bonds. Higher values give rounder bonds but make rendering slower
bondstyleradiusdouble[4]rwThe bond radii used for selection and rendering in the four Drawing Styles
bondtolerancedoublerwTolerance used in automatic calculation of bonds between atoms
cachelimitintrwThe trajectory cache size (in kilobytes) - trajectory files calculated to have more than this amount of data will not be cached in memory
calculateelecintrwControls whether electrostatic contributions to the energy/forces are calculated
calculateintraintrwControls whether intramolecular contributions to the energy/forces are calculated
calculatevdwintrwControls whether short-range Vdw contributions to the energy/forces are calculated
clipfardoublerwThe far clipping distance used when rendering
clipneardoublerwThe near clipping distance used when rendering
colourschemestringrwThe current Colour Scheme used to colour atoms and bonds
combinationrulestringrwLennard-Jones parameter combination rule equations. See Combination Rules for a list of rules.
commonelementsstringrwComma-separated list of common elements that appear in the Select Element dialog
densityunitstringrwThe unit of density to used when displaying cell densities
depthcueintrwEnables/disables depth cueing
depthfarintrwThe far fog distance used when rendering (if depth cueing is enabled)
depthnearintrwThe near fog distance used when rendering (if depth cueing is enabled)
distancelabelstringrwThe units label appended to distance measurements
eleccutoffdoublerwThe electrostatic cutoff distance
elecmethodstringrwThe method of electrostatic energy/force calculation
energyunitdoublerwSet the unit of energy to use
energyupdateintrwUpdate frequency for the energy in various methods
ewaldalphadoublerwConvergence parameter in Ewald sum
ewaldkmaxint[3]rwVector of Ewald reciprocal space vector limits (kmax)
ewaldprecisiondoublerwPrecision parameter to use when generating parameters in EwaldAuto
forcerhombohedralintrwFor spacegroups that are detected to have a hexagonal basis, force packing to use generators in a rhombohedral basis
foregroundcolourdouble[4]rwForground pen colour of the main canvas on which models are drawn, affecting colour of text labels, rotation globe, unit cell etc.
globesizeintrwSize, in pixels, of the rotation globe in the lower-right-hand corner of the screen
hdistancedoublerwDefault H-X bond distance to use when adding hydrogen atoms
keyactionstring[3]rwCurrent actions of the modifier keys Shift, Ctrl, and Alt
labelsizeintrwFont pointsize for label text
linealiasingintrwEnables/disables line aliasing
manualswapbuffersintrwFlag whether manual swapping of GL buffers is enabled
maxringsintrwMaximum allowable number of rings to detect within any single pattern
maxringsizeintrwMaximum size of ring to detect when atom typing
maxundointrwMaximum number of undo levels remembered for each model (-1 = unlimited)
modelupdateintrwUpdate frequency for the current model in various methods
mouseactionstring[4]rwCurrent actions of the Left, Middle, Right, and Wheel mouse buttons
offscreenobjectsintrwBitarray of View Objects drawn when rendering scenes to image files
perspectiveintrwWhether perspective view is enabled
perspectivefovdoublerwField of vision angle to use for perspective rendering
polygonaliasingintrwEnables/disables polygon aliasing
renderstylestringrwThe current model drawing style
replicatefoldintrwWhether to fold atoms before cell replicate
replicatetrimintrwWhether to trim atoms after cell replicate
screenobjectsintrwBitarray of View objects drawn when rendering to screen
selectionscaledoublerwMultiple of the standard atom radius to use for transparent selection spheres
shininessintrwThe shininess of atoms (value must be between 0 and 127 inclusive)
specularcolourdouble[4]rwColour of all specular reflections
spotlightintrwWhether the spotlight is on or off
spotlightambientdouble[4]rwThe ambient colour component of the spotlight
spotlightdiffusedouble[4]rwThe diffuse colour component of the spotlight
spotlightpositiondouble[4]rwSpotlight coordinates (in Å)
spotlightspeculardouble[4]rwThe specular colour component of the spotlight
useframebufferintrwWhether to use the grabFrameBuffer() method of the main widget instead of the normal renderPixmap() method when saving bitmap images. If saving an image results in a completely black or corrupt bitmap, try setting this to TRUE.
usenicetextintrwWhether QPainter (on/1/TRUE) or QGlWidget (off/0/FALSE) is used to render label text
vdwcutdoublerwThe VDW cutoff distance
vdwscaledoublerwScaling factor to use for short-range radii in energy/force calculation
warn1056intrwMany changes to the typing language syntax were introduced in revision 1056, and a warning message was implemented. This can be turned off by setting this variable to FALSE
zoomthrottledoublerwZooming 'throttle' value used to calm down or increase the distance jumped when zooming with the mouse