Blokkal::Ui::View Class Reference
This class is the base for all views. More...
#include <view.h>
Inheritance diagram for Blokkal::Ui::View:
Public Member Functions | |
virtual bool | closeView (void)=0 |
virtual void | hideView (void)=0 |
virtual QWidget * | mainWidget (void)=0 |
virtual void | showView (void)=0 |
View (void) | |
virtual | ~View (void) |
Static Protected Member Functions | |
static Blokkal::Ui::HtmlEntryTextEdit * | entryTextEdit (Blokkal::Ui::EditEntryWidget *widget) |
Detailed Description
This class is the base for all views.Views are containers used to display widgets like EditEntryWidget or may build all widgets on their own. In most cases implementations of this interface will be subclasses of KMainWindow or KDialogBase.
- Note:
- Views are expected to destroy themselves!
Definition at line 41 of file view.h.
Constructor & Destructor Documentation
Member Function Documentation
virtual bool Blokkal::Ui::View::closeView | ( | void | ) | [pure virtual] |
Closes the view. If this method returns TRUE the view has been closed.
- Note:
- In this case the view must destroy itself.
Implemented in Blokkal::Ui::MainWindowView.
Blokkal::Ui::HtmlEntryTextEdit * Blokkal::Ui::View::entryTextEdit | ( | Blokkal::Ui::EditEntryWidget * | widget | ) | [static, protected] |
virtual void Blokkal::Ui::View::hideView | ( | void | ) | [pure virtual] |
Hides the view
Implemented in Blokkal::Ui::MainWindowView.
virtual QWidget* Blokkal::Ui::View::mainWidget | ( | void | ) | [pure virtual] |
Returns the main widget of this view.
- Returns:
- the main widget
Implemented in Blokkal::Ui::MainWindowView.
virtual void Blokkal::Ui::View::showView | ( | void | ) | [pure virtual] |
Makes the view visible.
Implemented in Blokkal::Ui::MainWindowView.
The documentation for this class was generated from the following files: