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

Class for export dialog of graphwidget. More...

#include <exportdialog.h>

Inheritance diagram for cavapa_gui::ExportDialog:

Signals

void sendTimeStart (QDateTime start)
 Send edited time selection start point to the parent. More...
 
void sendTimeEnd (QDateTime end)
 Send edited time selection end point to the parent. More...
 
bool exportCommand (const ExportOptions &options)
 Passes export command to parent. More...
 

Public Member Functions

 ExportDialog (QWidget *parent=0)
 Constructs exporting dialog for the graph. More...
 
void setTimeEdits (QDateTime start, QDateTime end)
 Sets export dialog's time points (start and end) More...
 
void setMarkers (const std::vector< GraphMarker > markersfrom)
 Sets marker data into export dialog's comboboxes. More...
 
void setBeginTimeFromMarker (int i)
 Sets the begin time of exporting according to a selected marker from the combobox. More...
 
void setEndTimeFromMarker (int i)
 Sets the end time of exporting according to a selected marker from combobox. More...
 
void setBeginDateTime (QDateTime time)
 Gets the starting time of the calculation from the parent that is used in marker position to QDateTime conversion. More...
 
void setBeginFrameTime (FrameTime frame)
 Gets the very first frame of the calculation from the parent that is used in marker to QDateTime conversion. More...
 
void setRelativeTime (bool relative)
 Sets time mode between relative and absolute. More...
 

Detailed Description

Class for export dialog of graphwidget.

Offers options for export types, file path and region selection from markers of graph

Author
Joel Kivelä

Constructor & Destructor Documentation

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

Constructs exporting dialog for the graph.

Parameters
parentQWidget default parent.

Member Function Documentation

bool cavapa_gui::ExportDialog::exportCommand ( const ExportOptions options)
signal

Passes export command to parent.

Parameters
optionsExport Options.
Returns
Success or fail.
void cavapa_gui::ExportDialog::sendTimeEnd ( QDateTime  end)
signal

Send edited time selection end point to the parent.

Parameters
endEnd time point as QDateTime.
void cavapa_gui::ExportDialog::sendTimeStart ( QDateTime  start)
signal

Send edited time selection start point to the parent.

Parameters
startStart time point as QDateTime.
void cavapa_gui::ExportDialog::setBeginDateTime ( QDateTime  time)

Gets the starting time of the calculation from the parent that is used in marker position to QDateTime conversion.

Parameters
timeStarting time as QDateTime.
void cavapa_gui::ExportDialog::setBeginFrameTime ( FrameTime  frame)

Gets the very first frame of the calculation from the parent that is used in marker to QDateTime conversion.

Parameters
frameThe first frame.
void cavapa_gui::ExportDialog::setBeginTimeFromMarker ( int  i)

Sets the begin time of exporting according to a selected marker from the combobox.

Parameters
iIndex of marker in vector array.
void cavapa_gui::ExportDialog::setEndTimeFromMarker ( int  i)

Sets the end time of exporting according to a selected marker from combobox.

Parameters
iIndex of marker in vector array.
void cavapa_gui::ExportDialog::setMarkers ( const std::vector< GraphMarker markersfrom)

Sets marker data into export dialog's comboboxes.

Parameters
markersfromMarkers as a vector array of GraphMarkers.
void cavapa_gui::ExportDialog::setRelativeTime ( bool  relative)

Sets time mode between relative and absolute.

Parameters
relativeTrue if relative time, else absolute.
void cavapa_gui::ExportDialog::setTimeEdits ( QDateTime  start,
QDateTime  end 
)

Sets export dialog's time points (start and end)

Parameters
startStarting time as QDateTime.
endEnding time as QDateTime.

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