#include <pbrowser.h>
Signals | |
void | renderProgressStart (int) |
signals when rendering starts | |
void | renderProgressUpdate (int) |
signals for internal rendering step | |
void | offFullscreen () |
signals when changing from fullscreen mode | |
void | keyPressedInFullscreenEvent (QKeyEvent *) |
signals when keypressed in fullscreen mode | |
Public Methods | |
PresentationBrowser (QCanvas *c, QWidget *w, const char *name, WFlags fl=0) | |
Constructor. | |
~PresentationBrowser () | |
Deconstructor. | |
void | parseFiles (const DocLnk &lnkDoc) |
Parses files into into pXmlNode tree's. | |
int | pageCount () |
The page count of the current document. | |
void | renderPage (int i) |
renders the given page to canvas | |
void | clearPage () |
clears the canvas | |
void | setFactor (int f) |
Sets the scale factor 0 = Scale factor 1x 1 = Scale factor 2x 2 = Scale factor 3x 3 = Scale factor full page. | |
void | setReplace (bool r) |
Sets the boolean replace objects flag. | |
void | resizeEvent (QResizeEvent *e) |
Event handler for resize events. | |
void | focusInEvent (QFocusEvent *e) |
Event handler for focus in events. | |
void | enableFullscreen () |
Enables fullscreen mode. | |
void | setFullscreen (bool) |
Sets internal fullsize mode flag. | |
void | showFullscreenPixmap () |
Displays Canvas to fullscreen as a pixmap. | |
Public Attributes | |
PParser * | handler |
XML handler for document. | |
QList< QByteArray > | objectfilelist |
list of subobject documents files. | |
QList< QString > | objectnamelist |
list of all subobject documents names. | |
Protected Methods | |
void | contentsMousePressEvent (QMouseEvent *e) |
Event handler for mouse press events. | |
Private Methods | |
void | keyPressEvent (QKeyEvent *e) |
Event handler for keypress events. | |
Private Attributes | |
int | pages |
internal page counter | |
float | factor |
Internal rendering factor. | |
int | thispage |
current page number | |
bool | replaceitems |
replace items flag | |
bool | fullscreen |
fullscreen mode flag |
Definition at line 37 of file pbrowser.h.
|
|
|
Definition at line 53 of file pbrowser.h.
00053 { }; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 130 of file pbrowser.h. |
|
Definition at line 142 of file pbrowser.h. |
|
Definition at line 90 of file pbrowser.h. |
|
Definition at line 94 of file pbrowser.h. |
|
Definition at line 98 of file pbrowser.h. |
|
Definition at line 126 of file pbrowser.h. |
|
Definition at line 138 of file pbrowser.h. |
|
Definition at line 134 of file pbrowser.h. |