Skip to content

Commit

Permalink
fix doc strings, replace label with check box in export panel
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Mar 2, 2017
1 parent da0f810 commit 24793f0
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 31 deletions.
8 changes: 4 additions & 4 deletions src/Mod/Mesh/App/AppMeshPy.cpp
Expand Up @@ -69,7 +69,7 @@ class Module : public Py::ExtensionModule<Module>
);
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,
Expand Down Expand Up @@ -127,11 +127,11 @@ class Module : public Py::ExtensionModule<Module>
);
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");
Expand Down
47 changes: 20 additions & 27 deletions src/Mod/Mesh/Gui/DlgSettingsImportExport.ui
Expand Up @@ -14,19 +14,6 @@
<string>Mesh Formats</string>
</property>
<layout class="QGridLayout">
<item row="1" column="0">
<spacer>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>61</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="0">
<widget class="QGroupBox" name="GroupBox12">
<property name="title">
Expand Down Expand Up @@ -68,16 +55,9 @@
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="textLabel2">
<property name="text">
<string>Export AMF files using compression</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="Gui::PrefCheckBox" name="exportAmfCompressed">
<property name="text">
<string/>
<string>Export AMF files using compression</string>
</property>
<property name="checked">
<bool>true</bool>
Expand All @@ -95,20 +75,33 @@
</layout>
</widget>
</item>
<item row="1" column="0">
<spacer>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>61</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets>
<customwidget>
<class>Gui::QuantitySpinBox</class>
<extends>QWidget</extends>
<header>Gui/PrefWidgets.h</header>
<customwidget>
<class>Gui::QuantitySpinBox</class>
<extends>QWidget</extends>
<header>Gui/QuantitySpinBox.h</header>
</customwidget>
<customwidget>
<class>Gui::PrefCheckBox</class>
<extends>QCheckBox</extends>
<header>Gui/PrefWidgets.h</header>
</customwidget>
<header>Gui/PrefWidgets.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>
Expand Down

0 comments on commit 24793f0

Please sign in to comment.