# Copyright 2007-2008 Nanorex, Inc. See LICENSE file for details. """ WhatsThisText_for_PropertyManagers.py This file provides functions for setting the "What's This" and tooltip text for widgets in all NE1 Property Managers only. Edit WhatsThisText_for_MainWindow.py to set "What's This" and tooltip text for widgets in the Main Window. @version: $Id$ @copyright: 2007-2008 Nanorex, Inc. See LICENSE file for details. """ def whatsThis_InsertDna_PropertyManager(propMgr): """ Whats This text for the DnaDuplex Property Manager @see: B{InsertDna_PropertyManager._addWhatsThisText} """ propMgr.conformationComboBox.setWhatsThis( """Conformation
DNA exists in several possible conformations, with A-DNA, B-DNA, and Z-DNA being the most common.
Only B-DNA is currently supported in NanoEngineer-1.
""") propMgr.dnaModelComboBox.setWhatsThis( """Model ChoiceSelects between the model types supported by NanoEngineer-1: PAM3, PAM5, and atomistic representations of DNA.
""") propMgr.numberOfBasePairsSpinBox.setWhatsThis( """Base PairsAllows the user to create a duplex by specifying the number of base pairs
""") propMgr.basesPerTurnDoubleSpinBox.setWhatsThis( """Bases Per TurnAllows the user to specifying the number of base pairs between one full turn of the DNA helix
""") propMgr.duplexLengthLineEdit.setWhatsThis( """Duplex LengthDisplays the length of the DNA duplex in angstroms
""") propMgr.dnaRubberBandLineDisplayComboBox.setWhatsThis( """Display AsSelects between Ribbon and Ladder display styles
""") propMgr.lineSnapCheckBox.setWhatsThis( """Enable Line SnapWhen checked a duplex will be constrained to a grid
""") return # End of whatsThis_InsertDna_PropertyManager def whatsThis_MakeCrossoversPropertyManager(propMgr): """ Whats This text for the DnaDuplex Property Manager @see: B{MakeCrossovers_PropertyManager._addWhatsThisText} """ propMgr.segmentListWidget.setWhatsThis(""" List of Dna segments for crossover searchLists DnaSegments that will be searched for potential crossover sites. To add/remove Dna segments to/from this list, activate the appropriate tool in this property manager and select the whole axis of the Dna segment. To add/remove multiple segments to the list at once, hold down left mouse button and drag it to draw a selection rectangle around the segments.
""") propMgr.crossoversBetGivenSegmentsOnly_checkBox.setWhatsThis(""" Between above segments only Checkbox*If checked, program will search for the crossover sites only
between the DNA segments listed in the segment's list.
*Unchecking this checkbox will make the program search for the crossover
sites between each DNA segment in the segment's list and all
the DNA segments in the model, that are within a certain distance from
that particular DNA segment.
NoteThis operation could be time consuming so it is
recommended that user keeps this checkbox checked.
Sets the secondary structure confirmation that will be applied when inserting a new polypeptide chain.
""") propMgr.phiAngleField.setWhatsThis( """Phi angleShows the Phi dihedral backbone angle that will be applied when inserting a new polypeptide chain. It is determined by the current Conformation selected above.
""") propMgr.psiAngleField.setWhatsThis( """Psi angleShows the Psi dihedral backbone angle that will be applied when inserting a new polypeptide chain. It is determined by the current Conformation selected above.
""") # The "Remember.png" icon will be blank until we call # fix_whatsthis_text_and_links(propMgr) # The problem is that this function only processes What's This text # for QActions and not PM_ToolButtonGrid (really a QButtonGroup). # I will talk to Bruce about this later. Mark 2008-12-12. propMgr.aaTypesButtonGroup.setWhatsThis( """Amino acidsDetermines which amino acid is used when inserting a new polypeptide chain. Glycine is the default.
Remember: You can change the amino acid sequence later after
first inserting a polypeptide chain.
#Inverts a chirality of the polypeptide backbone #
""") #propMgr.sequenceEditor.setWhatsThis( #"""Sequence Editor ##Displays the amino acid sequence for the currently selected #polypeptide chain. #
""") return # End of whatsThis_InsertPeptide_PropertyManager def whatsThis_NanotubeGeneratorPropertyManager(propMgr): """ "Whats This" text for widgets in the Nanotube Property Manager. """ propMgr.chiralityNSpinBox.setWhatsThis( """Chirality (n)Specifies n of the chiral vector (n, m), where n and m are integers of the vector equation R = na1 + ma2 .
""") propMgr.chiralityMSpinBox.setWhatsThis( """Chirality (m)Specifies m of the chiral vector (n, m), where n and m are integers of the vector equation R = na1 + ma2 .
""") propMgr.typeComboBox.setWhatsThis( """TypeSpecifies the type of nanotube to generate.
Selecting Carbon creates a carbon nanotube (CNT) made entirely of carbon atoms.
Selecting Boron nitride creates a boron nitride (BN) nanotube made of boron and nitrogen atoms.
""") propMgr.endingsComboBox.setWhatsThis( """EndingsSpecify how to deal with bondpoints on the two ends of the nanotube.
Selecting None does nothing, leaving bondpoints on the ends.
Selecting Hydrogenterminates the bondpoints using hydrogen atoms.
Selecting Nitrogen transmutes atoms with bondpoints into nitrogen atoms.
""") propMgr.lengthField.setWhatsThis( """LengthSpecify the length of the nanotube in angstroms.
""") propMgr.bondLengthField.setWhatsThis( """Bond LengthSpecify the bond length between atoms in angstroms.
""") propMgr.twistSpinBox.setWhatsThis( """TwistIntroduces a twist along the length of the nanotube specified in degrees/angstrom.
""") propMgr.zDistortionField.setWhatsThis( """Z-distortionDistorts the bond length between atoms along the length of the nanotube by this amount in angstroms.
""") propMgr.bendSpinBox.setWhatsThis( """BendBend the nanotube by the specified number of degrees.
""") propMgr.xyDistortionField.setWhatsThis( """XY-distortionDistorts the tube's cross-section so that the width in the X direction is this many angstroms greater than the width in the Y direction. Some distortion of bond lengths results.
""") propMgr.mwntCountSpinBox.setWhatsThis( """Number of NanotubesSpecifies the number or Multi-Walled Nanotubes. Multi-Walled nanotubes (MWNT) consist of many concentric tubes wrapped one inside another.
The specified chirality applies only to the innermost nanotube. The others, being larger, will have larger chiralities.
""") propMgr.mwntSpacingField.setWhatsThis( """SpacingSpecify the spacing between nanotubes in angstroms.
""") return def whatsThis_InsertNanotube_PropertyManager(propMgr): """ "Whats This" text for widgets in the Nanotube Property Manager. """ propMgr.ntTypeComboBox.setWhatsThis( """TypeSpecifies the type of nanotube to insert.
Selecting Carbon creates a carbon nanotube (CNT) made entirely of carbon atoms.
Selecting Boron Nitride creates a boron nitride nanotube (BNNT) made of boron and nitrogen atoms.
""") propMgr.ntDiameterLineEdit.setWhatsThis( """DiameterDisplays the diameter of the nanotube in angstroms.
""") propMgr.chiralityNSpinBox.setWhatsThis( """Chirality (n)Specifies n of the chiral vector (n, m), where n and m are integers of the vector equation R = na1 + ma2 .
""") propMgr.chiralityMSpinBox.setWhatsThis( """Chirality (m)Specifies m of the chiral vector (n, m), where n and m are integers of the vector equation R = na1 + ma2 .
""") propMgr.endingsComboBox.setWhatsThis( """EndingsSpecify how to deal with bondpoints on the two ends of the nanotube.
Selecting None does nothing, leaving bondpoints on the ends.
Selecting Hydrogen terminates the bondpoints using hydrogen atoms.
Selecting Nitrogen transmutes atoms with bondpoints into nitrogen atoms.
""") propMgr.bondLengthDoubleSpinBox.setWhatsThis( """Bond LengthSpecify the bond length between neighboring atoms in angstroms.
""") propMgr.twistSpinBox.setWhatsThis( """TwistIntroduces a twist along the length of the nanotube specified in degrees/angstrom.
""") propMgr.zDistortionDoubleSpinBox.setWhatsThis( """Z-distortionDistorts the bond length between atoms along the length of the nanotube by this amount in angstroms.
""") propMgr.bendSpinBox.setWhatsThis( """BendBend the nanotube by the specified number of degrees.
""") propMgr.xyDistortionDoubleSpinBox.setWhatsThis( """XY-distortionDistorts the tube's cross-section so that the width in the X direction is this many angstroms greater than the width in the Y direction. Some distortion of bond lengths results.
""") propMgr.mwntCountSpinBox.setWhatsThis( """Number of NanotubesSpecifies the number or Multi-Walled Nanotubes. Multi-Walled nanotubes (MWNT) consist of many concentric tubes wrapped one inside another.
The specified chirality applies only to the innermost nanotube. The others, being larger, will have larger chiralities.
""") propMgr.mwntSpacingDoubleSpinBox.setWhatsThis( """Wall SpacingSpecify the spacing between nanotubes in angstroms.
""") return def whatsThis_GrapheneGeneratorPropertyManager(propMgr): """ "What's This" text for widgets in the Graphene Property Manager. """ propMgr.heightField.setWhatsThis( """HeightThe height (up to 50 angstroms) of the graphite sheet in angstroms.
""") propMgr.widthField.setWhatsThis( """WidthThe width (up to 50 angstroms) of the graphene sheet in angstroms.
""") propMgr.bondLengthField.setWhatsThis( """Bond lengthYou can change the bond lengths (1.0-3.0 angstroms) in the graphene sheet. We believe the default value is accurate for sp 2-hybridized carbons.
""") propMgr.endingsComboBox.setWhatsThis( """EndingsGraphene sheets can be unterminated (dangling bonds), or terminated with hydrogen atoms or nitrogen atoms.
""") return def whatsThis_MovePropertyManager(propMgr): """ "What's This" text for widgets in the Move Property Manager. """ # Translate group box widgets ################################ propMgr.translateComboBox.setWhatsThis( """Translation OptionsThis menu provides different options for translating the current selection where:
Free Drag: translates the selection by dragging the mouse while holding down the left mouse button (LMB).
By Delta XYZ: tranlates the selection by a specified offset.
To XYZ Position: moves the selection to an absolute XYZ coordinate. The centroid of the selection is used for this operation.
""") propMgr.transFreeButton.setWhatsThis( """Unconstrained TranslationTranslates the selection freely within the plane of the screen.
""") propMgr.transXButton.setWhatsThis( """X TranslationConstrains translation of the selection to the X axis.
""") propMgr.transYButton.setWhatsThis( """Y TranslationConstrains translation of the selection to the Y axis.
""") propMgr.transZButton.setWhatsThis( """Z TranslationConstrains translation of the selection to the Z axis.
""") propMgr.transAlongAxisButton.setWhatsThis( """Axial Translation/RotationConstrains both translation and rotation of the selection along the central axis of the selected object(s). This is especially useful for translating and rotating DNA duplexes along their own axis.
""") propMgr.moveFromToButton.setWhatsThis( """ Translate from/toTranslates the current selection by an offset vector defined by two points (i.e. left mouse button clicks) :
1st point - The 'from' point.Becomes active when the user selects Translate from/to.
""") # By Delta XYZ widgets propMgr.moveDeltaXSpinBox.setWhatsThis( """Delta XThe X offset distance the selection is moved when clicking the +/- Delta buttons.
""") propMgr.moveDeltaYSpinBox.setWhatsThis( """Delta YThe Y offset distance the selection is moved when clicking the +/- Delta buttons.
""") propMgr.moveDeltaZSpinBox.setWhatsThis( """Delta ZThe Z offset distance the selection is moved when clicking the +/- Delta buttons.
""") propMgr.transDeltaPlusButton.setWhatsThis( """Delta +Moves the current selection by an offset specified by the Delta X, Y and Z spinboxes.
""") propMgr.transDeltaMinusButton.setWhatsThis( """Delta -Moves the current selection by an offset opposite of that specified by the Delta X, Y and Z spinboxes.
""") # To XYZ Position widgets propMgr.moveXSpinBox.setWhatsThis( """XThe X coordinate the selection is moved when clicking the +/- Delta buttons.
""") propMgr.moveYSpinBox.setWhatsThis( """YThe Y coordinate the selection is moved when clicking the +/- Delta buttons.
""") propMgr.moveZSpinBox.setWhatsThis( """ZThe Z coordinate the selection is moved when clicking the Move to Absolute Position button.
""") propMgr.moveAbsoluteButton.setWhatsThis( """Move to Absolute PositionMoves the current selection to the position specified by the X, Y and Z spinboxes. The selection's centroid is used compute how the selection is moved.
""") # Rotate group box widgets ############################ propMgr.rotateComboBox.setWhatsThis( """Rotate OptionsThis menu provides different options for rotating the current selection where:
Free Drag: rotates the selection by dragging the mouse while holding down the left mouse button (LMB).
By Specified Angle: rotates the selection by a specified angle.
""") # Free Drag widgets. propMgr.rotateFreeButton.setWhatsThis( """Unconstrained RotationRotates the selection freely about its centroid.
""") propMgr.rotateXButton.setWhatsThis( """X RotationConstrains rotation of the selection to the X axis.
""") propMgr.rotateYButton.setWhatsThis( """Y RotationConstrains rotation of the selection to the Y axis.
""") propMgr.rotateZButton.setWhatsThis( """Z RotationConstrains rotation of the selection to the Z axis.
""") propMgr.rotAlongAxisButton.setWhatsThis( """Axial Translation/RotationConstrains both translation and rotation of the selection along the central axis of the selected object(s). This is especially useful for translating and rotating DNA duplexes along their own axis.
""") propMgr.rotateAsUnitCB.setWhatsThis( """Rotate as unit
When checked, the selection is rotated as a unit about its
collective centroid.
When unchecked, the selected objects are rotated about their
own individual centroids.
Rotates the current selection about an axis perpendicular to the current view. The user defines 3 points (i.e. left mouse button clicks):
1st point - The rotation point (i.e. the perpendicular axis).
2nd point - The starting angle.
3rd point - The ending angle.
Becomes active when the user selects Rotate selection about a point.
""") # By Specified Angle widgets propMgr.rotateXButton.setWhatsThis( """Rotate about X axisConstrains rotation about the X axis.
""") propMgr.rotateYButton.setWhatsThis( """Rotate about Y axisConstrains rotation about the Y axis.
""") propMgr.rotateZButton.setWhatsThis( """Rotate about Z axisConstrains rotation about the Z axis.
""") propMgr.rotateThetaSpinBox.setWhatsThis( """Rotation angleSpecifies the angle of rotation.
""") propMgr.rotateThetaPlusButton.setWhatsThis( """RotateRotates the selection by the specified angle.
""") propMgr.rotateThetaMinusButton.setWhatsThis( """Rotate (minus)Rotates the selection by the specified angle (in the opposite direction).
""") propMgr.rotXaxisButton.setWhatsThis( """Rotate about X axisConstrains rotation about the X axis.
""") propMgr.rotYaxisButton.setWhatsThis( """Rotate about Y axisConstrains rotation about the Y axis.
""") propMgr.rotZaxisButton.setWhatsThis( """Rotate about Z axisConstrains rotation about the Z axis.
""") return # End of whatsThis_MovePropertyManager def whatsThis_MoviePropertyManager(propMgr): """ "What's This" text for widgets in the Movie Property Manager. """ propMgr.frameNumberSpinBox.setWhatsThis( """Frame NumberAdvances the movie to a specified frame
""") propMgr.movieLoop_checkbox.setWhatsThis( """LoopDisplays the movie as a continuous loop. When enabled the movie player will automatically reset to the first frame after the last frame is shown and replay the movie.
""") propMgr.frameSkipSpinBox.setWhatsThis( """SkipAllows you to skip the entered amount of frames during movie playback.
""") propMgr.fileOpenMovieAction.setWhatsThis( """Open Movie FileLoads an exsisting movie from file
""") propMgr.fileSaveMovieAction.setWhatsThis( """Save Movie FileLoads and exsisting movie file or saves the file as a POV-ray series to be used in an animation
""") propMgr.moviePlayRevAction.setWhatsThis( """Play ReversePlays the movie backward in time
""") propMgr.moviePlayAction.setWhatsThis( """Play ForwardPlays the movie forward in time
""") propMgr.moviePauseAction.setWhatsThis( """Pause MoviePauses movie on current frame
""") propMgr.movieMoveToEndAction.setWhatsThis( """Advance to EndAdvances movie to last frame
""") propMgr.movieResetAction.setWhatsThis( """Reset MovieAdvances movie to first frame
""") propMgr.frameNumberSlider.setWhatsThis( """Advance FrameDragging the slider advances the movie
""") return def whatsThis_DnaSequenceEditor(propMgr): """ "What's This" text for widgets in the DNA Sequence Editor. """ propMgr.loadSequenceButton.setWhatsThis( """Load Sequence FileLoads an existing strand sequence from a text file
""") propMgr.sequenceTextEdit.setWhatsThis( """Sequence fieldThis field is used to view and edit the sequence of the current strand. The field background color turns pink whenever the sequence has been changed by the user, but hasn't yet been applied as the new sequence to the current strand. The new sequence is applied by pressing the Enter key or clicking Done.
""") propMgr.baseDirectionChoiceComboBox.setWhatsThis( """Strand DirectonSets the direction in which the sequence is shown in the sequence field.
""") propMgr.saveSequenceButton.setWhatsThis( """Save SequenceWrite the current sequence to a text file.
""") propMgr.findLineEdit.setWhatsThis( """Find fieldThe find string to search for in the sequence field.
""") propMgr.findPreviousToolButton.setWhatsThis( """Find PreviousFind the previous occurrence of the find string in the sequence.
""") propMgr.findNextToolButton.setWhatsThis( """Find NextFind the next occurrence of the find string in the sequence.
""") propMgr.replacePushButton.setWhatsThis( """ReplaceReplaces the current find string in the sequence with the replace string.
""") propMgr.sequenceTextEdit_mate.setWhatsThis( """Strand complement fieldThis read-only field shows the complementary bases of the current strand sequence.
""") return def whatsThis_ProteinSequenceEditor(propMgr): """ "What's This" text for widgets in the Protein Sequence Editor. """ propMgr.loadSequenceButton.setWhatsThis( """Load Sequence FileLoads a peptide sequence from a text file.
""") propMgr.sequenceTextEdit.setWhatsThis( """Sequence fieldThis field (read-only) shows the amino acid sequence of the current protein.
""") propMgr.secStrucTextEdit.setWhatsThis( """Secondary structureThis field (read-only) shows the corresponding secondary structure of the current protein sequence.
""") propMgr.aaRulerTextEdit.setWhatsThis( """Sequence rulerA basic ruler showing the position of each amino acid in the sequence.
""") propMgr.saveSequenceButton.setWhatsThis( """Save SequenceWrite the current sequence to a text file.
""") propMgr.findLineEdit.setWhatsThis( """Find fieldThe find string to search for in the sequence field.
""") propMgr.findPreviousToolButton.setWhatsThis( """Find PreviousFind the previous occurrence of the find string in the sequence.
""") propMgr.findNextToolButton.setWhatsThis( """Find NextFind the next occurrence of the find string in the sequence.
""") propMgr.replacePushButton.setWhatsThis( """ReplaceReplaces the current find string in the sequence with the replace string.
""") return def whatsThis_ExtrudePropertyManager(propMgr): """ "What's This" text for widgets in the Extrude Property Manager. """ propMgr.extrude_productTypeComboBox.setWhatsThis( """Final productThe type of product to create. Options are:
Rod: a straight rod.
Ring: a closed ring.
The total number of copies, including the originally selected chunk(s).
""") propMgr.showEntireModelCheckBox.setWhatsThis( """Show Entire ModelNormally, only the selection and their copies are displayed during the Extrude command. Checking this option displays everything in the current model.
""") propMgr.makeBondsCheckBox.setWhatsThis( """Make BondsWhen checked, bonds will be made between pairs of bondpoints highlighted in blue and green after clicking Done.
""") propMgr.extrudeBondCriterionSlider.setWhatsThis( """Tolerance sliderSets the bond criterion tolerance. The larger the tolerance value, the further bonds will be formed between pairs of bondpoints.
""") propMgr.extrudePrefMergeSelection.setWhatsThis( """Merge SelectionMerges the selected chunks into a single chunk after clicking Done.
""") propMgr.mergeCopiesCheckBox.setWhatsThis( """Merge CopiesWhen checked, copies are merged with the original chunk after clicking Done.
""") propMgr.extrudeSpinBox_length.setWhatsThis( """Total OffsetThe total offset distance between copies.
""") propMgr.extrudeSpinBox_x.setWhatsThis( """X OffsetThe X offset distance between copies.
""") propMgr.extrudeSpinBox_y.setWhatsThis( """Y OffsetThe Y offset distance between copies.
""") propMgr.extrudeSpinBox_z.setWhatsThis( """Z OffsetThe Z offset distance between copies.
""") return def whatsThis_CookiePropertyManager(propMgr): """ "What's This" text for widgets in the Build Crystal Property Manager. """ propMgr.surface100_btn.setWhatsThis(\ "Surface 100"\ ""\ "Reorients the view to the nearest angle that would "\ "look straight into a (1,0,0) surface of a "\ "diamond lattice."\ "
") # Surface 110 propMgr.surface110_btn.setWhatsThis(\ "Surface 110"\ ""\ "Reorients the view to the nearest angle that would "\ "look straight into a (1,1,0) surface of a "\ "diamond lattice."\ "
") # Surface 111 propMgr.surface111_btn.setWhatsThis(\ "Surface 111"\ ""\ "Reorients the view to the nearest angle that would "\ "look straight into a (1,1,1) surface of a "\ "diamond lattice."\ "
") propMgr.addLayerButton.setWhatsThis(\ "Add Layer"\ ""\ "Adds a new layer of diamond lattice to the existing "\ "layer."\ "
") propMgr.latticeCBox.setWhatsThis( "Lattice Type"\ ""\ "Selects which lattice structure is displayed, either "\ "Diamond or Lonsdaleite"\ "
") propMgr.rotateGridByAngleSpinBox.setWhatsThis( "Rotate By"\ ""\ "Allows you to select the degree of rotation"\ "
") propMgr.rotGridAntiClockwiseButton.setWhatsThis( "Rotate Counter Clockwise"\ ""\ "Rotates the current view in a counter-clockwise direction"\ "
") propMgr.rotGridClockwiseButton.setWhatsThis( "Rotate Clockwise"\ ""\ "Rotates the current view in a clockwise direction"\ "
") propMgr.layerCellsSpinBox.setWhatsThis( "Lattice Cells"\ ""\ "Determines the thickness of the crystal layer"\ "
") propMgr.dispModeComboBox.setWhatsThis ( "Display Style"\ ""\ "Lets you select the format in which your crystal selection " "is displayed"\ "
") propMgr.layerThicknessLineEdit.setWhatsThis( "Thickness"\ ""\ "Thickness of layer in angstroms is displayed"\ "
") propMgr.gridLineCheckBox.setWhatsThis( "Show Grid"\ ""\ "Allows you to turn on/off the orange lattice grid lines"\ "
") propMgr.fullModelCheckBox.setWhatsThis( "Show Model"\ ""\ "Allows you to view your current model from the Graphics Area in "\ "overlay with the Crystal Cutter lattice view"\ "
") propMgr.snapGridCheckBox.setWhatsThis( "Snap Grid"\ ""\ "Makes your lattice selection correspond with the grid lines "\ "
") propMgr.freeViewCheckBox.setWhatsThis( "Free View"\ ""\ "Allows you to change the current view of the lattice structure so "\ "that it can be viewed from any angle. This can be done by using the "\ "middle mouse button."\ "
") return def whatsThis_RotaryMotorPropertyManager(propMgr): """ What's This text for some of the widgets in the Property Manager. """ # Removed name field from property manager. Mark 2007-05-28 #propMgr.nameLineEdit.setWhatsThis("""NameName of Rotary Motor #that appears in the Model Tree
""") propMgr.torqueDblSpinBox.setWhatsThis( """TorqueSimulations will begin with the motor's torque set to this value.
""") propMgr.initialSpeedDblSpinBox.setWhatsThis( """Initial SpeedSimulations will begin with the motor's flywheel rotating at this velocity.
""") propMgr.finalSpeedDblSpinBox.setWhatsThis( """Final SpeedThe final velocity of the motor's flywheel during simulations.
""") propMgr.dampersCheckBox.setWhatsThis( """DampersIf checked, the dampers are enabled for this motor during a simulation. See the Rotary Motor web page on the NanoEngineer-1 Wiki for more information.
""") propMgr.enableMinimizeCheckBox.setWhatsThis( """Enable in Minimize (experimental)If checked, the torque specified above will be applied to the motor atoms during a structure minimization. While intended to allow simulations to begin with rotary motors running at speed, this feature requires more work to be useful.
""") propMgr.motorLengthDblSpinBox.setWhatsThis( """Motor LengthThe motor jig is drawn as a cylinder. This is the dimensions of the solid's length, measured in angstroms.
""") propMgr.motorRadiusDblSpinBox.setWhatsThis( """Motor RadiusThe motor jig is drawn as a cylinder. This is the radius of the cylinder, measured in angstroms.
""") propMgr.spokeRadiusDblSpinBox.setWhatsThis( """Spoke RadiusAtoms are connected to the motor body by spokes, and this is the radius of the spokes, measured in angstroms.
""") propMgr.motorColorComboBox.setWhatsThis( """ColorChanges the color of the motor.
""") propMgr.directionPushButton.setWhatsThis( """Change DirectionChanges direction of the motor
""") return def whatsThis_LinearMotorPropertyManager(propMgr): """ What's This text for widgets in the Linear Motor Property Manager. """ propMgr.forceDblSpinBox.setWhatsThis( """ForceSimulations will begin with the motor's force set to this value.
""") propMgr.enableMinimizeCheckBox.setWhatsThis( """Enable in Minimize (WARNING: EXPERIMENTAL FEATURE)If checked, the force specified above will be applied to the motor atoms during a structure minimization. While intended to allow simulations to begin with Linear motors running at speed, this feature requires more work to be useful.
""") propMgr.stiffnessDblSpinBox.setWhatsThis( """StiffnessIf non-zero, this parameter will modify the motor's force according to its position, as though the motor were a spring.
When stiffness = 0, the motor's force is constant and will have the same direction and magnitude regardless of atom position.
""") propMgr.motorLengthDblSpinBox.setWhatsThis( """Motor LengthThe body of the motor jig is drawn as a rectangular solid, with the long dimension in the direction of the motor's motion. This is the dimensions of the solid's length, measured in angstroms.
""") propMgr.motorWidthDblSpinBox.setWhatsThis( """Motor WidthThe body of the motor jig is drawn as a rectangular solid, with the long dimension in the direction of the motor's motion. This is the dimensions of the solid's width, measured in angstroms.
""") propMgr.spokeRadiusDblSpinBox.setWhatsThis( """Spoke RadiusAtoms are connected to the motor body by spokes, and this is the radius of the spokes, measured in angstroms.
""") propMgr.motorColorComboBox.setWhatsThis( """ColorChanges the color of the motor.
""") propMgr.directionPushButton.setWhatsThis( """Change DirectionChanges direction of the linear motor
""") return def whatsThis_PlanePropertyManager(propMgr): """ Add "What's This" text for widgets in the Plane Property Manager. """ propMgr.heightDblSpinBox.setWhatsThis( """HeightThe height of the Plane in angstroms. (up to 200 angstroms)
""") propMgr.widthDblSpinBox.setWhatsThis( """WidthThe width of the Plane in angstroms. (up to 200 angstroms)
""") return def whatsThis_QuteMolPropertyManager(propMgr): """ Add "What's This" text for widgets in the QuteMolX Property Manager. """ propMgr.launchQuteMolButton.setWhatsThis( """ Launch QuteMolXPressing this button launches QuteMolX.
""") propMgr.axesCombobox.setWhatsThis( """ Render AxesAllows the user to select between rendering and hiding the DNA axis pseudo atoms
""") propMgr.basesCombobox.setWhatsThis( """ Render BasesAllows the user to select between rendering and hiding the DNA strand bases
""") return def whatsThis_BuildAtomsPropertyManager(propMgr): """ Add "What's This" text for widgets in the QuteMolX Property Manager. """ propMgr.selectionFilterCheckBox.setWhatsThis( """Enable Atom Selection FilterWhen checked, the atom selection filter is enabled. Only atom types listed in the Atom Selection Filter List are included in selection operations (i.e. region selections in the graphics area).
While the atom selection filter is enabled, the Atom Selection Filter List is updated by selecting atom types in the Atom Chooser.
Hot Tip: To specify multiple atom types in the
Atom Selection Filter Field, hold down the Shift Key while
selecting atom types in the Atom Chooser.
When the Enable atom selection filter is checked, this list shows the current atom type(s) to be included in the selection during selection operations. Only atom types in this list are included in selection operations.
This list is updated by selecting atom types in the Atom Chooser.
Hot Tip: To specify multiple atom types, hold down the
Shift Key while selecting atom types in the Atom Chooser.
When enabled, additional bonds are formed automatically with the deposited atom if possile.
""") propMgr.reshapeSelectionCheckBox.setWhatsThis( """Dragging reshapes selectionWhen enabled, selected atoms are "reshaped" when dragged by the mouse.
When disabled (default), selected atoms follow the mouse as typical when dragged.
""") propMgr.waterCheckBox.setWhatsThis( """Z depth filter (water surface)Enables/disables the Z depth filter for hover highlighting and single atom/bond selection. When enabled, a semi-transparent "water surface" is displayed that remains parallel to the screen. This gives the illusion that atoms below the surface are under water. Atoms and bonds under the water are not highlighted and cannot be selected by clicking on them. This is useful when working on local regions of large structures since only atoms and bonds above the surface are highlighted. This can speed up interactive response times significantly.
The water surface can be made deeper/shallower by holding
down the Control + Shift keys together and pushing/pulling the
mouse while holding down the middle mouse button.
Note: Region selections are immume to the Z depth filter.
""") propMgr.highlightingCheckBox.setWhatsThis( """Hover highlightingEnables/disables hover highlighting. When enabled, atoms and bonds under the cursor are highlighted to indicate what would be selected if the user clicks the left mouse button.
""") propMgr.showSelectedAtomInfoCheckBox.setWhatsThis( """Show Selected Atoms's InfoWhen checked an atom's position is displayed as X Y Z coordinates. These coordinates can also be adjusted with provided spin boxes.
""") return def whatsThis_PartLibPropertyManager(propMgr): """ Add "What's This" text for widgets in the Part Library Property Manager. """ propMgr.previewGroupBox.setWhatsThis( """Preview WindowThis window displays the selected part chosen from the library. The user may also rotate the part and set a hot spot while the part is displayed in the preview window""" ) propMgr.partLibGroupBox .setWhatsThis( """Part Library
This is a directory of available parts contained in the part library """ ) return def whatsThis_PasteItemsPropertyManager(propMgr): """ Add "What's This" text for widgets in the Part Library Property Manager. """ propMgr.previewGroupBox.setWhatsThis( """Preview Window
This window displays the selected part chosen from the clipboard. The user may also rotate the part and set a hot spot while the part is displayed in the preview window""" ) propMgr.clipboardGroupBox.setWhatsThis( """Clipboard
This is a list of items contained on the Clipboard """ ) return def WhatsThis_EditDnaDisplayStyle_PropertyManager(propMgr): """ Add "What's This" text for widgets in the Edit DNA Display Style Property Manager. """ propMgr.favoritesComboBox.setWhatsThis( """DNA Display Style Favorites
A list of DNA display style favorites added by the user that can be applied by pressing the Apply Favorite button. The settings are only in effect whenever the Global Display Style is set to DNA Cylinder or to DNA objects that have their display style set to DNA Cylinder.
The Apply Favorite button must be clicked to apply the
current favorite selected from this list. Factory default
settings resets all color options to their default
settings.
The Add Favorite button allows new favorites to
be added to the list. This saves the current settings
to a user specified name.
The Delete Favorite button allows an existing favorite to
be deleted from the list. Factory default settings can
never be deleted, however.
""")
propMgr.applyFavoriteButton.setWhatsThis(
"""Apply Favorite
Applies the settings stored in the selected Favorite to the current
settings.
""")
propMgr.addFavoriteButton.setWhatsThis(
"""Add Favorite
Allows a new Favorite to be added to the list.
This saves the current settings to a user specified Favorite name.
""")
propMgr.deleteFavoriteButton.setWhatsThis(
"""Delete Favorite
Allows an existing favorite to be deleted from the list.
Factory default settings can never be deleted, however.
""")
propMgr.loadFavoriteButton.setWhatsThis(
"""Load Favorite
Allows the user to load a favorites file from disk to be
added to the favorites list. Favorites files must have a .txt extension.
""")
propMgr.saveFavoriteButton.setWhatsThis(
"""Save Favorite
Writes the selected favorite (selected in the combobox) to a file that
can be given to another NE1 user (i.e. as an email attachment). The
file is saved with a .txt entension so that it can loaded back using
the Load Favorite button.
""")
return
def WhatsThis_ColorScheme_PropertyManager(propMgr):
"""
Add "What's This" text for widgets in the Color Scheme Property
Manager.
"""
propMgr.favoritesComboBox.setWhatsThis(
"""Color Scheme Favorites
A list of color scheme favorites added by the user that can be applied to NanoEngineer-1 by pressing the Apply Favorite button.
The Apply Favorite button must be clicked to apply the
current favorite selected from this list. Factory default
settings resets all color options to their default
settings.
The Add Favorite button allows new favorite color schemes to
be added to the list. This saves the current color settings
to a user specified name.
The Delete Favorite button allows an existing favorite to
be deleted from the list. Factory default settings can
never be deleted, however.
""")
propMgr.applyFavoriteButton.setWhatsThis(
"""Apply Favorite
Applies the color settings stored in the selected Color Scheme
Favorite to the current color scheme.
""")
propMgr.addFavoriteButton.setWhatsThis(
"""Add Favorite
Allows a new Color Scheme Favorite to be added to the list.
This saves the current color settings to a user specified name.
""")
propMgr.deleteFavoriteButton.setWhatsThis(
"""Delete Favorite
Allows an existing favorite to be deleted from the list.
Factory default settings can never be deleted, however.
""")
propMgr.loadFavoriteButton.setWhatsThis(
"""Load Favorite
Allows the user to load a favorites file from disk to be
added to the favorites list. Favorites files must have a .txt extension.
""")
propMgr.saveFavoriteButton.setWhatsThis(
"""Save Favorite
Writes the selected favorite (selected in the combobox) to a file that
can be given to another NE1 user (i.e. as an email attachment). The
file is saved with a .txt entension so that it can loaded back using
the Load Favorite button.
""")
propMgr.backgroundColorComboBox.setWhatsThis(
""" Background Color
Allows user to change the color of the background.
""") propMgr.hoverHighlightingStyleComboBox.setWhatsThis( """ Highlighting StyleAllows user to change the type of pattern the indicates a highlighted object.
""") propMgr.hoverHighlightingColorComboBox.setWhatsThis( """ Highlighting ColorAllows user to change the color of the highlight.
""") propMgr.selectionStyleComboBox.setWhatsThis( """ Selection StyleAllows user to change the type of pattern the indicates a selected object.
""") propMgr.selectionColorComboBox.setWhatsThis( """ Selction ColorAllows user to change the color of a selected object.
""") propMgr.enableFogCheckBox.setWhatsThis( """ FogEnable/Disable a fog over the working area.
""") return def WhatsThis_LightingScheme_PropertyManager(propMgr): """ Add "What's This" text for widgets in the Lighting Scheme Property Manager. """ propMgr.favoritesComboBox.setWhatsThis( """Lighting Scheme FavoritesA list of lighting scheme favorites added by the user that can be applied to NanoEngineer-1 by pressing the Apply Favorite button.
The Apply Favorite button must be clicked to apply the
current favorite selected from this list. Factory default
settings resets all color options to their default
settings.
The Add Favorite button allows new favorite color schemes to
be added to the list. This saves the current color settings
to a user specified name.
The Delete Favorite button allows an existing favorite to
be deleted from the list. Factory default settings can
never be deleted, however.
""")
propMgr.applyFavoriteButton.setWhatsThis(
"""Apply Favorite
Applies the lighting settings stored in the selected Lighting Scheme
Favorite to the current color scheme.
""")
propMgr.addFavoriteButton.setWhatsThis(
"""Add Favorite
Allows a new Lighting Scheme Favorite to be added to the list.
This saves the current color settings to a user specified name.
""")
propMgr.deleteFavoriteButton.setWhatsThis(
"""Delete Favorite
Allows an existing favorite to be deleted from the list.
Factory default settings can never be deleted, however.
""")
propMgr.loadFavoriteButton.setWhatsThis(
"""Load Favorite
Allows the user to load a favorites file from disk to be
added to the favorites list. Favorites files must have a .txt extension.
""")
propMgr.saveFavoriteButton.setWhatsThis(
"""Save Favorite
Writes the selected favorite (selected in the combobox) to a file that
can be given to another NE1 user (i.e. as an email attachment). The
file is saved with a .txt entension so that it can loaded back using
the Load Favorite button.
""")
propMgr.lightComboBox.setWhatsThis(
""" Light
The current light to modify. NanoEngineer-1 supports up to 3 light sources.
""") propMgr.enableLightCheckBox.setWhatsThis( """ On Check BoxEnables/disables the current light.
""") propMgr.lightColorComboBox.setWhatsThis( """ ColorChange color of the current light.
""") propMgr.ambientDoubleSpinBox.setWhatsThis( """ AmbientThe ambient value (between 0-1) of the current light.
""") propMgr.diffuseDoubleSpinBox.setWhatsThis( """ DiffuseThe diffuse value (between 0-1) of the current light.
""") propMgr.specularDoubleSpinBox.setWhatsThis( """ SpecularThe specularity value (between 0-1) of the current light.
""") propMgr.xDoubleSpinBox.setWhatsThis( """ X PositionThe X coordinite of the current light position.
""") propMgr.yDoubleSpinBox.setWhatsThis( """ Y PositionThe Y coordinite of the current light position.
""") propMgr.zDoubleSpinBox.setWhatsThis( """ Z PositionThe Z coordinite of the current light position.
""") propMgr.enableMaterialPropertiesCheckBox.setWhatsThis( """ Material PropertiesEnables/Disables the material properties.
""") propMgr.finishDoubleSpinBox.setWhatsThis( """ FinishMaterial finish value (between 0-1)
""") propMgr.shininessDoubleSpinBox.setWhatsThis( """ ShininessMaterial shininess value (between 0-60).
""") propMgr.brightnessDoubleSpinBox.setWhatsThis( """ BrightnessMaterial brightness value (between 0-1).
""") return def WhatsThis_EditProteinDisplayStyle_PropertyManager(propMgr): """ Add "What's This" text for widgets in the Edit Protein Display Style Property Manager. """ propMgr.favoritesComboBox.setWhatsThis( """Protein Display Style FavoritesA list of Protein display style favorites added by the user that can be applied by pressing the Apply Favorite button.
The Apply Favorite button must be clicked to apply the
current favorite selected from this list. Factory default
settings resets all options to their default
settings.
The Add Favorite button allows new favorites to
be added to the list. This saves the current settings
to a user specified name.
The Delete Favorite button allows an existing favorite to
be deleted from the list. Factory default settings can
never be deleted, however.
""")
propMgr.applyFavoriteButton.setWhatsThis(
"""Apply Favorite
Applies the settings stored in the selected Favorite to the current
settings.
""")
propMgr.addFavoriteButton.setWhatsThis(
"""Add Favorite
Allows a new Favorite to be added to the list.
This saves the current settings to a user specified Favorite name.
""")
propMgr.deleteFavoriteButton.setWhatsThis(
"""Delete Favorite
Allows an existing favorite to be deleted from the list.
Factory default settings can never be deleted, however.
""")
propMgr.loadFavoriteButton.setWhatsThis(
"""Load Favorite
Allows the user to load a favorites file from disk to be
added to the favorites list. Favorites files must have a .txt extension.
""")
propMgr.saveFavoriteButton.setWhatsThis(
"""Save Favorite
Writes the selected favorite (selected in the combobox) to a file that
can be given to another NE1 user (i.e. as an email attachment). The
file is saved with a .txt entension so that it can loaded back using
the Load Favorite button.
""")
return
def whatsThis_OrderDna_PropertyManager(propMgr):
"""
Add "What's This" text for widgets in the Color Scheme Property
Manager.
"""
propMgr.includeStrandsComboBox.setWhatsThis(
"""Include strands
Strands to include in the DNA order file. """) propMgr.numberOfBasesLineEdit.setWhatsThis( """Total nucleotides
The total number of nucleotides (bases) that will be written to the DNA order file.
""") propMgr.numberOfXBasesLineEdit.setWhatsThis( """UnassignedThe total number of unassigned "X" bases that will be written to the DNA order file. There should be 0 unassigned bases if the file will be used to place an order.
""") propMgr.viewDnaOrderFileButton.setWhatsThis( """View DNA Order FileView the DNA Order file in comma-separated values (CVS) format. The file is temporary and should be saved via the text editor to a permanant name/location.
""") return