Commit Graph

20 Commits

Author SHA1 Message Date
Jürgen Spitzmüller
96b062a520 * LaTeXUI.ui:
* UserGuide:
	- Postscript driver -> graphics driver.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27920 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-19 09:57:27 +00:00
Pavel Sanda
d579893c5b Towards horizontal size of document pref dialog -
class names make its combo very wide, so reorganize a little bit.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26956 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-19 01:43:24 +00:00
Pavel Sanda
9d82588e3e Create new Module panel in document settings and decrease vertical
size of the dialog.

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg145035.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26953 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-19 01:21:59 +00:00
Jürgen Spitzmüller
d45ca67d1d ** fix bug 2114. Fileformat change.
** fix bug 5343 (patch from Richard, prerequisite for the other fix)

* Buffer.cpp:
	- increment format to 343
* src/BufferParams.{cpp,h}:
	- new param \use_default_options that allows to select/deselect
	  the "Other" class options defined in the layout file.
* src/frontends/qt4/GuiDocument.cpp:
* src/frontends/qt4/ui/LaTeXUi.ui:
	- add GUI to set \use_default_options, display predefined options in the dialog
	- update dialog correctly on class change.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26860 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-12 09:36:00 +00:00
Bo Peng
763ef015ce Improve the local layout feature by better handling of unknown textclass, unknown layouts, and switch between textclasses.
* src/TextClass.h[.cpp]: add addLayoutIfNeeded() and createDefaultLayout()
	* src/Layout.h[.cpp]: add unknown_ to mark if a layout is a default layout for an unknown one.
	* src/LayoutFile.cpp: add addDefaultClass and change addLayoutFile to addLocalLayout.
	* src/Text.cpp: add unknown layouts that are not recognizable by a new textclass.
	* src/frontends/qt4/GuiToolbar.cpp: display (unknown) for unknown layouts.
	* src/frontends/qt4/GuiDocument.cpp: restore 'browse layout' button.
	* src/frontends/qt4/ui/LaTeXUi.ui: restore 'browse layout' button.
	* src/CutAndPaste.cpp: do not convert unknown layouts from pasted text
	* src/BufferParams.cpp: add a default textclass when a document with unknown textclass is loaded.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25555 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-11 02:43:02 +00:00
Jürgen Spitzmüller
2c5d1e9ebe * src/frontends/qt4/GuiDocument.cpp:
* src/frontends/qt4/ui/LaTeXUi.ui:
	- hide the "browse local layout" button as discussed on
	  http://bugzilla.lyx.org/show_bug.cgi?id=4812
	  because the local layout feature can result in dataloss.

	  Whether the feature itself should be removed for 1.6.0 has
	  to be discussed.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25452 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-05 08:54:48 +00:00
Jürgen Spitzmüller
764b5cf859 support for default master document.
file format change.

This is the last feature for today. Promised.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24540 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-28 16:38:56 +00:00
André Pönitz
2e11d3ca91 use cheaper includes in ui files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24389 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-20 16:32:40 +00:00
Edwin Leuven
4faa1fe330 * clean-up layout document class settings
* enable tooltips in document class combobox

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23981 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 18:57:42 +00:00
Jürgen Spitzmüller
8ba01b4096 LaTeXUi.ui:
- size adjustments.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23809 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-18 14:51:22 +00:00
Jürgen Spitzmüller
0f4c89ed66 cosmetics to the document dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23807 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-18 13:44:35 +00:00
Pavel Sanda
ee5f679545 Get rid of minimalistic comboboxes with oversensitive
scrollbars in settings.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23726 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-14 21:59:31 +00:00
Bo Peng
14eeac2e1c Allow selection of a local layout file from the document->settings dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23652 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 21:31:22 +00:00
Edwin Leuven
ea0e5ee1d8 small layout tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20295 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 17:32:15 +00:00
Richard Heck
2499fdf7f5 This is the last of a series of patches that merges the layout modules development in personal/branches/rgheck back into the tree.
Design goal: Allow the use of layout "modules", which are to LaTeX packages as layout files are to LaTeX document classes. Thus, one could have a module that defined certain character styles, environments, commands, or what have you, and include it in various documents, each of which uses a different document class, without having to modify the layout files themselves. For example, a theorems.module could be used with article.layout to provide support for theorem-type environments, without having to modify article.layout itself, and the same module could be used with book.layout, etc.

This patch adds the GUI for managing modules.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20282 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 01:55:09 +00:00
Edwin Leuven
ff7dd5e06c adjust layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17587 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-27 07:57:09 +00:00
Michael Schmitt
e0ae3a1a04 ui/*.ui: <include location="local" >qt_helpers.h</include>
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15784 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-07 17:56:32 +00:00
Abdelrazak Younes
3cf9a75bb3 remove qPixmapFromMimeSource. This caused the inclusion of Qt3 support headers which we want to get rid of.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14835 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-24 19:37:40 +00:00
Abdelrazak Younes
87c311f815 Compilation Fix: Appended "Ui" to main objectName so that it is the same as the ui file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13484 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-24 15:59:11 +00:00
Lars Gullik Bjønnes
12e5a52b92 Added initial qt4 work by Abdelrazak Younes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13294 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-05 17:24:44 +00:00