COPASI API  4.16.103
CQNameSelectionDialog.h
Go to the documentation of this file.
1 // Copyright (C) 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 #ifndef COPASI_CQNameSelectionDialog
7 #define COPASI_CQNameSelectionDialog
8 
9 #include <QtCore/QVariant>
10 #include <QtCore/QString>
11 #include <QtGui/QDialog>
12 
13 #include "copasi/UI/ui_CQNameSelectionDialog.h"
14 
15 class CQNameSelectionDialog: public QDialog, public Ui::CQNameSelectionDialog
16 {
17  Q_OBJECT
18 
19 public:
20  CQNameSelectionDialog(QWidget * parent = 0, Qt::WindowFlags f = 0);
21  virtual ~CQNameSelectionDialog();
22 
23  void setSelectionList(const QStringList &selectionList);
24  const QString & getSelection() const;
25 
26 protected slots:
27  virtual void accept();
28 
29 private:
30  QString mSelection;
31 };
32 
33 #endif // COPASI_CQNameSelectionDialog
void setSelectionList(const QStringList &selectionList)
const QString & getSelection() const
CQNameSelectionDialog(QWidget *parent=0, Qt::WindowFlags f=0)