Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

GUI Class Template Reference

This class makes a whole out of the disparate parts of a dialog. More...

#include <GUI.h>

Inheritance diagram for GUI:

Inheritance graph
[legend]
Collaboration diagram for GUI:

Collaboration graph
[legend]
List of all members.

Public Methods

 GUI (LyXView &lv, Dialogs &d)
Controller & controller ()
Controller const & controller () const

Private Attributes

Controller controller_
GUIview view_

Detailed Description

template<typename Controller, typename GUIview, typename Policy, typename GUIbc>
class GUI< Controller, GUIview, Policy, GUIbc >

This class makes a whole out of the disparate parts of a dialog.

Definition at line 23 of file GUI.h.


Constructor & Destructor Documentation

template<typename Controller, typename GUIview, typename Policy, typename GUIbc>
GUI< Controller, GUIview, Policy, GUIbc >::GUI LyXView   lv,
Dialogs   d
 

Definition at line 41 of file GUI.h.

References controller_, and view_.

00042         : controller_(lv, d),
00043           view_()
00044 {
00045         controller_.setView(view_);
00046         view_.setController(controller_);
00047         controller_.bc().view(new GUIbc(controller_.bc()));
00048         controller_.bc().bp(new Policy);
00049 }


Member Function Documentation

template<typename Controller, typename GUIview, typename Policy, typename GUIbc>
Controller const& GUI< Controller, GUIview, Policy, GUIbc >::controller   const [inline]
 

Definition at line 30 of file GUI.h.

00030 { return controller_; }

template<typename Controller, typename GUIview, typename Policy, typename GUIbc>
Controller& GUI< Controller, GUIview, Policy, GUIbc >::controller   [inline]
 

Definition at line 28 of file GUI.h.

00028 { return controller_; }


Member Data Documentation

template<typename Controller, typename GUIview, typename Policy, typename GUIbc>
Controller GUI::controller_ [private]
 

Definition at line 33 of file GUI.h.

Referenced by GUI< ControlPrint, FormPrint, OkApplyCancelPolicy, xformsBC >::controller, and GUI.

template<typename Controller, typename GUIview, typename Policy, typename GUIbc>
GUIview GUI::view_ [private]
 

Definition at line 35 of file GUI.h.

Referenced by GUI.


The documentation for this class was generated from the following file:
Generated on Fri Jul 18 01:17:20 2003 for lyx by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002