From 24793f0d82e7e30b31a80599f19af91bab527d4a Mon Sep 17 00:00:00 2001 From: wmayer Date: Thu, 2 Mar 2017 21:55:04 +0100 Subject: [PATCH] fix doc strings, replace label with check box in export panel --- src/Mod/Mesh/App/AppMeshPy.cpp | 8 ++-- src/Mod/Mesh/Gui/DlgSettingsImportExport.ui | 47 +++++++++------------ 2 files changed, 24 insertions(+), 31 deletions(-) diff --git a/src/Mod/Mesh/App/AppMeshPy.cpp b/src/Mod/Mesh/App/AppMeshPy.cpp index 76d044ab551d..fcc3e23bff21 100644 --- a/src/Mod/Mesh/App/AppMeshPy.cpp +++ b/src/Mod/Mesh/App/AppMeshPy.cpp @@ -69,7 +69,7 @@ class Module : public Py::ExtensionModule ); add_varargs_method("open",&Module::open, "open(string)\n" - "Create a new document and a Mesh::Import feature to load the file into\n" + "Create a new document and a Mesh feature to load the file into\n" "the document." ); add_varargs_method("insert",&Module::importer, @@ -127,11 +127,11 @@ class Module : public Py::ExtensionModule ); initialize("The functions in this module allow working with mesh objects.\n" "A set of functions are provided for reading in registered mesh\n" - "file formats to either an new or exising document.\n" + "file formats to either a new or exising document.\n" "\n" - "open(string) -- Create a new document and a Mesh::Import feature\n" + "open(string) -- Create a new document and a Mesh feature\n" " to load the file into the document.\n" - "insert(string, string) -- Create a Mesh::Import feature to load\n" + "insert(string, string) -- Create a Mesh feature to load\n" " the file into the given document.\n" "Mesh() -- Create an empty mesh object.\n" "\n"); diff --git a/src/Mod/Mesh/Gui/DlgSettingsImportExport.ui b/src/Mod/Mesh/Gui/DlgSettingsImportExport.ui index ba8c1531d0b2..684f96094745 100644 --- a/src/Mod/Mesh/Gui/DlgSettingsImportExport.ui +++ b/src/Mod/Mesh/Gui/DlgSettingsImportExport.ui @@ -14,19 +14,6 @@ Mesh Formats - - - - Qt::Vertical - - - - 20 - 61 - - - - @@ -68,16 +55,9 @@ - - - Export AMF files using compression - - - - - + Export AMF files using compression true @@ -95,20 +75,33 @@ + + + + Qt::Vertical + + + + 20 + 61 + + + + - - Gui::QuantitySpinBox - QWidget -
Gui/PrefWidgets.h
+ + Gui::QuantitySpinBox + QWidget +
Gui/QuantitySpinBox.h
Gui::PrefCheckBox QCheckBox -
Gui/PrefWidgets.h
-
+
Gui/PrefWidgets.h
+