Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

YQWizardButton.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                                                                      |
00003 |                      __   __    ____ _____ ____                      |
00004 |                      \ \ / /_ _/ ___|_   _|___ \                     |
00005 |                       \ V / _` \___ \ | |   __) |                    |
00006 |                        | | (_| |___) || |  / __/                     |
00007 |                        |_|\__,_|____/ |_| |_____|                    |
00008 |                                                                      |
00009 |                               core system                            |
00010 |                                                        (C) SuSE GmbH |
00011 \----------------------------------------------------------------------/
00012 
00013   File:       YQWizardButton.h
00014 
00015   Author:     Stefan Hundhammer <sh@suse.de>
00016 
00017 /-*/
00018 
00019 // -*- c++ -*-
00020 
00021 #ifndef YQWizardButton_h
00022 #define YQWizardButton_h
00023 
00024 #include <qwidget.h>
00025 #include <ycp/YCPString.h>
00026 
00027 #include "YQGenericButton.h"
00028 
00029 
00030 class YQDialog;
00031 class YQWizard;
00032 
00033 
00034 class YQWizardButton : public YQGenericButton
00035 {
00036     Q_OBJECT
00037 
00038 public:
00042     YQWizardButton( YQWizard *          wizard,
00043                     YQDialog *          dialog,
00044                     QWidget *           buttonParent,
00045                     const YCPString &   label,
00046                     const YCPValue &    id );
00047 
00051     virtual ~YQWizardButton();
00052 
00057     virtual char *widgetClass() { return "YQWizardButton"; }
00058 
00062     void hide();
00063 
00068     void show();
00069 
00073     bool isShown() const;
00074         
00078     bool isHidden() const;
00079         
00085     long nicesize( YUIDimension dim ) { return 0; }
00086 
00092     void setSize( long newWidth, long newHeight ) {}
00093 
00097     YQWizard * wizard() const { return _wizard; }
00098 
00099 signals:
00100 
00104     void clicked();
00105 
00106     
00107 private:
00108 
00109     YQWizard * _wizard;
00110 };
00111 
00112 #endif // YQWizardButton_h

Generated on Wed Nov 12 06:11:16 2008 for yast2-qt by  doxygen 1.3.9.1