ObjectRecognitionTab.cpp
Go to the documentation of this file.
00001 /*******************************************************************************
00002 *  ObjectRecognitionTab.cpp
00003 *
00004 *  (C) 2006 AG Aktives Sehen <agas@uni-koblenz.de>
00005 *           Universitaet Koblenz-Landau
00006 *
00007 *  Information on Code Review state:
00008 *  §Author:RH$
00009 *
00010 *  Additional information:
00011 *  $Id: ObjectRecognitionTab.cpp 23983 2008-04-07 00:16:24Z dgossow $
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     //Add 'ObjectRecognitionDisplay'; contains the image, 'load' and 'delete' buttons with whole right side bar
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 }


obj_rec_gui
Author(s): AGAS/agas@uni-koblenz.de
autogenerated on Mon Oct 6 2014 02:53:43