Commit Graph

6578 Commits

Author SHA1 Message Date
Richard Heck
1cc2d538e7 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33391 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 16:30:12 +00:00
Abdelrazak Younes
377cdd5f6c Transfer LyXfunc code to GuiApplication::dispatch() and getStatus(). Now
a lot of simplification is possible. Except some instability period...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33389 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 16:11:13 +00:00
Jürgen Spitzmüller
fef95cecbd Add language selector to the spell chekcer dialog (bug 2208).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33381 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 13:01:37 +00:00
Abdelrazak Younes
e1c713faf0 Temporarily fix bug #6412. The side effect is that, in LyX/Mac, when a
dialog is open, the menu entries that are buffer or view-related are not
going to be disabled. I'll try to solve that last issue later.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33380 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 12:42:38 +00:00
Jürgen Spitzmüller
707935ab23 * store the full Language in WordLangTuple.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33378 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 11:26:49 +00:00
Pavel Sanda
5adefc1ffe qt 4.2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33376 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 08:42:12 +00:00
Abdelrazak Younes
2620d74f74 Fix compilation with 4.2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33371 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-08 22:20:02 +00:00
Abdelrazak Younes
52bd0268a3 * Migrate InsetFloat to InsetDialog
* Bug fix and clean up InsetFloat parameter handling: this is still not very clean as the float type is not really a parameter still... The solution is to defer the float type reading to the actual inset reading, not its creation.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33370 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-08 22:09:40 +00:00
Jürgen Spitzmüller
a61eeb1fb2 Allow to switch buffer languages via the menu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33366 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-08 17:15:00 +00:00
Richard Heck
c9cd57c4f2 Const.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33364 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-08 13:24:30 +00:00
Jean-Marc Lasgouttes
7b86617ef5 fix compilation with qt 4.2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33362 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-08 10:52:16 +00:00
Abdelrazak Younes
63504dc21c Fix inset creation, the inset name code was already passed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33357 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-07 22:11:32 +00:00
Abdelrazak Younes
1eed486fc4 ERT and Box insets: simplify dialog creation and don't hide the dialogs upon destruction anymore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33356 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-07 21:46:40 +00:00
Abdelrazak Younes
116ef17ce9 Migrate ERT dialog to InsetDialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33354 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-07 21:41:39 +00:00
Abdelrazak Younes
ede4c8c370 GuiBox: don't call applyView twice
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33353 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-07 21:12:46 +00:00
Abdelrazak Younes
3e5ed356c0 Dialog: move method to protected area
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33352 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-07 21:06:43 +00:00
Abdelrazak Younes
2f168bd342 Box dialog: migrate to the new InsetDialog architecture. This simplifies the code and allows for immediate application of any change in the dialog. This is quite a complicated and non intuitive dialog still...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33351 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-07 20:28:41 +00:00
Abdelrazak Younes
1c188f022c * Dialog:
- transfer ans simplify a bit the CheckedLineEdit class from ButtonController.

* InsetDialog:
- Pimpl private data
- applyView(): now a slot, check widget before applying.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33350 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-07 20:25:53 +00:00
Abdelrazak Younes
92fa10cc49 GuiInfo: simplify code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33349 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-07 20:13:30 +00:00
Enrico Forestieri
fb0d2eea45 Fix shortcut target for the Contents combo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33343 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-06 16:49:38 +00:00
Jürgen Spitzmüller
46dc00ca92 GuiProgressView.cpp:
- fix #6509: All Progressview levels should be set
	  after selecting 'All' radio button

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33340 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-06 14:38:02 +00:00
Jürgen Spitzmüller
f4dc4fb4fd remove tautology
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33313 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-01 17:13:30 +00:00
Jürgen Spitzmüller
c997419aee resolve shortcut conflict
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33312 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-01 17:09:58 +00:00
Vincent van Ravesteijn
3f40e63e1b Finally add some comments to the currentBufferView() and documentBufferView() functions.
Text from Tommaso (adjusted to my own taste) from the devel-list.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33311 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-01 15:58:29 +00:00
Jürgen Spitzmüller
4b7f1b3c39 * GuiDocument.cpp: before accessing the buffer() in paramsToDialog(), check
if we have a bufferview() (fixes bug 6499)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33310 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-01 14:44:12 +00:00
Kornel Benko
0ba70d9328 Use better include for 'struct QHeaderView'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33309 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-01 09:54:41 +00:00
Kornel Benko
05aa189394 Make it compilable for QT4.3. (/usr/include/QtGui/qtreeview.h:51: error: forward declaration of ‘struct QHeaderView’)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33308 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-01 06:00:46 +00:00
Enrico Forestieri
a7c9c14b23 According to André, QLatin1String is cheaper.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33306 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-01 01:07:32 +00:00
Jürgen Spitzmüller
e916213ac0 * GuiSetBorder.cpp: lighter colour for disabled borders (not used currently).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33291 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-31 13:15:26 +00:00
Vincent van Ravesteijn
974c9ae069 Fix r33279.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33282 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-30 18:11:51 +00:00
Vincent van Ravesteijn
0dbfbabc6b Move the message() function from lfunUiToggle to GuiView::dispatch(). Also, let the lfunUiToggle return a bool and let the parameter be a string instead of the FuncRequest.
(Pavel, what was "FuncRequest fr(LFUN_INSET_INSERT, "fullscreen")" supposed to mean ?).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33279 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-30 16:41:28 +00:00
Vincent van Ravesteijn
6ab07eb870 Do not set the statusbar message in GuiView::toolbar(). We don't really want to see the statusbar message when this function is called from initToolbars or from LFUN_COMMAND_EXECUTE. Instead, set the message in getStatus to indicate why the LFUN cannot be executed.
Also, disable the LFUN if the toolbar is not found.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33278 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-30 16:07:53 +00:00
Vincent van Ravesteijn
8186ecfef9 Use the DispatchResult also for LFUN_MESSAGE and LFUN_BUFFER_WRITE_ALL.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33277 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-30 15:40:18 +00:00
Abdelrazak Younes
db19378bbe GuiInfo: Migrate [New] push button slot to InsetDialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33276 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-30 15:30:49 +00:00
Jürgen Spitzmüller
971d1fb7a4 GuiRef.cpp: sort categories.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33273 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-30 12:13:00 +00:00
Peter Kümmel
3f379915a6 CMake: fix merged build, seems GCC could not handle the namespaces correctly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33272 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-30 11:34:28 +00:00
Jürgen Spitzmüller
f6e81bbb95 * GuiRef: improve filter UI
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33271 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-30 11:19:48 +00:00
Abdelrazak Younes
d3487d106c Inset::validateModifyArgument(): new virtual interface for using LFUN_INSET_MODIFY.
GuiInfo: extract generic code into new class InsetDialog.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33270 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-30 11:15:05 +00:00
Jürgen Spitzmüller
10caadcdbe * FindAndReplaceUi.ui: adapt tooltips
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33269 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-30 10:56:20 +00:00
Jürgen Spitzmüller
e0d2a2adff Add search and grouping facility to Crossref dialog (bug #6304).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33268 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-30 10:51:24 +00:00
Jürgen Spitzmüller
3410d6ad3e revert unintended commit parts.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33263 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-29 14:52:15 +00:00
Jürgen Spitzmüller
425d092204 * fix spelling in comments to please John.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33262 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-29 14:44:21 +00:00
Jean-Marc Lasgouttes
167b6dc0f2 Make LFUN_HELP_OPEN open the document in read-only mode.
This fixes problems where Mac users can modify the documentation
by mistake. Note that it is still possible to open those document by
explicit path or to toggle off the read-only status (but this is only
useful to documentors anyway).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33260 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-29 12:01:17 +00:00
Jean-Marc Lasgouttes
00338d3747 add a dispatchresult parameter to lyxview::dispatch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33258 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-29 10:42:39 +00:00
Jürgen Spitzmüller
676aca028d * FindAndReplace.cpp:
- correct strings, following the attempt at r33252.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33255 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-29 08:59:09 +00:00
Jürgen Spitzmüller
d907d5421e * GuiView.cpp:
- use tabbed dock area for multiple docks (such as "source" and "messages")
	  by default (requires Qt 4.3).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33254 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-29 08:19:45 +00:00
Vincent van Ravesteijn
347d4a7d3e Rewrite FindAndReplace::eventFilter() and make it more human-readable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33238 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-27 19:17:18 +00:00
Tommaso Cucinotta
e6fbc8bc72 Get rid of non-existent slot warning after removal of Close button.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33237 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-27 18:38:43 +00:00
Vincent van Ravesteijn
a4e03846cd Fix doxygen output for grouped items. Without the /name tag doxygen shows the group name as the name of the first item. Moreover, the comment styles are somewhat standardized.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33236 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-27 18:10:33 +00:00
Pavel Sanda
b16e500d5c Let the tag affect other sides too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33235 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-27 17:23:40 +00:00
Pavel Sanda
ae752e13a5 Introduce "samerow" toolbar tag and let View/Update toolbar to be in the
beginning of the first row.

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg156961.html



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33234 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-27 17:19:14 +00:00
Tommaso Cucinotta
19806d62f7 Avoid overlapping of shortcuts with Menu items (for English and Italian).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33232 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-27 12:35:16 +00:00
Tommaso Cucinotta
23fda6aaf7 Removed redundant Close button (space may be useful for smth. else).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33231 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-27 12:27:58 +00:00
Abdelrazak Younes
11474f6b89 Get rid of Buffer::setReadOnly() pseudo signal.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33222 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-25 13:31:07 +00:00
Jürgen Spitzmüller
e4f796aee7 FindAndReplace.cpp: line length and formatting blues
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33221 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-25 08:06:26 +00:00
Jürgen Spitzmüller
fa1d1a464d FindAndReplaceUi.ui: add tooltip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33220 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-25 07:45:41 +00:00
Jürgen Spitzmüller
995471b16d * add forgotten l7n tags.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33218 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-25 07:23:58 +00:00
Jürgen Spitzmüller
138a4f8e9c * FindAndReplace{cpp,h,Ui.ui}: some UI plishment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33217 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-25 06:58:54 +00:00
Vincent van Ravesteijn
f792df16b3 GuiCitation.cpp:
CitationUi.ui:
   - fix the casing
   - replace some informal expressions by some proper sentences (I don't like things like "Delete key works, too"

BiblioUi.ui:
   - "man bibtex" has no value in the non-linux world
   - stick to the BibTeX convention compared to bibtex

FindAndReplaceUi.ui:
   - fix the casing
   - remove the "current file" annotations
   - some other fixes


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33208 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-24 19:16:44 +00:00
Vincent van Ravesteijn
bbb7e00486 IndicesUi.ui: Fix copy&paste error in the tooltip.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33206 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-24 17:50:46 +00:00
Vincent van Ravesteijn
e0c3837dcf GuiCompare: Show the contents of the Options groupbox, add some accelerators and make it compatible with Qt4.2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33185 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-24 01:49:22 +00:00
Abdelrazak Younes
a87c8175f1 About box: Migrate to DialogView.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33180 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-23 20:29:00 +00:00
Jürgen Spitzmüller
96dc966114 really fix the Diamond toolbar item.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33176 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-23 09:59:48 +00:00
Jürgen Spitzmüller
b33608452a * FindReplace.cpp:
- de-modularize message. It's impossible to properly translate such LEGO-strings.
	  Also mark the scopes, due to their syntactic case.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33172 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-23 09:15:37 +00:00
Jürgen Spitzmüller
407b359809 * FindReplace: allow proper localization.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33166 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-22 17:57:16 +00:00
Jürgen Spitzmüller
7746747506 * add support for the enchant spell checker (bug 6226).
SCons might be broken.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33157 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-22 15:26:38 +00:00
Tommaso Cucinotta
dd38c54f66 Code cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33130 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 17:11:17 +00:00
Tommaso Cucinotta
be7d7df5a3 Dispatch BUFFER_SWITCH only if buffer actually changed (avoids some flickering when buffer is unchanged).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33107 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 18:18:04 +00:00
Jürgen Spitzmüller
3a714c6057 * ADD LFUN_SPELLING_ADD and LFUN_SPELLING_IGNORE (bug 6102).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33089 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-19 08:21:56 +00:00
Enrico Forestieri
ff41842b03 Fix horizontal size of replacement combo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33075 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-17 16:43:17 +00:00
Jürgen Spitzmüller
56b2ee289b * GuiSpellchecker:
- implement event filter and allow selection of suggestions with the keyboard
	  (second part of bug 6460).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33069 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-17 12:27:44 +00:00
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