Commit Graph

335 Commits

Author SHA1 Message Date
John Levon
0a736a817a Update to MVC. Ref,Toc and citation don't work at all currently.
Some bugs still need squashing too, but at least it compiles.

Also rename gui widgets consistently.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1873 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-02 15:12:55 +00:00
Baruch Even
04ff598331 Changed FormCopyright to MVC.
Casting changes in gnome_helpers
Removal of unneeded static from variables in GUIRuntime.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1870 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-02 10:24:07 +00:00
Baruch Even
981b7d0242 Fixed a compilation break in the gnome frontend.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1868 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-02 03:36:47 +00:00
Baruch Even
27257a0d72 Forgot to add file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1867 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-31 16:07:22 +00:00
Baruch Even
276c6e9ca1 Added the formatting of the credits text.
Currently there is no check if the needed font exists or not, the worst is
that everything is rendered in the regular font.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1866 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-31 15:59:17 +00:00
Kalle Dalheimer
37cf92155b Qt2 compiles again
Percolated fixes to citation search from XForms to Qt2


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1865 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-31 08:39:24 +00:00
Baruch Even
7ff4fa26c0 Remove unneeded files, we have switched to use the libglade and there is no
need for these generated files.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1864 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-30 20:31:06 +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
Baruch Even
a6adf5d732 Fixes to get it to compile after the latest ButtonController changes.
Refactoring of the dialogs into GnomeBase to remove common code.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1862 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-30 18:49:10 +00:00
Angus Leeming
79a7f6b162 Squashed bugs in Citation and (I hope) External Material popups. Could
people please check this one more time...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1860 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-30 13:47:39 +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
Kalle Dalheimer
ba1c81aad3 Fixed connections. There is still a bug somewhere.
Fixed geometry.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1858 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-30 06:59:39 +00:00
Kalle Dalheimer
24cdf09610 more work on citation dialog for MVC
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1857 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-29 21:17:17 +00:00
Kalle Dalheimer
a24a97ed14 started moving citation dialog to MVC
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1856 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-29 18:58:47 +00:00
Kalle Dalheimer
41719bdb8a - Compiles and links again
- Renamed document dialog to new naming scheme, but do not compile and link
  it yet, pending conversion of document form to MVC by Angus


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1855 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-29 15:02:19 +00:00
Jürgen Vigna
f284f1c8bc Added %x support in vspace.C (LyXLenght) and use it for the minipages.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1853 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-29 15:00:20 +00:00
Baruch Even
a266390f64 Added FormCredits dialog (MVC version) by Michael Koziarski.
Fixed some minor bugs in the MVC support in gnome.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1852 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-29 14:47:17 +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
015412da02 Implemented controller-view split for Graphics and Index popups.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1845 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-28 13:11:08 +00:00
Angus Leeming
5e88370300 fix to ControlMinipage
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1844 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-28 13:08:50 +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
Baruch Even
39447abc2d Fixed history id's for the Gnome entry fields.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1842 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-28 12:43:55 +00:00
Baruch Even
bed3713ff0 Fixed compilation problems.
Added infrastructure for MVC dialogs and implemented FormUrl as an MVC dialog.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1841 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-28 11:14:05 +00:00
Jürgen Vigna
b14052f6a5 Changed drawing of button in InsetCollapsable and some Mouse/Curosor fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1840 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-28 09:28:48 +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
833bd37843 various minor bits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1834 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-27 10:44:14 +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
Kalle Dalheimer
c5a0750890 Applied Angus patch to compile on DEC C++ and to avoid name clashes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1830 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-26 19:34:45 +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
24cc3e5be3 Fixed "can't create new inset" bug. Described dialogs' control loop in
controllers/README.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1825 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-26 08:14:39 +00:00
Kalle Dalheimer
0eb38828ca Use same button handling as in XForms frontend
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1824 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-24 15:59:01 +00:00
Kalle Dalheimer
3c7b1cf655 Added missing moc files to Makefile
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1823 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-24 07:50:48 +00:00
Lars Gullik Bjønnes
c5d4a6aa5e add ControlDialogs.h to the sources
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1822 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-23 23:15:33 +00:00
Kalle Dalheimer
ab7778e295 First attempt at converting copyright dialog to MVC architecture
Changed copyright dialog to new naming scheme


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1821 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-23 22:07:56 +00:00
Lars Gullik Bjønnes
e65f49dd51 add Lsstream.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1820 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-23 21:34:24 +00:00
Kalle Dalheimer
07b2bf5e11 Another quick fix to get qt2 frontend to compile
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1819 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-23 21:20:12 +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
5de19b909e ControlCredits::getCredits returns a stringstream not a vector<string>.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1815 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-23 16:10:15 +00:00
Jean-Marc Lasgouttes
ce07524d36 fix print bug & compilation problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1813 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-23 15:16:03 +00:00
Lars Gullik Bjønnes
076298793d add std::
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1809 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-23 07:50:48 +00:00
Kalle Dalheimer
67dc240bc9 quick fix to make qt2 compile
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1808 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-23 06:31:30 +00:00
Lars Gullik Bjønnes
37fbae1415 fix compilation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1804 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-22 14:59:29 +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
Lars Gullik Bjønnes
e77bd048ec fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1800 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-21 19:14:09 +00:00
Angus Leeming
a12309c76b Implementation of controller-view split for FormCharacter.
Some small clean-ups of code in frontends/controllers and frontends/xforms.
Added size_type and size() to Languages in language.h


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1798 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-21 13:27:03 +00:00
Angus Leeming
1e4e0efe0e small fix to ControlCitation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1797 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-20 12:59:37 +00:00