2 /* This file is part of
3 * =================================================
5 * LyX, The Document Processor
6 * Copyright 1995-2000 The LyX Team.
8 * =================================================
10 * \author Michael Koziarski <michael@koziarski.org>
14 #pragma implementation
22 #include "FormCopyright.h"
23 #include "gnome_helpers.h"
25 #include <gtk--/button.h>
26 #include <gtk--/label.h>
29 FormCopyright::FormCopyright(ControlCopyright & c)
30 : FormCB<ControlCopyright>(c, "diahelpcopyright.glade", "DiaHelpCopyright")
35 void FormCopyright::build()
37 ok()->clicked.connect(SigC::slot(this, &FormCopyright::CancelClicked));
38 copyright()->set(controller().getCopyright());
39 license()->set(controller().getLicence());
40 disclaimer()->set(controller().getDisclaimer());
44 Gtk::Button * FormCopyright::ok()
46 return getWidget<Gtk::Button>("copyright_button_ok");
49 Gtk::Label * FormCopyright::disclaimer()
51 return getWidget<Gtk::Label>("copyright_disclaimer");
54 Gtk::Label * FormCopyright::copyright()
56 return getWidget<Gtk::Label>("copyright_copyright");
59 Gtk::Label * FormCopyright::license()
61 return getWidget<Gtk::Label>("copyright_license");