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

PoqetPresenter Class Reference

Main window class. More...

#include <poqet.h>

Inheritance diagram for PoqetPresenter:

PoqetP List of all members.

Public Slots

virtual void fileOpen ()
 Opens file selector.

virtual void fileExit ()
 Exits.

virtual void helpAbout ()
 Shows about dialog.

virtual void viewNextPage ()
 Shows next page.

virtual void viewPrevPage ()
 Shows previous page.

virtual void selectorShow ()
 Shows file selector.

virtual void selectorHide ()
 Hides file selector.

virtual void updatePage ()
 Updates current page display.

virtual void updatePage (int i)
 Updates page.

virtual void selectorFileOpen (const DocLnk &lnkDoc)
 Opens file.

virtual void setDocument (const QString &fileref)
 Sets internal document reference name.

virtual void magnifyUpdate (int index)
 Changes magnification and updates page.

virtual void startProgressBar (int count)
 Sets up progress bar.

virtual void stopProgressBar ()
 Stops progress bar.

virtual void offFullscreenHandler ()
 Updates internal flags for non-fullscreen mode.

virtual void keyPressEvent (QKeyEvent *e)
 Handles key presses passed from child widget.


Public Methods

 PoqetPresenter (QWidget *parent=0, const char *name=0, WFlags fl=WType_TopLevel)
 ~PoqetPresenter ()

Public Attributes

PresentationBrowserPresentationBrowser3
 Child widget.

QTabWidget * TabW
 Child widget.

QWidget * TabPB
 Child widget.

QWidget * TabMeta
 Child widget.

QWidget * TabNotes
 Child widget.

MenuButton * Mag
 Child widget.

QSlider * Slider1
 Child widget.

QLabel * PageLabel
 Child widget.

QListView * MetaView
 Child widget.

QTextView * PNotes
 Child widget.

QPopupMenu * fileMenu
 Child widget.

QPopupMenu * helpMenu
 Child widget.

QPopupMenu * pageMenu
 Child widget.

QProgressBar * Progress
 Child widget.

QAction * fileOpenAction
 QAction for opening.

QAction * fileExitAction
 QAction for exiting.

QAction * helpAboutAction
 QAction for about dialog.

QAction * nextPageAction
 QAction for advancing to next page.

QAction * prevPageAction
 QAction for going to previous page.

DocLnk currentDoc
 Child widget.

QPEMenuBar * menubar
 Child widget.

QPEToolBar * toolbar
 Child widget.

FileSelector * fileSelector
 Child widget.


Protected Attributes

QWidget * cw
 Pointer to central widget.

QCanvas canvas
 Pointer to canvas.


Private Methods

void Menus ()
 Sets up menus. Internal use only.

void Widgets ()
 Sets up actions. Internal use only.

void Actions ()
 Sets up widgets. Internal use only.

void Toolbars ()
 Sets up toolbars. Internal use only.

void SigsNSlots ()
 Sets up signals and slots. Internal use only.


Detailed Description

Author:
Ryan Rusaw

Definition at line 53 of file poqet.h.


Constructor & Destructor Documentation

PoqetPresenter::PoqetPresenter QWidget *    parent = 0,
const char *    name = 0,
WFlags    fl = WType_TopLevel
 

Constructor

Parameters:
parent  Parent widget
name  widget name
fl  widget flags

PoqetPresenter::~PoqetPresenter  
 

Deconstructor


Member Function Documentation

void PoqetPresenter::Actions   [private]
 

virtual void PoqetPresenter::fileExit   [virtual, slot]
 

Reimplemented in PoqetP.

virtual void PoqetPresenter::fileOpen   [virtual, slot]
 

Reimplemented in PoqetP.

virtual void PoqetPresenter::helpAbout   [virtual, slot]
 

Reimplemented in PoqetP.

virtual void PoqetPresenter::keyPressEvent QKeyEvent *    e [virtual, slot]
 

Parameters:
e  event

Reimplemented in PoqetP.

virtual void PoqetPresenter::magnifyUpdate int    index [virtual, slot]
 

Parameters:
index  size to change to

Reimplemented in PoqetP.

void PoqetPresenter::Menus   [private]
 

virtual void PoqetPresenter::offFullscreenHandler   [virtual, slot]
 

Reimplemented in PoqetP.

virtual void PoqetPresenter::selectorFileOpen const DocLnk &    lnkDoc [virtual, slot]
 

Parameters:
lnkDoc  document to open

Reimplemented in PoqetP.

virtual void PoqetPresenter::selectorHide   [virtual, slot]
 

Reimplemented in PoqetP.

virtual void PoqetPresenter::selectorShow   [virtual, slot]
 

Reimplemented in PoqetP.

virtual void PoqetPresenter::setDocument const QString &    fileref [virtual, slot]
 

Parameters:
fileref  name

Reimplemented in PoqetP.

void PoqetPresenter::SigsNSlots   [private]
 

virtual void PoqetPresenter::startProgressBar int    count [virtual, slot]
 

Parameters:
count  number of progress steps

Reimplemented in PoqetP.

virtual void PoqetPresenter::stopProgressBar   [virtual, slot]
 

Reimplemented in PoqetP.

void PoqetPresenter::Toolbars   [private]
 

virtual void PoqetPresenter::updatePage int    i [virtual, slot]
 

Parameters:
i  page to update

Reimplemented in PoqetP.

virtual void PoqetPresenter::updatePage   [virtual, slot]
 

Reimplemented in PoqetP.

virtual void PoqetPresenter::viewNextPage   [virtual, slot]
 

Reimplemented in PoqetP.

virtual void PoqetPresenter::viewPrevPage   [virtual, slot]
 

Reimplemented in PoqetP.

void PoqetPresenter::Widgets   [private]
 


Member Data Documentation

QCanvas PoqetPresenter::canvas [protected]
 

Definition at line 264 of file poqet.h.

DocLnk PoqetPresenter::currentDoc
 

Definition at line 148 of file poqet.h.

QWidget* PoqetPresenter::cw [protected]
 

Definition at line 260 of file poqet.h.

QAction* PoqetPresenter::fileExitAction
 

Definition at line 132 of file poqet.h.

QPopupMenu* PoqetPresenter::fileMenu
 

Definition at line 112 of file poqet.h.

QAction* PoqetPresenter::fileOpenAction
 

Definition at line 128 of file poqet.h.

FileSelector* PoqetPresenter::fileSelector
 

Definition at line 160 of file poqet.h.

QAction* PoqetPresenter::helpAboutAction
 

Definition at line 136 of file poqet.h.

QPopupMenu* PoqetPresenter::helpMenu
 

Definition at line 116 of file poqet.h.

MenuButton* PoqetPresenter::Mag
 

Definition at line 92 of file poqet.h.

QPEMenuBar* PoqetPresenter::menubar
 

Definition at line 152 of file poqet.h.

QListView* PoqetPresenter::MetaView
 

Definition at line 104 of file poqet.h.

QAction* PoqetPresenter::nextPageAction
 

Definition at line 140 of file poqet.h.

QLabel* PoqetPresenter::PageLabel
 

Definition at line 100 of file poqet.h.

QPopupMenu* PoqetPresenter::pageMenu
 

Definition at line 120 of file poqet.h.

QTextView* PoqetPresenter::PNotes
 

Definition at line 108 of file poqet.h.

PresentationBrowser* PoqetPresenter::PresentationBrowser3
 

Definition at line 72 of file poqet.h.

QAction* PoqetPresenter::prevPageAction
 

Definition at line 144 of file poqet.h.

QProgressBar* PoqetPresenter::Progress
 

Definition at line 124 of file poqet.h.

QSlider* PoqetPresenter::Slider1
 

Definition at line 96 of file poqet.h.

QWidget* PoqetPresenter::TabMeta
 

Definition at line 84 of file poqet.h.

QWidget* PoqetPresenter::TabNotes
 

Definition at line 88 of file poqet.h.

QWidget* PoqetPresenter::TabPB
 

Definition at line 80 of file poqet.h.

QTabWidget* PoqetPresenter::TabW
 

Definition at line 76 of file poqet.h.

QPEToolBar* PoqetPresenter::toolbar
 

Definition at line 156 of file poqet.h.


The documentation for this class was generated from the following file:
Generated on Sun Feb 2 21:28:29 2003 for PoqetPresenter by doxygen1.2.18