00001 /******************************************************************************* 00002 * TalkingHead - A talking head for robots 00003 * Copyright (C) 2012 AG Aktives Sehen <agas@uni-koblenz.de> 00004 * Universitaet Koblenz-Landau 00005 * 00006 * This program is free software: you can redistribute it and/or modify 00007 * it under the terms of the GNU General Public License as published by 00008 * the Free Software Foundation, either version 3 of the License, or 00009 * (at your option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 * Library General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU Library General Public 00017 * License along with this library; if not, write to the Free Software 00018 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 00019 * MA 02110-1301 USA or see <http://www.gnu.org/licenses/>. 00020 *******************************************************************************/ 00021 00022 #ifndef TALKING_HEAD_INCLUDE_MAINWINDOW_H_ 00023 #define TALKING_HEAD_INCLUDE_MAINWINDOW_H_ 00024 00025 #include <QWidget> 00026 00027 #include <ros/ros.h> 00028 00029 #include "TalkingHead.h" 00030 #include "TextOutDisplay.h" 00031 #include "FestivalGenerator.h" 00032 00039 class MainWindow : public QWidget 00040 { 00041 Q_OBJECT 00042 00043 public: 00044 00046 explicit MainWindow( QWidget* parent = 0 ); 00047 00049 virtual ~MainWindow(); 00050 00051 void setNodeHandle(ros::NodeHandle* node_handle); 00052 00053 private slots: 00054 00055 private: 00056 00057 TalkingHead* talking_head_; 00058 00059 TextOutDisplay* text_out_display_; 00060 TextOutDisplay* text_rec_display_; 00061 00062 FestivalGenerator* festival_generator_; 00063 00064 }; 00065 00066 #endif // TALKING_HEAD_INCLUDE_MAINWINDOW_H_