COPASI API  4.16.103
CQCompartmentCopyOptions.cpp
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 
8 
9 #include <QtCore/QVariant>
10 
11 /*
12  * Constructs a CQCompartmentCopyOptions as a child of 'parent', with the
13  * name 'name' and widget flags set to 'f'.
14  *
15  * The dialog will by default be modeless, unless you set 'modal' to
16  * true to construct a modal dialog.
17  */
18 CQCompartmentCopyOptions::CQCompartmentCopyOptions(QWidget* parent, const char* name, bool modal, Qt::WindowFlags fl)
19  : QDialog(parent, fl)
20 {
21  setObjectName(QString::fromUtf8(name));
22  setModal(modal);
23  setupUi(this);
24 }
25 
26 /*
27  * Destroys the object and frees any allocated resources
28  */
30 {
31  // no need to delete child widgets, Qt does it all for us
32 }
33 
35 {
36  done(COMP);
37 }
38 
40 {
41  done(SPECIES);
42 }
43 
45 {
46  done(INTREAC);
47 }
48 
50 {
51  done(ALLREAC);
52 }
CQCompartmentCopyOptions(QWidget *parent=0, const char *name=0, bool modal=false, Qt::WindowFlags fl=0)
bool fl(const C_FLOAT64 &d1, const C_FLOAT64 &d2)