COPASI API  4.16.103
ObjectBrowserDialog.h
Go to the documentation of this file.
1 // Copyright (C) 2010 - 2013 by Pedro Mendes, Virginia Tech Intellectual
2 // Properties, Inc., University of Heidelberg, and The University
3 // of Manchester.
4 // All rights reserved.
5 
6 // Copyright (C) 2008 - 2009 by Pedro Mendes, Virginia Tech Intellectual
7 // Properties, Inc., EML Research, gGmbH, University of Heidelberg,
8 // and The University of Manchester.
9 // All rights reserved.
10 
11 // Copyright (C) 2004 - 2007 by Pedro Mendes, Virginia Tech Intellectual
12 // Properties, Inc. and EML Research, gGmbH.
13 // All rights reserved.
14 
15 #ifndef OBJECTBROWSERDIALOG_H
16 #define OBJECTBROWSERDIALOG_H
17 
18 #include <QtGui/QDialog>
19 #include <QtGui/QFrame>
20 #include <QtGui/QGridLayout>
21 #include <QtGui/QCloseEvent>
22 #include <vector>
23 
24 class QPushButton;
26 class QGridLayout;
27 class QFrame;
28 class QSpacerItem;
29 class CopasiUI3Window;
30 class CCopasiObject;
31 
32 class ObjectBrowserDialog : public QDialog
33 {
34  Q_OBJECT
35 
36 public:
37  ObjectBrowserDialog(QWidget* parent = 0, const char* name = 0, bool modal = true, int state = 0);
38  virtual ~ObjectBrowserDialog();
39  void setOutputVector(std::vector< const CCopasiObject * > * pObjectVector);
40  void selectObjects(std::vector< const CCopasiObject * > * pObjectVector);
41 
42 protected:
43 
44  QPushButton* clearButton;
45  QPushButton* toggleViewButton;
46  QPushButton* cancelButton;
47  QPushButton* okButton;
48  QFrame* Line1;
49  QSpacerItem* spacer;
52 
53 public slots:
54  void cancelClicked();
55  void okClicked();
56  void toggleViewClicked();
57 };
58 #endif // OBJECTBROWSERDIALOG_H
QGridLayout * ObjectBrowserDialogLayout
ObjectBrowserWidget * objectBrowserWidget
void setOutputVector(std::vector< const CCopasiObject * > *pObjectVector)
void selectObjects(std::vector< const CCopasiObject * > *pObjectVector)
ObjectBrowserDialog(QWidget *parent=0, const char *name=0, bool modal=true, int state=0)
QPushButton * cancelButton
QPushButton * toggleViewButton