ContentView Class Reference

The central widget of the MainWindow. More...

#include <contentview.h>

List of all members.

Public Member Functions

 ContentView (QWidget *parent=0)
 ~ContentView ()
void setNode (Node *node)

Detailed Description

The central widget of the MainWindow.

This ContentView shows the widget providet by an AbstractNodeContent or if not available the WelcomeView.

Author:
Manuel Unglaub

Constructor & Destructor Documentation

ContentView::ContentView ( QWidget *  parent = 0  ) 

The constructor.

Constructs the ContentView which is a child of parent. The initial widget is the WelcomeView.

Parameters:
parent The parent of this ContentView.
ContentView::~ContentView (  ) 

The destructor.

Destroys the object.


Member Function Documentation

void ContentView::setNode ( Node node  ) 

Provide this ContentView with a content to display. The ContentView will show the widget provided by the content of the Node.

Parameters:
node The content of this node will be displayed. If it is 0 the WelcomeView will be shown.

The documentation for this class was generated from the following files:
Generated on Fri May 14 19:12:51 2010 for Silence by  doxygen 1.6.3