Commit Graph

5368 Commits

Author SHA1 Message Date
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
ccea2a5cd9 Move inset lookup to Dialog class as this is generic enough to be reused by other dialogs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25147 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 16:03:08 +00:00
Abdelrazak Younes
6e4494b9b7 InsetInfo::inset(): look also for next inset as InsetInfo cannot be entered with the cursor (yet).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25146 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 15:48:29 +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
Abdelrazak Younes
cf466ab567 Mac compil fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25143 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 14:40:41 +00:00
Abdelrazak Younes
a1756319b3 Mac compil and warning fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25142 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 13:27:37 +00:00
Abdelrazak Younes
b1002fc32c Provide a generic way to retrieve icons from the frontend.
* Application: new iconName() pure virtual interface.

* GuiApplication: transfer icon searching code from GuiToolbar.cpp.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25139 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 08:31:22 +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
Dov Feldstern
140958f4a3 this entire method can now be removed (thanks for pointing this out, Bernhard!)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25120 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-04 21:05:27 +00:00
Dov Feldstern
6fb8b95a28 whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25119 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-04 19:52:16 +00:00
Dov Feldstern
dba608e1d7 fix completion painting for RTL (inline completion and completion list)
see http://permalink.gmane.org/gmane.editors.lyx.devel/107923 for an 
explanation, though note that this patch is more extensive than the one
attached there


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25118 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-04 19:45:26 +00:00
Bernhard Roider
0d4ab86261 Fix item delegate for qt 4.2:
In the completion-listbox rtl-Text does not work like it does for newer qt and icons are not displayed for math symbols.
The rtl handling is incorrect atm but now it works the same way for all versions of qt.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25108 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-03 22:00:47 +00:00
Abdelrazak Younes
b5f4c93599 Remove bug work around due to bad event loop startup process in 1.5.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25071 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-02 14:19:39 +00:00
Abdelrazak Younes
2003a50e14 Fix http://bugzilla.lyx.org/show_bug.cgi?id=4904
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25070 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-02 13:59:00 +00:00
Abdelrazak Younes
cebd63f844 Move secondary toolbars to View->Toolbars->Other Toolbars.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25069 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-02 12:51:36 +00:00
Pavel Sanda
ec348c574a Unify LFUN naming.
(LFUN_FLOAT_LIST -> LFUN_FLOAT_LIST_INSERT)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25065 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-02 11:31:03 +00:00
Abdelrazak Younes
655f66b700 Get rid of GuiMath layer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25064 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-02 10:05:29 +00:00
Abdelrazak Younes
f7f385f73b More code removal.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25063 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-02 09:26:27 +00:00
Abdelrazak Younes
19668bf2d6 remove unused code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25062 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-02 09:18:07 +00:00
Bo Peng
87103ddb21 Fix manual update of the viewsource dialog, set default states of the view source checkboxes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25059 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 20:03:36 +00:00
André Pönitz
7f678a39cd fix my color cache "improvements"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25029 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-31 22:39:52 +00:00
Abdelrazak Younes
ebcc4db6de Add list of branches.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25011 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-30 13:59:29 +00:00
Abdelrazak Younes
8d93f5173f forgot that one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25009 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-30 12:23:15 +00:00
Abdelrazak Younes
9558962c4f Reset the focus on the work area after using on any navigator gui control.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25008 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-30 12:13:42 +00:00
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
1e109a2a3b small updates.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24980 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-28 16:08:14 +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
Pavel Sanda
a985b079de Add dist file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24806 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-16 18:06:01 +00:00
Pavel Sanda
2d6b03f487 Resurrect make check from dead.
LASSERT was pulling dependency hell for the test.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24805 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-16 17:14:42 +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