CAVAPA-GUI  30.5.2014
 All Classes Namespaces Functions Variables Typedefs Enumerations Pages
Public Member Functions | List of all members
cavapa_gui::MetaWidget Class Reference

Represents the widget containing all metadata related to a measurement. More...

#include <metawidget.h>

Inheritance diagram for cavapa_gui::MetaWidget:

Public Member Functions

 MetaWidget (QWidget *parent=0)
 Constructs a new MetaWidget having the specified parent. More...
 
Metadata getMetadata ()
 Gets the Metadata object representing the currently input data. More...
 
void setCanSaveVideos (bool enable)
 Sets whether the user can choose to save videos. More...
 
void setReadOnly (bool flag)
 Sets whether the input elements are read-only. More...
 
void setDefaultDirectory (const QString &path)
 Sets the default directory for the widget. More...
 
void setMetadata (const Metadata &metadata)
 Sets the metadata for the widget. More...
 

Detailed Description

Represents the widget containing all metadata related to a measurement.

Author
Mika Lehtinen

Constructor & Destructor Documentation

cavapa_gui::MetaWidget::MetaWidget ( QWidget *  parent = 0)
explicit

Constructs a new MetaWidget having the specified parent.

Parameters
parentThe parent widget.

Member Function Documentation

Metadata cavapa_gui::MetaWidget::getMetadata ( )

Gets the Metadata object representing the currently input data.

Returns
The Metadata object.
void cavapa_gui::MetaWidget::setCanSaveVideos ( bool  enable)

Sets whether the user can choose to save videos.

Parameters
enableTrue if the user can choose to save videos, false otherwise.
void cavapa_gui::MetaWidget::setDefaultDirectory ( const QString &  path)

Sets the default directory for the widget.

Parameters
pathThe directory path.
void cavapa_gui::MetaWidget::setMetadata ( const Metadata metadata)

Sets the metadata for the widget.

Parameters
metadataThe Metadata object.
void cavapa_gui::MetaWidget::setReadOnly ( bool  flag)

Sets whether the input elements are read-only.

Parameters
flagTrue if the input elements should be in read-only mode, false otherwise.

The documentation for this class was generated from the following files: