Commit Graph

1998 Commits

Author SHA1 Message Date
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
42eb8a373a Cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23830 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-19 17:31:09 +00:00
Bo Peng
51ac7d895c Move editing, shortcuts, keyboard/mouse and completion to a separate category in the preference dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23828 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-19 14:32:40 +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
Jürgen Spitzmüller
6fac185d81 * src/frontends/qt4/GuiPrefs.{cpp,h}:
* src/frontends/qt4/PanelStack.cpp:
	- reintroduce panel categorization (bug 4153).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23826 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-19 13:11:14 +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
Edwin Leuven
e01e14872d Free line setting in tabulars. FILE FORMAT CHANGE.
- gets rid of the M_TOGGLE_LINE_... functions
- allows arbitrary clines without multicol
- sets arbitrary vertical lines through multicol 
- drop row/col line properties, everything is now stored at the cell level

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23812 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-18 18:08:32 +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
18101eea7b ** add support for protected horizontal fill. FILE FORMAT CHANGE. **
* src/Buffer.cpp:
	- increment file format to 320.

* src/insets(InsetSpace.{cpp, h}:
	- add HFILL_PROTECTED, a protected horizontal fill
	  (LaTeX: \hspace*{\fill})

* src/factory.cpp:
* src/frontends/qt4/GuiHSpace.{cpp, h}:
	- handle the new space type.

* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
	- reversion routine for protected hfill.

* development/FORMAT:
	- document file format change

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23805 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-18 12:11:28 +00:00
Pavel Sanda
824ac5f2c8 Add checkbox to fullscreen menu entry.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23793 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-17 14:22:30 +00:00
Jean-Marc Lasgouttes
ad00d81144 use consistent ifdefs for the mac
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23788 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-17 10:23:02 +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
Pavel Sanda
e921847e12 Change strings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23786 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-17 02:49:47 +00:00
Richard Heck
c17a8122cf Cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23780 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-17 01:10:45 +00:00
Stefan Schimanski
9e499117e3 * possibility to disable the completion cursor in text. All those
"*supported" methods maybe should be merged with a bit-enum as return value.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23776 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-16 17:07:10 +00:00
Stefan Schimanski
a015e133ab * getSpeller create a new speller, so call it create*
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23775 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-16 17:06:26 +00:00
Bo Peng
0f9a8fcad4 Add use_bundled_format rc entry to allow creation of new buffers in bundled format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23768 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-15 22:41:54 +00:00
Bo Peng
47c5be88e3 Tools->Preference: move editing and fullscreen from user interface to a new panel editing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23767 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-15 22:12:19 +00:00
Stefan Schimanski
c3c58bbb72 * make Qt 4.2 happy. Please complain if it is not.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23760 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-15 10:19:12 +00:00
Stefan Schimanski
f9f0b26bd3 * make sure the Mac special menu item are only created once per QMenuBar.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23754 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-15 02:58:05 +00:00
Stefan Schimanski
7269440c83 * reset current_view_ when deleting a GuiView.
* check for current_view_ when exiting to avoid segfaults


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23752 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-15 02:42:59 +00:00
Stefan Schimanski
214828d961 * fix drag pixmap
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23751 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-15 02:42:48 +00:00
Stefan Schimanski
cb45bc6a22 * drag'n'drop for tabs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23750 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-15 02:13:01 +00:00
André Pönitz
a98f82c292 s/kb_action/FuncCode/g
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23749 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-15 01:20:36 +00:00
Stefan Schimanski
b607775ad7 Implementation of the conclusion of the "LyX/Mac 1.6 -- Window issues" thread:
* add tab popup menu to hide and close a buffer.
* remove the very non-standard hide-button on the left of the tabbar.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23748 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-15 01:00:25 +00:00
André Pönitz
f2c9b56fb4 cosmetics/#include cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23747 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-15 00:22:54 +00:00
Pavel Sanda
97ad52467f Try to deuglify RTL in Language preferences a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23743 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-14 23:50:02 +00:00
Stefan Schimanski
09fe21bd11 * QWidget::show is synchronous, hence we see the LyX logo for a moment, even if
in the next moment the new buffer appears. So we first create the buffer and
  then show the view.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23742 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-14 23:33:05 +00:00
Stefan Schimanski
2aff4838f9 * Some work was done in 2007 and 2008 which should deserve a copyright, no?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23741 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-14 23:32:34 +00:00
Stefan Schimanski
3658d7fe4d * comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23740 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-14 23:31:44 +00:00
Stefan Schimanski
fc816dba30 * comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23739 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-14 23:30:28 +00:00
Stefan Schimanski
4e223167ff * activate the view from the constructor. This makes sure that the
special menu item for Mac see the "right" status of the LFUNs.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23738 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-14 23:29:11 +00:00
Stefan Schimanski
25e0113c9c * Use open_buffers_in_tabs instead of single_window. The latter even confused me.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23737 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-14 23:27:31 +00:00
Stefan Schimanski
5496ff053f * only autoclose GuiView on last removed tab if the tab mode is not enabled.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23736 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-14 23:26:47 +00:00
Stefan Schimanski
83661da26a * When clicking the close button on a background window, it can be that the window does
not get the current view when the closeEvent arrives. So better make sure it is the current
  explicitly.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23734 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-14 23:25:56 +00:00
Stefan Schimanski
cc4955b4a2 * in fact we have more than one menubar at the moment, even on Mac. It
should be possible to only keep one, but then the reference to
  menuBar() in GuiView must go or point to the global one.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23733 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-14 23:25:38 +00:00
Stefan Schimanski
9adb5cef26 * release keyboard grab from global menubar again when a new GuiView is created
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23732 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-14 23:25:24 +00:00
Stefan Schimanski
d63821939c * create global menubar on Mac without a parent. It will be shown if no GuiView exists.
* fill global menubar with the normal actions
* capture the keyboard on the menubar if no GuiView exists. This
  enables the shortcuts on Mac in those cases.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23731 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-14 23:25:11 +00:00
Stefan Schimanski
fda541d46a * on Mac close GuiView when the last tab was closed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23730 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-14 23:24:59 +00:00
Stefan Schimanski
0ba2a1e6f8 * preference option to open buffers in tabs or new windows
* moved the open/new file dispatches into GuiApplication to make them GuiView independent


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23729 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-14 23:24:45 +00:00
Stefan Schimanski
6f26243e13 * only for Mac
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23728 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-14 23:07:40 +00:00
Pavel Sanda
4f2d2e8fea Distinguish layout and preference string.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23727 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-14 22:19:40 +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
Pavel Sanda
50fbaa337e Silence uic warning.
Spellchecker doesn't work anyway.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23725 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-14 20:20:24 +00:00
André Pönitz
90a17377f2 compile fix (missing forward declaration)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23723 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-14 19:51:42 +00:00