Class for export dialog of graphwidget.
More...
#include <exportdialog.h>
Class for export dialog of graphwidget.
Offers options for export types, file path and region selection from markers of graph
- Author
- Joel Kivelä
cavapa_gui::ExportDialog::ExportDialog |
( |
QWidget * |
parent = 0 | ) |
|
|
explicit |
Constructs exporting dialog for the graph.
- Parameters
-
parent | QWidget default parent. |
bool cavapa_gui::ExportDialog::exportCommand |
( |
const ExportOptions & |
options | ) |
|
|
signal |
Passes export command to parent.
- Parameters
-
- Returns
- Success or fail.
void cavapa_gui::ExportDialog::sendTimeEnd |
( |
QDateTime |
end | ) |
|
|
signal |
Send edited time selection end point to the parent.
- Parameters
-
end | End time point as QDateTime. |
void cavapa_gui::ExportDialog::sendTimeStart |
( |
QDateTime |
start | ) |
|
|
signal |
Send edited time selection start point to the parent.
- Parameters
-
start | Start 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
-
time | Starting 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
-
void cavapa_gui::ExportDialog::setBeginTimeFromMarker |
( |
int |
i | ) |
|
Sets the begin time of exporting according to a selected marker from the combobox.
- Parameters
-
i | Index 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
-
i | Index of marker in vector array. |
void cavapa_gui::ExportDialog::setMarkers |
( |
const std::vector< GraphMarker > |
markersfrom | ) |
|
Sets marker data into export dialog's comboboxes.
- Parameters
-
markersfrom | Markers as a vector array of GraphMarkers. |
void cavapa_gui::ExportDialog::setRelativeTime |
( |
bool |
relative | ) |
|
Sets time mode between relative and absolute.
- Parameters
-
relative | True if relative time, else absolute. |
void cavapa_gui::ExportDialog::setTimeEdits |
( |
QDateTime |
start, |
|
|
QDateTime |
end |
|
) |
| |
Sets export dialog's time points (start and end)
- Parameters
-
start | Starting time as QDateTime. |
end | Ending time as QDateTime. |
The documentation for this class was generated from the following files: