47 #ifndef _MIRA_TAPERECORDERWIDGET_H_ 48 #define _MIRA_TAPERECORDERWIDGET_H_ 52 #include <QDialogButtonBox> 54 #include <QPushButton> 55 #include <QToolButton> 56 #include <QTableWidget> 61 #include <serialization/adapters/std/list> 85 void setCodecs(std::list<BinarySerializerCodecPtr>& codecs);
86 std::list<BinarySerializerCodecPtr> getCodecs();
96 std::map<std::string, std::pair<BinarySerializerCodecPtr, boost::shared_ptr<PropertyNode>>>
mCodecs;
113 void setCodecs(
const std::list<BinarySerializerCodecPtr>& codecs);
114 std::list<BinarySerializerCodecPtr> getCodecs();
139 void setDuration(
const Duration& duration);
162 template <
typename Reflector>
165 r.member(
"Channels", mChannels,
166 "Channels to record", std::map<std::string, RecordedChannelInfo>());
167 r.member(
"RecordTransforms", mRecordTransforms,
168 "Record transform frames to tape",
true);
169 r.member(
"SaveTransformsFile", mSaveTransformsFile,
170 "Save transform tree to extra file",
true);
183 void recordTransforms(
bool recordTransformChannels =
true,
bool saveTransformsFile =
true);
187 void recordingStarted();
192 void recordDuration();
195 void saveTransformsToggled(
bool on);
203 int findButton(
int column);
204 virtual void dragEnterEvent(QDragEnterEvent *event);
205 virtual void dropEvent(QDropEvent *event);
206 void saveTransformTree(
const Path&
file);
QDialogButtonBox * mButtonBox
Definition: TapeRecorderWidget.h:98
PropertyHint file(const std::string &filters=std::string(), bool save=false)
Tells the property editor that the path is for a file, and that it should show a "File Open"/"File Sa...
Definition: Path.h:247
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
boost::filesystem::path Path
Typedef of a Path (shorter version for boost::filesystem::path)
Definition: Path.h:69
QTimeEdit * mTimeEdit
Definition: TapeRecorderWidget.h:144
A dialog for selecting a duration.
Definition: TapeRecorderWidget.h:131
Wrapper class for boost::posix_time::ptime for adding more functionality to it.
Definition: Time.h:416
Class for recording data to tape.
Use this class to represent time durations.
Definition: Time.h:104
Contains all settings for a recorded channel like compression, codecs,...
Definition: TapeRecorder.h:62
#define MIRA_GUI_FW_EXPORT
Definition: GuiFwExports.h:61
Declaration of PropertyEditor.
Provides display and editing facilities for property items in the editor.
Definition: PropertyEditor.h:74
QDialogButtonBox * mButtonBox
Definition: TapeRecorderWidget.h:145
std::map< std::string, std::pair< BinarySerializerCodecPtr, boost::shared_ptr< PropertyNode > > > mCodecs
Definition: TapeRecorderWidget.h:96
PropertyEditor * mEditor
Definition: TapeRecorderWidget.h:97
A dialog for adding, removing and editing codecs.
Definition: TapeRecorderWidget.h:76
boost::shared_ptr< BinarySerializerCodec > BinarySerializerCodecPtr
Shared pointer of BinarySerializerCodec.
Definition: BinarySerializerCodec.h:64