mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
Layout tweaking
This commit is contained in:
parent
a8947c3099
commit
2fa68abd00
@ -58,8 +58,13 @@ void GuiBibitem::paramsToDialog(Inset const * inset)
|
|||||||
allAuthorsED->setHidden(false);
|
allAuthorsED->setHidden(false);
|
||||||
allAuthorsLA->setHidden(false);
|
allAuthorsLA->setHidden(false);
|
||||||
labelLA->setText(qt_("Author &Names:"));
|
labelLA->setText(qt_("Author &Names:"));
|
||||||
|
labelLA->setMaximumWidth(labelLA->sizeHint().width());
|
||||||
labelED->setToolTip(qt_("Insert the author name(s) for the author-year reference here. "
|
labelED->setToolTip(qt_("Insert the author name(s) for the author-year reference here. "
|
||||||
"If you use an abbreviated list (with 'et al.'), the full list can go below."));
|
"If you use an abbreviated list (with 'et al.'), the full list can go below."));
|
||||||
|
allAuthorsLA->setText(qt_("A&ll Author Names:"));
|
||||||
|
allAuthorsLA->setMaximumWidth(allAuthorsLA->sizeHint().width());
|
||||||
|
literalCB->setToolTip(qt_("Pass content of the `Author', 'Year' and 'All Authors' fields literally to LaTeX. "
|
||||||
|
"Check this if you want to enter LaTeX code."));
|
||||||
int const i = label.lastIndexOf("(");
|
int const i = label.lastIndexOf("(");
|
||||||
int const j = label.lastIndexOf(")");
|
int const j = label.lastIndexOf(")");
|
||||||
if (i != -1 && j != -1 && i < j) {
|
if (i != -1 && j != -1 && i < j) {
|
||||||
@ -79,9 +84,14 @@ void GuiBibitem::paramsToDialog(Inset const * inset)
|
|||||||
yearLA->setHidden(true);
|
yearLA->setHidden(true);
|
||||||
allAuthorsED->setHidden(true);
|
allAuthorsED->setHidden(true);
|
||||||
allAuthorsLA->setHidden(true);
|
allAuthorsLA->setHidden(true);
|
||||||
|
allAuthorsLA->setText(qt_("&Label:"));
|
||||||
|
allAuthorsLA->setMaximumWidth(allAuthorsLA->sizeHint().width());
|
||||||
labelLA->setText(qt_("&Label:"));
|
labelLA->setText(qt_("&Label:"));
|
||||||
|
labelLA->setMaximumWidth(labelLA->sizeHint().width());
|
||||||
labelED->setToolTip(qt_("The label as it appears in the document"));
|
labelED->setToolTip(qt_("The label as it appears in the document"));
|
||||||
labelED->setText(label);
|
labelED->setText(label);
|
||||||
|
literalCB->setToolTip(qt_("Pass content of the `Label' field literally to LaTeX. "
|
||||||
|
"Check this if you want to enter LaTeX code."));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -6,22 +6,19 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>467</width>
|
<width>503</width>
|
||||||
<height>170</height>
|
<height>168</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QGridLayout" name="gridLayout_2">
|
|
||||||
<item row="0" column="0" rowspan="2" colspan="2">
|
|
||||||
<widget class="QLabel" name="label">
|
|
||||||
<property name="text">
|
|
||||||
<string/>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="1" column="1">
|
|
||||||
<layout class="QGridLayout" name="gridLayout">
|
<layout class="QGridLayout" name="gridLayout">
|
||||||
<item row="0" column="0">
|
<item row="0" column="0">
|
||||||
<widget class="QLabel" name="keyLA">
|
<widget class="QLabel" name="keyLA">
|
||||||
@ -119,9 +116,7 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
<item row="3" column="2">
|
||||||
</item>
|
|
||||||
<item row="2" column="1">
|
|
||||||
<widget class="QCheckBox" name="literalCB">
|
<widget class="QCheckBox" name="literalCB">
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Pass content of the `Label' field literally to LaTeX. Check this if you want to enter LaTeX code.</string>
|
<string>Pass content of the `Label' field literally to LaTeX. Check this if you want to enter LaTeX code.</string>
|
||||||
@ -131,6 +126,19 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item row="4" column="2">
|
||||||
|
<spacer name="verticalSpacer">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Vertical</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>20</width>
|
||||||
|
<height>0</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
<includes>
|
<includes>
|
||||||
|
Loading…
Reference in New Issue
Block a user