Add support for listings package. Two listings command \lstinline, \lstinputlisting and an environment \lstlisting are supported, along with preamble \lstset. \lstinputlisting is implemented through Include dialog, and the other two are implemented with a new inset listings, along with its dialog.
* src/LyXAction.cpp: listing-insert action
* src/insets/Inset.h,cpp: LISTINGS_CODE
* src/insets/InsetInclude.cpp: handle \lstinputlisting
* src/insets/InsetListings.h,cpp: new listings inset
* src/insets/InsetListingsParams.h,cpp: parameters from listings package
* src/insets/InsetCommandParams.h,cpp: handle lstinputlisting option
* src/Bidi.cpp: handle LISTINGS_CODE
* src/frontends/qt4/ui/TextLayoutUi.ui: update UI
* src/frontends/qt4/ui/ListingsUi.ui: new dialog
* src/frontends/qt4/ui/IncludeUi.ui: update UI
* src/frontends/qt4/QInclude.h,cpp: add lstinputlisting
* src/frontends/qt4/QDocument.h,cpp: add textedit for preamble listings_params
* src/frontends/qt4/QListings.h,cpp: new listings inset
* src/frontends/qt4/Dialogs.cpp: new listings dialog
* src/frontends/controllers/ControlInclude.h,cpp: add lstinputlisting
* src/frontends/controllers/ControlListings.h,cpp: new listings inset
* src/LyXFunc.cpp: handle LISTING_CODE
* src/Paragraph.cpp: handle LISTING_CODE
* src/factory.cpp: new listings inset
* src/CutAndPaste.cpp: handle LISTINGS_CODE
* src/LaTeXFeatures.cpp: require listings
* src/Text3.cpp: Handle LISTINGS_CODE
* src/lfuns.h: add LFUN_LISTING_INSERT
* src/Buffer.cpp: change lyx file format to 269
* src/BufferParams.h,cpp: add listings_params to preamble
* lib/lyx2lyx/LyX.py: lyx2lyx
* lib/lyx2lyx/lyx_1_5.py: lyx2lyx
* lib/ui/stdmenus.inc: new menu item (no shortcut!)
* src/insets/Makefile.am: update autotools
* src/frontends/controllers/Makefile.am
* src/frontends/qt4/Makefile.dialogs
* src/frontends/qt4/Makefile.am
* po/POTFILES.in: a few more translatable files.
* development/scons/scons_manifest.py: scons build system
* development/FORMAT: document format changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18243 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 19:11:42 +00:00
|
|
|
<ui version="4.0" >
|
2007-08-31 05:53:55 +00:00
|
|
|
<class>ListingsUi</class>
|
|
|
|
<widget class="QDialog" name="ListingsUi" >
|
Add support for listings package. Two listings command \lstinline, \lstinputlisting and an environment \lstlisting are supported, along with preamble \lstset. \lstinputlisting is implemented through Include dialog, and the other two are implemented with a new inset listings, along with its dialog.
* src/LyXAction.cpp: listing-insert action
* src/insets/Inset.h,cpp: LISTINGS_CODE
* src/insets/InsetInclude.cpp: handle \lstinputlisting
* src/insets/InsetListings.h,cpp: new listings inset
* src/insets/InsetListingsParams.h,cpp: parameters from listings package
* src/insets/InsetCommandParams.h,cpp: handle lstinputlisting option
* src/Bidi.cpp: handle LISTINGS_CODE
* src/frontends/qt4/ui/TextLayoutUi.ui: update UI
* src/frontends/qt4/ui/ListingsUi.ui: new dialog
* src/frontends/qt4/ui/IncludeUi.ui: update UI
* src/frontends/qt4/QInclude.h,cpp: add lstinputlisting
* src/frontends/qt4/QDocument.h,cpp: add textedit for preamble listings_params
* src/frontends/qt4/QListings.h,cpp: new listings inset
* src/frontends/qt4/Dialogs.cpp: new listings dialog
* src/frontends/controllers/ControlInclude.h,cpp: add lstinputlisting
* src/frontends/controllers/ControlListings.h,cpp: new listings inset
* src/LyXFunc.cpp: handle LISTING_CODE
* src/Paragraph.cpp: handle LISTING_CODE
* src/factory.cpp: new listings inset
* src/CutAndPaste.cpp: handle LISTINGS_CODE
* src/LaTeXFeatures.cpp: require listings
* src/Text3.cpp: Handle LISTINGS_CODE
* src/lfuns.h: add LFUN_LISTING_INSERT
* src/Buffer.cpp: change lyx file format to 269
* src/BufferParams.h,cpp: add listings_params to preamble
* lib/lyx2lyx/LyX.py: lyx2lyx
* lib/lyx2lyx/lyx_1_5.py: lyx2lyx
* lib/ui/stdmenus.inc: new menu item (no shortcut!)
* src/insets/Makefile.am: update autotools
* src/frontends/controllers/Makefile.am
* src/frontends/qt4/Makefile.dialogs
* src/frontends/qt4/Makefile.am
* po/POTFILES.in: a few more translatable files.
* development/scons/scons_manifest.py: scons build system
* development/FORMAT: document format changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18243 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 19:11:42 +00:00
|
|
|
<property name="windowModality" >
|
2007-05-18 15:44:07 +00:00
|
|
|
<enum>Qt::NonModal</enum>
|
Add support for listings package. Two listings command \lstinline, \lstinputlisting and an environment \lstlisting are supported, along with preamble \lstset. \lstinputlisting is implemented through Include dialog, and the other two are implemented with a new inset listings, along with its dialog.
* src/LyXAction.cpp: listing-insert action
* src/insets/Inset.h,cpp: LISTINGS_CODE
* src/insets/InsetInclude.cpp: handle \lstinputlisting
* src/insets/InsetListings.h,cpp: new listings inset
* src/insets/InsetListingsParams.h,cpp: parameters from listings package
* src/insets/InsetCommandParams.h,cpp: handle lstinputlisting option
* src/Bidi.cpp: handle LISTINGS_CODE
* src/frontends/qt4/ui/TextLayoutUi.ui: update UI
* src/frontends/qt4/ui/ListingsUi.ui: new dialog
* src/frontends/qt4/ui/IncludeUi.ui: update UI
* src/frontends/qt4/QInclude.h,cpp: add lstinputlisting
* src/frontends/qt4/QDocument.h,cpp: add textedit for preamble listings_params
* src/frontends/qt4/QListings.h,cpp: new listings inset
* src/frontends/qt4/Dialogs.cpp: new listings dialog
* src/frontends/controllers/ControlInclude.h,cpp: add lstinputlisting
* src/frontends/controllers/ControlListings.h,cpp: new listings inset
* src/LyXFunc.cpp: handle LISTING_CODE
* src/Paragraph.cpp: handle LISTING_CODE
* src/factory.cpp: new listings inset
* src/CutAndPaste.cpp: handle LISTINGS_CODE
* src/LaTeXFeatures.cpp: require listings
* src/Text3.cpp: Handle LISTINGS_CODE
* src/lfuns.h: add LFUN_LISTING_INSERT
* src/Buffer.cpp: change lyx file format to 269
* src/BufferParams.h,cpp: add listings_params to preamble
* lib/lyx2lyx/LyX.py: lyx2lyx
* lib/lyx2lyx/lyx_1_5.py: lyx2lyx
* lib/ui/stdmenus.inc: new menu item (no shortcut!)
* src/insets/Makefile.am: update autotools
* src/frontends/controllers/Makefile.am
* src/frontends/qt4/Makefile.dialogs
* src/frontends/qt4/Makefile.am
* po/POTFILES.in: a few more translatable files.
* development/scons/scons_manifest.py: scons build system
* development/FORMAT: document format changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18243 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 19:11:42 +00:00
|
|
|
</property>
|
|
|
|
<property name="geometry" >
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2008-09-30 18:00:02 +00:00
|
|
|
<width>654</width>
|
|
|
|
<height>349</height>
|
Add support for listings package. Two listings command \lstinline, \lstinputlisting and an environment \lstlisting are supported, along with preamble \lstset. \lstinputlisting is implemented through Include dialog, and the other two are implemented with a new inset listings, along with its dialog.
* src/LyXAction.cpp: listing-insert action
* src/insets/Inset.h,cpp: LISTINGS_CODE
* src/insets/InsetInclude.cpp: handle \lstinputlisting
* src/insets/InsetListings.h,cpp: new listings inset
* src/insets/InsetListingsParams.h,cpp: parameters from listings package
* src/insets/InsetCommandParams.h,cpp: handle lstinputlisting option
* src/Bidi.cpp: handle LISTINGS_CODE
* src/frontends/qt4/ui/TextLayoutUi.ui: update UI
* src/frontends/qt4/ui/ListingsUi.ui: new dialog
* src/frontends/qt4/ui/IncludeUi.ui: update UI
* src/frontends/qt4/QInclude.h,cpp: add lstinputlisting
* src/frontends/qt4/QDocument.h,cpp: add textedit for preamble listings_params
* src/frontends/qt4/QListings.h,cpp: new listings inset
* src/frontends/qt4/Dialogs.cpp: new listings dialog
* src/frontends/controllers/ControlInclude.h,cpp: add lstinputlisting
* src/frontends/controllers/ControlListings.h,cpp: new listings inset
* src/LyXFunc.cpp: handle LISTING_CODE
* src/Paragraph.cpp: handle LISTING_CODE
* src/factory.cpp: new listings inset
* src/CutAndPaste.cpp: handle LISTINGS_CODE
* src/LaTeXFeatures.cpp: require listings
* src/Text3.cpp: Handle LISTINGS_CODE
* src/lfuns.h: add LFUN_LISTING_INSERT
* src/Buffer.cpp: change lyx file format to 269
* src/BufferParams.h,cpp: add listings_params to preamble
* lib/lyx2lyx/LyX.py: lyx2lyx
* lib/lyx2lyx/lyx_1_5.py: lyx2lyx
* lib/ui/stdmenus.inc: new menu item (no shortcut!)
* src/insets/Makefile.am: update autotools
* src/frontends/controllers/Makefile.am
* src/frontends/qt4/Makefile.dialogs
* src/frontends/qt4/Makefile.am
* po/POTFILES.in: a few more translatable files.
* development/scons/scons_manifest.py: scons build system
* development/FORMAT: document format changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18243 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 19:11:42 +00:00
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle" >
|
|
|
|
<string>Listing</string>
|
|
|
|
</property>
|
|
|
|
<property name="sizeGripEnabled" >
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
2007-06-19 07:29:40 +00:00
|
|
|
<layout class="QGridLayout" >
|
2007-05-11 16:56:16 +00:00
|
|
|
<property name="margin" >
|
|
|
|
<number>9</number>
|
2007-05-10 20:56:58 +00:00
|
|
|
</property>
|
2007-05-11 16:56:16 +00:00
|
|
|
<property name="spacing" >
|
|
|
|
<number>6</number>
|
|
|
|
</property>
|
2007-06-19 07:29:40 +00:00
|
|
|
<item row="0" column="0" >
|
2007-05-14 14:56:21 +00:00
|
|
|
<widget class="QTabWidget" name="listingsTW" >
|
2007-06-19 07:29:40 +00:00
|
|
|
<property name="sizePolicy" >
|
2008-10-03 16:22:55 +00:00
|
|
|
<sizepolicy>
|
|
|
|
<hsizetype>0</hsizetype>
|
|
|
|
<vsizetype>0</vsizetype>
|
2007-06-19 07:29:40 +00:00
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
2007-05-14 14:56:21 +00:00
|
|
|
<property name="currentIndex" >
|
2007-05-13 04:06:37 +00:00
|
|
|
<number>0</number>
|
2007-05-11 16:56:16 +00:00
|
|
|
</property>
|
2007-05-14 14:56:21 +00:00
|
|
|
<widget class="QWidget" name="tab" >
|
|
|
|
<attribute name="title" >
|
2007-05-18 18:35:28 +00:00
|
|
|
<string>&Main Settings</string>
|
2007-05-14 14:56:21 +00:00
|
|
|
</attribute>
|
2007-05-23 02:05:01 +00:00
|
|
|
<layout class="QGridLayout" >
|
2007-05-13 04:06:37 +00:00
|
|
|
<property name="margin" >
|
2007-05-14 14:56:21 +00:00
|
|
|
<number>9</number>
|
2007-05-13 04:06:37 +00:00
|
|
|
</property>
|
|
|
|
<property name="spacing" >
|
|
|
|
<number>6</number>
|
|
|
|
</property>
|
2007-06-19 07:29:40 +00:00
|
|
|
<item row="0" column="0" >
|
|
|
|
<widget class="QGroupBox" name="placementGB" >
|
2007-05-23 02:05:01 +00:00
|
|
|
<property name="title" >
|
2007-06-19 07:29:40 +00:00
|
|
|
<string>Placement</string>
|
2007-05-13 04:06:37 +00:00
|
|
|
</property>
|
2007-05-23 02:05:01 +00:00
|
|
|
<layout class="QGridLayout" >
|
|
|
|
<property name="margin" >
|
|
|
|
<number>9</number>
|
|
|
|
</property>
|
|
|
|
<property name="spacing" >
|
|
|
|
<number>6</number>
|
|
|
|
</property>
|
2007-06-19 07:29:40 +00:00
|
|
|
<item row="2" column="1" >
|
|
|
|
<widget class="QLineEdit" name="placementLE" >
|
|
|
|
<property name="toolTip" >
|
|
|
|
<string>Specify placement (htbp) for floating listings</string>
|
2007-05-23 02:05:01 +00:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2007-06-19 07:29:40 +00:00
|
|
|
<item row="1" column="0" colspan="2" >
|
|
|
|
<widget class="QCheckBox" name="floatCB" >
|
2007-05-23 02:05:01 +00:00
|
|
|
<property name="toolTip" >
|
2007-06-19 07:29:40 +00:00
|
|
|
<string>Check for floating listings</string>
|
2007-05-23 02:05:01 +00:00
|
|
|
</property>
|
|
|
|
<property name="text" >
|
2007-06-19 07:29:40 +00:00
|
|
|
<string>&Float</string>
|
2007-05-23 02:05:01 +00:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2007-06-19 07:29:40 +00:00
|
|
|
<item row="0" column="0" colspan="2" >
|
|
|
|
<widget class="QCheckBox" name="inlineCB" >
|
2007-05-23 02:05:01 +00:00
|
|
|
<property name="toolTip" >
|
2007-06-19 07:29:40 +00:00
|
|
|
<string>Check for inline listings</string>
|
2007-05-23 02:05:01 +00:00
|
|
|
</property>
|
|
|
|
<property name="text" >
|
2007-06-19 07:29:40 +00:00
|
|
|
<string>&Inline listing</string>
|
2007-05-23 02:05:01 +00:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2007-06-19 07:29:40 +00:00
|
|
|
<item row="2" column="0" >
|
|
|
|
<widget class="QLabel" name="captionL_5" >
|
2007-05-23 02:05:01 +00:00
|
|
|
<property name="text" >
|
2007-06-19 07:29:40 +00:00
|
|
|
<string>&Placement:</string>
|
2007-05-23 02:05:01 +00:00
|
|
|
</property>
|
|
|
|
<property name="wordWrap" >
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="buddy" >
|
2007-06-19 07:29:40 +00:00
|
|
|
<cstring>placementLE</cstring>
|
2007-05-23 02:05:01 +00:00
|
|
|
</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>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<property name="text" >
|
|
|
|
<string>None</string>
|
2007-05-17 18:23:45 +00:00
|
|
|
</property>
|
|
|
|
</item>
|
2007-05-23 02:05:01 +00:00
|
|
|
<item>
|
|
|
|
<property name="text" >
|
|
|
|
<string>Left</string>
|
|
|
|
</property>
|
2007-05-17 18:23:45 +00:00
|
|
|
</item>
|
2007-05-23 02:05:01 +00:00
|
|
|
<item>
|
|
|
|
<property name="text" >
|
|
|
|
<string>Right</string>
|
|
|
|
</property>
|
2007-05-17 18:23:45 +00:00
|
|
|
</item>
|
2007-05-23 02:05:01 +00:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="1" >
|
|
|
|
<widget class="QComboBox" name="numberFontSizeCO" >
|
|
|
|
<property name="sizePolicy" >
|
2008-10-03 16:22:55 +00:00
|
|
|
<sizepolicy>
|
|
|
|
<hsizetype>0</hsizetype>
|
|
|
|
<vsizetype>0</vsizetype>
|
2007-05-23 02:05:01 +00:00
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<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>
|
|
|
|
</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="1" column="0" >
|
|
|
|
<widget class="QLabel" name="stepnumberL" >
|
|
|
|
<property name="toolTip" >
|
2007-06-01 12:25:19 +00:00
|
|
|
<string/>
|
2007-05-23 02:05:01 +00:00
|
|
|
</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="0" column="0" >
|
|
|
|
<widget class="QLabel" name="label" >
|
|
|
|
<property name="text" >
|
2007-06-01 12:25:19 +00:00
|
|
|
<string>&Side:</string>
|
2007-05-23 02:05:01 +00:00
|
|
|
</property>
|
|
|
|
<property name="buddy" >
|
|
|
|
<cstring>numberSideCO</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2007-06-19 07:29:40 +00:00
|
|
|
<item row="1" column="0" >
|
|
|
|
<widget class="QGroupBox" name="languageGB" >
|
2007-05-23 02:05:01 +00:00
|
|
|
<property name="title" >
|
2007-06-19 07:29:40 +00:00
|
|
|
<string>Language</string>
|
2007-05-23 02:05:01 +00:00
|
|
|
</property>
|
|
|
|
<layout class="QGridLayout" >
|
|
|
|
<property name="margin" >
|
|
|
|
<number>9</number>
|
|
|
|
</property>
|
|
|
|
<property name="spacing" >
|
|
|
|
<number>6</number>
|
|
|
|
</property>
|
2007-06-19 07:29:40 +00:00
|
|
|
<item row="1" column="1" >
|
|
|
|
<widget class="QComboBox" name="dialectCO" >
|
2007-05-23 02:05:01 +00:00
|
|
|
<property name="toolTip" >
|
2007-06-19 07:29:40 +00:00
|
|
|
<string>Select the dialect of the programming language, if available</string>
|
2007-05-23 02:05:01 +00:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2007-06-19 07:29:40 +00:00
|
|
|
<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>
|
|
|
|
<item row="0" column="0" >
|
|
|
|
<widget class="QLabel" name="languageLBL" >
|
|
|
|
<property name="text" >
|
|
|
|
<string>Lan&guage:</string>
|
|
|
|
</property>
|
|
|
|
<property name="buddy" >
|
|
|
|
<cstring>languageCO</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="1" >
|
|
|
|
<widget class="QComboBox" name="languageCO" >
|
2007-05-23 02:05:01 +00:00
|
|
|
<property name="toolTip" >
|
2007-06-19 07:29:40 +00:00
|
|
|
<string>Select the programming language</string>
|
2007-05-23 02:05:01 +00:00
|
|
|
</property>
|
2007-06-19 07:29:40 +00:00
|
|
|
</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" >
|
2007-05-23 02:05:01 +00:00
|
|
|
<property name="text" >
|
2007-06-19 07:29:40 +00:00
|
|
|
<string>&Last line:</string>
|
|
|
|
</property>
|
|
|
|
<property name="wordWrap" >
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="buddy" >
|
|
|
|
<cstring>lastlineLE</cstring>
|
2007-05-23 02:05:01 +00:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2007-06-19 07:29:40 +00:00
|
|
|
<item row="1" column="1" >
|
|
|
|
<widget class="QLineEdit" name="lastlineLE" >
|
2007-05-23 02:05:01 +00:00
|
|
|
<property name="toolTip" >
|
2007-06-19 07:29:40 +00:00
|
|
|
<string>The last line to be printed</string>
|
2007-05-23 02:05:01 +00:00
|
|
|
</property>
|
|
|
|
<property name="text" >
|
2007-06-19 07:29:40 +00:00
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
<property name="alignment" >
|
|
|
|
<set>Qt::AlignLeading</set>
|
2007-05-23 02:05:01 +00:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2007-06-19 07:29:40 +00:00
|
|
|
<item row="0" column="1" >
|
|
|
|
<widget class="QLineEdit" name="firstlineLE" >
|
|
|
|
<property name="toolTip" >
|
|
|
|
<string>The first line to be printed</string>
|
|
|
|
</property>
|
2007-05-23 02:05:01 +00:00
|
|
|
<property name="text" >
|
2007-06-19 07:29:40 +00:00
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
<property name="alignment" >
|
|
|
|
<set>Qt::AlignLeading</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="0" >
|
|
|
|
<widget class="QLabel" name="numberfontsizeL_3" >
|
|
|
|
<property name="text" >
|
|
|
|
<string>Fi&rst line:</string>
|
2007-05-23 02:05:01 +00:00
|
|
|
</property>
|
|
|
|
<property name="wordWrap" >
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
2007-06-01 12:25:19 +00:00
|
|
|
<property name="buddy" >
|
2007-06-19 07:29:40 +00:00
|
|
|
<cstring>firstlineLE</cstring>
|
2007-06-01 12:25:19 +00:00
|
|
|
</property>
|
2007-05-23 02:05:01 +00:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
2008-09-30 18:00:02 +00:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item rowspan="2" row="0" column="2" >
|
|
|
|
<widget class="QGroupBox" name="basicstyleGB" >
|
|
|
|
<property name="title" >
|
|
|
|
<string>Style</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QGridLayout" >
|
|
|
|
<property name="margin" >
|
|
|
|
<number>9</number>
|
|
|
|
</property>
|
|
|
|
<property name="spacing" >
|
|
|
|
<number>6</number>
|
|
|
|
</property>
|
2008-10-03 16:22:55 +00:00
|
|
|
<property name="sizeConstraint" >
|
|
|
|
<enum>QLayout::SetDefaultConstraint</enum>
|
|
|
|
</property>
|
2008-09-30 18:00:02 +00:00
|
|
|
<item row="0" column="0" >
|
|
|
|
<widget class="QLabel" name="fontsize_label_3" >
|
|
|
|
<property name="text" >
|
|
|
|
<string>F&ont size:</string>
|
|
|
|
</property>
|
|
|
|
<property name="wordWrap" >
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="buddy" >
|
|
|
|
<cstring>fontsizeCO</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="1" >
|
|
|
|
<widget class="QComboBox" name="fontsizeCO" >
|
|
|
|
<property name="sizePolicy" >
|
2008-10-03 16:22:55 +00:00
|
|
|
<sizepolicy>
|
|
|
|
<hsizetype>0</hsizetype>
|
|
|
|
<vsizetype>0</vsizetype>
|
2008-09-30 18:00:02 +00:00
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip" >
|
|
|
|
<string>The content's base font size</string>
|
|
|
|
</property>
|
|
|
|
<property name="editable" >
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="autoCompletion" >
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="duplicatesEnabled" >
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="0" >
|
|
|
|
<widget class="QLabel" name="fontstyle_label_3" >
|
|
|
|
<property name="text" >
|
|
|
|
<string>Font Famil&y:</string>
|
|
|
|
</property>
|
|
|
|
<property name="wordWrap" >
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="buddy" >
|
|
|
|
<cstring>fontstyleCO</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="1" >
|
|
|
|
<widget class="QComboBox" name="fontstyleCO" >
|
|
|
|
<property name="sizePolicy" >
|
2008-10-03 16:22:55 +00:00
|
|
|
<sizepolicy>
|
|
|
|
<hsizetype>0</hsizetype>
|
|
|
|
<vsizetype>0</vsizetype>
|
2008-09-30 18:00:02 +00:00
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip" >
|
|
|
|
<string>The content's base font style</string>
|
|
|
|
</property>
|
|
|
|
<property name="editable" >
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="autoCompletion" >
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="duplicatesEnabled" >
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="0" colspan="2" >
|
|
|
|
<widget class="QCheckBox" name="breaklinesCB" >
|
|
|
|
<property name="toolTip" >
|
|
|
|
<string>Break lines longer than the linewidth</string>
|
|
|
|
</property>
|
|
|
|
<property name="text" >
|
|
|
|
<string>&Break long lines</string>
|
|
|
|
</property>
|
|
|
|
<property name="shortcut" >
|
|
|
|
<number>276824130</number>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="3" column="0" colspan="2" >
|
|
|
|
<widget class="QCheckBox" name="spaceCB" >
|
|
|
|
<property name="toolTip" >
|
|
|
|
<string>Make spaces visible by a special symbol</string>
|
|
|
|
</property>
|
|
|
|
<property name="text" >
|
|
|
|
<string>S&pace as symbol</string>
|
|
|
|
</property>
|
|
|
|
<property name="shortcut" >
|
|
|
|
<number>276824147</number>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="5" column="0" colspan="2" >
|
|
|
|
<widget class="QCheckBox" name="spaceInStringCB" >
|
|
|
|
<property name="toolTip" >
|
|
|
|
<string>Make spaces in strings visible by a special symbol</string>
|
|
|
|
</property>
|
|
|
|
<property name="text" >
|
|
|
|
<string>Space i&n string as symbol</string>
|
|
|
|
</property>
|
|
|
|
<property name="shortcut" >
|
|
|
|
<number>276824147</number>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="6" column="0" >
|
|
|
|
<widget class="QLabel" name="tabsizeL" >
|
|
|
|
<property name="text" >
|
2008-10-03 16:22:55 +00:00
|
|
|
<string>Tab&ulator size:</string>
|
|
|
|
</property>
|
|
|
|
<property name="buddy" >
|
|
|
|
<cstring>tabsizeSB</cstring>
|
2008-09-30 18:00:02 +00:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="6" column="1" >
|
|
|
|
<widget class="QSpinBox" name="tabsizeSB" />
|
|
|
|
</item>
|
|
|
|
<item row="7" column="0" colspan="2" >
|
|
|
|
<widget class="QCheckBox" name="extendedcharsCB" >
|
|
|
|
<property name="enabled" >
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip" >
|
|
|
|
<string>Use extended character table</string>
|
|
|
|
</property>
|
|
|
|
<property name="text" >
|
|
|
|
<string>&Extended character table</string>
|
|
|
|
</property>
|
|
|
|
<property name="shortcut" >
|
|
|
|
<number>276824133</number>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
2007-05-23 02:05:01 +00:00
|
|
|
</widget>
|
2007-05-14 14:56:21 +00:00
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<widget class="QWidget" name="tab_2" >
|
|
|
|
<attribute name="title" >
|
2007-05-18 18:35:28 +00:00
|
|
|
<string>Ad&vanced</string>
|
2007-05-14 14:56:21 +00:00
|
|
|
</attribute>
|
2007-06-19 07:29:40 +00:00
|
|
|
<layout class="QGridLayout" >
|
|
|
|
<property name="margin" >
|
|
|
|
<number>9</number>
|
2007-05-14 14:56:21 +00:00
|
|
|
</property>
|
2007-06-19 07:29:40 +00:00
|
|
|
<property name="spacing" >
|
|
|
|
<number>6</number>
|
2007-06-12 17:10:28 +00:00
|
|
|
</property>
|
2007-06-19 07:29:40 +00:00
|
|
|
<item row="0" column="0" >
|
|
|
|
<widget class="QGroupBox" name="listingsGB" >
|
|
|
|
<property name="sizePolicy" >
|
2008-10-03 16:22:55 +00:00
|
|
|
<sizepolicy>
|
|
|
|
<hsizetype>0</hsizetype>
|
|
|
|
<vsizetype>0</vsizetype>
|
2007-06-19 07:29:40 +00:00
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="title" >
|
|
|
|
<string>More Parameters</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QGridLayout" >
|
|
|
|
<property name="margin" >
|
|
|
|
<number>9</number>
|
2007-05-14 14:56:21 +00:00
|
|
|
</property>
|
2007-06-19 07:29:40 +00:00
|
|
|
<property name="spacing" >
|
|
|
|
<number>6</number>
|
2007-06-12 17:10:28 +00:00
|
|
|
</property>
|
2007-06-19 07:29:40 +00:00
|
|
|
<item row="1" column="0" >
|
|
|
|
<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>
|
|
|
|
<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" >
|
2008-09-08 21:51:38 +00:00
|
|
|
<enum>QFrame::Box</enum>
|
2007-06-19 07:29:40 +00:00
|
|
|
</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" >
|
2008-10-03 16:22:55 +00:00
|
|
|
<sizepolicy>
|
|
|
|
<hsizetype>0</hsizetype>
|
|
|
|
<vsizetype>0</vsizetype>
|
2007-06-19 07:29:40 +00:00
|
|
|
<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>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
2007-05-14 14:56:21 +00:00
|
|
|
</widget>
|
|
|
|
</widget>
|
2007-05-11 16:56:16 +00:00
|
|
|
</item>
|
2007-06-19 07:29:40 +00:00
|
|
|
<item row="1" column="0" >
|
2007-05-23 02:05:01 +00:00
|
|
|
<layout class="QHBoxLayout" >
|
2008-09-30 18:00:02 +00:00
|
|
|
<property name="margin" >
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
2008-10-03 16:22:55 +00:00
|
|
|
<property name="spacing" >
|
|
|
|
<number>6</number>
|
|
|
|
</property>
|
2007-05-23 02:05:01 +00:00
|
|
|
<item>
|
|
|
|
<spacer>
|
|
|
|
<property name="orientation" >
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeType" >
|
|
|
|
<enum>QSizePolicy::Expanding</enum>
|
|
|
|
</property>
|
2008-10-03 16:22:55 +00:00
|
|
|
<property name="sizeHint" >
|
2007-05-23 02:05:01 +00:00
|
|
|
<size>
|
|
|
|
<width>221</width>
|
|
|
|
<height>27</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="okPB" >
|
|
|
|
<property name="text" >
|
|
|
|
<string>&OK</string>
|
|
|
|
</property>
|
|
|
|
<property name="default" >
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="applyPB" >
|
|
|
|
<property name="text" >
|
|
|
|
<string>&Apply</string>
|
|
|
|
</property>
|
|
|
|
<property name="default" >
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="closePB" >
|
|
|
|
<property name="text" >
|
|
|
|
<string>&Cancel</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
2007-05-11 16:56:16 +00:00
|
|
|
</layout>
|
Add support for listings package. Two listings command \lstinline, \lstinputlisting and an environment \lstlisting are supported, along with preamble \lstset. \lstinputlisting is implemented through Include dialog, and the other two are implemented with a new inset listings, along with its dialog.
* src/LyXAction.cpp: listing-insert action
* src/insets/Inset.h,cpp: LISTINGS_CODE
* src/insets/InsetInclude.cpp: handle \lstinputlisting
* src/insets/InsetListings.h,cpp: new listings inset
* src/insets/InsetListingsParams.h,cpp: parameters from listings package
* src/insets/InsetCommandParams.h,cpp: handle lstinputlisting option
* src/Bidi.cpp: handle LISTINGS_CODE
* src/frontends/qt4/ui/TextLayoutUi.ui: update UI
* src/frontends/qt4/ui/ListingsUi.ui: new dialog
* src/frontends/qt4/ui/IncludeUi.ui: update UI
* src/frontends/qt4/QInclude.h,cpp: add lstinputlisting
* src/frontends/qt4/QDocument.h,cpp: add textedit for preamble listings_params
* src/frontends/qt4/QListings.h,cpp: new listings inset
* src/frontends/qt4/Dialogs.cpp: new listings dialog
* src/frontends/controllers/ControlInclude.h,cpp: add lstinputlisting
* src/frontends/controllers/ControlListings.h,cpp: new listings inset
* src/LyXFunc.cpp: handle LISTING_CODE
* src/Paragraph.cpp: handle LISTING_CODE
* src/factory.cpp: new listings inset
* src/CutAndPaste.cpp: handle LISTINGS_CODE
* src/LaTeXFeatures.cpp: require listings
* src/Text3.cpp: Handle LISTINGS_CODE
* src/lfuns.h: add LFUN_LISTING_INSERT
* src/Buffer.cpp: change lyx file format to 269
* src/BufferParams.h,cpp: add listings_params to preamble
* lib/lyx2lyx/LyX.py: lyx2lyx
* lib/lyx2lyx/lyx_1_5.py: lyx2lyx
* lib/ui/stdmenus.inc: new menu item (no shortcut!)
* src/insets/Makefile.am: update autotools
* src/frontends/controllers/Makefile.am
* src/frontends/qt4/Makefile.dialogs
* src/frontends/qt4/Makefile.am
* po/POTFILES.in: a few more translatable files.
* development/scons/scons_manifest.py: scons build system
* development/FORMAT: document format changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18243 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 19:11:42 +00:00
|
|
|
</widget>
|
|
|
|
<tabstops>
|
|
|
|
<tabstop>okPB</tabstop>
|
2007-05-18 18:35:28 +00:00
|
|
|
<tabstop>applyPB</tabstop>
|
Add support for listings package. Two listings command \lstinline, \lstinputlisting and an environment \lstlisting are supported, along with preamble \lstset. \lstinputlisting is implemented through Include dialog, and the other two are implemented with a new inset listings, along with its dialog.
* src/LyXAction.cpp: listing-insert action
* src/insets/Inset.h,cpp: LISTINGS_CODE
* src/insets/InsetInclude.cpp: handle \lstinputlisting
* src/insets/InsetListings.h,cpp: new listings inset
* src/insets/InsetListingsParams.h,cpp: parameters from listings package
* src/insets/InsetCommandParams.h,cpp: handle lstinputlisting option
* src/Bidi.cpp: handle LISTINGS_CODE
* src/frontends/qt4/ui/TextLayoutUi.ui: update UI
* src/frontends/qt4/ui/ListingsUi.ui: new dialog
* src/frontends/qt4/ui/IncludeUi.ui: update UI
* src/frontends/qt4/QInclude.h,cpp: add lstinputlisting
* src/frontends/qt4/QDocument.h,cpp: add textedit for preamble listings_params
* src/frontends/qt4/QListings.h,cpp: new listings inset
* src/frontends/qt4/Dialogs.cpp: new listings dialog
* src/frontends/controllers/ControlInclude.h,cpp: add lstinputlisting
* src/frontends/controllers/ControlListings.h,cpp: new listings inset
* src/LyXFunc.cpp: handle LISTING_CODE
* src/Paragraph.cpp: handle LISTING_CODE
* src/factory.cpp: new listings inset
* src/CutAndPaste.cpp: handle LISTINGS_CODE
* src/LaTeXFeatures.cpp: require listings
* src/Text3.cpp: Handle LISTINGS_CODE
* src/lfuns.h: add LFUN_LISTING_INSERT
* src/Buffer.cpp: change lyx file format to 269
* src/BufferParams.h,cpp: add listings_params to preamble
* lib/lyx2lyx/LyX.py: lyx2lyx
* lib/lyx2lyx/lyx_1_5.py: lyx2lyx
* lib/ui/stdmenus.inc: new menu item (no shortcut!)
* src/insets/Makefile.am: update autotools
* src/frontends/controllers/Makefile.am
* src/frontends/qt4/Makefile.dialogs
* src/frontends/qt4/Makefile.am
* po/POTFILES.in: a few more translatable files.
* development/scons/scons_manifest.py: scons build system
* development/FORMAT: document format changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18243 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 19:11:42 +00:00
|
|
|
<tabstop>closePB</tabstop>
|
2007-05-14 20:42:14 +00:00
|
|
|
<tabstop>listingsTW</tabstop>
|
2007-05-11 16:56:16 +00:00
|
|
|
<tabstop>inlineCB</tabstop>
|
2007-05-13 04:06:37 +00:00
|
|
|
<tabstop>floatCB</tabstop>
|
|
|
|
<tabstop>placementLE</tabstop>
|
2007-05-14 20:42:14 +00:00
|
|
|
<tabstop>languageCO</tabstop>
|
2007-05-23 02:05:01 +00:00
|
|
|
<tabstop>dialectCO</tabstop>
|
2007-05-16 20:28:46 +00:00
|
|
|
<tabstop>numberSideCO</tabstop>
|
2007-05-13 04:06:37 +00:00
|
|
|
<tabstop>numberStepLE</tabstop>
|
|
|
|
<tabstop>numberFontSizeCO</tabstop>
|
|
|
|
<tabstop>firstlineLE</tabstop>
|
|
|
|
<tabstop>lastlineLE</tabstop>
|
|
|
|
<tabstop>fontsizeCO</tabstop>
|
|
|
|
<tabstop>fontstyleCO</tabstop>
|
|
|
|
<tabstop>breaklinesCB</tabstop>
|
|
|
|
<tabstop>spaceCB</tabstop>
|
2007-05-23 02:05:01 +00:00
|
|
|
<tabstop>spaceInStringCB</tabstop>
|
2007-05-13 04:06:37 +00:00
|
|
|
<tabstop>extendedcharsCB</tabstop>
|
2007-05-18 18:35:28 +00:00
|
|
|
<tabstop>listingsTB</tabstop>
|
2007-05-23 02:05:01 +00:00
|
|
|
<tabstop>listingsED</tabstop>
|
Add support for listings package. Two listings command \lstinline, \lstinputlisting and an environment \lstlisting are supported, along with preamble \lstset. \lstinputlisting is implemented through Include dialog, and the other two are implemented with a new inset listings, along with its dialog.
* src/LyXAction.cpp: listing-insert action
* src/insets/Inset.h,cpp: LISTINGS_CODE
* src/insets/InsetInclude.cpp: handle \lstinputlisting
* src/insets/InsetListings.h,cpp: new listings inset
* src/insets/InsetListingsParams.h,cpp: parameters from listings package
* src/insets/InsetCommandParams.h,cpp: handle lstinputlisting option
* src/Bidi.cpp: handle LISTINGS_CODE
* src/frontends/qt4/ui/TextLayoutUi.ui: update UI
* src/frontends/qt4/ui/ListingsUi.ui: new dialog
* src/frontends/qt4/ui/IncludeUi.ui: update UI
* src/frontends/qt4/QInclude.h,cpp: add lstinputlisting
* src/frontends/qt4/QDocument.h,cpp: add textedit for preamble listings_params
* src/frontends/qt4/QListings.h,cpp: new listings inset
* src/frontends/qt4/Dialogs.cpp: new listings dialog
* src/frontends/controllers/ControlInclude.h,cpp: add lstinputlisting
* src/frontends/controllers/ControlListings.h,cpp: new listings inset
* src/LyXFunc.cpp: handle LISTING_CODE
* src/Paragraph.cpp: handle LISTING_CODE
* src/factory.cpp: new listings inset
* src/CutAndPaste.cpp: handle LISTINGS_CODE
* src/LaTeXFeatures.cpp: require listings
* src/Text3.cpp: Handle LISTINGS_CODE
* src/lfuns.h: add LFUN_LISTING_INSERT
* src/Buffer.cpp: change lyx file format to 269
* src/BufferParams.h,cpp: add listings_params to preamble
* lib/lyx2lyx/LyX.py: lyx2lyx
* lib/lyx2lyx/lyx_1_5.py: lyx2lyx
* lib/ui/stdmenus.inc: new menu item (no shortcut!)
* src/insets/Makefile.am: update autotools
* src/frontends/controllers/Makefile.am
* src/frontends/qt4/Makefile.dialogs
* src/frontends/qt4/Makefile.am
* po/POTFILES.in: a few more translatable files.
* development/scons/scons_manifest.py: scons build system
* development/FORMAT: document format changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18243 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 19:11:42 +00:00
|
|
|
</tabstops>
|
|
|
|
<includes>
|
2008-04-20 16:32:40 +00:00
|
|
|
<include location="local" >qt_i18n.h</include>
|
Add support for listings package. Two listings command \lstinline, \lstinputlisting and an environment \lstlisting are supported, along with preamble \lstset. \lstinputlisting is implemented through Include dialog, and the other two are implemented with a new inset listings, along with its dialog.
* src/LyXAction.cpp: listing-insert action
* src/insets/Inset.h,cpp: LISTINGS_CODE
* src/insets/InsetInclude.cpp: handle \lstinputlisting
* src/insets/InsetListings.h,cpp: new listings inset
* src/insets/InsetListingsParams.h,cpp: parameters from listings package
* src/insets/InsetCommandParams.h,cpp: handle lstinputlisting option
* src/Bidi.cpp: handle LISTINGS_CODE
* src/frontends/qt4/ui/TextLayoutUi.ui: update UI
* src/frontends/qt4/ui/ListingsUi.ui: new dialog
* src/frontends/qt4/ui/IncludeUi.ui: update UI
* src/frontends/qt4/QInclude.h,cpp: add lstinputlisting
* src/frontends/qt4/QDocument.h,cpp: add textedit for preamble listings_params
* src/frontends/qt4/QListings.h,cpp: new listings inset
* src/frontends/qt4/Dialogs.cpp: new listings dialog
* src/frontends/controllers/ControlInclude.h,cpp: add lstinputlisting
* src/frontends/controllers/ControlListings.h,cpp: new listings inset
* src/LyXFunc.cpp: handle LISTING_CODE
* src/Paragraph.cpp: handle LISTING_CODE
* src/factory.cpp: new listings inset
* src/CutAndPaste.cpp: handle LISTINGS_CODE
* src/LaTeXFeatures.cpp: require listings
* src/Text3.cpp: Handle LISTINGS_CODE
* src/lfuns.h: add LFUN_LISTING_INSERT
* src/Buffer.cpp: change lyx file format to 269
* src/BufferParams.h,cpp: add listings_params to preamble
* lib/lyx2lyx/LyX.py: lyx2lyx
* lib/lyx2lyx/lyx_1_5.py: lyx2lyx
* lib/ui/stdmenus.inc: new menu item (no shortcut!)
* src/insets/Makefile.am: update autotools
* src/frontends/controllers/Makefile.am
* src/frontends/qt4/Makefile.dialogs
* src/frontends/qt4/Makefile.am
* po/POTFILES.in: a few more translatable files.
* development/scons/scons_manifest.py: scons build system
* development/FORMAT: document format changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18243 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 19:11:42 +00:00
|
|
|
</includes>
|
|
|
|
<resources/>
|
|
|
|
<connections/>
|
|
|
|
</ui>
|