Commit Graph

49 Commits

Author SHA1 Message Date
Lars Gullik Bjønnes
44cd0fc9a1 The std::string mammoth path.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7862 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-06 15:43:21 +00:00
Lars Gullik Bjønnes
0d4dfc9b48 Fix compilaton issues by including debug.h first.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7835 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-29 10:50:51 +00:00
Angus Leeming
15dc5fa5d6 lyxfont.h no longer #includes LColor.h.
Change the LyXFont setXYZ member functions to return void, not LyXFont &.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7765 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 09:01:15 +00:00
Angus Leeming
2c21e4eadc Compilation fixes (remove STRCONV).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7753 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-15 12:00:03 +00:00
Angus Leeming
57a24ea912 Replace 'using namespace abc;' with 'using abc::xyz;'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7725 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 22:13:45 +00:00
Angus Leeming
4c6e0fe422 Removed all redundant using directives from the source.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7704 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-08 00:33:41 +00:00
Angus Leeming
236ea81bc5 Replace LString.h with support/std_string.h,
Lsstream.h with support/std_sstream.h,
support/LIstream.h with support/std_istream.h,
support/LOstream.h with support/std_ostream.h.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7685 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 17:23:11 +00:00
Angus Leeming
7070d9305c Strip out another 350 redundant #includes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7678 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 14:56:51 +00:00
Angus Leeming
0be0fcfd59 If I ever see another licence blurb again, it'll be too soon...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7598 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-23 00:17:00 +00:00
Jean-Marc Lasgouttes
80d7f70dc3 move reading of bind files from lyxrc.C to kbmap.C; do not read bindings or menus when not using gui; move paper related enums to a new paper.h; remove dependency on bufferparams.h from lyxrc.h; small bugfix to tex2lyx; fix bad menu shortcut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7372 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-26 23:04:39 +00:00
John Levon
192f2c94b2 fix bug 1285 (selecting font properly in the prefs combo)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7354 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-23 23:13:53 +00:00
Angus Leeming
0d4d71dfe6 Finish the migration from namespace grfx to lyx::graphics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7334 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-21 21:30:57 +00:00
Lars Gullik Bjønnes
fe390e9da1 namespace grfx -> lyx::graphics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7239 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-04 08:23:23 +00:00
Lars Gullik Bjønnes
92d522b7f1 introduce namespace lyx::support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7224 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-30 23:56:22 +00:00
John Levon
94278f7be0 lcolor cache
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7039 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-24 15:19:05 +00:00
Angus Leeming
a79813c242 Compile fixes following Alfredo's setTitle changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7006 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-22 18:14:36 +00:00
André Pönitz
e17caef19e Forgot the Qt part in the tostr() patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6957 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-13 17:01:28 +00:00
Jean-Marc Lasgouttes
d65aa55131 do not write colors to prefs when they have not been changed (Bug 1069)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6901 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-30 15:11:25 +00:00
John Levon
40698cffaf bug 1063, 1.4.0 only
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6837 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-22 23:25:27 +00:00
John Levon
f96545b498 fix warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6806 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-14 19:12:25 +00:00
John Levon
22451cf2a8 some reworking to allow Qt to successfully choose a serif default font
with fontconfig


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6655 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-31 02:59:34 +00:00
John Levon
9de5fab058 fix bug 978, ui bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6617 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-28 20:50:04 +00:00
Angus Leeming
ba9cdda813 Flatten the ButtonController tree by splitting it into a Controller and
a View.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6410 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-10 03:13:28 +00:00
Dekel Tsur
f7ec787f03 Add hspell option to spell-checkers list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6381 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-07 18:06:56 +00:00
Angus Leeming
1fcedd4b63 Strip trailing whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6249 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-25 13:35:26 +00:00
John Levon
4f108307be printer params fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6164 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-15 19:52:37 +00:00
Lars Gullik Bjønnes
99d1627a47 dont use pragma impementation and interface anymore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6138 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-13 16:53:15 +00:00
John Levon
9765b75cfa Changes stuff for Qt.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6077 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-09 00:11:51 +00:00
John Levon
eb74119baf bugs 854, bug 855
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6016 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-02 02:11:28 +00:00
John Levon
adbf4d7f68 Fix default fonts in RH8.0. We use the style hint after all else fails
in order to find a reasonable font.

Note that StyleSerif does not work. I blame RedHat 8.0 personally,
but cannot verify yet.

Note also that in a sane world, we could just use font.setFamily(blah);
QFontInfo(font).family() and set to that. But Qt is obviously not sane, so
we stay with the weird setComboxFont() code we have :(


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5869 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-19 03:22:33 +00:00
John Levon
fabd5d2057 The big Qt toqstr/fromqstr patch.
This kind of wrapping will be needed anyway, and it's an
improvement on what we had. Please give it a run.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5846 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-17 20:37:13 +00:00
Lars Gullik Bjønnes
13349032cb ws changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5758 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-01 22:59:25 +00:00
John Levon
66d7fea6df Some string(widget->text()) fixes. Weirdness
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5752 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-30 02:09:16 +00:00
Dekel Tsur
568ce36c5c lyxrc.*_font_foundry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5737 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-27 21:49:50 +00:00
Lars Gullik Bjønnes
53274e31ec the string -> char patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5725 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-27 10:30:28 +00:00
John Levon
97dedd97de small fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5709 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-25 03:18:27 +00:00
John Levon
ebac08df7f Show an example of chosen font
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5665 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-18 19:52:29 +00:00
John Levon
627de563e1 ok, now we use qfontdatabase (thanks Dekel). Things seem good
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5664 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-17 17:16:21 +00:00
John Levon
a64be15d94 oops...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5661 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-17 11:45:18 +00:00
John Levon
d7118a8fd7 mplement colors. And we're done ...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5655 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-17 09:42:25 +00:00
John Levon
91ee3ce85f using std::vector noticed by Herbert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5653 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-17 08:40:04 +00:00
John Levon
0c89888e25 implement converters
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5651 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-17 08:02:55 +00:00
John Levon
10de2511df implement file formats
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5650 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-17 07:11:02 +00:00
John Levon
a5d79ae39b finish most prefs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5649 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-17 05:37:27 +00:00
John Levon
4e054c4dde prefs work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5648 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-17 03:35:02 +00:00
John Levon
29b84e34c1 fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5643 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-15 06:39:14 +00:00
John Levon
e640d75d41 some prefs update work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5642 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-15 06:32:13 +00:00
John Levon
0ba59ef037 copy some code over to allow work to start on prefs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5641 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-15 06:02:43 +00:00
John Levon
513bdcc5e5 Add skeleton prefs controller and dialog to allow further work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5622 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-13 02:22:48 +00:00