sublime
Sublime::View Class Reference
#include <view.h>
Inheritance diagram for Sublime::View:

Detailed Description
View - the wrapper to the widget that knows about its document.Views are the convenient way to manage a widget. It is specifically designed to be light and fast. Use Document::createView() to get the new view for the document and call View::widget() to create and get the actual widget.
It is not possible to create a view by hand. You need either subclass it or use a Document.
If you create a subclass of View you need to override Sublime::View::createWidget to provide a custom widget for your view.
Definition at line 45 of file view.h.
Public Slots | |
| void | requestRaise () |
Signals | |
| void | raise (Sublime::View *) |
| void | statusChanged (Sublime::View *) |
Public Member Functions | |
| Document * | document () const |
| bool | hasWidget () const |
| virtual void | setState (const QString &state) |
| QList< QAction * > | toolBarActions () const |
| virtual QString | viewState () const |
| virtual QString | viewStatus () const |
| QWidget * | widget (QWidget *parent=0) |
Protected Member Functions | |
| virtual QWidget * | createWidget (QWidget *parent) |
| View (Document *doc) | |
Member Function Documentation
| Document * Sublime::View::document | ( | ) | const |
| bool Sublime::View::hasWidget | ( | ) | const |
| void Sublime::View::setState | ( | const QString & | state | ) | [virtual] |
| void Sublime::View::statusChanged | ( | Sublime::View * | ) | [signal] |
Notify that the status for this document has changed.
| QString Sublime::View::viewState | ( | ) | const [virtual] |
| QString Sublime::View::viewStatus | ( | ) | const [virtual] |
The documentation for this class was generated from the following files:
KDE 4.2 API Reference