]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/FormCopyright.h
852d051f21040270bd41e69cf865ad20f569dd64
[lyx.git] / src / frontends / qt2 / FormCopyright.h
1 /***************************************************************************
2                           formcopyright.h  -  description
3                              -------------------
4     begin                : Thu Feb 3 2000
5     copyright            : (C) 2000 by Jürgen Vigna
6     email                : jug@sad.it
7  ***************************************************************************/
8
9 /***************************************************************************
10  *                                                                         *
11  *   This program is free software; you can redistribute it and/or modify  *
12  *   it under the terms of the GNU General Public License as published by  *
13  *   the Free Software Foundation; either version 2 of the License, or     *
14  *   (at your option) any later version.                                   *
15  *                                                                         *
16  ***************************************************************************/
17
18 #ifndef FORMCOPYRIGHT_H
19 #define FORMCOPYRIGHT_H
20
21 #include "DialogBase.h"
22 #include "boost/utility.hpp"
23
24 class Dialogs;
25 class LyXView;
26 class FormCopyrightDialog;
27
28 /**
29   @author Jürgen Vigna
30   */
31 class FormCopyright : public DialogBase {
32 public: 
33         FormCopyright(LyXView *, Dialogs *);
34         ~FormCopyright();
35
36 private: 
37         /// Create the dialog if necessary, update it and display it.
38         void show();
39         /// Hide the dialog.
40         void hide();
41
42         /// Real GUI implementation.
43         FormCopyrightDialog * dialog_;
44         /** Which LyXFunc do we use?
45             We could modify Dialogs to have a visible LyXFunc* instead and
46             save a couple of bytes per dialog.
47         */
48         LyXView * lv_;
49         /** Which Dialogs do we belong to?
50             Used so we can get at the signals we have to connect to.
51         */
52         Dialogs * d_;
53         /// Hide connection.
54         Connection h_;
55 };
56
57 #endif