orca-robotics


INTRODUCTION
Overview
Download and Install
Quick Start
Documentation
Publications

REPOSITORY
Interfaces
Components
Libraries
Utilities
Software Map

DEVELOPER
Tutorials
Examples
Dev Guide
Dashboard
Wiki
login/pass: orca/orca

PEOPLE
Contributors
Users

SourceForge.net Logo
Project
Download
Mailing lists

 

         

utils/probe/gui-qt/mainwin.h

00001 /*
00002  * Orca-Robotics Project: Components for robotics 
00003  *               http://orca-robotics.sf.net/
00004  * Copyright (c) 2006-2007 Alexei Makarenko
00005  *
00006  * This copy of Orca is licensed to you under the terms described in
00007  * the LICENSE file included in this distribution.
00008  *
00009  */
00010 
00011 #ifndef QTDRIVER_MAIN_WINDOW_H
00012 #define QTDRIVER_MAIN_WINDOW_H
00013 
00014 #include <QMainWindow>
00015 
00016 #include <orcaprobe/ibrowser.h>
00017 
00018 class QListView;
00019 class QTableView;
00020 class QTreeView;
00021 class QLabel;
00022 class QMovie;
00023 class QTimer;
00024 
00025 namespace orcaqcm
00026 {
00027 class OcmModel;
00028 }
00029 
00030 namespace probe
00031 {
00032 
00033 class ProbeView;
00034 
00035 class MainWindow : public QMainWindow
00036 {
00037     Q_OBJECT
00038 
00039 public:
00040     MainWindow( orcaprobe::IBrowser *browser,
00041                 orcaqcm::OcmModel        *model,
00042                 const std::vector<std::string> & supportedInterfaces,
00043                 QWidget *parent = 0, Qt::WFlags flags = 0 );
00044 
00045 private slots:
00046     void reload();
00047     void top();
00048    
00049     void quit();
00050     void aboutOrca();
00051     void aboutApp();
00052 
00053 private:
00054 
00055     virtual void keyPressEvent ( QKeyEvent * event );
00056     virtual void customEvent( QEvent* e );
00057 
00058     void setupMenuBar();
00059 
00060     orcaprobe::IBrowser *browser_;
00061     orcaqcm::OcmModel        *model_;
00062     std::vector<std::string>    supportedInterfaces_;
00063     
00064     ProbeView                *regView_;
00065     ProbeView                *platfView_;
00066     ProbeView                *compView_;
00067     ProbeView                *ifaceView_;
00068     ProbeView                *operView_;
00069     
00070     QLabel *pathLabel_;
00071     QMovie *movie_;
00072 };
00073 
00074 } // namespace
00075 
00076 #endif
 

Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)


Generated for Orca Robotics by  doxygen 1.4.5