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

YQLogView.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:       YQLogView.h
00014 
00015   Author:     Stefan Hundhammer <sh@suse.de>
00016 
00017 /-*/
00018 
00019 // -*- c++ -*-
00020 
00021 #ifndef YQLogView_h
00022 #define YQLogView_h
00023 
00024 #include <qvbox.h>
00025 #include <qlabel.h>
00026 #include <qmultilineedit.h>
00027 #include <ycp/YCPString.h>
00028 
00029 #include "YLogView.h"
00030 
00031 
00032 class YQLogView : public QVBox, public YLogView
00033 {
00034     Q_OBJECT
00035     
00036 public:
00037     
00041     YQLogView( QWidget *                parent,
00042                const YWidgetOpt &       opt,
00043                const YCPString &        label,
00044                int                      visibleLines,
00045                int                      maxLines );
00046 
00052     void setEnabling( bool enabled );
00053 
00059     long nicesize( YUIDimension dim );
00060 
00064     void setSize( long newWidth, long newHeight );
00065 
00069     bool setKeyboardFocus();
00070 
00074     void setLabel( const YCPString & newLabel );
00075 
00079     void setLogText( const YCPString & text );
00080 
00081 
00082 protected:
00083 
00084     //
00085     // Data members
00086     //
00087 
00088     QLabel              * _qt_label;
00089     QMultiLineEdit      * _qt_text;
00090 };
00091 
00092 
00093 #endif // YQLogView_h

Generated on Wed Sep 14 10:59:02 2005 for yast2-qt by  doxygen 1.4.4