UNNAMED_READER/corelibrary
UNNAMED_READER::presentationWidget Class Reference
#include <presentationWidget.h>
Inheritance diagram for UNNAMED_READER::presentationWidget:

Detailed Description
UNNAMED_READER Full Screen Widget.
- Note:
- At times, presentationWidgets delete themselves by using the method "deleteLater()", e.g. when a document is corruped, or when the user asks to close the document. This has a few consequences:
- since deletion takes place in the event loop of the render thread, only the render thread may use pointers to presentationWidgets
- even in the render thread, never store a pointer to a render class; the pointer may become invalid next time control is given to the event loop. Use a QPointer instead, and make sure to check its validity before use.
Definition at line 51 of file presentationWidget.h.
Public Member Functions | |
| presentationWidget (QWidget *parent) | |
| virtual | ~presentationWidget () |
Protected Member Functions | |
| virtual void | keyPressEvent (QKeyEvent *event) |
Protected Attributes | |
| Ui_presentationWidget * | dlg |
Constructor & Destructor Documentation
| UNNAMED_READER::presentationWidget::presentationWidget | ( | QWidget * | parent | ) |
Default Constructor.
This method constructs a new presentation widget.
Definition at line 32 of file presentationWidget.cpp.
| UNNAMED_READER::presentationWidget::~presentationWidget | ( | ) | [virtual] |
Member Function Documentation
| void UNNAMED_READER::presentationWidget::keyPressEvent | ( | QKeyEvent * | event | ) | [protected, virtual] |
Closes the widget when 'ESC' is pressed.
Reimplemented from QWidget.
Definition at line 58 of file presentationWidget.cpp.
Member Data Documentation
Ui_presentationWidget* UNNAMED_READER::presentationWidget::dlg [protected] |
Pointer to the class created by the Qt designer this sets up the GUI.
Definition at line 74 of file presentationWidget.h.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference