Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

omgexperimentselector.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2006 by Tim Sutton                                      *
00003  *   tim@linfiniti.com                                                     *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU General Public License as published by  *
00007  *   the Free Software Foundation; either version 2 of the License, or     *
00008  *   (at your option) any later version.                                   *
00009  ***************************************************************************/
00010 #ifndef OMGEXPERIMENTSELECTOR_H
00011 #define OMGEXPERIMENTSELECTOR_H
00012 
00013 
00014 #include <ui_omgexperimentselectorbase.h>
00015 #include <omgexperiment.h>
00016 
00017 #include <QWidget>
00018 #include <QStringList> 
00019 #include <QTreeWidget>
00020 #include <QDialog>
00021 #include <QTreeWidgetItem>
00022 #include <QIcon>
00023 class QDomElement;
00024 class QString;
00029 class OmgExperimentSelector : public QDialog, private Ui::OmgExperimentSelectorBase
00030 {
00031 Q_OBJECT
00032 public:
00033     OmgExperimentSelector( QWidget* parent = 0, Qt::WFlags fl = 0 );
00034     ~OmgExperimentSelector() ;
00035     
00036 public slots:
00037     void on_pbnOK_clicked();
00038     void on_pbnCancel_clicked();
00040     void refresh();
00041 private:
00042     void parseExperiment(const QDomElement &theElement, QTreeWidgetItem *theParentItem);
00043     void updateExperimentList();
00044 signals:
00045     void loadExperiment(OmgExperiment * mypExperiment);
00046 };
00047 
00048 #endif //OMGEXPERIMENTSELECTOR_H

Generated on Mon Apr 28 15:07:14 2008 for openModellerDesktop by  doxygen 1.4.1-20050210