author | pohly <pohly> | 2004-08-24 20:52:45 (UTC) |
---|---|---|
committer | pohly <pohly> | 2004-08-24 20:52:45 (UTC) |
commit | 73253e93327cf4ef0932de1b4afb56af22a0f37e (patch) (side-by-side diff) | |
tree | 1c9a7a6dd3341e036a894d348a3372525d29acec /noncore/apps/opie-reader/infowin.h | |
parent | e90847c784c48bd21bf8768cb38edb853b832697 (diff) | |
download | opie-73253e93327cf4ef0932de1b4afb56af22a0f37e.zip opie-73253e93327cf4ef0932de1b4afb56af22a0f37e.tar.gz opie-73253e93327cf4ef0932de1b4afb56af22a0f37e.tar.bz2 |
updated source to opie-reader 0.7g
Diffstat (limited to 'noncore/apps/opie-reader/infowin.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/infowin.h | 37 |
1 files changed, 12 insertions, 25 deletions
diff --git a/noncore/apps/opie-reader/infowin.h b/noncore/apps/opie-reader/infowin.h index 9ddce36..6f0fb99 100644 --- a/noncore/apps/opie-reader/infowin.h +++ b/noncore/apps/opie-reader/infowin.h @@ -3,6 +3,5 @@ -#include <qlayout.h> -#include <qpushbutton.h> -#include <qgrid.h> #include <qlabel.h> +class QString; +class QMultiLineEdit; @@ -16,11 +15,9 @@ Q_OBJECT QLabel* read; - QGridLayout* grid; + QLabel* docread; + QLabel* docSize; + QLabel* docLocation; + QLabel* zoom; + QMultiLineEdit* aboutbox; public: infowin::infowin( QWidget *parent=0, const char *name=0, WFlags f = 0); -/* - void addcancel(QPushButton* exitbutton) - { - grid->addWidget(exitbutton, 5, 1); - } -*/ void setFileSize(int sz) { fileSize->setNum(sz); } @@ -30,17 +27,7 @@ public: void setRead(int sz) { read->setText(QString().setNum(sz)+"%"); } -/* - virtual void keyPressEvent(QKeyEvent* e) - { - printf("Received:%d\n", e->key()); - switch (e->key()) - { - case Key_Escape: - e->accept(); - emit Close(); - break; - default: - e->ignore(); - } - } -*/ + void setDocRead(int sz) { docread->setText(QString().setNum(sz)+"%"); } + void setZoom(int sz) { zoom->setText(QString().setNum(sz)+"%"); } + void setDocSize(int sz) { docSize->setNum(sz); } + void setDocLocation(int sz) { docLocation->setNum(sz); } + void setAbout(const QString& s); private slots: |