]> git.lyx.org Git - lyx.git/blob - src/frontends/kde/FormTabularCreate.h
Move LaTeX and VC logs to GUI-I on xforms
[lyx.git] / src / frontends / kde / FormTabularCreate.h
1 /* FormTabularCreate.h
2  * (C) 2000 LyX Team
3  * John Levon, moz@compsoc.man.ac.uk
4  */
5
6 /***************************************************************************
7  *                                                                         *
8  *   This program is free software; you can redistribute it and/or modify  *
9  *   it under the terms of the GNU General Public License as published by  *
10  *   the Free Software Foundation; either version 2 of the License, or     *
11  *   (at your option) any later version.                                   *
12  *                                                                         *
13  ***************************************************************************/
14
15 #ifndef FORMTABULARCREATE_H
16 #define FORMTABULARCREATE_H
17
18 #include "DialogBase.h"
19
20 class Dialogs;
21 class LyXView; 
22 class TabularCreateDialog;
23
24 class FormTabularCreate : public DialogBase, public noncopyable {
25 public: 
26         /**@name Constructors and Destructors */
27         //@{
28         ///
29         FormTabularCreate(LyXView *, Dialogs *);
30         /// 
31         ~FormTabularCreate();
32         //@}
33
34         /// create the table 
35         void apply(unsigned int rows, unsigned int cols);
36         /// close the connections
37         void close();
38  
39 private:
40         /// Create the dialog if necessary, update it and display it.
41         void show();
42         /// Hide the dialog.
43         void hide();
44  
45         /// Real GUI implementation.
46         TabularCreateDialog * dialog_;
47
48         /// the LyXView we belong to
49         LyXView * lv_;
50  
51         /** Which Dialogs do we belong to?
52             Used so we can get at the signals we have to connect to.
53         */
54         Dialogs * d_;
55         
56         /// Hide connection.
57         Connection h_;
58 };
59
60 #endif