Commit Graph

1148 Commits

Author SHA1 Message Date
Abdelrazak Younes
c05eb62135 add comment and ling to bug 3907.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18973 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-03 08:23:04 +00:00
Abdelrazak Younes
574b2ac06f Use native file dialog on non cygwin windows installation (fix bug 3907).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18972 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-03 06:41:54 +00:00
Richard Heck
3fcc6711f0 Fix some issues with the paragraph settings dialog. The main change
is that we distinguish between the "Default" alignment and whatever
that default happens to be: I.e., so far as the code goes, the UI now
distinguishes LYX_ALIGN_LAYOUT from LYX_ALIGN_WHATEVER, when WHATEVER
happens to be the default. So you can explicitly force, say, left-align,
and that will stick between document classes.

* src/Paragraph.cpp:
Don't output params if alignment is the default.

* src/ParagraphParameters.cpp
Treat LYX_ALIGN_LAYOUT as its own alignment.

* src/Text2.cpp
Treat LYX_ALIGN_LAYOUT as its own alignment, and force it to be accepted
as a possible alignment.

* src/frontends/controllers/ControlParagraph.{h,cpp}
New method haveMultiParSelection().

*src/frontends/qt4/QParagraph.{h,cpp}
*src/frontends/qt4/ui/ParagraphUi.ui
UI adjustments as mentioned.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18922 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-28 00:48:06 +00:00
Jürgen Spitzmüller
8b9972cbba Fix bug 2753: LyX doesn't support paths and filenames with parentheses
* src/frontends/qt4/QBibtex.cpp:
* src/frontends/qt4/QExternal.cpp:
* src/frontends/qt4/QGraphics.cpp:
* src/frontends/qt4/QInclude.cpp:
	- remove path validator

* src/support/filetools.{cpp,h}:
	- new validator for exporting LaTeX files

* src/insets/ExternalSupport.cpp:
* src/insets/InsetBibtex.cpp:
* src/insets/InsetGraphics.cpp:
* src/insets/InsetInclude.cpp:
	- use validator when exporting a LaTeX file

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18897 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 16:55:42 +00:00
Jürgen Spitzmüller
a96a5c55af * src/frontends/qt4/QPrint.cpp:
- use internal_path to prevent assert on windows (bug 3916).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18896 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 16:46:40 +00:00
Jürgen Spitzmüller
874f4b99fd * src/frontends/qt4/QDocument.cpp:
* src/frontends/qt4/QInclude.cpp:
* src/frontends/qt4/QListings.cpp:
	- add missing slot to "pass validation" checkbox togling signal.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18889 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 08:00:44 +00:00
Jürgen Spitzmüller
bcf64dd11c Fix bug 1749. CAUTION: lyx2lyx not fully working yet (see FIXMEs).
* development/FORMAT: 
	- document file format change

* src/Buffer.cpp: bump format to 275.

* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_5.py:
	- conversion and reversion of scaleBeforeRotation param (doesn't work yet!)

* src/insets/InsetGraphicsParams.{cpp,h}: 
	- new param scaleBeforeRotation
* src/insets/InsetGraphics.cpp:
	- swap order of scale and rotate (if scaleBeforeRotation is false)

* src/frontends/qt4/QGraphics.C:
* src/frontends/qt4/QGraphicsDialog.{cpp,h}:
* src/frontends/qt4/ui/GraphicsUi.ui:
	- add checkbox to toggle scaleBeforeRotation.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18885 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-25 13:49:51 +00:00
Jürgen Spitzmüller
91c6d03678 Fix bug 2520: Make InsetExternal translateable
* po/lyx_pot.py:
	- new function external_l10n: parse external_templates and extract the relevant parts for translation.
* development/scons/SConstruct:
* po/Makefile.in.in:
	- use external_l10n

* src/insets/InsetExternal.cpp:
* src/frontends/qt4/QExternal.cpp: 
	- make eveything translatable

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18866 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-23 07:50:13 +00:00
Richard Heck
1a3daacc5f Fix some UI bugs related to the paragraph settings dialog. The default
checkbox has been changed to a radio button, so that other alignments
can be chosen without the user's having to uncheck "Default".

There was some disagreement about the interface here. See, for example,
this thread:
  http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg121328.html
For now, this will do.

The interface here is not fully functional. At present, if the Default 
happens to be Justified, then checking Justified is simply equivalent to
checking Default. This is due to the behavior of Text::setParagraph(), and
it should be changed if this interface is retained.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18860 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-22 22:34:16 +00:00
Edwin Leuven
37e2aa69f7 * this one got lost in http://www.lyx.org/trac/changeset/18842
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18845 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-21 16:14:52 +00:00
Edwin Leuven
2eff2cfc94 * Get rid the of the QWidgetAction subclass and use homebrew tearoff widget:
this is a qt 4.1 solution and behaves on all platforms
  

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18842 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-21 09:51:50 +00:00
Stefan Schimanski
5286634d17 * On MacOSX enter is no activation key for a QListWidget. Hence it
does not close the command completion popup. Moreover setFocus does
not focus the widget correctly, probably because the popup widget
behavior is different. An activateWindow solves the problem by
selecting the LyX view again as active window.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18840 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-21 06:38:50 +00:00
Jürgen Spitzmüller
f6120a555b * src/frontends/qt4/ui/ListingsUi.ui: cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18822 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-19 07:29:40 +00:00
Stefan Schimanski
00d0c18280 * update cursor position on resize _after_ drawing. Because before
the coordinate cache of the math inset is not valid and InsetMathNest
  depends on that to compute the cursor position.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18816 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-18 15:39:52 +00:00
Edwin Leuven
2b35bede3d Fix stuff that slipped in with 18812
* IconPalette.cpp : typo's
 * QLToolbar.cpp   : unused code

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18813 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-17 18:24:27 +00:00
Edwin Leuven
f0d56f56ef * Allow toolbar menus and panels (qt>=4.2) to be torn off
IconPalette now subclasses QWidgetAction so that we can 
  insert them in QMenu (before we were painting ourselves)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18812 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-17 17:55:36 +00:00
Richard Heck
aa00ad3918 Bug 3477: Fix problem with shortcuts in Converters subdialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18775 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-14 21:27:08 +00:00
Stefan Schimanski
dcaab3cfdd * make close tab button smaller
* remove spacing in the layout of the tab bar and the central widget


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18770 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-14 17:57:07 +00:00
Michael Schmitt
52093834d3 * src/frontends/qt4/ui/TextLayoutUi.ui:
* src/frontends/qt4/ui/ListingsUi.ui:
	* src/frontends/qt4/ui/IncludeUi.ui:
	* src/LyXRC.cpp: trivial user message changes: "lyx" => "LyX"


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18752 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-12 21:05:25 +00:00
Bo Peng
985ba3b296 Add bypass validation checkboxes to listings related dialogs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18751 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-12 17:10:28 +00:00
Abdelrazak Younes
37333444c0 Cosmetics.
* TocItem:
  - add a default constructor instead of default initialisation.
  - delete unneeded and not really used isValid() method.

* TocBackend:
  - updateItem(): re-add debug info erased previously.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18749 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-12 12:29:19 +00:00
Peter Kümmel
69a81aecfa add tab close button
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18739 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-11 14:53:36 +00:00
Jean-Marc Lasgouttes
087e9eb578 * qt4/FileDialog.cpp (save): disable overwrite confirmation with
native file dialogs (bug 3818)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18689 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-06 12:19:48 +00:00
Richard Heck
cbcfee4fcc Forgot to fix tab order at 18678.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18681 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-05 17:25:03 +00:00
Richard Heck
a83a999c72 Updates to printer preference dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18678 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-05 15:19:13 +00:00
Jürgen Spitzmüller
fc9f0d3d0c * src/frontends/qt4/ui/TocUi.ui:
- remove unneeded and irritating label.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18658 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-04 17:40:41 +00:00
Richard Heck
98fad8e694 Fix bug 3800: Relabel old Adapt Output button and fix resulting problem with spacing.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18650 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-04 14:07:53 +00:00
Jean-Marc Lasgouttes
c54a01a194 * src/frontends/qt4/TocWidget.cpp (updateGui): do not call getGUIName, since
this is already what we have; fixes a crash (bug 3793)

	* src/frontends/controllers/ControlToc.h: make getGUIName private

	* src/frontends/controllers/ControlToc.cpp (getGUIName): handle 
	correctly the lists of floats.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18648 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-04 13:27:27 +00:00
Stefan Schimanski
7990a764dc * workaround for Qt not selecting a Times font on Mac with Qt 4.3.0. As soon as the
bug is fixed in Qt an upper version bound should be added.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18647 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-04 12:10:30 +00:00
Stefan Schimanski
7429f0c2bf * draw cursor in the right shape (L_SHAPE, REVERSED_L_SHAPE or the normal one)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18645 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-04 06:21:33 +00:00
Michael Schmitt
92d81d6a0f src/frontends/qt4/ui/ListingsUi.ui: better label text
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18642 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-03 16:17:18 +00:00
Richard Heck
ce00f4a0ac Fix for bugs 3741 and 3756. Here's what it does:
* In the "Available" list, double clicking or hitting Enter adds a
        citation. Hitting Ctrl-Enter adds the citation and closes the
        dialog. Previously, Enter did what Ctrl-Enter now does if there
        was no other citation already selected and double clicking would
        close the dialog after adding the citation.
      * In the "Selected" list, Delete and Backspace delete the
        selection.
        Ctrl-Delete and Ctrl-Backspace clear the whole list.

Thanks to Abdel, Andre, and Lars for comments and help.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18633 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-02 15:48:21 +00:00
Peter Kümmel
55a07f0e00 fix coding style (fix for 3320 and 3652)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18631 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-02 08:23:58 +00:00
Peter Kümmel
ee6e277e0e fix scrolling bug: 3320 and 3652, maybe not perfect
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18630 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-02 08:01:12 +00:00
Peter Kümmel
d582d487ff fix scrolling bug: 3320 and 3652, maybe not perfect
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18629 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-02 07:58:11 +00:00
Jürgen Spitzmüller
bda7cbec29 * src/frontends/qt4/QDocument.cpp:
- make everything translatable (fix bug 356)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18628 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-01 17:44:04 +00:00
Jürgen Spitzmüller
e5233efd6b * src/frontends/qt4/QListings.cpp:
- revert accidental change in revision 18624

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18625 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-01 12:46:27 +00:00
Jürgen Spitzmüller
3cb05c6016 * src/frontends/qt4/QDocument.cpp:
* src/frontends/qt4/QListings.cpp:
	- mark gui strings as translatable.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18624 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-01 12:27:04 +00:00
Jürgen Spitzmüller
aa325b4d32 * src/frontends/qt4/ui/ListingsUi.ui:
- minor layout fixes.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18623 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-01 12:25:19 +00:00
Abdelrazak Younes
1c2cf3567c Put again the (slightly edited) caution warning from Georg Baum about abusing the ucs4_to_qchar() conversion with symbol fonts. This comment was accidentally deleted in rev 18593.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18598 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-31 16:40:11 +00:00
Abdelrazak Younes
f8175cca5e This commit allows to support the full unicode range in GuiFontMetrics thus fixing the crash in this bug:
http://bugzilla.lyx.org/show_bug.cgi?id=3759

It also simplifies and fix the smallcaps case which was not correct WRT unicode. Even though I don't know if toUpper() means something in the non ucs2 range.

FYI, I used toqstr() to do the ucs4 -> ucs2 conversion when needed. This helper method works only with Qt >= 4.2. 

* GuiFontMetrics::smallcapsWidth(): changed to work with single ucs4 characters.
* GuiFontMetrics::xxx(): make sure that font metrics works with characters not in the ucs2 range.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18593 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-31 12:48:42 +00:00
Richard Heck
d5c666ceec Make OK button the default even after various sorts of resets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18584 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-30 22:01:12 +00:00
Michael Schmitt
78b71f9863 replace "Listings" by "Listing" (plural => singular)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18570 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-29 21:23:23 +00:00
Jürgen Spitzmüller
c9a3b7d396 * src/frontends/qt4/ui/PrefConvertersUi.ui:
- fix layout

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18564 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-29 17:24:09 +00:00
Jürgen Spitzmüller
603f454e44 * src/frontends/qt4/ui/PrefCopiersUi.ui:
- fix layout (bug 3772)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18561 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-29 16:58:16 +00:00
Stefan Schimanski
3033b52c1c * added WidgetFlags argument to DockView to set Qt::Drawer flag where needed
* added Qt::Drawer flag to TOC
* reverted Jürgen's patch (i.e. the source view is docked below the text again),
  wide drawers are not Mac-like (tm)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18557 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-29 11:38:28 +00:00
Michael Schmitt
79ef29f3eb * src/frontends/qt4/Dialogs.cpp:
* lib/ui/stdtoolbars.inc:
	* lib/ui/classic.ui: replace "TOC" by "Outline"


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18554 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-29 07:38:38 +00:00
Lars Gullik Bjønnes
897436efbb Whitespace cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18550 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-28 22:27:45 +00:00
Jürgen Spitzmüller
ccdc21f11c * src/frontends/qt4/Dialogs.cpp:
- put view-source drawer to the right in Mac (bug 3564)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18537 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-28 07:17:47 +00:00
Peter Kümmel
af6a9552ed fix merge build src/frontends/qt4/QDocument.cpp
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18509 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-25 15:05:46 +00:00
Bo Peng
5b731aa6a5 InsetListings: use float for placements because of the handling differences between float and floatplacement
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18508 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-25 14:38:22 +00:00
Jürgen Spitzmüller
5e6391a04a fix bug 3723:
* src/Buffer.cpp (read): clear listings params.

* src/frontends/qt4/QDocument.cpp: whitespace

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18507 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-25 12:32:08 +00:00
Jürgen Spitzmüller
ce3eeaea1c l10n work:
* src/Buffer.cpp: 
	- make view-source string translatable

* src/frontends/controllers/ControlToc.h:
	- make getGuiName public

* src/frontends/qt4/TocWidget.cpp:
	- use getGuiName for the combo.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18505 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-25 09:20:35 +00:00
Richard Heck
adc3d95451 Remove some calls that do nothing but print an error message.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18497 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-24 19:21:21 +00:00
Peter Kümmel
66e5f1bf39 revert buggy patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18495 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-24 17:17:35 +00:00
Edwin Leuven
630fe09637 - introduces toolbar_toggle lfun
- adds a "toggle math toolbar" and "toggle table toolbar" buttons to the main toolbar
 (i also moved "toggle toc" there)
- adds a "toggle math panels" button to the math toolbar
- reshuffles the Big Operators panel to avoid confusion with the sum icon on the math toolbar
- adds some icons

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18478 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-23 22:08:07 +00:00
Jürgen Spitzmüller
43215a323f two small missing bits for rev18468
* src/frontends/qt4(QDocument.spp:
*src/frontends/qt4QInclude.spp:
	- add missing toqstr conversion.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18469 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-23 04:09:09 +00:00
Bo Peng
b78c1db290 Make listings dialog translatable (mostly strings from InsetListingsParams), fix bug 3645
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18468 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-23 02:09:58 +00:00
Bo Peng
1cfc04f4ae Add dialect support and showstringspaces parameter to the listings dialog, fix bug 3664. Mostly from Jurgen
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18467 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-23 02:05:01 +00:00
Richard Heck
9ad8985149 Fix minor bug involving overlapping citation strings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18455 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-22 15:20:19 +00:00
Jürgen Spitzmüller
cddcdd08ea make InsetListings ready for dialects, part 1 (joint work with Bo Peng):
* src/insets/InsetListingsParams.cpp:
	- complete list of languages/dialects
	- fix some typos
	- (validate): check for braces

* src/frontends/qt4/QListings.cpp:
	- fix list of languages (not yet complete)
	- make it possible to enter [dialect]language in the advanced widget

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18451 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-22 04:43:30 +00:00
Jürgen Spitzmüller
68a71fcde1 * src/frontends/qt4/QDocument.cpp (validate_listings_params):
* src/frontends/qt4/QListings.cpp (validate_listings_params):
	- care for the apply button as well.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18444 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-21 14:32:10 +00:00
Jürgen Spitzmüller
0d1a0c9b27 Cleanup the listings dialog and make its content translatable (bug 3645):
* src/frontends/qt4/QListings.cpp:
	- make widget entries translatable
	- clean up and shuffle around some code

* src/frontends/qt4/ui/ListingsUi.ui:
	- set isEditable here, not in QListings.cpp

* src/frontends/qt4/QDocument.cpp:
* src/frontends/qt4/QInclude.cpp:
	- make Listings strings translatable

Fix bug 3654 (by Bo Peng):

* src/frontends/qt4/QListings.h:
	- new slot on_numberSideCO_currentIndexChanged

* src/frontends/qt4/QListings.cpp:
	- use this slot and enable(disable the appropriate widgets

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18432 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-20 14:31:15 +00:00
Stefan Schimanski
145834bfcc * avoid mallocs by only increasing the points array by at least a constant factor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18430 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-20 08:50:54 +00:00
Stefan Schimanski
472902f3c9 * revert r18422. There are polylines much longer than 16
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18423 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-19 16:48:29 +00:00
Stefan Schimanski
17544b1fa8 * avoid one malloc by using a static array
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18422 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-19 13:15:08 +00:00
Stefan Schimanski
96860ffe93 * only antialias the whole polyline or no segment at all
* Sqrt and Root draw their vertical horizontal line with a single line command to make them showup non-antialiased.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18419 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-19 10:52:47 +00:00
Jürgen Spitzmüller
4d5c28c305 * src/frontends/qt4/QListings.cpp:
- add Apply button
* src/frontends/qt4/ui/ListingsUi.ui:
	- add Apply button
	- add accelerators

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18409 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-18 18:35:28 +00:00
Jürgen Spitzmüller
51b657c6cc * src/frontends/qt4/ui:
- make dialog non-modal (fix bug 3636)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18408 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-18 15:44:07 +00:00
Bo Peng
150d08f03e InsetListings: turn off inline/float when another is clicked, fix bug 3641 and 3642
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18407 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-18 15:26:42 +00:00
Bo Peng
4bf2660863 InsetListings: change Params to Parameters for include dialog, Bug 3638
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18403 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-18 14:24:11 +00:00
Bo Peng
f827bcd96e InsetListings: separate first and last lines to a separate group box called range, fix bug 3628
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18385 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-17 18:23:45 +00:00
Richard Heck
98554422d1 [Bug 3461] Make escape key trigger a reset of the dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18381 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-17 12:11:56 +00:00
Peter Kümmel
fea3a375a4 fix format before Andre complains :)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18380 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-17 09:36:21 +00:00
Georg Baum
89b5802463 Fix files with spaces in converter cache;
Delete cached conversions if the converter changes.

	* src/frontends/qt4/QPrefs.cpp
	(PrefConverters::update_converter): delete cached files since the
	new converter might create different ones
	(PrefConverters::remove_converter): ditto

	* src/support/convert.cpp
	(unsigned long convert<unsigned long>): New template specialization

	* src/ConverterCache.h
	(ConverterCache::remove_all): New method, removes all cached
	conversions of a particular converter

	* src/ConverterCache.cpp
	(CacheType): Also store source file format
	(ConverterCache::Impl::readIndex): Handle files with spaces correctly
	(ConverterCache::Impl::writeIndex): ditto
	(various): adapt to changed CacheType


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18378 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-17 08:31:00 +00:00
Peter Kümmel
1137260f55 tab correcten to <don't process generated key events if the system is busy>
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18377 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-17 08:26:05 +00:00
Peter Kümmel
032d16501d don't process generated key events if the system is busy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18376 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-17 08:24:44 +00:00
Bo Peng
aa9f87addb InsetListings: fix bug 3627
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18374 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-16 20:57:03 +00:00
Bo Peng
40a746bb0f InsetListings: Use a combo box for number placement, fix bug 3623
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18372 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-16 20:28:46 +00:00
Bo Peng
be8a8c302c InsetListings: rename Number style to Line numbering, as suggested by Uwe, bug 3621
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18368 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-16 13:57:58 +00:00
Bo Peng
291b765a61 InsetListings: fix bug mouse symbol in the layout dialog, bug 3620
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18362 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-16 02:58:00 +00:00
Abdelrazak Younes
ff19dcb49c Fix assertion with LOF and LOT by transfering the test from TocWidget::select() to QToc::getCurrentIndex().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18355 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 18:01:22 +00:00
Abdelrazak Younes
f653540961 Fix bug 3183 by Ozgur Ugras BARAN:
* TocWidget::select()
    - Do not allow select ModelItem from the code for non-TOC types
    - add a FIXME explaining the situation.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18348 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 17:02:10 +00:00
Jürgen Spitzmüller
9e4022e235 From Ozgur Ugras BARAN: Fix bug 3529
* src/frontends/qt4/TocWidget.{cpp,h}:
	-  new member disconnectSelectionModel()
	- (select): replace blockSignal() directives for tocTV selectionModel() 
	   with disconnect (the above new function) and reconnect relevant signal

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18338 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 11:26:24 +00:00
Edwin Leuven
ccc639d842 * layout tweak
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18332 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 07:22:55 +00:00
Bo Peng
d7ccd7a35f InsetListings: properly clear values of widgets when jumping between insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18329 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 02:37:59 +00:00
Bo Peng
2260a558da InsetListings: minor fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18327 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 01:38:27 +00:00
Bo Peng
72e0b87a90 Separate caption and label from InsetListingsParams and handle them separately in listings and Include dialog, from Jurgen
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18324 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 20:42:14 +00:00
Abdelrazak Younes
5849954507 restore changed() connection that vanished in revision 18307 with the creation of the PreambleModule class.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18313 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 16:54:27 +00:00
Abdelrazak Younes
9e371e2a24 Fix gcc warning and be 64 bit clean.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18312 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 16:41:50 +00:00
Bo Peng
accafcb88c InsetListings: use Edwin's dialog, which is much nice
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18311 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 14:56:21 +00:00
Bo Peng
6e81ea9be8 InsetListings: fix a few checkbox logics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18310 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 14:55:26 +00:00
Abdelrazak Younes
fcc2297ba7 compil fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18309 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 14:23:55 +00:00
Abdelrazak Younes
043fdb9141 Fix bug similar to 3377 by Ozgur Ugras BARAN.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18308 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 12:43:17 +00:00
Abdelrazak Younes
06099a8959 restore cursor position in preamble.
* ControlDocument::id(): new method returning the id of the current buffer.

* PreambleModule: new class for the preamble module. Handle everything preamble related, including memorizing the cursor position for each Buffer.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18307 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 12:09:14 +00:00
Bo Peng
1fb2456cec InsetLisings: fix extra npos comparisons intruduced by wrongful commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18283 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-13 14:39:44 +00:00
Bo Peng
0bbdc3ffeb InsetListings: Enhanced listings dialog, more than 10 widgets are added to handle common listings parameters.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18282 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-13 04:06:37 +00:00
Bo Peng
b8813615ea InsetListings: touch up the TextLayout dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18271 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-11 17:59:32 +00:00
Bo Peng
203b569b7b InsetListings: touch up the include dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18270 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-11 17:53:01 +00:00
Bo Peng
6099a3dba7 InsetListings: touch up the listings dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18269 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-11 16:56:16 +00:00
Abdelrazak Younes
d5acfddef7 Fix bug 3377 by Ozgur Ugras BARAN:
In insert graphic window: canceling open dialog erases entry in text box). This bug is not Mac specific, but exist in Linux. (should exist in other OSes.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18268 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-11 14:25:25 +00:00
Abdelrazak Younes
7831aff546 Bug fix: the type combo was not cleared at each update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18265 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-11 14:05:43 +00:00
Bo Peng
fe879a0a6c revert src/frontends/qt4/ui/ListingsUi.ui
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18260 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-10 20:56:58 +00:00
Peter Kümmel
950e4b2097 fix crash: change empty line to paragraph and press a key
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18259 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-10 17:55:07 +00:00
Abdelrazak Younes
5b5ee8cc32 Fix bugs 3528 and 3534 by Ozgur Ugras BARAN and myself:
* ControlToc::updateBackend(): emit Buffer::structureChanged()

* QToc:
  - updateToc(), updateType(), typeModel(): deleted.

* TocWidget
  - updateGui() manually with ControlToc::typenames()
  - on_typeCO_activated(): changed to on_typeCO_currentIndexChanged()



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18258 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-10 16:25:11 +00:00
Jean-Marc Lasgouttes
e916170647 Use QTextEdit::setPlainText instead of QTextEdit::setText, because the
later is not available in Qt 4.1.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18257 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-10 10:44:16 +00:00
Bernhard Roider
b5c5c1efe6 Problem: When canceling the preferences dialog after changing a color then the icon in the colors list is not reverted after reopening the dialog. Moreover when pressing apply later then the color is really changed.
Solution: Move the color initialization from the constructor to the update() method. I've read the mail from Richard (referenced in the source code) concerning this, but i don't understand why we should not move parts of the initialization the constructor does into the update method. With this changes the hack for fixing http://bugzilla.lyx.org/show_bug.cgi?id=3109 is not needed.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18249 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 20:16:31 +00:00
Bernhard Roider
4a2ffc83f8 Problem: A crash when no color is selected and the "alter" button is pressed.
Solution: Disable the alter button if no item is selected and add an additional test for a valid index.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18247 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 20:09:03 +00:00
Bernhard Roider
43419ef0bd Problem: When canceling the color selection dialog the color of the selected item is changed to black.
Solution: Add a test whether the color returned from the color dialog is valid.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18245 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 19:52:24 +00:00
Peter Kümmel
e5df7b6978 also compile with merged files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18244 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 19:31:42 +00:00
Bo Peng
4ce743a0a7 Add support for listings package. Two listings command \lstinline, \lstinputlisting and an environment \lstlisting are supported, along with preamble \lstset. \lstinputlisting is implemented through Include dialog, and the other two are implemented with a new inset listings, along with its dialog.
* src/LyXAction.cpp: listing-insert action
	* src/insets/Inset.h,cpp: LISTINGS_CODE
	* src/insets/InsetInclude.cpp: handle \lstinputlisting
	* src/insets/InsetListings.h,cpp: new listings inset
	* src/insets/InsetListingsParams.h,cpp: parameters from listings package
	* src/insets/InsetCommandParams.h,cpp: handle lstinputlisting option
	* src/Bidi.cpp: handle LISTINGS_CODE
	* src/frontends/qt4/ui/TextLayoutUi.ui: update UI
	* src/frontends/qt4/ui/ListingsUi.ui: new dialog
	* src/frontends/qt4/ui/IncludeUi.ui: update UI
	* src/frontends/qt4/QInclude.h,cpp: add lstinputlisting
	* src/frontends/qt4/QDocument.h,cpp: add textedit for preamble listings_params
	* src/frontends/qt4/QListings.h,cpp: new listings inset
	* src/frontends/qt4/Dialogs.cpp: new listings dialog
	* src/frontends/controllers/ControlInclude.h,cpp: add lstinputlisting
	* src/frontends/controllers/ControlListings.h,cpp: new listings inset
	* src/LyXFunc.cpp: handle LISTING_CODE
	* src/Paragraph.cpp: handle LISTING_CODE
	* src/factory.cpp: new listings inset
	* src/CutAndPaste.cpp: handle LISTINGS_CODE
	* src/LaTeXFeatures.cpp: require listings
	* src/Text3.cpp: Handle LISTINGS_CODE
	* src/lfuns.h: add LFUN_LISTING_INSERT
	* src/Buffer.cpp: change lyx file format to 269
	* src/BufferParams.h,cpp: add listings_params to preamble
	* lib/lyx2lyx/LyX.py: lyx2lyx 
	* lib/lyx2lyx/lyx_1_5.py: lyx2lyx
	* lib/ui/stdmenus.inc: new menu item (no shortcut!)
	* src/insets/Makefile.am: update autotools
	* src/frontends/controllers/Makefile.am
	* src/frontends/qt4/Makefile.dialogs
	* src/frontends/qt4/Makefile.am
	* po/POTFILES.in: a few more translatable files.
	* development/scons/scons_manifest.py: scons build system
	* development/FORMAT: document format changes


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18243 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 19:11:42 +00:00
Edwin Leuven
f5cfb824aa * set some sizehints to ingore so that toc widget does not take up too much space on toggle...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18240 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 08:23:57 +00:00
Richard Heck
bd71f0adac Fix for bug 3524: Indent checkbox is enabled even when paragraphs are marked
with skips.

Added helper method canIndent() to controller and appropriate logic to
QParagraph::update_contents().



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18236 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-08 15:35:44 +00:00
Uwe Stöhr
8d8b55cf92 QMathMatrixDialog.cpp: fix part of bug 3475
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18226 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-07 18:30:41 +00:00
Jürgen Spitzmüller
574b28db65 Fix bug 3508:
* src/ToolbarBackend.cpp:
* lib/ui/stdtoolbars.inc:
	- add tooltip to table widget
* src/frontends/qt4/QLToolbar.cpp:
	- display tooltip as icon text

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18208 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-06 07:26:51 +00:00
Abdelrazak Younes
94674dec6a revision 18202: I forgot this one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18203 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 17:46:03 +00:00
Abdelrazak Younes
ab2324315b TOC Widget beautification by Stefan Schimanski:
* lib/images: 3 new icons 
* TocUi/TocWidget: Replace labeled button with icon buttons.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18202 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 17:37:05 +00:00
Abdelrazak Younes
1becd845c1 * LyX::addFileToLoad(): new method for double-clicked file icons on MacOS.
* GuiApplication::event():
  special case for FileOpen events: memorize the filenames if LyX is not properly started yet.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18201 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 17:20:53 +00:00
Abdelrazak Younes
ce3fce19c4 * QLPainter: antialias edges of primitives only if text is antialiased.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18197 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 09:24:44 +00:00
Abdelrazak Younes
58cc6d28e8 Fix antialiasing problem in straight lines within polylines. Prepare for optional antialiasing.
* QLPainter::lines(): use QPainter::drawLine() multiple times instead QPainter::drawPolyline().

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18196 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 08:52:40 +00:00
Abdelrazak Younes
cf5a9defdd Restor 1.4.x behaviour: Don't touch the preamble QTextEdit if the preamble text is unchanged.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18154 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-01 17:33:04 +00:00
Michael Schmitt
cd289ad718 * src/frontends/qt4/QParagraph.cpp: reduce the verbosity of a tooltip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18147 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-01 10:07:29 +00:00
André Pönitz
40e4ab9bf3 distribute content sof tex-strings.cpp to their respective unique places of usage
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18130 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 21:01:24 +00:00
Michael Schmitt
295eea310e replace term "Glossary" by "Nomenclature"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18102 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 22:21:00 +00:00
André Pönitz
757d5d67ac resolve the layout.h <=> Layout.h conflict
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18099 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 22:04:32 +00:00
André Pönitz
6add1994c7 rename LyXTextClass* into TextClass*
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18097 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 19:53:54 +00:00
André Pönitz
0bf9ac02a8 rename LyXLayout into Layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18096 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 18:58:28 +00:00
André Pönitz
fc6ce7cd08 rename LyXFont to Font except in tex2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18095 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 18:17:15 +00:00
Jürgen Spitzmüller
b0b7aa2bf5 Implement shortcut (M-x) to hide the minibuffer
* src/frontends/controllers/ControlCommandBuffer.{cpp,h}:
	- new member hide()
* src/frontends/qt4QCommandEdit.{cpp,h}:
	- new signal hidePressed(), emit it on M-x/Alt-x
* src/frontends/qt4/QCommandBuffer.{cpp,h}:
	- new slot hideParent(), connected to QCommandEdit::hidePressed()

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18081 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 08:58:09 +00:00
Bo Peng
e36fba33ab Last (?) batch of renames:
src/frontends/Alert.h src/frontends/alert.h
src/frontends/Alert.cpp src/frontends/alert.cpp
src/frontends/Alert_pimpl.cpp src/frontends/alert_pimpl.cpp
src/frontends/qt4/Alert_pimpl.cpp src/frontends/qt4/alert_pimpl.cpp
src/frontends/controllers/ButtonPolicies.cpp src/frontends/controllers/ButtonPolicy.cpp
src/frontends/controllers/ButtonPolicies.h src/frontends/controllers/ButtonPolicy.h
src/insets/InsetEnv.cpp src/insets/InsetEnvironment.cpp
src/insets/InsetEnv.h src/insets/InsetEnvironment.h
src/mathed/MathMacroTable.h src/mathed/MacroTable.h
src/mathed/MathMacroTable.cpp src/mathed/MacroTable.cpp
src/lyx_cb.h src/callback.h
src/lyx_cb.cpp src/callback.cpp
src/UpdateFlags.h src/update_flags.h


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18076 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-28 20:44:46 +00:00
André Pönitz
8c622e4ff0 rename/merge LyXLength related stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18067 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-28 12:58:49 +00:00
André Pönitz
50016ccf3a rename LyXKeySym into KeySymbol
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18059 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-27 08:43:38 +00:00
André Pönitz
02703f47bf I guess Windows folks are not too happy with files named color.h and Color.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18048 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 19:21:38 +00:00
André Pönitz
5008ee540f rename LColor into Color
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18046 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 17:34:20 +00:00
André Pönitz
bf2221d990 forgot and this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18038 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 13:39:14 +00:00
André Pönitz
f63d0e05df fix problem reported by Uwe
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18029 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 07:12:31 +00:00
André Pönitz
71797f6d72 fix Makefile.am after .C -> .cpp conversion
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18028 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 06:55:43 +00:00
Bo Peng
138b23fac8 Rename files in src/support, step one.
src/support/package.h                              src/support/Package.h    Package
src/support/package.C.in                           src/support/Package.C.in  Package
src/support/path.h                                 src/support/Path.h    Path
src/support/fs_extras.h                            src/support/fs_extras.h NOCLASSES
src/support/RandomAccessList.h                     src/support/RandomAccessList.h    RandomAccessList
src/support/lyxmanip.h                             src/support/lyxmanip.h NOCLASSES
src/support/rename.C                               src/support/rename.cpp  NOCLASSES
src/support/abort.C                                src/support/abort.cpp  NOCLASSES
src/support/lyxlib.h                               src/support/lyxlib.h NOCLASSES
src/support/ExceptionMessage.h                     src/support/ExceptionMessage.h    ExceptionMessage
src/support/copy.C                                 src/support/copy.cpp  NOCLASSES
src/support/limited_stack.h                        src/support/limited_stack.h    limited_stack
src/support/filefilterlist.C                       src/support/FileFilterList.cpp    ['FileFilterList', 'Filter']
src/support/cow_ptr.h                              src/support/cow_ptr.h    cow_ptr
src/support/os_unix.C                              src/support/os_unix.cpp  NOCLASSES
src/support/socktools.h                            src/support/socktools.h NOCLASSES
src/support/forkedcontr.h                          src/support/ForkedcallsController.h    ForkedcallsController
src/support/os.h                                   src/support/os.h NOCLASSES
src/support/FileMonitor.h                          src/support/FileMonitor.h    FileMonitor
src/support/copied_ptr.h                           src/support/copied_ptr.h    copied_ptr
src/support/translator.h                           src/support/Translator.h    Translator
src/support/filetools.C                            src/support/filetools.cpp  NOCLASSES
src/support/unlink.C                               src/support/unlink.cpp  NOCLASSES
src/support/os_win32.C                             src/support/os_win32.cpp    GetFolderPath
src/support/lstrings.C                             src/support/lstrings.cpp  NOCLASSES
src/support/qstring_helpers.C                      src/support/qstring_helpers.cpp  NOCLASSES
src/support/getcwd.C                               src/support/getcwd.cpp  NOCLASSES
src/support/systemcall.C                           src/support/Systemcall.cpp    Systemcall
src/support/lyxalgo.h                              src/support/lyxalgo.h NOCLASSES
src/support/filefilterlist.h                       src/support/FileFilterList.h    ['FileFilterList', 'Filter']
src/support/unicode.C                              src/support/unicode.cpp    IconvProcessor
src/support/userinfo.C                             src/support/userinfo.cpp  NOCLASSES
src/support/lyxtime.C                              src/support/lyxtime.cpp  NOCLASSES
src/support/kill.C                                 src/support/kill.cpp  NOCLASSES
src/support/docstring.C                            src/support/docstring.cpp    to_local8bit_failure
src/support/os_cygwin.C                            src/support/os_cygwin.cpp  NOCLASSES
src/support/lyxsum.C                               src/support/lyxsum.cpp  NOCLASSES
src/support/environment.C                          src/support/environment.cpp  NOCLASSES
src/support/filetools.h                            src/support/filetools.h NOCLASSES
src/support/textutils.C                            src/support/textutils.cpp  NOCLASSES
src/support/mkdir.C                                src/support/mkdir.cpp  NOCLASSES
src/support/forkedcall.C                           src/support/Forkedcall.cpp    ['ForkedProcess', 'Forkedcall']
src/support/tempname.C                             src/support/tempname.cpp  NOCLASSES
src/support/os_win32.h                             src/support/os_win32.h    GetFolderPath
src/support/types.h                                src/support/types.h NOCLASSES
src/support/lstrings.h                             src/support/lstrings.h NOCLASSES
src/support/forkedcallqueue.C                      src/support/ForkedCallQueue.cpp    ForkedCallQueue
src/support/qstring_helpers.h                      src/support/qstring_helpers.h NOCLASSES
src/support/convert.C                              src/support/convert.cpp  NOCLASSES
src/support/filename.C                             src/support/FileName.cpp    ['FileName', 'DocFileName']
src/support/tests/convert.C                        src/support/tests/convert.cpp  NOCLASSES
src/support/tests/filetools.C                      src/support/tests/filetools.cpp  NOCLASSES
src/support/tests/lstrings.C                       src/support/tests/lstrings.cpp  NOCLASSES
src/support/tests/boost.C                          src/support/tests/boost.cpp  NOCLASSES
src/support/docstream.C                            src/support/docstream.cpp    ['iconv_codecvt_facet_exception', 'idocfstream', 'odocfstream']
src/support/std_istream.h                          src/support/std_istream.h NOCLASSES
src/support/systemcall.h                           src/support/Systemcall.h    Systemcall
src/support/chdir.C                                src/support/chdir.cpp  NOCLASSES
src/support/std_ostream.h                          src/support/std_ostream.h NOCLASSES
src/support/unicode.h                              src/support/unicode.h    IconvProcessor
src/support/path.C                                 src/support/Path.cpp    Path
src/support/fs_extras.C                            src/support/fs_extras.cpp  NOCLASSES
src/support/userinfo.h                             src/support/userinfo.h NOCLASSES
src/support/lyxtime.h                              src/support/lyxtime.h NOCLASSES
src/support/docstring.h                            src/support/docstring.h    to_local8bit_failure
src/support/debugstream.h                          src/support/debugstream.h    basic_debugstream
src/support/environment.h                          src/support/environment.h NOCLASSES
src/support/textutils.h                            src/support/textutils.h NOCLASSES
src/support/forkedcall.h                           src/support/Forkedcall.h    ['ForkedProcess', 'Forkedcall']
src/support/socktools.C                            src/support/socktools.cpp  NOCLASSES
src/support/forkedcallqueue.h                      src/support/ForkedCallQueue.h    ForkedCallQueue
src/support/forkedcontr.C                          src/support/ForkedcallsController.cpp    ForkedcallsController
src/support/os.C                                   src/support/os.cpp  NOCLASSES
src/support/convert.h                              src/support/convert.h NOCLASSES
src/support/filename.h                             src/support/FileName.h    ['FileName', 'DocFileName']
src/support/docstream.h                            src/support/docstream.h    ['iconv_codecvt_facet_exception', 'idocfstream', 'odocfstream']
src/support/FileMonitor.C                          src/support/FileMonitor.cpp    FileMonitor



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18024 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 05:12:52 +00:00
Bo Peng
00e305c9d9 Rename .C ==> .cpp for files in src, part one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18018 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 04:41:58 +00:00
Bo Peng
8c5f097b5d Rename .C ==> .cpp for files in src/frontends/qt4, part two
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18015 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 03:53:51 +00:00
Bo Peng
6fdb8bf85a Rename .C ==> .cpp for files in src/frontends/qt4, part one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18014 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 03:53:02 +00:00
Michael Schmitt
1e7479247a * src/frontend/qt4/ui/NomenclUi.ui: fix tab order (by Ugras Baran)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18008 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 21:37:43 +00:00
Bo Peng
f6ab280632 merge src/frontends/controllers/biblio, character, frnt_lang, helper_funcs and tex_helpers to frontend_helpers, step 3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17998 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 17:53:54 +00:00
André Pönitz
c6b932f467 code cosmetics whitespace, unneeded lyx:: qualification, indentation, unneeded destructors and the like
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17994 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 16:39:21 +00:00
André Pönitz
a77a19e497 more dialog merging
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17981 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 10:57:54 +00:00
André Pönitz
ee2966faba more dialog merging
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17979 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 10:25:37 +00:00
André Pönitz
163a95106e more dialog merging
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17977 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 08:42:22 +00:00
André Pönitz
2dcd61cc9c merge QPref and QPrefDialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17971 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 07:13:54 +00:00
Bo Peng
b6a2a76700 Rename insets/insetxxx to insets/InsetXxx, part 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17964 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 01:24:38 +00:00
Richard Heck
e62e3a695c Fix bug 2474; partial fix for 1777. Added last_reference_ member to QRef class and reworked logic involving display of last added reference. Added logic to make sure selected item is visible.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17959 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 22:10:56 +00:00
André Pönitz
24bb9669a5 more Foo/FooDialog merge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17956 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 19:37:34 +00:00
André Pönitz
078bdf9c27 merge the tabular/gui related files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17954 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 17:46:08 +00:00
André Pönitz
2c7f20e2ec merge QSpellChecker and QSpellcheckerDialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17953 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 15:32:14 +00:00
André Pönitz
735934a376 merge QTexinfo and QTexinfoDialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17952 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 15:10:14 +00:00
André Pönitz
1ed0c6be12 merge QWrapDialog and QWrap
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17951 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 14:59:51 +00:00
André Pönitz
998a68b13e merge QThesaurus and QThesaurusDialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17950 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 14:35:15 +00:00
Jürgen Spitzmüller
8dcd22492d * src/frontends/qt4/ui/DelimiterUi.ui:
somewhat better layout; ideally, the whole dialog should be laid out in a grid,
	but then qt insists on drawing the listwidgets much wider than the need to be.
	The drawback of this approach is that the dialog cannot really be resized.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17949 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 14:34:31 +00:00
André Pönitz
700c7cf5bd merge QViewSource and QViewSourceDialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17947 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 14:08:53 +00:00
André Pönitz
90e03494bb merge QERT and QERTDialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17946 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 13:47:33 +00:00
André Pönitz
822fbb710c merge QSearch and QSearchDialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17945 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 13:27:23 +00:00
André Pönitz
888ba9e94b merge QVSpace and QVSpaceDialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17944 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 12:02:27 +00:00
André Pönitz
e9b92c06a3 merge QAbout and QAboutDialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17943 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 11:32:09 +00:00
André Pönitz
97fe710a4f merge QBox and QBoxDialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17942 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 10:56:22 +00:00
André Pönitz
0575b97869 forgot this...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17937 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 09:02:09 +00:00
André Pönitz
a1607b414a renaming in frontends/qt4/ui: s/Q//g
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17936 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 08:56:28 +00:00
Richard Heck
4a67bd31bd Fix bug 3461. Add reset_dialog() method that resets the QRef::at_ref_ boolean on dialog close.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17920 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-23 15:25:02 +00:00
Michael Schmitt
5756cddc64 * src/frontend/qt4/QLToolbar.C: fix translation of toolbar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17907 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-22 10:05:17 +00:00
Jürgen Spitzmüller
c98876b48e Satisfy André's Sprachgefühl.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17900 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-22 08:37:48 +00:00
Abdelrazak Younes
48744f0fbd Pass the main window (GuiView) to the delimiter dialog so that it is properly handled by the window manager.
* Dialog.h
  - Dialog::Controller::view(): new method.

* QDelimiterDialog::QDelimiterDialog(): pass the Main Window parent.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17898 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-22 07:54:36 +00:00
Michael Schmitt
db36eae4c0 * frontends/LyXView.h:
* frontends/qt4/GuiView.C:
	* frontends/qt4/GuiView.h:
	* frontends/qt4/QLToolbar.C:
	* frontends/Toolbars.C:
	* frontends/Toolbars.h:
	* ToolbarBackend.C: use better names for ToolbarInfo variables


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17894 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-21 17:38:43 +00:00
Michael Schmitt
33f2f32beb * src/frontend/qt4/ui/QDelimiter.ui: add space to unused label such
that no extra entry is created in the po files


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17892 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-21 15:29:55 +00:00
Jürgen Spitzmüller
44b504c45f * src/frontends/qt4/ui/QTocUI.ui: add tooltips.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17888 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-21 13:22:28 +00:00
Jürgen Spitzmüller
d661baca0a Compilation fixes:
* src/frontends/qt4/iconpallete.h: add missing header
* src/frontends/qt4/Makefile.dialogs: remove removed math panel dialog.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17875 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-20 07:29:02 +00:00
Edwin Leuven
2632fa5d95 * remove old iconpalette (and rename iconpanel to iconpalette)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17873 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 22:01:28 +00:00
Edwin Leuven
22fb43fd8f * removal of math panel
some code is moved from QMath 
  to QDelimiterDialog and QMathMatrixDialog
  for the rest pretty mechanical

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17872 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 21:42:42 +00:00
Edwin Leuven
996de70e56 * Action.[Ch]
add signal that provides action when triggered

* ToolbarBackend.[Ch]
	add popupmenu and iconpallete item types

* QLToolbar.[Ch]
	take care of popupmenu and iconpallete

* stdtoolbars.inc
	add panels and menus (and move spellchecker to main ;-)

* functions.xpm
	icon for function list

* iconpalette.[Ch]
	new iconpanel that will replace old iconpalette,
	als subclass of qmenu that updates parent toolbutton


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17868 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 20:29:27 +00:00
Edwin Leuven
f73cedc1d0 * Refactoring of ToolbarBackend.[Ch] into
toolbaritems, toolbar(info) and backend

  stdtoolbars.inc now defines the toolbars inbetween
  a ToolbarSet/End tag just as the menus

* the other files contain straightforward changes
  because of the toolbarbackend refactoring


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17867 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 19:43:15 +00:00
Richard Heck
4ef5d3fb59 Fix some shortcut issues with the converters subdialog. Problem was that some shortcuts defined here are also defined in the main preferences dialog, and some were doubly defined here, too. Also set focus proxy for definitions group box.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17864 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 17:29:59 +00:00
Abdelrazak Younes
2da59470a9 * QCommandBuffer::complete(): Add connection to QListWidget::itemActivated() in order to select in the help list with "Enter".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17863 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 16:43:09 +00:00
Jürgen Spitzmüller
f16d156a63 * src/frontends/qt4/ui/QPrefConvertersUI.ui: lay out in a grid (fixes bug 3476)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17862 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 16:37:39 +00:00
Abdelrazak Younes
4eb949274d Switch to an Icon View mode in the symbol lists.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17859 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 12:25:58 +00:00
Abdelrazak Younes
00e8a7d13a Fix bug 3460:
http://bugzilla.lyx.org/show_bug.cgi?id=3460

The problem was that the list_items map is ordered by key.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17858 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 08:22:41 +00:00
Michael Schmitt
3c4367e0ac * QDelimiterDialog.C: make "TeX Code:" translatable
* ui/QDelimiterUi.ui: fix (unused) message - single \'s caused gettext problems


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17854 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-18 19:52:32 +00:00
Michael Schmitt
3f380081e0 * src/frontends/qt4/ui/QPrefConvertersUi.ui: add missing ':' in label
* po/de.po: adjust


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17853 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-18 19:36:12 +00:00
Abdelrazak Younes
7a3600ac0a Style cleanup and tex code display bug correction.
* bigleft, bigright: move empty item from last to first to synchronize it with GUI representation
* fix_name(): add FIXME for Enrico
* updateTeXCode():
  - move C-style string declaration.
  - simplify empty string  logic.





git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17848 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-18 09:44:24 +00:00
Uwe Stöhr
3802882900 fix bug 3456 and 3457
http://bugzilla.lyx.org/show_bug.cgi?id=3456
http://bugzilla.lyx.org/show_bug.cgi?id=3457

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17845 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-17 20:04:15 +00:00
Jürgen Spitzmüller
8874db5f22 Fix loop when opening TOC widget in an empty document, basically by Richard Heck.
* src/frontends/qt4/TocWidget.[Ch]: 
	- rename enableButtons to enableControls and include slider enabling/disabling
	- only set slider if there is some content

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17835 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-17 10:27:53 +00:00
Richard Heck
8c56bd3ac9 Fix compilation problem on some systems.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17822 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-15 19:17:53 +00:00
Bo Peng
9cf5358d7d lastFilePos: save bottom level pit and pos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17814 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-15 04:50:42 +00:00
Uwe Stöhr
b0cc76db74 Fix bugs 3458:
http://bugzilla.lyx.org/show_bug.cgi?id=3458

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17809 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-14 16:19:05 +00:00
Edwin Leuven
a2b645cbca layout tweak
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17802 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-14 09:49:52 +00:00
Richard Heck
c31c84926d Add margin to paragraph dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17798 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-13 15:25:53 +00:00
Peter Kümmel
c701b8ff65 fix bug 3319: LyX starts offscreen when changing monitor configuration
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17796 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-13 13:42:59 +00:00
Abdelrazak Younes
ea303561ee Reorder panels in Preference Settings dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17793 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-13 10:10:10 +00:00
Abdelrazak Younes
919d0e6e02 I forgot this in revision 17786. Hope bug 3450 is really fixed now...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17792 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-13 09:17:55 +00:00
Abdelrazak Younes
20c5d212ca * QPrefConvertersUi.ui
- change GUI layout in accordance with latest "copiers" and "file format" changes.
  - add converter cache section.

* QPrefsDialog: implement converter cache enabling and maximum age.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17791 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-13 09:16:06 +00:00
Richard Heck
4502bc5f3d Disable signals on programmatic checks to prevent unnecessary trigger of slots.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17790 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-13 02:09:50 +00:00
Richard Heck
580ca795dd Redo layout of dialog to solve sizing issue.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17789 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-13 02:07:55 +00:00
Abdelrazak Younes
4d9c1bc296 Fix bug 3450:
http://bugzilla.lyx.org/show_bug.cgi?id=3450
* ControlMath
  - new MathSymbol struct that summarize the symbol attributes (including font and fontcode)

* QDelimiterDialog: 
  - make use of the new MathSymbol for the ListWidget.
  - store the latex name in the tooltip instead of lookup for it.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17786 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-12 16:49:01 +00:00
Uwe Stöhr
8725953d78 make LyX compile again after changeset 17776
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17781 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-11 19:35:35 +00:00
Richard Heck
eb07cac2c3 Changes to paragraph settings dialog so that it offers only
options accepted by the current paragraph.

ui/QParagraphUi.ui
  Changed combo box for alignment to radio buttons. Added
  checkbox for default alignment.
QParagraphDialog.[Ch]
  public:
    void checkAlignmentRadioButtons();
    void alignmentToRadioButtons(LyXAlignment);
    LyXAlignment getAlignmentFromDialog();
  private:
    typedef std::map<LyXAlignment, QRadioButton *> QPRadioMap;
    QPRadioMap radioMap;
  protected Q_SLOTS:
    void change_adaptor();
    void enableLinespacingValue(int);
    void on_alignDefaultCB_toggled(bool);
QParagraph.C
  Rework apply() and update_contents() using new functions just
  mentioned.

Thanks to Abdel for his help.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17776 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-11 14:04:40 +00:00
Richard Heck
687bc61934 Reorganize dialogs along lines suggested by Abdel to give more room to line edit boxes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17775 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-11 13:45:44 +00:00
Richard Heck
6bfc69eb38 Add vertical spacer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17774 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-11 13:44:26 +00:00
Richard Heck
bd4e8ea46c Move alter button to match other dialogs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17773 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-11 13:42:59 +00:00
Enrico Forestieri
c58f3252e5 Fix remaining issues with big delimiters
* src/mathed/MathSupport.C:
	add "slash" to the decoration table.

	* src/mathed/InsetMathBig.C
	(InsetMathBig::draw): don't remove backslash delimiter.
	(InsetMathBig::isBigInsetDelim): add "\\" and "\slash" to
	the delimiters table.

	* src/frontends/qt4/QDelimiterDialog.C
	(fix_name): return "\\" instead of "\backslash" as that now
	works after the fixes above.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17771 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-11 00:27:35 +00:00
Abdelrazak Younes
b4ef6a87a3 - Work a bit on the layout.
- Set the font used in the lists to Arial, 10.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17766 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-10 14:51:27 +00:00
Enrico Forestieri
5dc60654bb Fix gui for slash and backslash big/variable size delimiters
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17755 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-07 02:07:15 +00:00
Enrico Forestieri
4cd32706e8 Restore the version number position on the splash screen
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17754 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-07 01:07:51 +00:00
Abdelrazak Younes
978c87fae7 add GuiView parent to QToc for proper memory management.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17753 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-07 00:04:38 +00:00
Enrico Forestieri
f139b65352 Fix gui for the "|" big delimiter
* src/frontends/qt4/QDelimiterDialog.C
	(fix_name): Return "|" instead of "\|" as this is equivalent to \Vert.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17752 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-07 00:00:32 +00:00
Abdelrazak Younes
61023d5649 Fix bug 3413:
http://bugzilla.lyx.org/show_bug.cgi?id=3413

* ui/QNomenclUi.ui
  - description field: replace LineEdit with TexEdit

* QNomencl.C: take care of the \n <-> \\ conversion in the description field.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17748 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-06 16:27:10 +00:00
Abdelrazak Younes
f9347bc672 Make the delimiters dialog use true unicode symbols instead of pixmaps.
* ControlMath.[Ch]
  - mathSymbol(), texName(): new method for easy access of math symbols and associated TeX names
  - latex_delimiters: allowed delimiters transferred from QDelimiterDialog.C

* QDelimiterDialog.C:
  - makes use of the above.
  - display the TeX code in a label instead of beside the symbol.
 
* QDelimiterUi.ui
  - shrink it so that it could nicely fit in a DockWidget but this doesn't work, the dialog is too large!
  - texCodeL: new label.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17747 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-06 15:57:32 +00:00
Richard Heck
675b84c1b0 Fix small bug with new graphics dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17745 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-06 12:38:23 +00:00
Richard Heck
11697004e8 Fix for bug 3215. All changes in src/frontends/qt4/.
Changed dialog and added routines to deal with an "auto" label
in cases where defaults are used.

ui/MarginsUi.ui: Changed labels for width and height to checkboxes. Removed connections.
checkwidgets.[Ch]: Extended checkedLineEdit routines to take a QWidget.
qt_helpers.[Ch]: 
  Added void lengthToWidgets(QLineEdit *, LengthCombo *, LyXLength const &, LyXLength::UNIT)
  Added void lengthAutoToWidgets(QLineEdit *, LengthCombo *, LyXLength const &, LyXLength::UNIT)
  Added void setAutoTextCB(QCheckBox *, QLineEdit *, LengthCombo *)
validators.[Ch]:
  Added class LengthAutoValidator : public LengthValidator
  Added class DoubleAutoValidator : public QDoubleValidator
QGraphicsDialog.[Ch]
  Added virtual void setAutoText()
  Added virtual void on_WidthCB_toggled(bool)
  Added virtual void on_HeightCB_toggled(bool)
  Used the new functions to set "auto" in default cases and toggle checkboxes as needed.
  Set validator for scale.
  Re-organized connect routines.
QGraphics.C:
  Completely re-worked update_contents().
  Significant changes to apply().


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17735 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-05 14:58:15 +00:00
Abdelrazak Younes
096b63170a Use case:
1) launch the dialog
2) select a delimiter in the left pane
3) Tab
4) select a delimiter in the right pane
5) Enter

So:
- Also enable the quick insertion while in the right pane
- Do not limit the quick insertion to matched key


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17732 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-05 12:39:22 +00:00
Abdelrazak Younes
4f135f2dd6 Rework the delimiter dialog:
- ListWidget instead of combo,
- matched delimiters on the same row,
- immediate insertion on "enter" or "double-click" if the 'match' option is checked.
- simplification of the code.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17731 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-05 12:12:07 +00:00
Abdelrazak Younes
29dacff0f0 Delimiter dilaog: Cleanup the code and rework the dialog a bit.
Most of the change is about using the new private member delimiters_ instead of the "delim" table.  Also, we don't display an icon when the delimiter is one character.
I did not manage to let the combos expand to the maximum.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17727 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-05 09:26:09 +00:00
Abdelrazak Younes
13ec7e4b74 Fix bug 3420 by Uwe and Enrico.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17726 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-05 08:10:22 +00:00
Abdelrazak Younes
b7ff6f82de Fix bug 3412:
http://bugzilla.lyx.org/show_bug.cgi?id=3412

* QNomenclDialog::QNomenclDialog(): setting the focus proxy in the Description edit box.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17719 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-04 16:36:50 +00:00
Edwin Leuven
f56c8c83b0 * fix layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17717 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-04 13:10:38 +00:00
Abdelrazak Younes
ad05708682 remove "BufferView.h"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17716 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-04 12:58:40 +00:00
Abdelrazak Younes
1c9ea1546d Put file editor and Browse and Edit buttons in the same horizontal layout.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17715 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-04 12:50:20 +00:00
Richard Heck
9fcfc51228 Made sizeHint const.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17711 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-03 21:47:00 +00:00
Richard Heck
bb2afff7d0 Added check for valid size to show().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17709 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-03 20:45:46 +00:00
Abdelrazak Younes
9aed8cf115 Still trying to solve the Toc panel crash with stdlib-debug enabled gcc.
* ControlToc::update(): get rid of the pure virutal method.
* QToc::initialiseParams(): overload ControlToc method.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17708 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-03 13:07:38 +00:00
Georg Baum
f7665c1e11 explain why ownsClipbiard() does not work on Windows and OS X
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17704 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-03 08:27:23 +00:00
Georg Baum
0159c9d6c7 Normalize everything that comes from 'outside' (plain text import,
keyboard input via kmap, clipboard and selection) to normalized form KC
(precomposed characters) since we don't support the decomposed form very
well.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17702 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-03 08:15:39 +00:00
Uwe Stöhr
f3558df4c2 QGraphicsDialog.C: fix bug that there is no image scale value when keepaspectratio was previously checked
QGraphics.C: remove double entry

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17701 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-03 02:07:35 +00:00
Abdelrazak Younes
c1b5490f9f Implement Angus suggestion.
* GuiApplication::notify(): try to catch 'normal' exception first.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17696 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-02 10:18:12 +00:00
Michael Schmitt
16b8db280e * src/frontends/qt4/ui/QTabularUi.ui:
* src/frontends/qt4/QTabular.C: change "Block" to "Justified"
	to avoid translation clash and to align with paragraph settings


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17694 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-01 21:51:17 +00:00
Michael Schmitt
b8e23e46d0 restore the old LyX banner in preparation of the next release;
replace banner.ppm by banner.png


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17690 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-01 20:33:40 +00:00
Abdelrazak Younes
e45632d1f8 The error message doesn't need to be translated.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17689 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-01 16:10:12 +00:00
Abdelrazak Younes
7384d0cf67 Fix bug 3288:
http://bugzilla.lyx.org/show_bug.cgi?id=3288

This is recommended by Qt:

Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.

* GuiApplication::notify(): reimplemented from QApplication::notify().


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17688 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-01 16:06:43 +00:00
Michael Schmitt
7b31bf784a WS changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17684 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-01 15:12:19 +00:00
Abdelrazak Younes
284e9efab7 Some more cleanup and comments from Iwami and myself.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17682 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-01 14:56:55 +00:00
Michael Schmitt
580b243a4c remove redundant lyxerr.debugging checks; macro LYXERR already checks whether the output is actually needed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17679 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-01 14:35:42 +00:00
André Pönitz
83b326d204 avoid evalutation of lyxerr arguments unless really needed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17675 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-01 10:09:49 +00:00
Abdelrazak Younes
bd12273085 cleanup headers.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17672 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-01 09:24:54 +00:00
Abdelrazak Younes
099a4adc92 Improved input method support by M. Iwami. I fixed some typo, and simplified the code a bit.
* Painter:
  - preeditText(), dashedUnderline(): new methods for CJK support.

* GuiWorkArea:
  - inputMethodQuery(): new Qt inherited method for proper CJK support.
  - inputMethodEvent(): now properly take care of input methods.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17671 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-01 09:14:08 +00:00
Richard Heck
a19d10e479 Fix for bug 3381, itself due to a bug in QT 4.2.3.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17648 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-30 15:15:44 +00:00
André Pönitz
11236e2993 Whitespace correction after rev 17639
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17646 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-30 05:30:23 +00:00
Richard Heck
938698335b Fix for bug 3109: http://bugzilla.lyx.org/show_bug.cgi?id=3109. Added comments regarding longer-term issues with this code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17645 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-30 04:24:54 +00:00
Richard Heck
45372f6cf0 Completed table on naming conventions for widgets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17644 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-30 04:06:16 +00:00
Uwe Stöhr
0f54c5614a antialiasing for fonts by Stefan
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17639 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-29 23:08:29 +00:00
Uwe Stöhr
4ae693b025 better UI fix for bug 3364 from Richard
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17638 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-29 22:27:40 +00:00
André Pönitz
8e2f9e5bca make up/down vuttons in command bar narrower
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17637 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-29 22:12:34 +00:00
Uwe Stöhr
ce899a9fa1 Fix bug 3364:
http://bugzilla.lyx.org/show_bug.cgi?id=3364

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17627 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-28 23:57:48 +00:00
Uwe Stöhr
65ddfecfaf fix rev 17625
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17626 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-28 23:43:29 +00:00
Uwe Stöhr
6f9eb5464a small adjustment to have the same button size for Browse and Edit button.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17625 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-28 23:35:25 +00:00
Abdelrazak Younes
8cbf7e95c3 Fix a bunch of focus proxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17622 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-28 21:17:47 +00:00