00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef YQLabel_h
00023 #define YQLabel_h
00024
00025 #include <qlabel.h>
00026 #include <ycp/YCPString.h>
00027
00028 #include "YLabel.h"
00029
00030
00031 class YQLabel : public QLabel, public YLabel
00032 {
00033 Q_OBJECT
00034
00035 public:
00036
00040 YQLabel( QWidget * parent,
00041 const YWidgetOpt & opt,
00042 YCPString text );
00043
00049 void setEnabling( bool enabled );
00050
00056 long nicesize( YUIDimension dim );
00057
00061 void setSize( long newWidth, long newHeight );
00062
00066 void setLabel( const YCPString & label );
00067 };
00068
00069
00070 #endif // YQLabel_h