+ fix layout of document settings panel

This commit is contained in:
wmayer 2015-01-23 18:23:01 +01:00
parent 9b345d8264
commit c066183f4b

View File

@ -310,177 +310,164 @@
<property name="title">
<string>Authoring and License</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QLabel" name="label_3">
<property name="text">
<string>Author name</string>
</property>
</widget>
</item>
<item>
<widget class="Gui::PrefLineEdit" name="prefAuthor">
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;The name to use on document creation.&lt;/p&gt;&lt;p&gt;Keep blank for anonymous.&lt;/p&gt;&lt;p&gt;You can also use the form:&lt;/p&gt;&lt;p&gt;John Doe &amp;lt;john@doe.com&amp;gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="prefEntry" stdset="0">
<cstring>prefAuthor</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Document</cstring>
</property>
</widget>
</item>
<item>
<widget class="Gui::PrefCheckBox" name="prefSetAuthorOnSave">
<property name="toolTip">
<string>If this is checked, the &quot;Last modified by&quot; field will be set when saving the file</string>
</property>
<property name="text">
<string>Set on save</string>
</property>
<property name="prefEntry" stdset="0">
<cstring>prefSetAuthorOnSave</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Document</cstring>
</property>
</widget>
</item>
</layout>
<layout class="QGridLayout" name="gridLayout_5">
<item row="0" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Author name</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<widget class="QLabel" name="label_4">
<property name="text">
<string>Company</string>
</property>
</widget>
</item>
<item>
<widget class="Gui::PrefLineEdit" name="prefCompany">
<property name="toolTip">
<string>The defautl company to use for new files</string>
</property>
<property name="prefEntry" stdset="0">
<cstring>prefCompany</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Document</cstring>
</property>
</widget>
</item>
</layout>
<item row="0" column="1">
<widget class="Gui::PrefLineEdit" name="prefAuthor">
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;The name to use on document creation.&lt;/p&gt;&lt;p&gt;Keep blank for anonymous.&lt;/p&gt;&lt;p&gt;You can also use the form:&lt;/p&gt;&lt;p&gt;John Doe &amp;lt;john@doe.com&amp;gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="prefEntry" stdset="0">
<cstring>prefAuthor</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Document</cstring>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Default license</string>
</property>
</widget>
</item>
<item>
<widget class="Gui::PrefComboBox" name="prefLicenseType">
<property name="enabled">
<bool>true</bool>
</property>
<property name="toolTip">
<string>The default license for new documents</string>
</property>
<property name="editable">
<bool>false</bool>
</property>
<property name="prefEntry" stdset="0">
<cstring>prefLicenseType</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Document</cstring>
</property>
<item>
<property name="text">
<string>All rights reserved</string>
</property>
</item>
<item>
<property name="text">
<string>CreativeCommons Attribution</string>
</property>
</item>
<item>
<property name="text">
<string>CreativeCommons Attribution-ShareAlike</string>
</property>
</item>
<item>
<property name="text">
<string>CreativeCommons Attribution-NoDerivatives</string>
</property>
</item>
<item>
<property name="text">
<string>CreativeCommons Attribution-NonCommercial</string>
</property>
</item>
<item>
<property name="text">
<string>CreativeCommons Attribution-NonCommercial-ShareAlike</string>
</property>
</item>
<item>
<property name="text">
<string>CreativeCommons Attribution-NonCommercial-NoDerivatives</string>
</property>
</item>
<item>
<property name="text">
<string>Public Domain</string>
</property>
</item>
<item>
<property name="text">
<string>FreeArt</string>
</property>
</item>
<item>
<property name="text">
<string>Other</string>
</property>
</item>
</widget>
</item>
</layout>
<item row="0" column="2">
<widget class="Gui::PrefCheckBox" name="prefSetAuthorOnSave">
<property name="toolTip">
<string>If this is checked, the &quot;Last modified by&quot; field will be set when saving the file</string>
</property>
<property name="text">
<string>Set on save</string>
</property>
<property name="prefEntry" stdset="0">
<cstring>prefSetAuthorOnSave</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Document</cstring>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item row="1" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Company</string>
</property>
</widget>
</item>
<item row="1" column="1" colspan="2">
<widget class="Gui::PrefLineEdit" name="prefCompany">
<property name="toolTip">
<string>The defautl company to use for new files</string>
</property>
<property name="prefEntry" stdset="0">
<cstring>prefCompany</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Document</cstring>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Default license</string>
</property>
</widget>
</item>
<item row="2" column="1" colspan="2">
<widget class="Gui::PrefComboBox" name="prefLicenseType">
<property name="enabled">
<bool>true</bool>
</property>
<property name="toolTip">
<string>The default license for new documents</string>
</property>
<property name="editable">
<bool>false</bool>
</property>
<property name="prefEntry" stdset="0">
<cstring>prefLicenseType</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Document</cstring>
</property>
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>License URL</string>
</property>
</widget>
<property name="text">
<string>All rights reserved</string>
</property>
</item>
<item>
<widget class="Gui::PrefLineEdit" name="prefLicenseUrl">
<property name="toolTip">
<string>An URL where the user can find more details about the license</string>
</property>
<property name="text">
<string>http://en.wikipedia.org/wiki/All_rights_reserved</string>
</property>
<property name="prefEntry" stdset="0">
<cstring>prefLicenseUrl</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Document</cstring>
</property>
</widget>
<property name="text">
<string>CreativeCommons Attribution</string>
</property>
</item>
</layout>
<item>
<property name="text">
<string>CreativeCommons Attribution-ShareAlike</string>
</property>
</item>
<item>
<property name="text">
<string>CreativeCommons Attribution-NoDerivatives</string>
</property>
</item>
<item>
<property name="text">
<string>CreativeCommons Attribution-NonCommercial</string>
</property>
</item>
<item>
<property name="text">
<string>CreativeCommons Attribution-NonCommercial-ShareAlike</string>
</property>
</item>
<item>
<property name="text">
<string>CreativeCommons Attribution-NonCommercial-NoDerivatives</string>
</property>
</item>
<item>
<property name="text">
<string>Public Domain</string>
</property>
</item>
<item>
<property name="text">
<string>FreeArt</string>
</property>
</item>
<item>
<property name="text">
<string>Other</string>
</property>
</item>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>License URL</string>
</property>
</widget>
</item>
<item row="3" column="1" colspan="2">
<widget class="Gui::PrefLineEdit" name="prefLicenseUrl">
<property name="toolTip">
<string>An URL where the user can find more details about the license</string>
</property>
<property name="text">
<string>http://en.wikipedia.org/wiki/All_rights_reserved</string>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
<property name="prefEntry" stdset="0">
<cstring>prefLicenseUrl</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Document</cstring>
</property>
</widget>
</item>
</layout>
</widget>