Commit Graph

3421 Commits

Author SHA1 Message Date
Jürgen Spitzmüller
75988e1752 * Add more keyboard accelerators to the spellchecker dialog (part of bug 6460).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33065 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-17 10:51:32 +00:00
Jean-Marc Lasgouttes
ad55d4631f compilation fir with qt 4.2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33047 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-15 14:40:00 +00:00
Peter Kümmel
70e29b2cc7 add warning about processing events
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33046 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-15 10:53:56 +00:00
Vincent van Ravesteijn
413e5da3e0 Set the hourglass cursor for the dialog while running. However, the Cancel button can always be pressed, so this one gets a normal cursor.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33024 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-14 01:20:14 +00:00
Vincent van Ravesteijn
2feb843942 Compare: Adjustment of the title bar of GuiCompare is no longer needed since we have a statusbar.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33022 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-14 01:05:36 +00:00
Vincent van Ravesteijn
326ab92c21 Hide the Aborted and Finished messages after a few seconds.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33019 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-14 00:56:13 +00:00
Vincent van Ravesteijn
d378b5d8ee Compare: Add a statusbar to the dialog and show a message every second. The message now shows at which recursion level the algorithm is and which D-path it is currently processing.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33018 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-14 00:41:47 +00:00
Pavel Sanda
7c083bae07 ProgressView minimal horizontal size.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33017 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-13 21:45:48 +00:00
Pavel Sanda
5218e4ace0 ProgressView quirks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33016 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-13 21:45:44 +00:00
Vincent van Ravesteijn
c37bef4127 Fix (partly?) bug #6451: Crash when interacting with buffer-dependent dialog with no buffer open.
It seems to be a good idea to close all buffer-dependent dialogs when there are no more buffers open. This gives the user no opportunity to call buffer-related functions and cause a crash.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33015 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-13 20:25:17 +00:00
Pavel Sanda
d481f75848 Move lyxerrFlush() out of singnal/slot business.
Under massive load of lyxerr<< messages we lose synchronization in ui
and messages get garbled into each other.

This patch helps a lot, note however that the problem is generally hard to
solve in multithreaded environment because from inside lyxerr there is no
way how to know that t1b should be bound to t1a when thread is switched in 
unfortunated time and thread thread2 goes for his bussiness.

thread1 out<<t1a<<t1b<<"\n";
thread2 out<<t2a<<t2b<<"\n";






git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33013 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-13 19:07:18 +00:00
Enrico Forestieri
9f13e8c19e Remove the no more necessary workaround for Qt < 4.4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33010 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-13 13:19:24 +00:00
Pavel Sanda
01b45c0b49 Revert last patch for time being. This gives 0 vertical size of widget by default.
How to add some default size to be used in case no previous settings were saved?


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32987 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-12 16:21:50 +00:00
Pavel Sanda
26255aeaa5 No vertical restrictions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32985 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-12 15:45:32 +00:00
Vincent van Ravesteijn
1fd7e3fe11 Change the ProgressView strings:
- I18n the window title,
- it's unnecessary for a window to have window in its title,
- adjust casing,
- do not use show in the view menu, 
- sync window title and menu entry.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32984 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-12 15:35:52 +00:00
Enrico Forestieri
0b9647aafa When activating the progress window, show the output view rather than the settings view.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32980 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-12 14:22:02 +00:00
Enrico Forestieri
75e374c9a4 Allow shrinking the progress window.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32977 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-12 00:12:47 +00:00
Vincent van Ravesteijn
cdd1a5d338 GuiProgressView: Always add the new text to the end of the TextEdit. This ends the mess that the messages are pretty randomly inserted wherever the cursor is accidentally put.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32974 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 18:04:51 +00:00
Vincent van Ravesteijn
8c0cdb40d7 Better debug message.
P.S. Why is this message shown twice when switching between tabs ?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32973 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 18:01:36 +00:00
Richard Heck
ce87e6767c Check the bibliography cache only when we really need to do so. This (a)
prevents weirdness that might happen if the .bib file were to change
during updateLabels(), (b) prevents even further weirdness that might
happen if it changed during the output routines, and (c) ought to avoid
slowness caused by the repeated calls to QFileInfo::refresh() needed to
check the cache status.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32972 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 16:29:26 +00:00
Jürgen Spitzmüller
374b5ebd72 Hopefully fix ProgressView layout for Qt 4.2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32968 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 16:10:43 +00:00
Jean-Marc Lasgouttes
1aa7e9f93b remove unnecessary code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32966 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 16:01:26 +00:00
Jean-Marc Lasgouttes
a00fbcd871 get rid of next-inset-modify ; inset-modify does the same now
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32965 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 15:50:07 +00:00
Jean-Marc Lasgouttes
0553351d71 compile fix for qt<4.4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32964 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 14:34:14 +00:00
Jürgen Spitzmüller
ca23c482f0 * GuiProgressView.cpp: i18n.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32963 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 07:35:18 +00:00
Jürgen Spitzmüller
8d0378b75d Proposal for a more structured UI.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32962 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 07:30:45 +00:00
Enrico Forestieri
8c11a45b99 Don't use a hourglass cursor while diplaying alerts.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32960 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 01:27:15 +00:00
Tommaso Cucinotta
62053efc70 Added hourglass cursor while searching.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32958 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 23:54:45 +00:00
Richard Heck
bafb725487 Declare focusInEvent so we can compile.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32953 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 19:37:08 +00:00
Vincent van Ravesteijn
72c42b0624 Fix bug #6431: Crash when closing a workarea with a pending completion popup.
The GuiCompleter has to have a parent, otherwise it is not destroyed when a GuiWorkArea is destroyed.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32952 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 19:33:18 +00:00
Tommaso Cucinotta
bf6a32bab4 Fixed #6335.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32949 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 19:08:41 +00:00
Pavel Sanda
b13ec49005 One more comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32948 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 18:14:50 +00:00
Pavel Sanda
a4c95c5b3b This patch from Richard was correct.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32942 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 15:47:40 +00:00
Jürgen Spitzmüller
e2925a160f * PanelStack.{cpp,h}:
- new members showPanel, isCurrentPanel
* GuiDocument.cpp:
	- hide Child Documents panel if there are no children.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32940 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 14:46:39 +00:00
Tommaso Cucinotta
902dbf3f13 Now find/replace WAs have their focus back when switching to advanced pane, then back.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32939 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 14:02:27 +00:00
Jürgen Spitzmüller
7a7ab8f14b Add an option to assure that all aux files are maintained when using the includeonly feature, so that the
page numbering and the references of the master file are maintained in the included children (bug 1005).

I made this optional since some people use \includeonly to save compilation time, but a proper aux file update
needs a full compilation of the complete master prior to the compilation of the \includeonly master.

Hence, a new buffer param is introduced (file format change). 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32936 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 13:25:41 +00:00
Vincent van Ravesteijn
43c8de8138 Cosmetics mainly: Rename math.h to cmath, reorder some includes, remove some includes and remove some superfluous "lyx::".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32934 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 12:37:50 +00:00
Tommaso Cucinotta
33e123a5cd Added ALL_MANUALS scope to Advanced Find & Replace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32925 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-09 22:49:35 +00:00
Richard Heck
833e7085dd A little cleanup of some of the BibTeX info access.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32915 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-09 16:57:08 +00:00
Vincent van Ravesteijn
ecc2b2f2e0 Make the auto-completion case-insensitive.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32909 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-09 14:16:42 +00:00
Vincent van Ravesteijn
7ef85f0d0a Revert the unintended changes of r32905.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32908 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-09 13:40:37 +00:00
Tommaso Cucinotta
fb4dfdf189 Implemented "whose words" option of the Advanced F&R feature.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32905 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-09 12:39:29 +00:00
Richard Heck
1a2d8e6e25 Revert r32881.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32899 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 20:13:48 +00:00
Vincent van Ravesteijn
907ac0c1a8 Let the background widget also dispatch the keypresses to guiApp. Now, the Alt-? shortcuts (e.g., Alt-X for the minibuffer) also works when there is no document open. Besides the code is slightly simpler.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32898 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 20:08:48 +00:00
Richard Heck
58505db819 Remove unused UI file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32883 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 14:54:35 +00:00
Richard Heck
c615a2eeea Do not reload on check-in if check-in is cancelled.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32881 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 14:38:15 +00:00
Tommaso Cucinotta
95cf410456 Removed unneeded assert firing when closing LyX with F&R WA selected.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32879 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 09:32:25 +00:00
Tommaso Cucinotta
090435cf27 Let the LyX logo show up when closing last document with the F&R dialog open.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32878 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 09:29:17 +00:00
Vincent van Ravesteijn
d95aaa0e5b Move reloadBuffer from GuiView to Buffer.
This fixes bug #6314: reloading master document makes emergencies of modified children.

Now also the version control handling could be moved to Buffer as well, and the hack in ensureBufferClean is removed.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32875 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 02:15:56 +00:00
Vincent van Ravesteijn
570f96bc6e Add a boolean to GuiWorkArea::redraw to indicate whether the metrics must be updated. The current test "lyx_view_ != guiApp->currentView() || lyx_view_->currentWorkArea() != this" is not enough, especially not if the buffer is changed and buffer->changed() is called. Moreover, there are a lot of combinations of updateMetrics() followed by buffer->changed(), these can now be replaced by one call to buffer->changed(bool).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32874 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 02:03:54 +00:00