[kalzium] /: At least it can be used if not translated

Yuri Chornoivan null at kde.org
Sun Dec 16 10:30:41 GMT 2018


Git commit 502fe9cc8e4d57ab871bf570477e5c04a3771327 by Yuri Chornoivan.
Committed on 16/12/2018 at 10:30.
Pushed by yurchor into branch 'master'.

At least it can be used if not translated

M  +1    -1    doc/index.docbook
M  +1    -1    src/tools/moleculeview.cpp

https://commits.kde.org/kalzium/502fe9cc8e4d57ab871bf570477e5c04a3771327

diff --git a/doc/index.docbook b/doc/index.docbook
index 7ef2045b..036be8b3 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -494,7 +494,7 @@
 				   The Molecular Editor allows you to view and edit molecules using <ulink url="https://avogadro.cc">Avogadro 2</ulink> libraries.
 				 </para>
 				 <para>
-				   Using the control panel on the left, you can change the view parameters, edit molecule, or measure molecules. There are three tabs on this panel: <guilabel>Display</guilabel>, <guilabel>Edit</guilabel>, and <guilabel>Measure</guilabel>. At the top of the window, there is a control to select the viewer <guilabel>Style</guilabel> (can be <guimenuitem>Balls and Stick</guimenuitem>, <guimenuitem>Van der Waals</guimenuitem>, or <guimenuitem>Wireframe</guimenuitem>). The buttons along the bottom of the window can be used to <guibutton>Save molecule</guibutton>, <guibutton>Download New Molecules</guibutton>, <guibutton>Load Molecule</guibutton>, and <guibutton>Close</guibutton> the window. The downloaded files will be saved in your <filename class="directory">Documents</filename> folder from where you can load them into the editor.
+				   Using the control panel on the left, you can change the view parameters, edit molecule, or measure molecules. There are three tabs on this panel: <guilabel>Display</guilabel>, <guilabel>Edit</guilabel>, and <guilabel>Measure</guilabel>. At the top of the window, there is a control to select the viewer <guilabel>Style</guilabel> (can be <guimenuitem>Ball and Stick</guimenuitem>, <guimenuitem>Licorice</guimenuitem>, <guimenuitem>Van der Waals</guimenuitem>, <guimenuitem>Van der Waals (AO)</guimenuitem> (<abbrev>AO</abbrev> means <quote>Ambient Occlusion</quote>), or <guimenuitem>Wireframe</guimenuitem>). The buttons along the bottom of the window can be used to <guibutton>Load Molecule</guibutton>, <guibutton>Download New Molecules</guibutton>, <guibutton>Save molecule</guibutton>, and <guibutton>Close</guibutton> the window. The downloaded files will be saved in your <filename class="directory">Documents</filename> folder from where you can load them into the editor.
 				 </para>
 				 <para>
 				   <guilabel>Statistics</guilabel> pane shows name (if available), formula, and weight of the molecule.
diff --git a/src/tools/moleculeview.cpp b/src/tools/moleculeview.cpp
index 360aef85..9a8f4b23 100644
--- a/src/tools/moleculeview.cpp
+++ b/src/tools/moleculeview.cpp
@@ -92,7 +92,7 @@ MoleculeDialog::MoleculeDialog(QWidget * parent)
 //         ui.optimizeButton->setEnabled(false);
 //     }
 
-    ui.styleCombo->addItems({"Ball and Stick", "Van der Waals", "Wireframe"});
+    ui.styleCombo->addItems({"Ball and Stick", "Licorice", "Van der Waals","Van der Waals (AO)", "Wireframe"});
     connect(ui.styleCombo, static_cast<void (QComboBox::*)(const QString&)>(&QComboBox::currentIndexChanged),
             this, &MoleculeDialog::slotUpdateScenePlugin);
     slotUpdateScenePlugin();


More information about the kde-doc-english mailing list