lyx_mirror/src/frontends/qt4/ui/PrefUi.ui
Enrico Forestieri 22ffc93467 The "single instance" patch.
By default, if the lyxpipe is set up and working, loading of documents
is deferred to an already running instance. Note that an already running
instance is only used for loading, such that export from command line
still works as usual.

The default behavior can be changed through a preference setting, and,
whatever the default is, it can be overridden by command line options.
Unticking the "Single instance" check box in the preferences, LyX behaves
exactly as before the introduction of this feature.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36278 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-13 11:55:05 +00:00

299 lines
8.6 KiB
XML

<ui version="4.0">
<class>PrefUi</class>
<widget class="QWidget" name="PrefUi">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>413</width>
<height>408</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="windowTitle">
<string/>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0">
<widget class="QLabel" name="uiFileLA">
<property name="text">
<string>&amp;User interface file:</string>
</property>
<property name="buddy">
<cstring>uiFileED</cstring>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="uiFileED"/>
</item>
<item row="0" column="2">
<widget class="QPushButton" name="uiFilePB">
<property name="text">
<string>Bro&amp;wse...</string>
</property>
</widget>
</item>
<item row="0" column="3">
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>77</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="0" colspan="4">
<widget class="QGroupBox" name="pixmapCacheGB_2">
<property name="title">
<string>Automatic help</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
<property name="flat">
<bool>true</bool>
</property>
<layout class="QGridLayout">
<property name="margin">
<number>9</number>
</property>
<property name="spacing">
<number>4</number>
</property>
<item row="0" column="0">
<widget class="QCheckBox" name="tooltipCB">
<property name="toolTip">
<string>Checking this allow the automatic display of helpful comments for insets in the main work area of an edited document</string>
</property>
<property name="text">
<string>&amp;Enable tool tips in main work area</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="2" column="0" colspan="4">
<widget class="QGroupBox" name="GeometryGB">
<property name="title">
<string>Session</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
<layout class="QGridLayout" name="gridLayout_4">
<item row="0" column="0" colspan="2">
<widget class="QCheckBox" name="allowGeometrySessionCB">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>Restore window layouts and &amp;geometries</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QCheckBox" name="restoreCursorCB">
<property name="toolTip">
<string>Restore to the cursor position when the file was last closed</string>
</property>
<property name="text">
<string>Restore cursor &amp;positions</string>
</property>
</widget>
</item>
<item row="2" column="0" colspan="2">
<widget class="QCheckBox" name="loadSessionCB">
<property name="text">
<string>&amp;Load opened files from last session</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QPushButton" name="clearSessionPB">
<property name="text">
<string>Clear all session &amp;information</string>
</property>
</widget>
</item>
<item row="3" column="1">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>225</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item row="3" column="0" colspan="4">
<widget class="QGroupBox" name="documentsGB">
<property name="title">
<string>Documents</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0" colspan="5">
<widget class="QCheckBox" name="backupCB">
<property name="text">
<string>Backup original documents when saving</string>
</property>
</widget>
</item>
<item row="1" column="0" colspan="3">
<widget class="QCheckBox" name="autoSaveCB">
<property name="text">
<string>&amp;Backup documents, every</string>
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QSpinBox" name="autoSaveSB">
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>300</number>
</property>
</widget>
</item>
<item row="1" column="4">
<widget class="QLabel" name="TextLabel1">
<property name="text">
<string>minutes</string>
</property>
</widget>
</item>
<item row="1" column="5">
<spacer>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>61</width>
<height>21</height>
</size>
</property>
</spacer>
</item>
<item row="2" column="0">
<widget class="QCheckBox" name="saveCompressedCB">
<property name="text">
<string>&amp;Save documents compressed by default</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="lastfilesLA">
<property name="text">
<string>&amp;Maximum last files:</string>
</property>
<property name="buddy">
<cstring>lastfilesSB</cstring>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QSpinBox" name="lastfilesSB">
<property name="maximum">
<number>9</number>
</property>
</widget>
</item>
<item row="3" column="2" colspan="2">
<spacer>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>48</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="4" column="0" colspan="2">
<widget class="QCheckBox" name="openDocumentsInTabsCB">
<property name="text">
<string>&amp;Open documents in tabs</string>
</property>
</widget>
</item>
<item row="5" column="0" colspan="2">
<widget class="QCheckBox" name="singleInstanceCB">
<property name="toolTip">
<string>Whether to open documents in an already running instance of LyX.</string>
</property>
<property name="text">
<string>S&amp;ingle instance</string>
</property>
</widget>
</item>
<item row="6" column="0" colspan="2">
<widget class="QCheckBox" name="singleCloseTabButtonCB">
<property name="toolTip">
<string>Whether to place close button on each tab or only one in the top left.</string>
</property>
<property name="text">
<string>&amp;Single close-tab button</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="4" column="0" colspan="4">
<spacer>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>395</width>
<height>16</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<layoutdefault spacing="4" margin="9"/>
<tabstops>
<tabstop>uiFileED</tabstop>
<tabstop>uiFilePB</tabstop>
<tabstop>tooltipCB</tabstop>
<tabstop>restoreCursorCB</tabstop>
<tabstop>allowGeometrySessionCB</tabstop>
<tabstop>loadSessionCB</tabstop>
<tabstop>autoSaveCB</tabstop>
<tabstop>autoSaveSB</tabstop>
<tabstop>lastfilesSB</tabstop>
<tabstop>openDocumentsInTabsCB</tabstop>
</tabstops>
<includes>
<include location="local">qt_i18n.h</include>
</includes>
<resources/>
<connections/>
</ui>