Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

poqet.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           poqet.h  -  description
00003                              -------------------
00004     begin                : Thu Jul 11 2002
00005     copyright            : (C) 2002 by Ryan Rusaw
00006     email                : rrusaw@sasktel.net
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016 
00017  ***************************************************************************/
00018 #ifndef POQETPRESENTER_H
00019 #define POQETPRESENTER_H
00020 
00021 #include <qvariant.h>
00022 #include <qmainwindow.h>
00023 #include <qmessagebox.h>
00024 #include <qtabwidget.h>
00025 #include <qcheckbox.h>
00026 #include <qtextview.h>
00027 #include <qstack.h>
00028 #include <qlistview.h>
00029 #include <qprogressbar.h>
00030 #include <qpe/applnk.h>
00031 #include <qpe/fileselector.h>
00032 #include <qpe/qpemenubar.h>
00033 #include <qpe/menubutton.h>
00034 #include <qpe/qpetoolbar.h>
00035 #include <qcanvas.h>
00036 #include "pcontent.h"
00037 
00038 class QVBoxLayout; 
00039 class QHBoxLayout; 
00040 class QGridLayout; 
00041 class QAction;
00042 class QActionGroup;
00043 class QToolBar;
00044 class QPopupMenu;
00045 class PresentationBrowser;
00046 class QSlider;
00047 
00048 
00053 class PoqetPresenter : public QMainWindow
00054 { 
00055     Q_OBJECT
00056 
00057 public:
00064     PoqetPresenter( QWidget* parent = 0, const char* name = 0, WFlags fl = WType_TopLevel );
00068     ~PoqetPresenter();
00072     PresentationBrowser* PresentationBrowser3;
00076     QTabWidget *TabW;
00080     QWidget *TabPB;
00084     QWidget *TabMeta;
00088     QWidget *TabNotes;
00092     MenuButton *Mag;
00096     QSlider* Slider1;
00100     QLabel* PageLabel;
00104     QListView* MetaView;
00108     QTextView* PNotes;
00112     QPopupMenu *fileMenu;
00116     QPopupMenu *helpMenu;
00120     QPopupMenu *pageMenu;
00124     QProgressBar *Progress;
00128     QAction* fileOpenAction;
00132     QAction* fileExitAction;
00136     QAction* helpAboutAction;
00140     QAction* nextPageAction;
00144     QAction* prevPageAction;
00148     DocLnk currentDoc;
00152     QPEMenuBar *menubar;
00156     QPEToolBar *toolbar;
00160     FileSelector *fileSelector;
00161     
00162 public slots:
00166     virtual void fileOpen();
00170     virtual void fileExit();
00174     virtual void helpAbout();
00178     virtual void viewNextPage();
00182     virtual void viewPrevPage();
00186     virtual void selectorShow();
00190     virtual void selectorHide();
00194     virtual void updatePage();
00199     virtual void updatePage(int i);
00204     virtual void selectorFileOpen(const DocLnk &lnkDoc);
00209     virtual void setDocument(const QString &fileref);
00214     virtual void magnifyUpdate(int index);
00219     virtual void startProgressBar(int count);
00223     virtual void stopProgressBar();
00227     virtual void offFullscreenHandler();
00232     virtual void keyPressEvent(QKeyEvent *e);
00233 
00234 private:
00238     void Menus();
00242     void Widgets();
00246     void Actions();
00250     void Toolbars();
00254     void SigsNSlots();
00255 
00256 protected:
00260     QWidget *cw;
00264     QCanvas canvas;
00265 
00266 };
00267 
00268 #endif // POQETPRESENTER_H
00269 

Generated on Sun Feb 2 21:28:28 2003 for PoqetPresenter by doxygen1.2.18