<ui version="4.0" >
- <class>QListingsUi</class>
- <widget class="QDialog" name="QListingsUi" >
- <property name="windowModality" >
- <enum>Qt::NonModal</enum>
- </property>
+ <class>ListingsUi</class>
+ <widget class="QDialog" name="ListingsUi" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
- <width>612</width>
- <height>317</height>
+ <width>578</width>
+ <height>349</height>
</rect>
</property>
<property name="windowTitle" >
<string>Listing</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" name="gridLayout_9" >
+ <item row="0" column="0" >
<widget class="QTabWidget" name="listingsTW" >
<property name="currentIndex" >
<number>0</number>
<attribute name="title" >
<string>&Main Settings</string>
</attribute>
- <layout class="QGridLayout" >
- <property name="margin" >
- <number>9</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item rowspan="2" row="0" column="2" >
- <widget class="QGroupBox" name="basicstyleGB" >
+ <layout class="QGridLayout" name="gridLayout_6" >
+ <item row="0" column="0" >
+ <widget class="QGroupBox" name="placementGB" >
<property name="title" >
- <string>Style</string>
+ <string>Placement</string>
+ </property>
+ <layout class="QGridLayout" name="gridLayout" >
+ <item row="0" column="0" colspan="2" >
+ <widget class="QCheckBox" name="inlineCB" >
+ <property name="toolTip" >
+ <string>Check for inline listings</string>
+ </property>
+ <property name="text" >
+ <string>&Inline listing</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0" colspan="2" >
+ <widget class="QCheckBox" name="floatCB" >
+ <property name="toolTip" >
+ <string>Check for floating listings</string>
+ </property>
+ <property name="text" >
+ <string>&Float</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="0" >
+ <widget class="QLabel" name="captionL_5" >
+ <property name="text" >
+ <string>&Placement:</string>
+ </property>
+ <property name="wordWrap" >
+ <bool>false</bool>
+ </property>
+ <property name="buddy" >
+ <cstring>placementLE</cstring>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="1" >
+ <widget class="QLineEdit" name="placementLE" >
+ <property name="toolTip" >
+ <string>Specify placement (htbp) for floating listings</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item row="0" column="1" >
+ <widget class="QGroupBox" name="numberstyleGB" >
+ <property name="title" >
+ <string>Line numbering</string>
</property>
- <layout class="QGridLayout" >
- <property name="margin" >
- <number>9</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
+ <layout class="QGridLayout" name="gridLayout_2" >
+ <item row="0" column="0" >
+ <widget class="QLabel" name="label" >
+ <property name="text" >
+ <string>&Side:</string>
+ </property>
+ <property name="buddy" >
+ <cstring>numberSideCO</cstring>
+ </property>
+ </widget>
+ </item>
<item row="0" column="1" >
- <widget class="QComboBox" name="fontsizeCO" >
+ <widget class="QComboBox" name="numberSideCO" >
+ <property name="toolTip" >
+ <string>On which side should line numbers be printed?</string>
+ </property>
+ <item>
+ <property name="text" >
+ <string>None</string>
+ </property>
+ </item>
+ <item>
+ <property name="text" >
+ <string>Left</string>
+ </property>
+ </item>
+ <item>
+ <property name="text" >
+ <string>Right</string>
+ </property>
+ </item>
+ </widget>
+ </item>
+ <item row="1" column="0" >
+ <widget class="QLabel" name="stepnumberL" >
+ <property name="toolTip" >
+ <string/>
+ </property>
+ <property name="text" >
+ <string>S&tep:</string>
+ </property>
+ <property name="wordWrap" >
+ <bool>false</bool>
+ </property>
+ <property name="buddy" >
+ <cstring>numberStepLE</cstring>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1" >
+ <widget class="QLineEdit" name="numberStepLE" >
+ <property name="toolTip" >
+ <string>Difference between two numbered lines</string>
+ </property>
+ <property name="statusTip" >
+ <string/>
+ </property>
+ <property name="text" >
+ <string/>
+ </property>
+ <property name="alignment" >
+ <set>Qt::AlignLeading</set>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="0" >
+ <widget class="QLabel" name="numberfontsizeL" >
+ <property name="text" >
+ <string>Font si&ze:</string>
+ </property>
+ <property name="wordWrap" >
+ <bool>false</bool>
+ </property>
+ <property name="buddy" >
+ <cstring>numberFontSizeCO</cstring>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="1" >
+ <widget class="QComboBox" name="numberFontSizeCO" >
<property name="sizePolicy" >
<sizepolicy>
- <hsizetype>7</hsizetype>
+ <hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip" >
- <string>The content's base font size</string>
+ <string>Choose the font size for line numbers</string>
</property>
<property name="editable" >
<bool>false</bool>
</property>
</widget>
</item>
+ </layout>
+ </widget>
+ </item>
+ <item rowspan="2" row="0" column="2" >
+ <widget class="QGroupBox" name="basicstyleGB" >
+ <property name="title" >
+ <string>Style</string>
+ </property>
+ <layout class="QGridLayout" name="gridLayout_5" >
<item row="0" column="0" >
<widget class="QLabel" name="fontsize_label_3" >
<property name="text" >
</property>
</widget>
</item>
- <item row="1" column="1" >
- <widget class="QComboBox" name="fontstyleCO" >
+ <item row="0" column="1" >
+ <widget class="QComboBox" name="fontsizeCO" >
<property name="sizePolicy" >
<sizepolicy>
- <hsizetype>7</hsizetype>
+ <hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip" >
- <string>The content's base font style</string>
+ <string>The content's base font size</string>
</property>
<property name="editable" >
<bool>false</bool>
</property>
</widget>
</item>
- <item row="5" column="0" colspan="2" >
- <widget class="QCheckBox" name="extendedcharsCB" >
- <property name="enabled" >
- <bool>true</bool>
+ <item row="1" column="1" >
+ <widget class="QComboBox" name="fontstyleCO" >
+ <property name="sizePolicy" >
+ <sizepolicy>
+ <hsizetype>0</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
</property>
<property name="toolTip" >
- <string>Use extended character table</string>
+ <string>The content's base font style</string>
</property>
- <property name="text" >
- <string>&Extended character table</string>
+ <property name="editable" >
+ <bool>false</bool>
</property>
- <property name="shortcut" >
- <number>276824133</number>
+ <property name="autoCompletion" >
+ <bool>true</bool>
+ </property>
+ <property name="duplicatesEnabled" >
+ <bool>false</bool>
</property>
</widget>
</item>
- <item row="4" column="0" colspan="2" >
- <widget class="QCheckBox" name="spaceInStringCB" >
+ <item row="2" column="0" colspan="2" >
+ <widget class="QCheckBox" name="breaklinesCB" >
<property name="toolTip" >
- <string>Make spaces in strings visible by a special symbol</string>
+ <string>Break lines longer than the linewidth</string>
</property>
<property name="text" >
- <string>Space i&n string as symbol</string>
+ <string>&Break long lines</string>
</property>
<property name="shortcut" >
- <number>276824147</number>
+ <number>276824130</number>
</property>
</widget>
</item>
</property>
</widget>
</item>
- <item row="2" column="0" colspan="2" >
- <widget class="QCheckBox" name="breaklinesCB" >
+ <item row="4" column="0" colspan="2" >
+ <widget class="QCheckBox" name="spaceInStringCB" >
<property name="toolTip" >
- <string>Break lines longer than the linewidth</string>
+ <string>Make spaces in strings visible by a special symbol</string>
</property>
<property name="text" >
- <string>&Break long lines</string>
+ <string>Space i&n string as symbol</string>
</property>
<property name="shortcut" >
- <number>276824130</number>
+ <number>276824147</number>
</property>
</widget>
</item>
- </layout>
- </widget>
- </item>
- <item row="1" column="1" >
- <widget class="QGroupBox" name="rangeGB" >
- <property name="title" >
- <string>Range</string>
- </property>
- <layout class="QGridLayout" >
- <property name="margin" >
- <number>9</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item row="1" column="0" >
- <widget class="QLabel" name="numberfontsizeL_2" >
+ <item row="5" column="0" >
+ <widget class="QLabel" name="tabsizeL" >
<property name="text" >
- <string>&Last line:</string>
- </property>
- <property name="wordWrap" >
- <bool>false</bool>
+ <string>Tab&ulator size:</string>
</property>
<property name="buddy" >
- <cstring>lastlineLE</cstring>
+ <cstring>tabsizeSB</cstring>
</property>
</widget>
</item>
- <item row="1" column="1" >
- <widget class="QLineEdit" name="lastlineLE" >
- <property name="toolTip" >
- <string>The last line to be printed</string>
- </property>
- <property name="text" >
- <string/>
- </property>
- <property name="alignment" >
- <set>Qt::AlignLeading</set>
- </property>
- </widget>
+ <item row="5" column="1" >
+ <widget class="QSpinBox" name="tabsizeSB" />
</item>
- <item row="0" column="1" >
- <widget class="QLineEdit" name="firstlineLE" >
- <property name="toolTip" >
- <string>The first line to be printed</string>
- </property>
- <property name="text" >
- <string/>
+ <item row="6" column="0" colspan="2" >
+ <widget class="QCheckBox" name="extendedcharsCB" >
+ <property name="enabled" >
+ <bool>true</bool>
</property>
- <property name="alignment" >
- <set>Qt::AlignLeading</set>
+ <property name="toolTip" >
+ <string>Use extended character table</string>
</property>
- </widget>
- </item>
- <item row="0" column="0" >
- <widget class="QLabel" name="numberfontsizeL_3" >
<property name="text" >
- <string>Fi&rst line:</string>
- </property>
- <property name="wordWrap" >
- <bool>false</bool>
+ <string>&Extended character table</string>
</property>
- <property name="buddy" >
- <cstring>firstlineLE</cstring>
+ <property name="shortcut" >
+ <number>276824133</number>
</property>
</widget>
</item>
<property name="title" >
<string>Language</string>
</property>
- <layout class="QGridLayout" >
- <property name="margin" >
- <number>9</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item row="1" column="1" >
- <widget class="QComboBox" name="dialectCO" >
- <property name="toolTip" >
- <string>Select the dialect of the programming language, if available</string>
- </property>
- </widget>
- </item>
- <item row="1" column="0" >
- <widget class="QLabel" name="dialectLBL" >
- <property name="text" >
- <string>&Dialect:</string>
- </property>
- <property name="buddy" >
- <cstring>dialectCO</cstring>
- </property>
- </widget>
- </item>
+ <layout class="QGridLayout" name="gridLayout_3" >
<item row="0" column="0" >
<widget class="QLabel" name="languageLBL" >
<property name="text" >
</property>
</widget>
</item>
- </layout>
- </widget>
- </item>
- <item row="0" column="1" >
- <widget class="QGroupBox" name="numberstyleGB" >
- <property name="title" >
- <string>Line numbering</string>
- </property>
- <layout class="QGridLayout" >
- <property name="margin" >
- <number>9</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item row="0" column="1" >
- <widget class="QComboBox" name="numberSideCO" >
- <property name="toolTip" >
- <string>On which side should line numbers be printed?</string>
+ <item row="1" column="0" >
+ <widget class="QLabel" name="dialectLBL" >
+ <property name="text" >
+ <string>&Dialect:</string>
+ </property>
+ <property name="buddy" >
+ <cstring>dialectCO</cstring>
</property>
- <item>
- <property name="text" >
- <string>None</string>
- </property>
- </item>
- <item>
- <property name="text" >
- <string>Left</string>
- </property>
- </item>
- <item>
- <property name="text" >
- <string>Right</string>
- </property>
- </item>
</widget>
</item>
- <item row="2" column="1" >
- <widget class="QComboBox" name="numberFontSizeCO" >
- <property name="sizePolicy" >
- <sizepolicy>
- <hsizetype>7</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
+ <item row="1" column="1" >
+ <widget class="QComboBox" name="dialectCO" >
<property name="toolTip" >
- <string>Choose the font size for line numbers</string>
- </property>
- <property name="editable" >
- <bool>false</bool>
- </property>
- <property name="autoCompletion" >
- <bool>true</bool>
- </property>
- <property name="duplicatesEnabled" >
- <bool>false</bool>
+ <string>Select the dialect of the programming language, if available</string>
</property>
</widget>
</item>
- <item row="2" column="0" >
- <widget class="QLabel" name="numberfontsizeL" >
+ </layout>
+ </widget>
+ </item>
+ <item row="1" column="1" >
+ <widget class="QGroupBox" name="rangeGB" >
+ <property name="title" >
+ <string>Range</string>
+ </property>
+ <layout class="QGridLayout" name="gridLayout_4" >
+ <item row="0" column="0" >
+ <widget class="QLabel" name="numberfontsizeL_3" >
<property name="text" >
- <string>Font si&ze:</string>
+ <string>Fi&rst line:</string>
</property>
<property name="wordWrap" >
<bool>false</bool>
</property>
<property name="buddy" >
- <cstring>numberFontSizeCO</cstring>
+ <cstring>firstlineLE</cstring>
</property>
</widget>
</item>
- <item row="1" column="0" >
- <widget class="QLabel" name="stepnumberL" >
+ <item row="0" column="1" >
+ <widget class="QLineEdit" name="firstlineLE" >
<property name="toolTip" >
+ <string>The first line to be printed</string>
+ </property>
+ <property name="text" >
<string/>
</property>
+ <property name="alignment" >
+ <set>Qt::AlignLeading</set>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0" >
+ <widget class="QLabel" name="numberfontsizeL_2" >
<property name="text" >
- <string>S&tep:</string>
+ <string>&Last line:</string>
</property>
<property name="wordWrap" >
<bool>false</bool>
</property>
<property name="buddy" >
- <cstring>numberStepLE</cstring>
+ <cstring>lastlineLE</cstring>
</property>
</widget>
</item>
<item row="1" column="1" >
- <widget class="QLineEdit" name="numberStepLE" >
+ <widget class="QLineEdit" name="lastlineLE" >
<property name="toolTip" >
- <string>Difference between two numbered lines</string>
- </property>
- <property name="statusTip" >
- <string/>
+ <string>The last line to be printed</string>
</property>
<property name="text" >
<string/>
</property>
</widget>
</item>
- <item row="0" column="0" >
- <widget class="QLabel" name="label" >
- <property name="text" >
- <string>&Side:</string>
- </property>
- <property name="buddy" >
- <cstring>numberSideCO</cstring>
- </property>
- </widget>
- </item>
</layout>
</widget>
</item>
+ </layout>
+ </widget>
+ <widget class="QWidget" name="tab_2" >
+ <attribute name="title" >
+ <string>Ad&vanced</string>
+ </attribute>
+ <layout class="QGridLayout" name="gridLayout_8" >
<item row="0" column="0" >
- <widget class="QGroupBox" name="placementGB" >
+ <widget class="QGroupBox" name="listingsGB" >
+ <property name="sizePolicy" >
+ <sizepolicy>
+ <hsizetype>0</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
<property name="title" >
- <string>Placement</string>
+ <string>More Parameters</string>
</property>
- <layout class="QGridLayout" >
- <property name="margin" >
- <number>9</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item row="2" column="1" >
- <widget class="QLineEdit" name="placementLE" >
- <property name="toolTip" >
- <string>Specify placement (htbp) for floating listings</string>
- </property>
- </widget>
- </item>
- <item row="1" column="0" colspan="2" >
- <widget class="QCheckBox" name="floatCB" >
- <property name="toolTip" >
- <string>Check for floating listings</string>
- </property>
- <property name="text" >
- <string>&Float</string>
- </property>
+ <layout class="QGridLayout" name="gridLayout_7" >
+ <item row="0" column="0" >
+ <widget class="QSplitter" name="splitter" >
+ <property name="orientation" >
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <widget class="QTextBrowser" name="listingsTB" >
+ <property name="maximumSize" >
+ <size>
+ <width>16777215</width>
+ <height>16777215</height>
+ </size>
+ </property>
+ <property name="acceptDrops" >
+ <bool>false</bool>
+ </property>
+ <property name="toolTip" >
+ <string>Feedback window</string>
+ </property>
+ <property name="frameShape" >
+ <enum>QFrame::Box</enum>
+ </property>
+ <property name="frameShadow" >
+ <enum>QFrame::Plain</enum>
+ </property>
+ <property name="acceptRichText" >
+ <bool>false</bool>
+ </property>
+ </widget>
+ <widget class="QTextEdit" name="listingsED" >
+ <property name="sizePolicy" >
+ <sizepolicy>
+ <hsizetype>0</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="toolTip" >
+ <string>Input listing parameters here. Enter ? for a list of parameters.</string>
+ </property>
+ </widget>
</widget>
</item>
- <item row="0" column="0" colspan="2" >
- <widget class="QCheckBox" name="inlineCB" >
+ <item row="1" column="0" >
+ <widget class="QCheckBox" name="bypassCB" >
<property name="toolTip" >
- <string>Check for inline listings</string>
+ <string>Check it to enter parameters that are not recognizable by LyX</string>
</property>
<property name="text" >
- <string>&Inline listing</string>
- </property>
- </widget>
- </item>
- <item row="2" column="0" >
- <widget class="QLabel" name="captionL_5" >
- <property name="text" >
- <string>&Placement:</string>
- </property>
- <property name="wordWrap" >
- <bool>false</bool>
- </property>
- <property name="buddy" >
- <cstring>placementLE</cstring>
+ <string>&Bypass validation</string>
</property>
</widget>
</item>
</item>
</layout>
</widget>
- <widget class="QWidget" name="tab_2" >
- <attribute name="title" >
- <string>Ad&vanced</string>
- </attribute>
- <widget class="QGroupBox" name="listingsGB" >
- <property name="geometry" >
- <rect>
- <x>9</x>
- <y>9</y>
- <width>540</width>
- <height>260</height>
- </rect>
- </property>
- <property name="sizePolicy" >
- <sizepolicy>
- <hsizetype>7</hsizetype>
- <vsizetype>7</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="title" >
- <string>More Parameters</string>
- </property>
- <layout class="QVBoxLayout" >
- <property name="margin" >
- <number>9</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <widget class="QSplitter" name="splitter" >
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <widget class="QTextBrowser" name="listingsTB" >
- <property name="maximumSize" >
- <size>
- <width>16777215</width>
- <height>16777215</height>
- </size>
- </property>
- <property name="cursor" >
- <cursor>0</cursor>
- </property>
- <property name="acceptDrops" >
- <bool>false</bool>
- </property>
- <property name="toolTip" >
- <string>Feedback window</string>
- </property>
- <property name="frameShape" >
- <enum>QFrame::NoFrame</enum>
- </property>
- <property name="frameShadow" >
- <enum>QFrame::Plain</enum>
- </property>
- <property name="lineWidth" >
- <number>0</number>
- </property>
- <property name="acceptRichText" >
- <bool>false</bool>
- </property>
- </widget>
- <widget class="QTextEdit" name="listingsED" >
- <property name="toolTip" >
- <string>Input listing parameters here. Enter ? for a list of parameters.</string>
- </property>
- </widget>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="bypassCB" >
- <property name="toolTip" >
- <string>Check it to enter parameters that are not recognizable by LyX</string>
- </property>
- <property name="text" >
- <string>&Bypass validation</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </widget>
</widget>
</item>
- <item>
- <layout class="QHBoxLayout" >
- <property name="margin" >
- <number>0</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
+ <item row="1" column="0" >
+ <layout class="QHBoxLayout" name="horizontalLayout" >
<item>
- <spacer>
+ <spacer name="horizontalSpacer" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
- <property name="sizeType" >
- <enum>QSizePolicy::Expanding</enum>
- </property>
- <property name="sizeHint" >
+ <property name="sizeHint" stdset="0" >
<size>
- <width>221</width>
- <height>27</height>
+ <width>40</width>
+ <height>20</height>
</size>
</property>
</spacer>
<tabstop>listingsED</tabstop>
</tabstops>
<includes>
- <include location="local" >qt_helpers.h</include>
+ <include location="local" >qt_i18n.h</include>
</includes>
<resources/>
<connections/>