YColoredLabel.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:       YColoredLabel.h
00014 
00015   Author:     Stefan Hundhammer <sh@suse.de>
00016 
00017 /-*/
00018 
00019 #ifndef YColoredLabel_h
00020 #define YColoredLabel_h
00021 
00022 #include "YWidget.h"
00023 #include <ycp/YCPString.h>
00024 
00028 class YColoredLabel : public YWidget
00029 {
00030 public:
00031 
00036     YColoredLabel( const YWidgetOpt & opt, YCPString text );
00037 
00042     virtual char *widgetClass() { return "YColoredLabel"; }
00043 
00047     YCPValue changeWidget( const YCPSymbol & property, const YCPValue & newvalue );
00048 
00052     YCPValue queryWidget( const YCPSymbol & property );
00053 
00058     virtual void setLabel( const YCPString & label );
00059 
00065     YCPString getLabel();
00066 
00067 protected:
00071     YCPString text;
00072 };
00073 
00074 
00075 #endif // YColoredLabel_h

Generated on Fri Jun 16 18:07:45 2006 for yast2-core by  doxygen 1.4.6