19 #include <QFileDialog> 26 fileMenu = this->menuBar()->addMenu(
"&File");
27 openAct =
new QAction(tr(
"&Open"),
this);
28 openAct->setShortcuts(QKeySequence::Open);
29 openAct->setStatusTip(tr(
"Open a file"));
32 saveAct =
new QAction(tr(
"&Save"),
this);
33 saveAct->setShortcuts(QKeySequence::Save);
34 saveAct->setStatusTip(tr(
"Save file"));
45 lstFrames->setSelectionMode(QAbstractItemView::SingleSelection);
51 lstFrames->resize(this->width()-40, this->height()-160);
53 QMainWindow::resizeEvent(event);
58 int row = item->listWidget()->row( item );
73 QString fileName = QFileDialog::getOpenFileName(
this,
"Open File",
"CalibrationData.data", tr(
"Calibrationfile (*.data)"));
74 if (fileName.length() > 0)
81 for (
unsigned int i = 0; i < transformationData.size(); i++)
84 QString name = QString::number(data.
pan) +
", " + QString::number(data.
tilt);
102 QString fileName = QFileDialog::getSaveFileName(
this,
"Save file",
"CalibrationData.data", tr(
"Calibrationfile (*.data)"));
103 if (fileName.length() > 0)
void lstFramesItemClicked(QListWidgetItem *item)
void publishColouredCameraFrames(std::vector< colouredCameraFrame, Eigen::aligned_allocator< colouredCameraFrame > > *camFrames)
EIGEN_MAKE_ALIGNED_OPERATOR_NEW Eigen::Matrix4d pose
MarkerPublisher * markerPublisher
FrameEditor(QWidget *parent=0)
std_msgs::ColorRGBA color
void resizeEvent(QResizeEvent *event)
std::vector< Transformation_Data > transformationData
#define ROS_INFO_STREAM(args)
std::vector< colouredCameraFrame, Eigen::aligned_allocator< colouredCameraFrame > > colouredCameraFrames