Commit Graph

4807 Commits

Author SHA1 Message Date
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
Stefan Schimanski
ec88eb82f6 * The BufferView sets up its scrollbar data when it first gets its
actual size via a resize event. So make sure the GuiWorkArea also
  updates the GUI scrollbars.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22787 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-05 13:17:05 +00:00
Abdelrazak Younes
3941b00ec7 Transfer forked process checking from GuiWorkArea to GuiApplication. I got rid of the general timer starting/stopping too. Looking a bit deeper I don't think it was necessary. We'll put them again in case it is needed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22785 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-05 13:10:42 +00:00
Abdelrazak Younes
6bb94129d8 Factorize out the way window titles are handled.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22784 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-05 12:43:19 +00:00
Abdelrazak Younes
8c27d557b9 * Dialog.cpp: whitespace
* DialogView: remove cruft.

* GuiDialog: add cruft and don't depend on DialogView as GuiDialog is meant for extinction eventually.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22783 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-05 10:53:31 +00:00
Richard Heck
b4c37e82c1 Additional fixes related to disentangling the blinking cursor signal from other signals. Thanks to Abdel for pointing out the need for this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22779 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-05 00:37:30 +00:00
Abdelrazak Younes
dbfa1a6f46 cleanup DialogView based classes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22775 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-04 17:06:34 +00:00
Stefan Schimanski
cf333f5ab4 * Support for graphics pasting (with most code in the frontend's GuiClipboard)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22762 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-03 10:43:03 +00:00
Richard Heck
d4a87d0dce Some comments about a better way to do things.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22760 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-03 08:51:58 +00:00
Richard Heck
f8e11caef7 Silly mistake.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22759 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-03 07:46:45 +00:00
Richard Heck
122bbf4122 Clarify meaning of argument.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22756 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-02 23:50:42 +00:00
Richard Heck
86229bd788 Need to go ahead and start this guy....
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22755 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-02 23:42:05 +00:00
Pavel Sanda
65c0ff6e6b Let the cursor blink frequency depend on qt settings.
Move checking of forked processes into independent timer.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22749 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-02 03:05:54 +00:00
Uwe Stöhr
c39dd88087 Makefile.am: adjust for r22717
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22719 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-30 22:25:25 +00:00
Stefan Schimanski
fe348eb8b7 * The gui change for the mouse wheel speed setting. This includes the
renaming of the keyboard preferences pane into a input preferences pane.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22718 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-30 21:20:56 +00:00
Stefan Schimanski
dd3842505b * a configuration value for the mouse wheel scrolling speed:
lyxrc.mouse_wheel_speed 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22717 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-30 21:20:29 +00:00
Abdelrazak Younes
e55019967f Simplify scrolling code. Instead of using the actionTriggered() signal we now use valueChanged(). This has the advantage that we can possibly disable scrollbar tracking for low graphical performance systems.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22709 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-29 12:54:23 +00:00
Abdelrazak Younes
1db3eb2113 GuiWorkArea::adjustViewWithScrollBar(): Fix slder to minimum and maximum. The problem was that when QAbstractSlider::actionTriggered() is emitted the scrollbar value is not changed, only its sliderPosition.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22706 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-29 09:37:02 +00:00
Stefan Schimanski
21bf8063a0 * no box around the pixmap option anymore. So we disable the option directly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22680 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-26 17:44:36 +00:00
Stefan Schimanski
13a7bdf6b8 * readd the tooltip for the pixmap cache option
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22678 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-26 01:19:11 +00:00
Stefan Schimanski
2d830ab23b * move the Pixmap Cache check box where it belongs: screen fonts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22677 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-26 01:14:37 +00:00
Stefan Schimanski
5b46cbef1a * On Mac it's common to have tool windows which are always in the
foreground and are hidden when the main window is not
  focused. Moreover they are normally "auto applying".

  This patch implements this for the character and the paragraph
  dialog. These text propertied are implemented in major application like Apple
  Pages, OmniGraffle and others via inspectors or toolbars. Our "auto
  apply"-mode resembles these very well. So why not activate it and
  make LyX a bit more Mac-like.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22673 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-25 22:31:33 +00:00
Stefan Schimanski
8e212b98b4 * optional old-style editing mode for macros with a parameter list.
* combobox in the preferences dialog to choose the macro editing mode of choice.

The reason for the three choices (inline box, inline without box,
list) is that it seems that there are at least these three groups of
people, and each of them is very strong about their opinion what that
the best mode is. So here there are all of them, pick your favourite.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22670 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-25 22:02:38 +00:00
Stefan Schimanski
0a701fb254 * Option to make macro editing less "noisy" by hiding the grey box with the
macro name when the cursor is inside. The downside of the coin is that
you have to look into the statusbar to see which macro is used. But
some people prefer that than having the slight size change of macros
when the cursor enters.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22650 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-22 21:23:41 +00:00
Pavel Sanda
75a5c1c7a1 Correct toolbar environment sorting for other locales.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22634 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-19 23:46:03 +00:00
Pavel Sanda
c0414bef66 Environment toolbar is not updated after selection by mouse.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22633 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-19 23:36:03 +00:00
André Pönitz
c151549004 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22632 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-19 12:33:01 +00:00
Abdelrazak Younes
33b1ab9a9a Fix buffer-next/previous when called with Ctrl-Tab.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22621 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-18 08:26:38 +00:00
Jürgen Spitzmüller
7d16a9c7ea * src/frontends/GuiView.cpp:
- fix bug 4496 ("Retry" and "Cancel" buttons were swapped in the error dialog)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22616 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-17 19:01:01 +00:00
Abdelrazak Younes
29918a2292 Scrolling works:
* enable ScrollBarAsNeeded.
* small cleanups.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22615 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-17 17:47:01 +00:00
Abdelrazak Younes
ae0667c112 More scrolling work. Now the scrollbar parameters are normalized against the screen geometry and coordinates. This simplifies the logic and the code significantly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22614 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-17 17:06:55 +00:00
Abdelrazak Younes
689d5c2b99 add some const.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22611 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-17 09:19:52 +00:00
Abdelrazak Younes
ff588411af Delay IconPalette construction.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22610 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-17 08:42:28 +00:00
Abdelrazak Younes
139802b193 string optimizations.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22609 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-17 08:32:48 +00:00
Abdelrazak Younes
0aead96461 Introduce class MenuButton in order to delay the math menu button initialisation up until it is first shown. This improve the inital loading time by half a second on windows.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22608 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-17 08:20:22 +00:00
Edwin Leuven
4559120e8a don't update parent and make sure the icon sizes on the palette are correct
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22606 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-16 20:51:00 +00:00
Edwin Leuven
9a0570de4a initialize iconpalettes only when the user asks for them
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22605 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-16 20:36:45 +00:00
Abdelrazak Younes
95fe0e16a7 Introduce class PaletteButton in order to delay the icon palette initialisation up until it is first shown. This improve the inital loading time by 2.3 seconds on windows!
I think the same thing should be done for POPUPMENU.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22603 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-16 18:27:24 +00:00
Abdelrazak Younes
c2f57f8cfe Fix delay when applying changed Preferences. The reason was that the "math-panels" initialisation takes too long (hence the FIXME).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22602 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-16 17:26:40 +00:00
Abdelrazak Younes
47f929d48d Fix mac menubar only modifying the Prefs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22601 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-16 16:50:10 +00:00
Abdelrazak Younes
9b06f2fbd5 Allow use of Tab keys when no document's open.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22597 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-16 08:04:49 +00:00
Abdelrazak Younes
5a2231d17b Fix bug 4351 at least on Windows and X11.
http://bugzilla.lyx.org/show_bug.cgi?id=4351

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22596 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-16 07:47:53 +00:00
Richard Heck
1741c87a4e Fix bug 4463. The crash was due to a call to X from inside a child process.
The main change is to support/ForkedCalls.{h,cpp}. We introduce a static variable IAmAChild and a corresponding accessor. This is set to true in a new fork() method, in the branch taken by the child. (Note: fork() is safe cross-platform, as it just returns -1 if we don't have fork().) This ForkedProcess::iAmAChild() method is then used to protect GuiView::message().

As Abdel has pointed out, there may be other such calls to be protected, e.g., the emission of the Buffer::changed() signal. Those are not addressed here.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22587 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-15 18:26:53 +00:00
Jürgen Spitzmüller
1acedf11da * src/frontends/GuiDocument.{cpp,h}:
- do not update dialog when clicking in the main window without buffer change
	  (bug 4302).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22583 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-15 10:38:19 +00:00
Abdelrazak Younes
537481ebe5 header cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22573 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 23:18:52 +00:00
Richard Heck
f03329a19c I18n for modules. This would seem to complete the module implementation. Test away.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22558 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 21:44:06 +00:00
Peter Kümmel
421fa672a7 remove duplicated code, (fix cmake merge)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22557 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 19:52:16 +00:00
Enrico Forestieri
58a0626e80 Use the currentItemChanged() signal instead of itemSelectionChanged()
because in Qt 4.2 the current item has not been updated yet when
itemSelectionChanged() is emitted.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22544 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-13 21:35:48 +00:00
Abdelrazak Younes
cf2656e026 fix warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22536 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-13 10:48:10 +00:00
Abdelrazak Younes
0ea17620dc fix warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22535 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-13 10:44:16 +00:00
Richard Heck
a60b6d90d9 Help from Andre.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22524 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 16:11:55 +00:00
Jürgen Spitzmüller
e3699e1a47 * GuiBibtex.cpp:
- some more tweaks.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22522 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 15:41:40 +00:00
Jürgen Spitzmüller
445bf425a1 * GuiBibtex.cpp:
- nor _really_: yet another tweak to button enabling.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22516 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 12:00:11 +00:00
Jürgen Spitzmüller
709960ff66 * GuiBibtex.cpp:
- yet another tweak to button enabling.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22512 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 11:49:49 +00:00
Jürgen Spitzmüller
e94d6b3958 * GuiBibtex.cpp:
- addition to rev. 22507: handle ReadOnly of new buttons.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22510 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 11:22:20 +00:00
Jürgen Spitzmüller
fcf47395c5 * src/frontends/qt4/GuiBibtex.{cpp,h}:
* src/frontends/qt4/ui/BibtexUi.ui:
	- add buttons to move databases up and down.
	  Patch from Horst Schirmeier (permission: http://marc.info/?l=lyx-devel&m=120009631506298&w=2)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22507 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 09:30:21 +00:00
Richard Heck
d5d665482e This commit changes the way individual LyXModule's are represented, both internally and in the .lyx files. The earlier version represented them by their `descriptive name', e.g., "Endnote" or "Theorems (AMS)", these being the same names used in the UI. This was a mistake, as becomes readily apparent when one starts to think about translating these strings. The modules ought to be represented by their filename, without the extension, just as TextClass's are.
The changes that accomplish this part are in ModuleList.{h,cpp}, configure.py, and the *.module files themselves. This is a format change, and the lyx2lyx is in those files.

By itself, that change would not be major, except for the fact that we do not want the module to be represented in the UI by its filename---e.g., theorems-std---but rather by a descriptive name, such as "Theorems". But that change turns out to be wholly non-trivial. The mechanism for choosing modules was the same as---indeed, was borrowed from---that in GuiCitation: You get a list of modules, and choosing them involves moving strings from one QListView to another. The models underlying these views are just QStringListModels, which means that, when you want to know what modules have been selected, you see what strings are in the "selected" QListView. But these are just the descriptive names, and we can't look up a module by its descriptive name if it's been translated. That, indeed, was the whole point of the change to the new representation.

So, we need a more complicated model underlying the QListView, one that will pair an identifying string---the filename minus the extension, in this case---with each item. This turns out not to be terribly difficult, though it took rather a while for me to understand why it's not difficult. There are two parts:
(i)  GuiSelectionManger gets re-written to use any QAbstractListModel, not just a QStringListModel. This actually seems to improve the code, independently.
(ii) We then subclass QAbstractListModel to get the associated ID string, using the Qt::UserRole slot associated with each item to store its ID. This would be almost completely trivial if QAbstractListItem::itemData() included the QVariant associated with this role, but it doesn't, so there are some additional hoops through which to jump.

The new model, a GuiIdListModel, is defined in the files by that name. The changes in GuiSelectionManger.{h,cpp} make it more abstract; the changes in GuiDocument.{h,cpp} adapt it to the new framework. 

I've also updated the module documenation to accord with this change.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22501 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 04:28:12 +00:00
Richard Heck
471cf26b11 New files, anticipating a later commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22500 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 02:31:32 +00:00
Jürgen Spitzmüller
4b799833e7 *** Support for generic sideways floats ***
* src/Buffer.cpp:
	- format is up to 312.
* src/LaTeXFeatures.cpp:
	- add rotfloat.
* src/Insets/InsetFloat.cpp:
	- handle starred and generic sideways floats.
* src/frontends/qt4/FloatPlacement.{cpp,h}:
	- adjust GUI to the new features.
* lib/chkconfig.ltx:
	- add rotfloat
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
	- add reversion methods for new floats
* lib/lyx2lyx/lyx_1_4.py:
	- add proper reversion method for sideways floats (this was missing).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22495 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-11 18:56:53 +00:00
Pavel Sanda
60c53dcd1e Renaming leftovers
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22491 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-11 12:40:26 +00:00
Bo Peng
f52b73747f Embedding: saving inzip name to .lyx file so that embedded files can always be found under different operating systems (even lyx versions). yet to be tested under windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22486 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-10 23:39:58 +00:00
Abdelrazak Younes
a84fa1ce00 Transfer Tab and Shift-Tab keys special handling from GuiView::event() to GuiWorkArea::event(). Add some comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22477 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-10 09:04:30 +00:00
Abdelrazak Younes
50b994b08f * GuiWorkArea::event():
- case ToolTip: don't forget to accept the event!
- Clean up the method in order to extend to other events.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22473 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-10 08:19:54 +00:00
Richard Heck
5f91f39309 We do not need to update just because the class has been changed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22466 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-10 06:22:42 +00:00
Richard Heck
5faad9ca68 Additional UI logic related to module requires and excludes.
The logic here is really kind of a mess. If anyone can make it
simpler, I'd be thrilled.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22458 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-10 01:33:24 +00:00
Richard Heck
78cc57cd5a Fix copy-paste errors.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22457 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-09 23:06:16 +00:00
Richard Heck
7c28905b17 This commit adds some new functionality to the modules stuff. In particular, it introduces the concept of "required" and "excluded" modules: A given module may require one of some list of modules, or it may be incompatible with some other modules. (Complex Boolean combinations are not supported!!) These facts can be noted in the module file, and the UI responds appropriately: Required and excluded modules are noted in the description, and the "Add" button is enabled only if at least one of the required modules has already been selected and no excluded module is selected. Getting this to work involved a fair bit of cleanup of the existing code---including ways Angus, I think, had already pointed out were required---and also involved changing the syntax of the headers of the module files, but in ways that are probably best anyway.
None of the extant modules require any other modules, but the Theorem modules all exclude one another. (See the screenshot.) When I modularize the AMS classes---that is the next task---we'll have requires.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22456 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-09 18:51:02 +00:00
Abdelrazak Younes
a82d158e0c Remove archaeological work around scrollbar insanity.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22452 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-09 09:54:39 +00:00
Richard Heck
85ac3f0dc4 More whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22451 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-09 07:19:26 +00:00
Richard Heck
b84e210719 What happened to the whitespace?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22450 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-09 07:18:41 +00:00
Bo Peng
b5153b3d26 Embedding: merge lyx::EmbeddedFiles to lyx::support::EmbeddedFileList
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22448 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-08 18:55:34 +00:00
Bo Peng
c20f5a64d9 Embedding: simplify the interface of EmbeddedFiles, which will be later merged to EmbeddedFileList
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22444 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-08 18:33:43 +00:00
Bo Peng
52cd35cd5f Embedding: add embedding support for InsetBibtex. (params["embed"] is added, use EmbeddedFileList instead of FileNameList for bibtex handling, use checkable items in GuiBibtex)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22443 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-08 17:02:09 +00:00
Bo Peng
09a6f725d0 Embedding: add embedding support for InsetExternal. (params["embed"] is added)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22442 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-08 16:42:28 +00:00
Bo Peng
c81fd7337d Embedding: add embedding support for InsetInclude. (params["embed"] is added)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22441 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-08 16:35:43 +00:00
Bo Peng
474979d32d Embedding: simplify code in the handling of embedCB in GuiGraphics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22427 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-08 02:34:17 +00:00
Jean-Marc Lasgouttes
cdb78de525 * MenuBackend.cpp (binding): remove forgui argument
* frontends/qt4/GuiPopupMenu.cpp (addBinding): remove (merge into
	getLabel and remove mac-specific code).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22412 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-07 10:53:04 +00:00
Bo Peng
a63ec64642 Embedding: add embedCB checkboxes to IncludeUi and ExternalUi
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22411 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-07 06:46:32 +00:00
Bo Peng
c9a7e8c416 Embedding: After another round of EmbeddedFiles changes, embedded figures should more or less work now.
* src/insets/InsetExternal.cpp: fix compiling. (Does not work yet)
	* src/insets/InsetGraphics.cpp: use latexFilename to produce output.
	* src/insets/InsetGraphicsParams.cpp: use availableFile to show preview.
	* src/EmbeddedFiles.h|cpp: More things are moved from EmbeddedFiles to EmbeddedFile
	* src/frontends/qt4/GuiGraphics.cpp: remove embeddable-related operations.
	* src/support/FileName.h: make isReadableFile virtual


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22410 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-07 03:34:21 +00:00
Richard Heck
012c7f3280 Crash fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22398 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-06 16:52:00 +00:00
Richard Heck
9a7cd29f5b Rationalize the handling of makeTextClass().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22388 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-05 17:04:56 +00:00
Richard Heck
80e98c5b71 Implement checks for available modules both in BufferParams and in the gui.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22387 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-05 16:56:30 +00:00
Bo Peng
9073fd6b9f Embedding: proper embedCB actions in the GuiGraphics dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22376 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-05 04:48:47 +00:00
Jean-Marc Lasgouttes
d43731fa17 remove extra menu expansion which causes multiple warnings about shortcuts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22365 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-04 16:54:56 +00:00
Jürgen Spitzmüller
b0ff3b92d7 * src/frontends/qt4/GuiSendto.cpp:
- add missing pdflatex format.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22346 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-03 09:22:36 +00:00
Enrico Forestieri
62d5000103 Use a less verbose form for warnings in the view source window
and correctly match strings in order to coalesce translations.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22337 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-30 21:28:38 +00:00
Jürgen Spitzmüller
a229a78dff Support for \nocite* from Berhard Reiter. Increments file format to 210.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22327 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-28 16:56:57 +00:00
Jürgen Spitzmüller
636b655216 Fix multiple cell pasting on Windows and Mac (bug 4436):
* src/Clipboard.h:
* src/frontends/GuiClipboard.{cpp,h}:
	- new member hasInternal() which indicates whether the OS knows
	  the concept of clipboard ownership.

* src/insets/InsetTabular.cpp (doDispatch):
	- consider hasInternal() while pasting.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22325 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-28 15:56:05 +00:00
Abdelrazak Younes
c451018f30 enable context menu for the vertical scrollbar.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22317 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-26 15:04:20 +00:00
Abdelrazak Younes
02fd454216 header cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22316 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-26 14:21:50 +00:00
Abdelrazak Younes
33eb188fb6 Add an RC setting to disable/enable the tooltips in the work area.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22313 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-26 13:52:56 +00:00
Stefan Schimanski
afc761e17b * compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22312 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-26 13:31:17 +00:00
Stefan Schimanski
780556c5d8 * compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22311 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-26 13:29:45 +00:00
Abdelrazak Younes
6b0a396d74 * GuiWorkArea::contextMenuEvent(): accept the event otherwise it is passed down to GuiView after pressing the Esc key.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22310 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-26 12:48:36 +00:00
Abdelrazak Younes
fc2658eff0 initial basic context menu support.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22309 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-26 12:40:58 +00:00
Abdelrazak Younes
722329490b Simplify MenuBackend and menubar interactions.
* GuiMenubar: freed from GuiView and QMenuBar, renamed to 'Menus'
* GuiView: just use the standard QMenuBar.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22308 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-26 10:55:43 +00:00
Abdelrazak Younes
4803a77708 Transfer global mac menu bar initialization to GuiApplication ctor.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22305 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-26 09:54:48 +00:00
Bo Peng
6f57240133 add missing header file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22304 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-26 06:44:22 +00:00
Abdelrazak Younes
518871a52b Don't pretend we have multiple menu backends: transfer the singleton to GuiApplication.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22303 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-25 22:27:32 +00:00
Abdelrazak Younes
4959040015 * GuiMenuBar:
- Get rid of unused menuBar() method.
- make sure mac specific code always compile.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22302 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-25 21:34:53 +00:00
Abdelrazak Younes
3ffd3f51a1 Free GuiPopupMenu from GuiMenubar.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22301 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-25 20:51:05 +00:00
Abdelrazak Younes
02110a3d5b Prepare the code for context menu support.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22300 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-25 20:12:07 +00:00
Abdelrazak Younes
2148f86b27 remove debug code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22299 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-25 19:01:10 +00:00
Abdelrazak Younes
7c832d2d84 Implement tooltips for visible insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22298 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-25 18:53:38 +00:00
Abdelrazak Younes
44383f5162 Fix graphics file name. It is textrm_O.png, not textrm_Oe.png
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22296 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-25 09:14:00 +00:00
Jürgen Spitzmüller
09f09e2121 * src/Buffer.cpp:
- better translatable error message for uncodable chars, now also
	  displaying the code point value.
* src/Paragraph.cpp:
	- do not throw in View Source mode, but mark up uncodable chars (fix bug 4437).
* src/frontends/qt4/LaTeXHighlighter.{cpp,h}:
	- highlight LyX warnings.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22294 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-24 13:55:01 +00:00
Stefan Schimanski
a6f3a3c59c * first clear the menubar, then fill it (with mac menu items)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22285 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-23 18:51:11 +00:00
Stefan Schimanski
83980d504c * cosmetic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22267 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-23 00:49:18 +00:00
Stefan Schimanski
fc11e21486 * cosmetic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22266 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-23 00:48:41 +00:00
Stefan Schimanski
4267ad00cd * math macro toolbar can be made automatic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22265 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-23 00:47:37 +00:00
Abdelrazak Younes
93289e8fe1 Fix cursor positionning on new buffer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22238 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-21 20:01:11 +00:00
Abdelrazak Younes
717db0a59e add comments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22224 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-21 09:43:23 +00:00
Abdelrazak Younes
7998dfd948 Close to perfect scrolling. Some bugs fixing and behaviour tweaking remains but we are on a much saner ground.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22221 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-21 08:28:18 +00:00
Richard Heck
e285d2a7d8 Support for nocite, provided by Bernhard Reiter.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22217 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-20 15:46:14 +00:00
Abdelrazak Younes
65dc5e8337 Fix some scrolling issues.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22211 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-19 07:47:03 +00:00
Abdelrazak Younes
9439b6e6e0 * get rid of support::absolutePath()
* remove FileName.h inclusion from filetools.h


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22188 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-17 16:04:46 +00:00
Abdelrazak Younes
e7bb71ff4e header cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22178 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-16 22:09:28 +00:00
Abdelrazak Younes
efbd1d30cb Sanitize the way we use abort() and exit(). With this commit, we should never crash in release mode, even when assertions are enabled. In debug mode, we crash with abort in order to get a useful backtrace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22165 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-16 11:34:29 +00:00
Abdelrazak Younes
c66e214724 Transfer getcwd() implementation to FileName.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22164 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-16 10:18:00 +00:00
Abdelrazak Younes
486ac10476 Simplify bind directory creation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22152 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-14 22:27:47 +00:00
Abdelrazak Younes
15c9510db4 Use FileName::createDirectory() instead of support::mkdir().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22150 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-14 18:36:01 +00:00
André Pönitz
f407442b39 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22114 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-12 22:43:37 +00:00
André Pönitz
ab3459c410 remove a few toutf8 conversion that are done by lyxerr nowadays
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22109 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-12 20:35:55 +00:00
Abdelrazak Younes
7c392af6ea getting rid of superfluous lyx::support:: statements.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22106 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-12 19:57:42 +00:00
Abdelrazak Younes
9abb7db468 getting rid of superfluous std:: statements.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22104 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-12 19:28:07 +00:00
Abdelrazak Younes
b89cc942eb 'using namespace lyx::support' instead of 'using support::xxx'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22103 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-12 18:57:56 +00:00
Abdelrazak Younes
2040e10f9d use QClipboard::selectionChanged() signal instead of QClipboard::dataChanged().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22102 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-12 18:46:16 +00:00
Enrico Forestieri
d73f28eec1 Revert qprocess code. Revisions reverted: 22026, 22030, 22044, 22048,
22077, 22078, 22079, 22080, 22081.

Sorry Peter, but this was breaking too many things, see discussions
on lyx-devel.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22101 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-12 18:25:53 +00:00
Abdelrazak Younes
d5dcbe169a compil fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22099 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-12 10:53:44 +00:00
Abdelrazak Younes
503a41ad15 Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=4421
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22098 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-12 10:52:23 +00:00
Abdelrazak Younes
9383f4c3c6 'using namespace std' instead of 'using std::xxx'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22097 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-12 10:16:00 +00:00
Abdelrazak Younes
a546950935 GuiProgress is not Buffer dependent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22079 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-11 09:25:57 +00:00