InfoSidebar Class Reference

Sidebar to show informations about a node. More...

#include <infosidebar.h>

List of all members.

Public Member Functions

 InfoSidebar (const QString &title, QWidget *parent=0, Qt::WindowFlags flags=0)
 ~InfoSidebar ()
void setData (Node *data)
void clearInfos ()

Detailed Description

Sidebar to show informations about a node.

This sidebar shows informations about a node. It is allowed at the left and right dockingwidgetarea.

It shows, the caption, an icon, the creation and modification date, the labels and all available metainformations of the node.

Author:
Manuel Unglaub

Constructor & Destructor Documentation

InfoSidebar::InfoSidebar ( const QString &  title,
QWidget *  parent = 0,
Qt::WindowFlags  flags = 0 
)

The constructor.

Constructs a InfoSidebar which is a child of parent and has the provided window flags. The InfoSidebar will be placed in the right dock widget area.

The window title is set to title. This title is used when the InfoSidebar is docked and undocked. It is also used in the context menu provided by MainWindow. The parameters will be passed to the QDockWidget constructor.

Parameters:
title The title of the InfoSidebar.
parent The parent of this InfoSidebar.
flags The window flags of this InfoSidebar.
InfoSidebar::~InfoSidebar (  ) 

The destructor

Destroys the object.


Member Function Documentation

void InfoSidebar::clearInfos (  ) 

Clear out the informations shown at this InfoSidebar.

void InfoSidebar::setData ( Node data  ) 

Provide this InfoSidebar with a node to show information about.

Parameters:
data The node wich informations will be displayed.

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