1 /* This file is part of
2 * =================================================
4 * LyX, The Document Processor
5 * Copyright 1995-2000 The LyX Team.
7 * =================================================
9 * \author Michael Koziarski <michael@koziarski.org>
13 #pragma implementation
21 #include "FormCopyright.h"
22 #include "gnome_helpers.h"
24 #include <gtk--/button.h>
25 #include <gtk--/label.h>
28 FormCopyright::FormCopyright(ControlCopyright & c)
29 : FormCB<ControlCopyright>(c, "diahelpcopyright.glade", "DiaHelpCopyright")
34 void FormCopyright::build()
36 ok()->clicked.connect(SigC::slot(this, &FormCopyright::CancelClicked));
37 copyright()->set(controller().getCopyright());
38 license()->set(controller().getLicence());
39 disclaimer()->set(controller().getDisclaimer());
43 Gtk::Button * FormCopyright::ok()
45 return getWidget<Gtk::Button>("copyright_button_ok");
48 Gtk::Label * FormCopyright::disclaimer()
50 return getWidget<Gtk::Label>("copyright_disclaimer");
53 Gtk::Label * FormCopyright::copyright()
55 return getWidget<Gtk::Label>("copyright_copyright");
58 Gtk::Label * FormCopyright::license()
60 return getWidget<Gtk::Label>("copyright_license");