The central widget of the MainWindow. More...
#include <contentview.h>
Public Member Functions | |
ContentView (QWidget *parent=0) | |
~ContentView () | |
void | setNode (Node *node) |
The central widget of the MainWindow.
This ContentView shows the widget providet by an AbstractNodeContent or if not available the WelcomeView.
ContentView::ContentView | ( | QWidget * | parent = 0 |
) |
The constructor.
Constructs the ContentView which is a child of parent. The initial widget is the WelcomeView.
parent | The parent of this ContentView. |
ContentView::~ContentView | ( | ) |
The destructor.
Destroys the object.
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.
node | The content of this node will be displayed. If it is 0 the WelcomeView will be shown. |