INTRODUCTION
Overview
Download and Install
Quick Start
Documentation
Publications

NONFRAMEWORK CODE
Driver Interfaces
Drivers
Libraries
Utilities

FRAMEWORK CODE
Interfaces
Components
Libraries
Utilities

Full Software Listings

DEVELOPER
Tutorials
Examples
Dev Guide
Dashboard

PEOPLE
Contributors
Users

SourceForge.net Logo
Project
Download
Mailing lists

 

         

utils/registryview/mainwin.h

00001 /*
00002  * Orca-Robotics Project: Components for robotics 
00003  *               http://orca-robotics.sf.net/
00004  * Copyright (c) 2004-2009 Alex Brooks, Alexei Makarenko, Tobias Kaupp
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 MAIN_WINDOW_H
00012 #define MAIN_WINDOW_H
00013 
00014 #include <QMainWindow>
00015 
00016 #include <hydroiceutil/jobqueue.h>
00017 #include <orcaice/context.h>
00018 
00019 namespace orcaqcm {
00020     class OcmModel;
00021 };
00022 
00023 class QTreeView;
00024 class QItemDelegate;
00025 
00026 class MainWindow : public QMainWindow
00027 {
00028     Q_OBJECT
00029 
00030 public:
00031     MainWindow( hydroiceutil::JobQueue* jobQueue, double refreshInterval, const orcaice::Context& context );
00032 
00033 private slots:
00034     
00035     void updateRegistryView();
00036     void reloadRegistryView();
00037     void getProperties( const QString & proxy );
00038     
00039     void quit();
00040     void aboutOrca();
00041     void aboutApp();
00042 
00043 private:
00044     void setupMenuBar();
00045 
00046     orcaqcm::OcmModel*      model_;
00047     QTreeView*              view_;
00048     QItemDelegate*          delegate_;
00049 
00050     hydroiceutil::JobQueue*    jobQueue_;
00051     orcaice::Context        context_;
00052 
00053     QTimer*                 refreshTimer_;
00054 };
00055 
00056 #endif
 

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


Generated for Orca Robotics by  doxygen 1.4.5