Commit Graph

2315 Commits

Author SHA1 Message Date
Abdelrazak Younes
1d3fcde7f7 Code simplification.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25006 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-30 11:59:57 +00:00
Abdelrazak Younes
655f696612 set the focus on the work area after clicking on a navigator item.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25005 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-30 11:33:24 +00:00
André Pönitz
2e968d0661 next try
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25000 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-29 17:57:57 +00:00
Richard Heck
77ed747114 FuncStatus::enabled(bool) --> FuncStatus::setEnabled(bool)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24999 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-29 15:14:00 +00:00
Jürgen Spitzmüller
fb69a2e3e4 * GuiErrorList.{cpp,h}:
- Fix error navigation with the keyboard (bug 4895).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24998 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-29 12:37:22 +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
Abdelrazak Younes
5254716219 GuiToolbar::fill(): only once.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24978 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-28 10:30:25 +00:00
Abdelrazak Younes
15b42ccd4a startup optimisation: delay toolbar filling until it is shown on screen.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24977 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-28 10:26:03 +00:00
Richard Heck
c3f7bc6a43 Cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24968 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-27 19:00:42 +00:00
Abdelrazak Younes
891cfdda68 bug fix with minibuffer focus.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24966 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-27 17:29:36 +00:00
Abdelrazak Younes
7e127a496b fix focus problem with minibuffer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24964 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-27 16:15:56 +00:00
Abdelrazak Younes
af442b7369 fullscreen tweaking.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24961 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-27 13:30:40 +00:00
Abdelrazak Younes
57fb699944 Temptatively fix fullscreen problems on X11.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24960 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-27 13:16:50 +00:00
Abdelrazak Younes
a2db0e8ed4 Fix crash with multiple windows.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24959 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-27 12:33:06 +00:00
Pavel Sanda
cd1cc0b647 Move graphics code from class to namespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24958 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-27 12:06:34 +00:00
Abdelrazak Younes
5c0c53ccf8 Switch off fullscreen before closing a window.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24957 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-27 12:01:50 +00:00
Pavel Sanda
0b5323587f Compil fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24956 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-27 11:47:50 +00:00
Abdelrazak Younes
1c7f411c10 save/restore toolbars state when toggling fullscreen mode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24955 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-27 11:34:59 +00:00
Abdelrazak Younes
7bb8a5f183 Re-engineer the toolbar support code:
- We now rely more upon Qt features,
- the initial toolbar positioning defined in "lib/ui/default.ui" is now only used if there is no session or if session handling is disabled,
- The session saving/restoring is window dependent.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24954 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-27 11:15:17 +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
Pavel Sanda
5b99af2237 Fix button enabling for graphics input.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24947 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-26 17:56:48 +00:00
Abdelrazak Younes
114f9755ec Mac compil fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24944 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-26 13:43:35 +00:00
Jean-Marc Lasgouttes
703eca7670 make display of group list only depend on existence of groups; move the addition of a separator to the ui file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24941 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-26 09:33:08 +00:00
Jürgen Spitzmüller
eaeadeded7 * GuiPrefs.cpp:
- translate Formats.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24934 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-25 09:42:41 +00:00
Abdelrazak Younes
033c3df44c a bunch of toolbar related renaming.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24931 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-25 08:30:06 +00:00
Peter Kümmel
dcd8650998 cleanup export of mime type strings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24930 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-25 07:49:16 +00:00
Abdelrazak Younes
4d188198ba Fix MSVC link error.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24929 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-25 07:22:45 +00:00
Peter Kümmel
3ddfbb8cc0 define mime strings at one place only
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24928 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-24 22:04:58 +00:00
Peter Kümmel
6abce3ec85 remove stupid windows defines
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24927 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-24 21:58:56 +00:00
Abdelrazak Younes
8a7c802ab0 Introduce docstring_list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24924 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-24 10:15:52 +00:00
Abdelrazak Younes
f46e57afa0 Cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24923 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-24 09:51:17 +00:00
Abdelrazak Younes
ebdd3bc0a4 Get rid of GuiApplication::readMenus().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24922 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-24 09:32:50 +00:00
Abdelrazak Younes
145585dc18 First step towards fixing bug 4588: move the ui file reading and the ToolbarBackend to the frontend.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24921 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-24 09:28:05 +00:00
André Pönitz
bbb9cb65e7 simplify color cache code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24920 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-23 20:29:48 +00:00
André Pönitz
225e9e5547 slightly more compact code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24918 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-23 18:09:40 +00:00
Jean-Marc Lasgouttes
e3fb29a66c remove annoying debug information
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24911 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-23 13:34:16 +00:00
Abdelrazak Younes
5d32aace21 Potential bug fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24907 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-23 11:16:23 +00:00
Abdelrazak Younes
85d944702f Get rid of GuiApplication::viewCount().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24906 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-23 11:08:12 +00:00
Abdelrazak Younes
26e8409172 simplify GuiApplication::unregisterView().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24905 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-23 10:54:34 +00:00
Abdelrazak Younes
d2a96bcdc3 Get rid of GuiApplication::view_ids_
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24904 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-23 10:45:55 +00:00
Abdelrazak Younes
9f5daec59a * Application: change the signature of getStatus() to reflect the one of GuiView.
* LyXFunc::getStatus(): properly use Application::getStatus()
* LFUN_SET_COLOR: transfer to GuiApplication (and get rid of Application::updateColor()).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24900 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-23 09:53:27 +00:00
Pavel Sanda
5924ca2831 Compil fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24897 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-23 09:32:49 +00:00
Abdelrazak Younes
6186965651 Get rid of Application::initGlobalMenu().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24896 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-23 08:57:41 +00:00
Abdelrazak Younes
f45523aa7a Pimpl stuff in GuiApplication.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24895 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-23 08:43:07 +00:00
Abdelrazak Younes
a0ec412cd4 - Move as much platform specific stuff as possible to GuiApplication.cpp
- introduce GuiApplication::Private


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24894 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-23 07:52:39 +00:00
Enrico Forestieri
44e18e9107 Disable a socket notifier when unregistering it.
This avoids the following Qt warnings when performing a reverse dvi search:

QSocketNotifier: Multiple socket notifiers for same socket 9 and type Read
QSocketNotifier: Invalid socket 15 and type 'Read', disabling...

occurring when using the lyxserver or the lyxclient, respectively.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24890 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-22 21:08:34 +00:00
Abdelrazak Younes
7b2f6ae6ed fix http://bugzilla.lyx.org/show_bug.cgi?id=4870
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24888 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-22 15:20:43 +00:00
Jean-Marc Lasgouttes
b5d3d3b722 * frontends/LyXView.h:
* frontends/qt4/GuiView.h:
	* frontends/qt4/GuiView.cpp (getStatus): change signature to return a 
	bool indicating whether the view knows something about the lfun.

	* LyXFunc.cpp (getStatus): remove knowledge about what lfuns are 
	handled in view. Call LyXView::getStatus() when nothing is known at
	LyXFunc level.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24887 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-22 15:01:36 +00:00
Abdelrazak Younes
956b2cd11d Revert 24816, this didn't not work with the minibuffer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24875 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-21 08:25:17 +00:00
Abdelrazak Younes
034cccd008 - Fix crash with clicking on second Listings iten in Navigator (in EmbeddedObject.lyx).
- Fix http://bugzilla.lyx.org/show_bug.cgi?id=4613


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24869 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-20 13:09:35 +00:00
Abdelrazak Younes
c1de549560 revert accidental commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24867 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-20 11:58:34 +00:00
Abdelrazak Younes
b630a55d77 Fix caption numbering of child documents.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24866 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-20 11:54:23 +00:00
André Pönitz
de6483b8ab cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24844 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-19 20:52:24 +00:00
André Pönitz
8bb1c2fc78 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24843 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-19 19:58:05 +00:00
Jürgen Spitzmüller
bcb835953e * src/frontends/qt4/GuiSendto.cpp:
- use translated formats.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24836 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-19 10:12:27 +00:00
Jürgen Spitzmüller
21bd7671ec *** fix bug 2488 (make dynamic formats in menus translatable) ***
* po/lyx_pot.py:
	- new method formats_l10n that parses configure.py for file formats and shortcuts
* po/Makefile.in.in:
* development/scons/SConstruct:
	- call formats_l10n on po update

* src/frontends/qt4/Menus.cpp:
	- handle translated formats

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24833 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-19 09:33:53 +00:00
Abdelrazak Younes
69dd2ac3a7 Ensure the focus is returned to the editing area after a dispatch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24816 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-18 13:59:52 +00:00
Abdelrazak Younes
ef3b045378 add a FIXME.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24813 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-17 17:08:09 +00:00
Abdelrazak Younes
0d61832d22 simplify navigator. Get rid of the selectionModel() based navigation as this was too buggy. The tree now react to 'clicked' and activated signal. Changing a selection with the keyboard won't trigger a cursor jump, the user will have to hit 'Enter' for that. This is a ui change that probably needs to be documented (if it was already).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24812 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-17 17:03:53 +00:00
Abdelrazak Younes
e8f819f85b Compil fix for Qt4.2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24802 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-16 14:30:46 +00:00
Abdelrazak Younes
fb212b9112 Factorize out some code between TocModel.cpp and Menus.cpp.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24801 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-16 13:49:49 +00:00
Abdelrazak Younes
fb31797d13 reverse Toc searching: use DocIterator instead of ParconsIterator.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24800 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-16 13:11:43 +00:00
Abdelrazak Younes
2dfc84a22c More accurate toc navigation (LFUN_PARAGRAPH_GOTO).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24798 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-16 12:48:13 +00:00
Abdelrazak Younes
fc22b68e37 Menubar autohiding: add some more comments and hide it a bit earlier.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24797 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-16 08:11:37 +00:00
Pavel Sanda
513c880f8d Compil fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24796 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-16 06:35:31 +00:00
Abdelrazak Younes
eadef99854 add a hack to autohide the menubar in fullscreen mode for LyX specific shortcuts beginning with Alt.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24795 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-15 23:55:00 +00:00
Abdelrazak Younes
34dc63da87 menubar autoshowing: go back to r24786
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24794 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-15 23:26:31 +00:00
Abdelrazak Younes
e5b6e5c58b Restoring autohiding and showing of menubar upon Pavel's request.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24788 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-15 11:02:23 +00:00
Abdelrazak Younes
40f50f2a94 - using Alt key in fullscreen mode: don't autoshow the menubar but popup directly relevant menu if possible. This code will I guess not work on Mac. The solution is I think for GlobalMenuBar to subclass MenuBar instead of QMenuBar.
- remove autohide of menu and status bar.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24787 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-15 10:18:49 +00:00
Abdelrazak Younes
5691d8d8ce - Don't popup the menubar if only Alt is pressed.
- add a FIXME wrt LyX own shortcuts using Alt.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24786 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-15 09:42:28 +00:00
Abdelrazak Younes
a72c205638 Autoshow and autohide menubar while in fullscreen mode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24785 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-15 09:14:09 +00:00
Abdelrazak Younes
3dc6a5f43c rework a bit the document dialog so that it works more or less fine without any open document.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24783 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-15 08:41:17 +00:00
Abdelrazak Younes
ed4ea2cb97 bug 4652: better fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24781 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-15 08:06:32 +00:00
Abdelrazak Younes
5b4edfeb2c Fix http://bugzilla.lyx.org/show_bug.cgi?id=4652
This was a copy&paste error on my side I guess.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24780 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-15 07:50:37 +00:00
Abdelrazak Younes
2cf301033e Add session to citation dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24768 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-14 14:37:33 +00:00
Abdelrazak Younes
c5c65daee4 Add session to view-source dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24767 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-14 14:24:55 +00:00
Abdelrazak Younes
a7b54c0d12 Add session to paragraph dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24766 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-14 14:08:58 +00:00
Abdelrazak Younes
c9353904ce Add session to character dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24762 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-14 12:03:12 +00:00
Abdelrazak Younes
074f1bee36 Fix locale aware language sorting in character (text style) dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24761 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-14 11:27:33 +00:00
Pavel Sanda
42a70d2559 Fix gcc compilation and warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24760 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-14 11:01:27 +00:00
Abdelrazak Younes
2e7713306c white space.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24759 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-14 10:36:47 +00:00
Abdelrazak Younes
09a3be216e Hopefully fix locale aware language sorting in document and prefs dialogs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24758 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-14 10:34:19 +00:00
Abdelrazak Younes
c944438338 clearing a map of pointer is not needed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24756 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-13 22:32:38 +00:00
Abdelrazak Younes
58a9ab8f67 Add some initialisations.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24755 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-13 22:31:33 +00:00
Abdelrazak Younes
42d79d543b Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=4860
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24754 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-13 21:28:04 +00:00
Pavel Sanda
42d71d632f getStatus for LFUN_SET_GRAPHICS_GROUP so context menu looks nicer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24751 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-13 14:26:47 +00:00
Abdelrazak Younes
1e51e87f68 Inset::addToToc(): change signature. Use DocIterator instead of ParConstIterator. The idea is to have more accurate navigation in the paragraph. But this doesn't work yet.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24747 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-13 08:23:44 +00:00
Stefan Schimanski
7fc89d34da * compare locale aware
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24688 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-09 01:16:49 +00:00
Stefan Schimanski
e0edc21111 * no .h for Qt headers
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24687 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-08 15:08:46 +00:00
Stefan Schimanski
419c7ed481 * For gcc to know about QStandardItemModel < QAbstractItemModel we need this header.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24686 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-08 14:40:01 +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
Abdelrazak Younes
19028adf55 gcc compil fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24683 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-08 09:44:31 +00:00
Abdelrazak Younes
73360489e9 sort the languages.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24681 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-08 09:31:00 +00:00
Abdelrazak Younes
59124528ac use GuiApplication::languageModel() in GuiDocument.cpp
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24680 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-08 09:18:45 +00:00
Abdelrazak Younes
207470d385 Introduce GuiApplication::languageModel() and use it in GuiPrefs.cpp
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24679 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-08 09:03:38 +00:00
Abdelrazak Younes
acb78e35f1 Automatically update the dialog when the autoApply checkbox is toggled.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24676 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-07 23:56:48 +00:00
Abdelrazak Younes
63897c2959 Fix part of bug 4836
http://bugzilla.lyx.org/show_bug.cgi?id=4836

reset_language was not correctly handled.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24674 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-07 23:33:56 +00:00
Abdelrazak Younes
fbb8c063ec move languageData() out of qt_helpers.cpp
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24670 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-07 22:42:44 +00:00
Jürgen Spitzmüller
9db0f4a83c gcc compile fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24665 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-07 21:05:04 +00:00