Commit Graph

4738 Commits

Author SHA1 Message Date
Dov Feldstern
a9770a18cd Adding preference for visual mode for bidi cursor movement
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22928 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-10 19:51:23 +00:00
Jürgen Spitzmüller
a35ddd3264 * src/frontends/qt4/LyXFileDialog.cpp:
- explicitely set ShowHidden for hidden UNIX directories
	  (workaround for Qt bug, bug 4513).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22917 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-10 11:50:10 +00:00
Abdelrazak Younes
3e293bb692 Handle full screen mode for all work areas.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22904 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-09 18:29:15 +00:00
Abdelrazak Younes
b409db5d1c Introduce GuiWorkArea::setFullScreen()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22902 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-09 18:03:53 +00:00
Abdelrazak Younes
1ff60667a6 Put LFUN_UI_TOGGLE in its own method and add FIXMEs WRT multple workareas.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22901 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-09 17:54:28 +00:00
Abdelrazak Younes
6cdf6bd6ab Support full screen in BufferView
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22899 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-09 17:20:23 +00:00
André Pönitz
24fdfc7d5e start work on less-likely-to-misuse iterators.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22898 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-09 15:23:05 +00:00
Pavel Sanda
74632f681e Unneeded headers, doxy cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22894 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-09 12:20:05 +00:00
Pavel Sanda
b9cf09838f Improve fullscreen capabilities ( http://bugzilla.lyx.org/show_bug.cgi?id=4146 ).
- adding frames, adding fullscreen switch.
- LFUN_MENUBAR_TOGGLE, LFUN_STATUSBAR_TOGGLE -> LFUN_UI_TOGGLE.

There are still limitations wrt Outlining in MAC OS - someone could check, 
see http://www.nabble.com/Fullscreen-mode-to15314676.html#a15367830 .




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22893 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-09 11:58:01 +00:00
Abdelrazak Younes
5b2625fdfe Disable alignment doesn't mean it's not possible (egg. readonly mode).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22886 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-09 10:11:11 +00:00
Stefan Schimanski
357b4f8603 * show context menu at the right position
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22881 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-08 23:51:30 +00:00
Abdelrazak Younes
c37588d374 simplification.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22871 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-08 17:55:43 +00:00
Abdelrazak Younes
cb5859929f update controls upon window activation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22869 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-08 17:47:32 +00:00
Abdelrazak Younes
a67e5ab02b * Dialog::showView(): call checkStatus() after updateView() as some dialogs may re-enable some controls in updateView() (egg the paragraph dialog).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22868 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-08 17:25:59 +00:00
Jürgen Spitzmüller
9cb6ce57da * GuiSymbols.cpp:
- disable "display all" checkbox for utf8.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22867 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-08 17:13:06 +00:00
Jürgen Spitzmüller
369f14fa8e * GuiSymbols.{cpp,h}:
- cache symbols list (speedup).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22866 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-08 16:43:02 +00:00
Abdelrazak Younes
348bc2c599 Fix typo and remove unused code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22862 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-08 16:14:24 +00:00
Abdelrazak Younes
722023c413 Implement GuiParagraph::enableView() for readonly documents. Does not fully work yet as the paragraph alignment are not updated with cursor position.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22861 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-08 16:08:45 +00:00
Jürgen Spitzmüller
faf2f10824 * GuiSymbols.cpp:
- fix crash due to invalid ListWidgetItem.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22860 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-08 13:06:44 +00:00
Jürgen Spitzmüller
92b41f3f98 * GuiSymbols.{cpp,h}:
- consider non-default document encodings.
	- only refresh categories when needed (speedup)
	- add tooltips.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22859 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-08 11:02:23 +00:00
Abdelrazak Younes
46e6cacfe0 Introduce toqstr(char_type) and use it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22857 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-08 08:49:22 +00:00
Abdelrazak Younes
e172898430 compil fix for Qt-4.2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22856 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-08 08:44:52 +00:00
Dov Feldstern
e4a1c73009 compilation fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22854 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-07 22:46:47 +00:00
Jürgen Spitzmüller
8e6c6e6678 * GuiSymbols.cpp: add another missing unicode block.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22850 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-07 20:29:14 +00:00
Jürgen Spitzmüller
ea039d6496 * GuiSymbols.cpp:
- fix thinko and ensure visibility on filter toggling.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22849 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-07 18:29:45 +00:00
Jürgen Spitzmüller
78760c719f * src/frontends/qt4/ui/SymbolsUi.ui:
* src/frontends/qt4/GuiSymbols.{cpp,h}:
	- add an option to only display the glyphs of the selected category (= default)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22848 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-07 17:42:00 +00:00
José Matox
03fb3b0aec Patch to please gcc 4.3. Less bloat in the include headers means that
we need to include explicitly some header files now.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22846 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-07 17:04:06 +00:00
Abdelrazak Younes
fadf8ba12e * GuiLayoutBox: fix initial readonly disabled state and small cleanups.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22845 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-07 16:46:19 +00:00
Abdelrazak Younes
b0349fd8ed Add missing header.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22844 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-07 16:24:37 +00:00
Abdelrazak Younes
680480d699 Fix initial readonly enabling/disabling.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22843 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-07 16:14:58 +00:00
Abdelrazak Younes
c43fc027bc * GuiSymbols: implement Dialog::getLfun()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22840 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-07 15:41:56 +00:00
Abdelrazak Younes
8fd83ab2dc Don't insert symbols in the edit box if the control is disabled.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22839 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-07 15:03:07 +00:00
Abdelrazak Younes
0d7c79db6d * some cleanups
* some compile fixes on Windows (char_type is not automatically casted to uint)
* take care of higher ucs4 characters.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22838 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-07 14:44:17 +00:00
Jürgen Spitzmüller
d25c1d1066 * GuiSymbols.cpp: add missing unicode block.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22837 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-07 14:23:43 +00:00
Abdelrazak Younes
c76df07c4d remove unused macro
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22836 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-07 14:22:41 +00:00
Jean-Marc Lasgouttes
b21b3b346d * do not pass headers without Q_OBJECT through moc
* make sure Resource.* files are cleaned as needed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22834 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-07 13:45:40 +00:00
Abdelrazak Younes
6a082a6d89 Cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22833 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-07 13:40:31 +00:00
Jürgen Spitzmüller
9bdca85f26 *** New Symbols Dialog ***
* src/Encoding.{cpp,h}:
	- new public member getSymbolsList()

* src/frontends/qt4/GuiSymbols.cpp:
* src/frontends/qt4/GuiSymbols.h:
* src/frontends/qt4/ui/SymbolsUi.ui
	- new files

* src/frontends/qt4/GuiView.cpp:
* src/frontends/qt4/Makefile.am:
* development/scons/scons_manifest.py:
	- add new dialog

* lib/ui/classic.ui:
* lib/ui/stdmenus.ui:
	- menu item for symbols dialog.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22832 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-07 13:18:07 +00:00
Abdelrazak Younes
c3890f1377 small code cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22830 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-07 09:51:49 +00:00
Abdelrazak Younes
d4068e14e8 The core is now clean enough that we don't need the NoGuiFontLoader/Metrics anymore...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22828 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-07 09:12:19 +00:00
Abdelrazak Younes
cb0e41adf7 revert reverted commit, sorry.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22824 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-07 00:12:48 +00:00
Abdelrazak Younes
6efd9002d5 revert wrong commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22823 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-07 00:10:34 +00:00
Abdelrazak Younes
7bfbeee612 Transfer FileDialog.h to qt4/
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22821 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-07 00:05:18 +00:00
Abdelrazak Younes
e6519eb5f6 Transfer some GUI oriented code from core to frontend.
* lyxFunc:
- doImport(): transfered to GuiView::inportDocument() together with LFUN_BUFFER_IMPORT


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22820 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-06 23:54:13 +00:00
Abdelrazak Younes
8d99df0c93 Transfer some GUI oriented code from core to frontend.
* Application/GuiApplication:
- restoreGuiSession(): new method for session restoration.

* LyXView/GuiView
- loadDocument(): new pure virtual interface

* lyxFunc:
- loadAndViewFile(): transfered to GuiView::loadDocument()
- openDocument(): transfered to GuiView.

* LyX.h
- Impl::files_to_load_ : now a simple vector<string>.
- restoreGuiSession(): removed.
- execBatchCommands(): simplified and make use of Application::restoreGuiSession().



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22816 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-06 23:02:57 +00:00
Pavel Sanda
c2e397cdee Add LFUN_MENUBAR_TOGGLE and LFUN_STATUSBAR_TOGGLE.
This partly solves the bug http://bugzilla.lyx.org/show_bug.cgi?id=4146 .


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22809 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-06 17:54:04 +00:00
Jean-Marc Lasgouttes
049dea1eb1 compilation fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22792 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-05 15:16:49 +00:00
Jean-Marc Lasgouttes
98104d0e69 silence warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22791 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-05 15:16:20 +00:00
Abdelrazak Younes
c7a9ddab7a Move debug output to SCROLLING.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22789 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-05 13:26:22 +00:00
Stefan Schimanski
4a6a7fbe55 * GCC: "QString is an incomplete type"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22788 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-05 13:22:50 +00:00