Class for marker creation dialog of the graphwidget.
More...
#include <markerdialog.h>
Class for marker creation dialog of the graphwidget.
Offers list of previously added marker texts and a time editor for marker time position fine tuning.
- Author
- Joel Kivelä
cavapa_gui::MarkerDialog::MarkerDialog |
( |
QWidget * |
parent = 0 | ) |
|
|
explicit |
Constructs the marker dialog.
- Parameters
-
void cavapa_gui::MarkerDialog::removeFromHistory |
( |
int |
i | ) |
|
|
signal |
Notifies parent to remove selected text item from marker history.
- Parameters
-
i | Index of text to be deleted. |
void cavapa_gui::MarkerDialog::sendMarkerNameAndTime |
( |
std::string |
text, |
|
|
QDateTime |
time |
|
) |
| |
|
signal |
Sends new marker text and time position to parent.
- Parameters
-
text | Marker text in string. |
time | Time position in QDateTime. |
void cavapa_gui::MarkerDialog::sendMarkerPosition |
( |
QDateTime |
time | ) |
|
|
signal |
Sends marker position to parent.
- Parameters
-
time | Time position in QDateTime. |
void cavapa_gui::MarkerDialog::sendSelectedText |
( |
QString |
typedtext | ) |
|
|
signal |
Sends selected text to parent.
- Parameters
-
typedtext | Typeded text in QString. |
void cavapa_gui::MarkerDialog::setMarkerHistoryAndPositionTime |
( |
std::vector< std::string > |
history, |
|
|
QDateTime |
time |
|
) |
| |
Sets marker history and the selected time point for new marker for marker dialog.
- Parameters
-
history | The marker text history as vector array of strings. |
time | The selected time point from the graph as QDateTime. |
The documentation for this class was generated from the following files: