Commit Graph

43 Commits

Author SHA1 Message Date
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
Lars Gullik Bjønnes
ce708d095c ws fixes, formatting and some other small changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5463 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-21 17:38:09 +00:00
Angus Leeming
1eb8155fa0 This file is part of LyX, the document processor.
Licence details can be found in the file COPYING.

and thank God for sed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5211 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-05 15:14:23 +00:00
Angus Leeming
6fac1dc980 Really dull and boring header shit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5210 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-05 14:10:50 +00:00
Angus Leeming
0cfafddc7d The dialogs/guiapi re-working.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5003 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-15 17:48:53 +00:00
Angus Leeming
5fab05e48a Pass and store references to LyXView and Dialogs, not pointers in the
FormBaseDeprecated-derived classes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5000 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-15 16:34:48 +00:00
Angus Leeming
4ecb8d1f56 Fix crash in Document dialog + small sundries.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4980 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-14 21:05:10 +00:00
Angus Leeming
ca26056e2a * Throw out DialogBase.h
* Only #include what's needed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4979 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-14 19:19:47 +00:00
Angus Leeming
1e3d2fce7f No longer pass Controller & or Dialogs & to the View c-tors.
GUI now contains a controller rather than derives from a controller.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4942 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-12 14:28:43 +00:00
Lars Gullik Bjønnes
5fd921e9e6 2002-07-02 Lars Gullik Bj�nnes <larsbj@birdstep.com>
Dialogs.h: remove static from redrawGUI and
toggleTooltips.

And changes because of this.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4517 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-02 19:23:10 +00:00
John Levon
b3c975de36 bug 458 (dtrt with index entry insert)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4445 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-20 23:01:16 +00:00
Lars Gullik Bjønnes
f1c24d1009 *duck*
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4417 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-18 15:44:30 +00:00
John Levon
760e4f4ce6 Edwin's Para MVC. Sorry for the delay !
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4365 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-11 16:40:18 +00:00
Lars Gullik Bjønnes
3005c47180 handle some tmpl files in a more sane way
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4355 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-10 17:33:05 +00:00
Lars Gullik Bjønnes
1e39473100 Switch from SigC signals to boost::signals
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4281 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-29 16:21:03 +00:00
Lars Gullik Bjønnes
f7ba7c8e9f ws cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3806 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 21:21:28 +00:00
Jürgen Vigna
cedd9c91a2 Angus Custom Export patch and removal of unused files from repository.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3688 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-07 15:06:57 +00:00
Angus Leeming
607ad8d3a7 The graphics inset now has:
* lazy loading (don't try and load the image until a request to draw it
  is received).
* asynchronous conversion to a loadable format.
* asynchronous loading if the image loader supports it (it doesn't).
* "simple" cropping, rotating and scaling (in that order) of the image
  on the LyX screen.
* display in color, grayscale or monochrome.

We also have a forked calls dialog, although it isn't very exciting
yet because only the graphics cache makes use of the forked call controller.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3591 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-27 09:59:52 +00:00
Angus Leeming
ec8da0035d The reducing file dependencies in the frontends patch.
Ok, Ok, I know this touches a lot of files, but the benefits are worth the
huge re-compilation now. Trust me. Would I lie to you?

Actually, this also fixes a bug in ControlInset, so you'd have had to
recompile 31 files anyway. Happy now?


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3391 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-16 14:47:58 +00:00
Angus Leeming
b31ab56c83 Herbert's TeX Info extravaganza.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2850 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-09 15:20:10 +00:00
Angus Leeming
91777cb3a1 Remove old splash dialog(s).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2807 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-27 09:45:57 +00:00
Angus Leeming
6da75c9cd8 John's controller patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2605 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-28 12:24:03 +00:00
Angus Leeming
4e4ebe5d4d Fixes to References dialog (read-only status) and to Bibtex bibliography
output.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2463 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-09 15:08:06 +00:00
Jürgen Vigna
26b1fa7be8 Various update/redraw fixes. Cleaned up InsetERT and added a dialog for
changing between statuses. Save the statuses to file.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2425 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-06 14:55:02 +00:00
Lars Gullik Bjønnes
e952d33e0b insetfloat work + stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2388 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-30 11:56:00 +00:00
Asger Ottar Alstrup
80dda8f6b2 - Applied the thesaurus patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2381 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-29 10:42:11 +00:00
Angus Leeming
cec0dd19d0 Edwin's "about" patch + consistent use of Lsstream.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2239 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-13 14:03:48 +00:00
Jürgen Vigna
0f18dddbd6 Edwin's spellchecker GUII patch with some fixes to it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2235 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-13 11:50:39 +00:00
Angus Leeming
0c2a3e5960 Added // -*- C++ -*- to the top of all files in controllers/ and xforms/
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2118 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-13 14:33:31 +00:00
Angus Leeming
e8779e6014 Changes needed to activate Character dialog buttons when any field is not
IGNORE.
Also fix crash when Font button on toolbar is pressed and the Character dialog
has not yet been shown for the first time.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2106 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-12 13:54:04 +00:00
Angus Leeming
071d35750a controller-view split for TOC popup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1863 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-30 19:24:28 +00:00
Angus Leeming
58d99b4a97 * Baruch's GuiBC template.
* Some file (and class) name changes:
	ButtonController.[Ch] to ButtonControllerBase.[Ch]
	BCTemplates.h to ButtonController.h
	ControlBase.[Ch] to ControlButton.[Ch]
* Moved file browsing into the controllers for the Graphics, Include and
Print popups.
* Fixed search bug in Citation popup. Added case sensitive button.
* Implemented controller-view split for External Material popup. Think that
it's now correct, but could you check again, Dekel?

Angus


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1859 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-30 09:51:46 +00:00
Angus Leeming
86de16951b small fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1851 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-29 11:24:08 +00:00
Angus Leeming
cda84cbcdf Controller-view split of Graphics and Index popups.
Moved Citation and Character helper functions into their own namespaces.
Fixed bugs in Minipage controller.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1843 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-28 12:59:29 +00:00
Angus Leeming
c44d76deae Implemented controller-view split for minipage and preamble popups.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1838 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-27 16:03:28 +00:00
Angus Leeming
d553558b19 Implemented controller-view split for Splash screen.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1836 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-27 13:00:41 +00:00
Angus Leeming
12bfa2bd34 Implemented controller-view split for FormPrint.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1833 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-27 10:43:10 +00:00
Angus Leeming
b63ac8a6c3 Implemented controller-view split for Search popup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1829 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-26 15:25:37 +00:00
Angus Leeming
6ca7a18ad9 Implemented controller-view split for TabularCreate popup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1827 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-26 14:33:58 +00:00
Angus Leeming
3b380bf220 Controller-view split for Ref popup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1826 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-26 13:16:57 +00:00
Angus Leeming
127265cc83 controller-view split for Url popup.
Something has gone wrong with the creation of new insets from the
menu, but this commit squashes a couple of minor bugs.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1818 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-23 18:46:11 +00:00
Angus Leeming
9705be9f1b Implemented controller-view split for FormError and FormInclude.
Cleaned up code in controllers in the process; I think that the interface
is stabilising now.
Cleaned up code in InsetInclude a little.

Mental note (to me?!): the Bibitem, Bibtex and Include insets create an
inset when the appropriate menu item is selected. This is incorrect;
the inset should only be created when "Ok" is pressed, as with the
majority of insets. CREATE_XXX flags and associated code are needed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1817 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-23 17:09:34 +00:00
Angus Leeming
8a4455d459 Reorganised, cleaned-up and improved documentation of controllers.
Implemented controller-view split for Copyright and Credits popups.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1803 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-22 11:24:36 +00:00