fix doc strings, replace label with check box in export panel

This commit is contained in:
wmayer 2017-03-02 21:55:04 +01:00
parent da0f810282
commit 24793f0d82
2 changed files with 24 additions and 31 deletions

View File

@ -69,7 +69,7 @@ public:
);
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 @@ public:
);
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");

View File

@ -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">
@ -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>
@ -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/>