Represents the widget containing all metadata related to a measurement. More...
#include <metawidget.h>
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... | |
Represents the widget containing all metadata related to a measurement.
|
explicit |
Constructs a new MetaWidget having the specified parent.
parent | The parent widget. |
Metadata cavapa_gui::MetaWidget::getMetadata | ( | ) |
void cavapa_gui::MetaWidget::setCanSaveVideos | ( | bool | enable | ) |
Sets whether the user can choose to save videos.
enable | True 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.
path | The directory path. |
void cavapa_gui::MetaWidget::setMetadata | ( | const Metadata & | metadata | ) |
Sets the metadata for the widget.
metadata | The Metadata object. |
void cavapa_gui::MetaWidget::setReadOnly | ( | bool | flag | ) |
Sets whether the input elements are read-only.
flag | True if the input elements should be in read-only mode, false otherwise. |