diff options
author | Mark Sims <mark@nanorex.com> | 2008-12-19 04:00:23 +0000 |
---|---|---|
committer | Mark Sims <mark@nanorex.com> | 2008-12-19 04:00:23 +0000 |
commit | c2126207adf6e444acabe057a9bc5842cdb7efbe (patch) | |
tree | 307e09118616c77b19c5f1597d7a574ce6602b44 | |
parent | 590cad6014f71964f821544418467de90af7c35f (diff) | |
download | nanoengineer-c2126207adf6e444acabe057a9bc5842cdb7efbe.tar.gz nanoengineer-c2126207adf6e444acabe057a9bc5842cdb7efbe.zip |
Docstring cleanup and refined some What's This descriptions.
3 files changed, 21 insertions, 23 deletions
diff --git a/cad/src/dna/DnaSequenceEditor/Ui_DnaSequenceEditor.py b/cad/src/dna/DnaSequenceEditor/Ui_DnaSequenceEditor.py index 197f8711a..40fcc6287 100644 --- a/cad/src/dna/DnaSequenceEditor/Ui_DnaSequenceEditor.py +++ b/cad/src/dna/DnaSequenceEditor/Ui_DnaSequenceEditor.py @@ -12,8 +12,6 @@ Ninad 2007-11-28: Created. TODO: - NFR: Add "Position" field. - NFR: Add "Accept" and "Cancel" checkboxes to take/abort the new sequence. -- NFR: Change bg color of sequence field to indicate that the sequence has changed. -- NFR: Save new sequence after typing "Enter" in the sequence field. - NFR: Support both "Insert" and "Overtype" modes in sequence field. - Split out find and replace widgets to their own class (low priority) - Create superclass that both the DNA and Protein sequence editors can use. @@ -322,7 +320,7 @@ class Ui_DnaSequenceEditor(PM_DockWidget): What's This text for widgets in this Property Manager. """ - from ne1_ui.WhatsThisText_for_PropertyManagers import whatsThis_SequenceEditor - whatsThis_SequenceEditor(self) + from ne1_ui.WhatsThisText_for_PropertyManagers import whatsThis_DnaSequenceEditor + whatsThis_DnaSequenceEditor(self) return
\ No newline at end of file diff --git a/cad/src/dna/commands/DnaStrand/DnaStrand_PropertyManager.py b/cad/src/dna/commands/DnaStrand/DnaStrand_PropertyManager.py index af7baedad..d87a93b35 100644 --- a/cad/src/dna/commands/DnaStrand/DnaStrand_PropertyManager.py +++ b/cad/src/dna/commands/DnaStrand/DnaStrand_PropertyManager.py @@ -11,11 +11,6 @@ Special notes: its a child of that PM) . See if that creates any issues. - Copied some methods from BuildDna_PropertyManager. -BUGS: - -Bug 2952: -- Typing in new sequence will not take if you select another strand, - (even if you hit Enter after typing in the new sequence). """ from utilities import debug_flags from utilities.debug import print_compact_stack diff --git a/cad/src/ne1_ui/WhatsThisText_for_PropertyManagers.py b/cad/src/ne1_ui/WhatsThisText_for_PropertyManagers.py index 29a0c4fa5..d895c0f5f 100644 --- a/cad/src/ne1_ui/WhatsThisText_for_PropertyManagers.py +++ b/cad/src/ne1_ui/WhatsThisText_for_PropertyManagers.py @@ -744,67 +744,72 @@ def whatsThis_MoviePropertyManager(propMgr): propMgr.frameNumberSlider.setWhatsThis( """<b>Advance Frame</b> <p> - Dragging the slider advances the movie + Dragging the slider advances the movie </p>""") return -def whatsThis_SequenceEditor(propMgr): +def whatsThis_DnaSequenceEditor(propMgr): """ "What's This" text for widgets in the DNA Sequence Editor. """ propMgr.loadSequenceButton.setWhatsThis( """<b>Load Sequence File</b> <p> - Loads an existing strand sequence from a text file + Loads an existing strand sequence from a text file </p>""") propMgr.sequenceTextEdit.setWhatsThis( - """<b>Edit Sequence </b> + """<b>Sequence field</b> <p> - Allows the user to edit a strand sequence + This 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 + <b>Enter</b> key or clicking <b>Done</b>. </p>""") propMgr.saveSequenceButton.setWhatsThis( """<b>Save Sequence </b> <p> - Saves a strand sequence as a text file + Saves a strand sequence as a text file </p>""") propMgr.baseDirectionChoiceComboBox.setWhatsThis( """<b>Strand Directon </b> <p> - Sets sequence direction between three prime and five prime strand ends + Sets sequence direction between three prime and five prime strand ends. </p>""") propMgr.findLineEdit.setWhatsThis( """<b>Find Sequence </b> <p> - Searches for a specific sequence within the strand + Searches for a specific sequence within the strand. </p>""") propMgr.findPreviousToolButton.setWhatsThis( """<b>Find Previous </b> <p> - Searches for the previous occurrence of given sequence along the strand + Searches for the previous occurrence of given sequence along the strand. </p>""") propMgr.findNextToolButton.setWhatsThis( """<b>Find Next </b> <p> - Searches for the next occurrence of given sequence along the strand + Searches for the next occurrence of given sequence along the strand. </p>""") propMgr.replacePushButton.setWhatsThis( """<b>Replace </b> <p> - Allows user to edit the strand sequence returned by the <b>Find</b> - command + Allows user to edit the strand sequence returned by the <b>Find</b> + command. </p>""") propMgr.sequenceTextEdit_mate.setWhatsThis( - """<b>Mate </b> + """<b>Strand complement field</b> <p> - Shows the complementary strand sequence + This read-only field shows the complementary bases of the + current strand sequence. </p>""") return |