]> icculus.org git repositories - duncan/yast2-web-wt.git/blob - src/YWebDialog.h
widget representation and dialog
[duncan/yast2-web-wt.git] / src / YWebDialog.h
1 /*---------------------------------------------------------------------\
2 |                                                                      |
3 |                      __   __    ____ _____ ____                      |
4 |                      \ \ / /_ _/ ___|_   _|___ \                     |
5 |                       \ V / _` \___ \ | |   __) |                    |
6 |                        | | (_| |___) || |  / __/                     |
7 |                        |_|\__,_|____/ |_| |_____|                    |
8 |                                                                      |
9 |                               core system                            |
10 |                                                        (C) SuSE GmbH |
11 \----------------------------------------------------------------------/
12
13   File:         YWebDialog.h
14
15   Author:       Stefan Hundhammer <sh@suse.de>
16
17 /-*/
18
19
20 #ifndef YWebDialog_h
21 #define YWebDialog_h
22
23 #include <yui/YDialog.h>
24 #include <WContainerWidget>
25 #include <stack>
26
27
28 class YWebDialog : public YDialog, public Wt::WContainerWidget
29 {
30 public:
31
32     /**
33      * Constructor.
34      **/
35     YWebDialog( const YWidgetOpt & opt, Wt::WContainerWidget *parent );
36
37     /**
38      * Destructor.
39      * Don't delete a dialog directly, use YWebDialog::deleteTopmostDialog().
40      **/
41     virtual ~YWebDialog();
42
43     /**
44      * Returns a descriptive name of this widget class for logging,
45      * debugging etc.
46      **/
47     virtual const char * widgetClass() const { return "YWebDialog"; }
48
49 };
50
51
52 #endif // YWebDialog_h