mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 21:49:51 +00:00
1f0a608b99
- natbib style (the combox) works - when moving/up down the item stays selected (allowing sequential ups/downs) - when deleting the next selected entry gets focus (allowing sequential deletes) - the info is now shown and updated - find subsets the available entries as you type - no additional find dialog (removed QCitationFind.ui) - selecting with double-click - removal of unused: Citation class, toVector() function git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14252 a592a061-630c-0410-9148-cb99ea01b6c8
379 lines
10 KiB
XML
379 lines
10 KiB
XML
<ui version="4.0" >
|
|
<author></author>
|
|
<comment></comment>
|
|
<exportmacro></exportmacro>
|
|
<class>QCitationUi</class>
|
|
<widget class="QDialog" name="QCitationUi" >
|
|
<property name="geometry" >
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>390</width>
|
|
<height>415</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy" >
|
|
<sizepolicy>
|
|
<hsizetype>1</hsizetype>
|
|
<vsizetype>1</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="windowTitle" >
|
|
<string/>
|
|
</property>
|
|
<property name="sizeGripEnabled" >
|
|
<bool>true</bool>
|
|
</property>
|
|
<layout class="QVBoxLayout" >
|
|
<property name="margin" >
|
|
<number>9</number>
|
|
</property>
|
|
<property name="spacing" >
|
|
<number>6</number>
|
|
</property>
|
|
<item>
|
|
<layout class="QGridLayout" >
|
|
<property name="margin" >
|
|
<number>0</number>
|
|
</property>
|
|
<property name="spacing" >
|
|
<number>6</number>
|
|
</property>
|
|
<item row="0" column="0" colspan="2" >
|
|
<widget class="QLabel" name="availableKeysLA" >
|
|
<property name="text" >
|
|
<string>&Available Citations:</string>
|
|
</property>
|
|
<property name="buddy" >
|
|
<cstring>availableLV</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1" >
|
|
<widget class="QPushButton" name="addPB" >
|
|
<property name="toolTip" >
|
|
<string/>
|
|
</property>
|
|
<property name="text" >
|
|
<string>&Add</string>
|
|
</property>
|
|
<property name="autoDefault" >
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2" >
|
|
<widget class="QLabel" name="selectedKeysLA" >
|
|
<property name="text" >
|
|
<string>&Selected citations:</string>
|
|
</property>
|
|
<property name="buddy" >
|
|
<cstring>selectedLV</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="1" >
|
|
<widget class="QPushButton" name="upPB" >
|
|
<property name="sizePolicy" >
|
|
<sizepolicy>
|
|
<hsizetype>0</hsizetype>
|
|
<vsizetype>0</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip" >
|
|
<string>Move the selected citation up</string>
|
|
</property>
|
|
<property name="text" >
|
|
<string>&Up</string>
|
|
</property>
|
|
<property name="icon" >
|
|
<iconset/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item rowspan="5" row="1" column="2" >
|
|
<widget class="QListView" name="selectedLV" >
|
|
<property name="editTriggers" >
|
|
<set>QAbstractItemView::NoEditTriggers</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1" >
|
|
<spacer>
|
|
<property name="orientation" >
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" >
|
|
<size>
|
|
<width>20</width>
|
|
<height>16</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item rowspan="5" row="1" column="0" >
|
|
<widget class="QListView" name="availableLV" >
|
|
<property name="editTriggers" >
|
|
<set>QAbstractItemView::NoEditTriggers</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="1" >
|
|
<widget class="QPushButton" name="downPB" >
|
|
<property name="sizePolicy" >
|
|
<sizepolicy>
|
|
<hsizetype>0</hsizetype>
|
|
<vsizetype>0</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip" >
|
|
<string>Move the selected citation down</string>
|
|
</property>
|
|
<property name="text" >
|
|
<string>&Down</string>
|
|
</property>
|
|
<property name="icon" >
|
|
<iconset/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1" >
|
|
<widget class="QPushButton" name="deletePB" >
|
|
<property name="text" >
|
|
<string>D&elete</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" >
|
|
<property name="margin" >
|
|
<number>0</number>
|
|
</property>
|
|
<property name="spacing" >
|
|
<number>6</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QLabel" name="findKeysLA" >
|
|
<property name="text" >
|
|
<string>&Find:</string>
|
|
</property>
|
|
<property name="alignment" >
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
|
</property>
|
|
<property name="buddy" >
|
|
<cstring>selectedLV</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="findLE" >
|
|
<property name="text" >
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QTextBrowser" name="infoML" />
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="styleGB" >
|
|
<property name="title" >
|
|
<string>Formatting</string>
|
|
</property>
|
|
<layout class="QGridLayout" >
|
|
<property name="margin" >
|
|
<number>9</number>
|
|
</property>
|
|
<property name="spacing" >
|
|
<number>6</number>
|
|
</property>
|
|
<item row="0" column="1" colspan="2" >
|
|
<widget class="QComboBox" name="citationStyleCO" >
|
|
<property name="sizePolicy" >
|
|
<sizepolicy>
|
|
<hsizetype>3</hsizetype>
|
|
<vsizetype>0</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip" >
|
|
<string>Natbib citation style to use</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0" >
|
|
<widget class="QLabel" name="citationStyleLA" >
|
|
<property name="text" >
|
|
<string>Citation &style:</string>
|
|
</property>
|
|
<property name="buddy" >
|
|
<cstring>citationStyleCO</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0" colspan="2" >
|
|
<widget class="QCheckBox" name="fulllistCB" >
|
|
<property name="toolTip" >
|
|
<string>List all authors</string>
|
|
</property>
|
|
<property name="text" >
|
|
<string>&Full author list</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="2" >
|
|
<widget class="QCheckBox" name="forceuppercaseCB" >
|
|
<property name="toolTip" >
|
|
<string>Force upper case in citation</string>
|
|
</property>
|
|
<property name="text" >
|
|
<string>Force &upper case</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0" >
|
|
<widget class="QLabel" name="textAfterLA" >
|
|
<property name="text" >
|
|
<string>&Text after:</string>
|
|
</property>
|
|
<property name="buddy" >
|
|
<cstring>textAfterED</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1" colspan="2" >
|
|
<widget class="QLineEdit" name="textAfterED" >
|
|
<property name="sizePolicy" >
|
|
<sizepolicy>
|
|
<hsizetype>5</hsizetype>
|
|
<vsizetype>0</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip" >
|
|
<string>Text to place after citation</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0" >
|
|
<widget class="QLabel" name="textBeforeLA" >
|
|
<property name="text" >
|
|
<string>Text &before:</string>
|
|
</property>
|
|
<property name="buddy" >
|
|
<cstring>textAfterED</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1" colspan="2" >
|
|
<widget class="QLineEdit" name="textBeforeED" >
|
|
<property name="sizePolicy" >
|
|
<sizepolicy>
|
|
<hsizetype>5</hsizetype>
|
|
<vsizetype>0</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip" >
|
|
<string>Text to place before citation</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" >
|
|
<property name="margin" >
|
|
<number>0</number>
|
|
</property>
|
|
<property name="spacing" >
|
|
<number>6</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QPushButton" name="restorePB" >
|
|
<property name="text" >
|
|
<string>&Restore</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer>
|
|
<property name="orientation" >
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" >
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="okPB" >
|
|
<property name="text" >
|
|
<string>&OK</string>
|
|
</property>
|
|
<property name="autoDefault" >
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="default" >
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="applyPB" >
|
|
<property name="text" >
|
|
<string>A&pply</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="cancelPB" >
|
|
<property name="text" >
|
|
<string>&Cancel</string>
|
|
</property>
|
|
<property name="autoDefault" >
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<pixmapfunction></pixmapfunction>
|
|
<tabstops>
|
|
<tabstop>upPB</tabstop>
|
|
<tabstop>downPB</tabstop>
|
|
<tabstop>addPB</tabstop>
|
|
<tabstop>deletePB</tabstop>
|
|
<tabstop>citationStyleCO</tabstop>
|
|
<tabstop>textBeforeED</tabstop>
|
|
<tabstop>textAfterED</tabstop>
|
|
<tabstop>fulllistCB</tabstop>
|
|
<tabstop>forceuppercaseCB</tabstop>
|
|
<tabstop>restorePB</tabstop>
|
|
<tabstop>okPB</tabstop>
|
|
<tabstop>applyPB</tabstop>
|
|
<tabstop>cancelPB</tabstop>
|
|
</tabstops>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|