COPASI API
4.16.103
Main Page
Namespaces
Classes
Files
File List
File Members
copasi
UI
CQTextDialog.cpp
Go to the documentation of this file.
1
// Begin CVS Header
2
// $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/UI/CQTextDialog.cpp,v $
3
// $Revision: 1.8 $
4
// $Name: $
5
// $Author: shoops $
6
// $Date: 2011/09/30 16:39:43 $
7
// End CVS Header
8
9
// Copyright (C) 2011 by Pedro Mendes, Virginia Tech Intellectual
10
// Properties, Inc., University of Heidelberg, and The University
11
// of Manchester.
12
// All rights reserved.
13
14
// Copyright (C) 2008 by Pedro Mendes, Virginia Tech Intellectual
15
// Properties, Inc., EML Research, gGmbH, University of Heidelberg,
16
// and The University of Manchester.
17
// All rights reserved.
18
19
#include "
CQTextDialog.h
"
20
21
#include <QtCore/QVariant>
22
23
/*
24
* Constructs a CQTextDialog as a child of 'parent', with the
25
* name 'name' and widget flags set to 'f'.
26
*
27
* The dialog will by default be modeless, unless you set 'modal' to
28
* true to construct a modal dialog.
29
*/
30
CQTextDialog::CQTextDialog
(QWidget* parent,
const
char
* name,
bool
modal, Qt::WindowFlags
fl
)
31
: QDialog(parent, fl)
32
{
33
setObjectName(QString::fromUtf8(name));
34
setModal(modal);
35
setupUi(
this
);
36
}
37
38
/*
39
* Destroys the object and frees any allocated resources
40
*/
41
CQTextDialog::~CQTextDialog
()
42
{
43
// no need to delete child widgets, Qt does it all for us
44
}
45
46
QString
CQTextDialog::getText
()
47
{
return
mpTextEdit->toPlainText();}
CQTextDialog::CQTextDialog
CQTextDialog(QWidget *parent=0, const char *name=0, bool modal=false, Qt::WindowFlags fl=0)
Definition:
CQTextDialog.cpp:30
CQTextDialog::~CQTextDialog
~CQTextDialog()
Definition:
CQTextDialog.cpp:41
fl
bool fl(const C_FLOAT64 &d1, const C_FLOAT64 &d2)
Definition:
CTrajectoryTask.cpp:48
CQTextDialog.h
CQTextDialog::getText
QString getText()
Definition:
CQTextDialog.cpp:46
Generated on Thu Jul 2 2015 14:50:35 for COPASI API by
1.8.6