PARP Research Group University of Murcia, Spain


src/qvgui/qvdefaultgui.h

Go to the documentation of this file.
00001 /*
00002  *      Copyright (C) 2007, 2008, 2009. PARP Research Group.
00003  *      <http://perception.inf.um.es>
00004  *      University of Murcia, Spain.
00005  *
00006  *      This file is part of the QVision library.
00007  *
00008  *      QVision is free software: you can redistribute it and/or modify
00009  *      it under the terms of the GNU Lesser General Public License as
00010  *      published by the Free Software Foundation, version 3 of the License.
00011  *
00012  *      QVision is distributed in the hope that it will be useful,
00013  *      but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015  *      GNU Lesser General Public License for more details.
00016  *
00017  *      You should have received a copy of the GNU Lesser General Public
00018  *      License along with QVision. If not, see <http://www.gnu.org/licenses/>.
00019  */
00020 
00024 
00025 #ifndef QVDEFAULTGUI_H
00026 #define QVDEFAULTGUI_H
00027 
00028 #include <QVGUI>
00029 
00030 #include <QVBoxLayout>
00031 #include <QMenuBar>
00032 #include <QMenu>
00033 #include <QGroupBox>
00034 #include <QToolBox>
00035 
00061 class QVDefaultGUI: public QWidget, public QVGUI
00062 {
00063         Q_OBJECT
00064 public:
00065 
00068         QVDefaultGUI(QWidget *parent = 0);
00069 
00070 #ifndef DOXYGEN_IGNORE_THIS
00071 
00073         void init();
00074 
00075         void show() { QWidget::show(); }
00076 
00077 signals:
00079         void closed();
00080 
00081 public slots:
00083         void showHelp();
00084 
00085 protected:
00086         void closeEvent(QCloseEvent *event);
00087 
00088 private:
00089         QVBoxLayout *vboxlayout;
00090         QMenuBar *menubar;
00091         QMenu *windowmenu;
00092         QGroupBox *groupboxcameras,*groupboxworkers;
00093         QToolBox *toolboxcameras,*toolboxworkers;
00094 
00095 #endif
00096 };
00097 
00098 #endif



QVision framework. PARP research group, copyright 2007, 2008.