]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormUrl.h
try this for distinguishing inner and outer tabs
[lyx.git] / src / frontends / xforms / FormUrl.h
1 // -*- C++ -*-
2 /* This file is part of
3  * ====================================================== 
4  *
5  *           LyX, The Document Processor
6  *
7  *           Copyright 2000 The LyX Team.
8  *
9  * ======================================================
10  */
11
12 #ifndef FORMURL_H
13 #define FORMURL_H
14
15 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include "FormInset.h"
20 struct FD_form_url;
21
22 /** This class provides an XForms implementation of the FormUrl Dialog.
23  */
24 class FormUrl : public FormCommand {
25 public:
26         ///
27         FormUrl(LyXView *, Dialogs *);
28         ///
29         ~FormUrl();
30 private:
31         /// Connect signals etc. Set form's max size.
32         virtual void connect();
33         /// Build the dialog
34         virtual void build();
35         /// Update dialog before showing it
36         virtual void update();
37         /// Apply from dialog (modify or create inset)
38         virtual void apply();
39         /// Pointer to the actual instantiation of the xform's form
40         virtual FL_FORM * form() const;
41         ///
42         FD_form_url * build_url();
43         /// Real GUI implementation.
44         FD_form_url * dialog_;
45 };
46
47 #endif