]> git.lyx.org Git - lyx.git/blob - src/frontends/kde/FormTabularCreate.h
formskdepatchthingie
[lyx.git] / src / frontends / kde / FormTabularCreate.h
1 /**
2  * \file FormTabularCreate.h
3  * Copyright 2001 the LyX Team
4  * Read the file COPYING
5  *
6  * \author John Levon
7  */
8
9 #ifndef FORMTABULARCREATE_H
10 #define FORMTABULARCREATE_H
11
12 #include "DialogBase.h"
13
14 class Dialogs;
15 class LyXView; 
16 class TabularCreateDialog;
17
18 class FormTabularCreate : public DialogBase, public noncopyable {
19 public: 
20         FormTabularCreate(LyXView *, Dialogs *);
21  
22         ~FormTabularCreate();
23
24         /// create the table 
25         void apply(unsigned int rows, unsigned int cols);
26         /// close the connections
27         void close();
28  
29 private:
30         /// Create the dialog if necessary, update it and display it.
31         void show();
32         /// Hide the dialog.
33         void hide();
34  
35         /// Real GUI implementation.
36         TabularCreateDialog * dialog_;
37
38         /// the LyXView we belong to
39         LyXView * lv_;
40  
41         /// Dialogs object
42         Dialogs * d_;
43         
44         /// Hide connection.
45         Connection h_;
46 };
47
48 #endif // FORMTABULARCREATE_H