2 * FormCopyright Interface Class Implementation
7 #include FORMS_H_LOCATION
10 #pragma implementation
15 #include "form_copyright.h"
16 #include "FormCopyright.h"
18 FormCopyright::FormCopyright( LyXView * lv, Dialogs * d )
19 : FormBaseBI(lv, d, _("Copyright and Warranty"),
20 new OkApplyCancelPolicy),
23 // let the dialog be shown
24 // This is a permanent connection so we won't bother
25 // storing a copy because we won't be disconnecting.
26 d->showCopyright.connect(slot(this, &FormCopyright::show));
30 FormCopyright::~FormCopyright()
36 FL_FORM * FormCopyright::form() const
38 if (dialog_ ) return dialog_->form;
43 void FormCopyright::build()
45 dialog_ = build_copyright();
47 // Workaround dumb xforms sizing bug