Commit Graph

326 Commits

Author SHA1 Message Date
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
Abdelrazak Younes
d748af0299 Add a preference combo box for the preferred user interface language. The rc variable gui_language now require a language name and not its code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25387 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-25 13:32:27 +00:00
Pavel Sanda
a4b76f6605 Make Delimiter dialog stretchable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25257 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-15 10:06:54 +00:00
Abdelrazak Younes
4a1be58591 - Simplify prefs, graphics and external display options which are now true or false.
- the display combo in the prefs, external and graphics dialogs are gone
- the lyxrc display_graphics option now overrides any local inset display option
- The external template format has a new tag: Preview
- format incremented to 337


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25245 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-13 07:34:55 +00:00
Jürgen Spitzmüller
15676a062f proper fix for bug 4936.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25215 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 15:20:38 +00:00
Jürgen Spitzmüller
3b00c86b9d brute fix weird bug 4936.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25203 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 10:41:58 +00:00
Abdelrazak Younes
fb1d57d24c oups...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25157 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 09:49:09 +00:00
Bo Peng
3c142cdd47 GuiInfo: display and initialize the information dialog, can not apply yet
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25152 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 04:10:42 +00:00
Abdelrazak Younes
f276338227 Preliminar InsetInfo dialog. This was done as an exercise to show Bo (an others) how easy it is to create a new dialog. This dialog needs to be filled in, right now, there is just an OK button.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25144 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 15:08:46 +00:00
Jürgen Spitzmüller
d7eaaba900 ** support for CJK font argument. File Format change **
* src/BufferParams.{cpp,h}:
	- new param fontsCJK (font_cjk).

* src/output_latex.cpp:
	- use fontsCJK param.

* src/Buffer.cpp:
	- increase file format

* src/frontends/qt4/GuiDocument.cpp:
* src/frontends/qt4/ui/FontUi.ui:
	- GUI for the CJK font param

* lib/lyx2lyx/lyx_1_6.py:
	- remove font_cjk param on reversion.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25135 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 06:18:34 +00:00
Pavel Sanda
89e93deea2 one string more.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24995 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-29 11:54:29 +00:00
Pavel Sanda
0e15b3c036 Oops.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24950 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-26 19:19:56 +00:00
Pavel Sanda
94ce1baddf Change description.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24949 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-26 19:16:41 +00:00
Martin Vermeer
e2a7735e0f Move (de)activate out of harms way
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24685 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-08 10:19:36 +00:00
Pavel Sanda
13e42a8c73 Introduce groups for graphics insets. That includes:
- GuiGraphics dialog field for setup new groups.
- Graphics context menu for assigning to certain group.
- Fileformat change for groupId field in Graphics inset.
- Undo mechanism added to inset-apply, for catching changes
  in preference dialog.
- Qt designer 4.4 used now.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24644 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-06 21:13:09 +00:00
Pavel Sanda
2e7c94ee0f Change naming upon the user request.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24637 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-06 13:47:20 +00:00
Edwin Leuven
832bbc4329 fix: http://bugzilla.lyx.org/show_bug.cgi?id=4688
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24598 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-04 07:51:50 +00:00
Jürgen Spitzmüller
95767b840b support for rightarrowfill, leftarrowfill, upbracefill, downbracefill, by Helge Hafting.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24567 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-30 20:11:57 +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
Jürgen Spitzmüller
7578832919 Improvements to the External dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24532 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-28 06:19:25 +00:00
Jürgen Spitzmüller
c778f093ea basic context menu for InsetExternal.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24531 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-28 05:12:28 +00:00
Jürgen Spitzmüller
37aefe13ff improvements to the Citation UI.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24507 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-26 08:07:46 +00:00
Richard Heck
45eee3cbbb Add "Search as You Type" option to citation dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24504 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-25 19:38:31 +00:00
Richard Heck
022ea0feb6 Fix part of bug 4775. We need to search here only when the user requests it, and not try to do "search as you go". This is too slow, even on fast machines, if you have more than a handful of entries.
I've also added some tooltips to direct people to the keyboard shortcuts.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24495 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-24 18:30:31 +00:00
Richard Heck
d0d6796931 One more, noted by Pavel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24463 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-22 22:08:35 +00:00
Jürgen Spitzmüller
5084d54f41 improvements to the Shortcuts UI.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24412 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-21 10:10:12 +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
Richard Heck
8a69ffd3bf Complete the removal of the embedding stuff. Maybe. It's hard to be sure we got everything, but this does compile, and it seems to work at least reasonably well. Any problems should of course be reported to the list.
For the record, this developer is sorry that the problems with this code were not noticed much earlier. It's not fun to do so much work and then have it all reverted.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24373 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-20 03:08:11 +00:00
Jürgen Spitzmüller
6790221b2b Fix bug 4656 (OK and Cancel buttons for Paragraph dialog).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24364 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-19 16:56:40 +00:00
Richard Heck
2208b5c264 Remove embedding stuff from Document>Settings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24358 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-19 15:57:17 +00:00
Richard Heck
5cadecf3f6 Remove embedding stuff from InsetBibtex.
There might be some header cleanup that can be done here, or some uses of forward declarations and such. This was pretty quick and dirty, just to get it done.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24357 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-19 15:52:35 +00:00
Bo Peng
4c92b15528 Embedding: remove embedding checkbox from Graphics, Include and External dialogs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24316 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-17 18:09:44 +00:00
Jürgen Spitzmüller
92b646c4d9 * TocUI: adapt tooltip to new situation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24274 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-15 17:17:36 +00:00
Jürgen Spitzmüller
2704fa5466 * src/frontends/qt4/GuiPrefs.cpp:
* src/frontends/qt4/ui/PrefShortcutsUi.ui:
	- add/disambiguate key accelerators.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24123 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-05 10:46:48 +00:00
Jürgen Spitzmüller
c2ebb0b952 * some UI clarification on \enspace vs. \enskip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24087 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-01 14:53:29 +00:00
Edwin Leuven
2886b49360 use whole with of the dialog to show symbols
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23982 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 18:58:33 +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
Edwin Leuven
0d8b67e2b7 small layout tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23946 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-25 13:26:32 +00:00
Jürgen Spitzmüller
c6007086b1 * src/frontends/qt4/GuiGraphics.{cpp,h}:
* src/frontends/qt4/ui/GraphicsUi.ui:
	- now that we have a context menu to edit graphics, remove the Edit button
	  from the dialog, as discussed in this thread:
	  http://marc.info/?l=lyx-devel&m=118344997913166&w=2

The same should be done for other insets that have an edit function.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23911 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 09:32:34 +00:00
André Pönitz
0d5e1782f0 Use a custom model + QListView instead of QListWidget in the Symbols
dialog. Functionality is unchanged. 
Populating the 'All Symbols' panel for utf8 files is around 5s.
Not nice, but bearable. There's still room for improvement.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23883 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 18:32:06 +00:00
Jürgen Spitzmüller
7c7bfce40d revert accidental commit. Sorry.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23835 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-19 18:20:18 +00:00
Jürgen Spitzmüller
ce09085156 * src/frontends/qt4/PanelStack.{cpp, h}:
- fix issues with clicking and keyboard movement

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23834 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-19 18:15:16 +00:00
Pavel Sanda
e204871d35 Add tooltip.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23827 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-19 13:28:47 +00:00
Pavel Sanda
a0f4be8515 Enlarge symbols combo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23822 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-19 09:00:12 +00:00
Jürgen Spitzmüller
2a2c2d8986 Move completion to a pane of its own.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23811 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-18 17:31:17 +00:00
Jürgen Spitzmüller
ffeb40141f PrefLanguageUi.ui:
- fix layout and add some tooltips. 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23810 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-18 16:49:05 +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
bb80a4b1a0 PDFSupportUi.ui: fix enabling of checkboxes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23808 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-18 14:33: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
Jürgen Spitzmüller
f2e8cd3cd9 *** File Format Change: UI and enhancement for InsetSpace ***
* src/insets/InsetSpace.{cpp,h}:
	- merge in HFill inset, add support for dotfill, hrulefill,
	  hspace and hspace*
* src/insets/InsetHFill.{cpp,h}:
	- remove

* src/frontends/qt4/GuiHSpace.{cpp,h}:
* src/frontends/qt4/ui/HSpaceUi.ui:
* src/frontends/qt4/GuiView:
	- new GUI for Space insets.

* src/insets/Inset.{cpp,h}:
* src/insets/InsetCode.h:
* src/insets/InsetCollapsable.cpp:
* src/insets/InsetCommandParams.cpp:
	- remove HFILL_CODE and LFUN_HFILL_INSERT, add SPACE_CODE where necessary,
	  new Inset member isStretchableSpace() to indicate HFill and friends.

* Buffer.cpp: 
	- increase format to 319
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
	- conversion/reversion routines
* development/FORMAT:
	- document file format change

* src/Makefile.am:
* src/frontends/qt4/Makefile.am:
* development/scons/scons_manifest.py:
	- deal with UI changes.

* src/LyXAction.cpp:
	- remove LFUN_HFILL_INSERT

* src/LyXFunc.cpp:
	- handle space dialog.

* src/factory.cpp:
* src/Paragraph.cpp (isHFill):
* src/Text.cpp:
* src/Text3.cpp:
* src/TextMetrics.cpp:
	- adapt to changes

* lib/ui/classic.ui:
* lib/ui/stdmenus.ui:
	- add HSpace dialog, remove HFill.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23787 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-17 09:23:43 +00:00