Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #include <QGridLayout>
00015 #include <QBoxLayout>
00016 #include <QDockWidget>
00017 #include <QVBoxLayout>
00018 #include <QPushButton>
00019 #include <QScrollArea>
00020
00021 #include <ostream>
00022
00023 #include "../../Widgets/ObjectRecognition/ObjectList.h"
00024
00025 #include "ObjectRecognitionTab.h"
00026
00027 #define THIS ObjectRecognitionTab
00028
00029
00030 THIS::THIS(ros::NodeHandle *nodeHandle, QWidget *parent ) : QWidget( parent ) {
00031
00032 QGridLayout* mainLayout = new QGridLayout();
00033
00034
00035 QVBoxLayout* checkboxLayout = new QVBoxLayout();
00036 m_ObjectRecognitionDisplay=new ObjectRecognitionDisplay(nodeHandle, checkboxLayout, this);
00037 mainLayout->addWidget( m_ObjectRecognitionDisplay, 0, 0, 1, 1 );
00038
00039 QWidget* checkboxContainer = new QWidget();
00040 checkboxContainer->setLayout( checkboxLayout );
00041 mainLayout->addWidget( checkboxContainer, 0, 1, 1, 3 );
00042
00043 mainLayout->setColumnStretch(0,4);
00044 setLayout( mainLayout );
00045 }
00046
00047 void THIS::processObjectNames(std::vector<std::string> names, std::vector<std::string> types)
00048 {
00049 m_ObjectRecognitionDisplay->updateObjectTable(names, types);
00050 }