Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

infowin.h

Go to the documentation of this file.
00001 #ifndef __INFOWIN_H
00002 #define __INFOWIN_H
00003 
00004 #include <qlabel.h>
00005 class QString;
00006 class QMultiLineEdit;
00007 
00008 class infowin : public QWidget
00009 {
00010 Q_OBJECT
00011     QLabel* fileSize;
00012     QLabel* textSize;
00013     QLabel* ratio;
00014     QLabel* location;
00015     QLabel* read;
00016     QLabel* docread;
00017     QLabel* docSize;
00018     QLabel* docLocation;
00019     QLabel* zoom;
00020     QMultiLineEdit* aboutbox;
00021 public:
00022     infowin::infowin( QWidget *parent=0, const char *name=0, WFlags f = 0);
00023     void setFileSize(int sz) { fileSize->setNum(sz); }
00024     void setTextSize(int sz) { textSize->setNum(sz); }
00025     void setRatio(int sz) { ratio->setText(QString().setNum(sz)+"%"); }
00026     void setLocation(int sz) { location->setNum(sz); }
00027     void setRead(int sz) { read->setText(QString().setNum(sz)+"%"); }
00028     void setDocRead(int sz) { docread->setText(QString().setNum(sz)+"%"); }
00029     void setZoom(int sz) { zoom->setText(QString().setNum(sz)+"%"); }
00030     void setDocSize(int sz) { docSize->setNum(sz); }
00031     void setDocLocation(int sz) { docLocation->setNum(sz); }
00032     void setAbout(const QString& s);
00033 private slots:
00034     void infoClose() { emit Close(); }
00035  signals:
00036  void Close(); 
00037 };
00038 
00039 #endif

Generated on Sat Nov 5 16:16:55 2005 for OPIE by  doxygen 1.4.2