COPASI API
4.16.103
Main Page
Namespaces
Classes
Files
File List
File Members
copasi
UI
CQMmlScrollView.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
/*!
12
\file CQMmlScrollView.h
13
\brief Header file of class CQMmlScrollView
14
*/
15
16
#ifndef CQMMLSCROLLVIEW_H
17
#define CQMMLSCROLLVIEW_H
18
19
#include <sstream>
// for ostringstream
20
21
#include <QtGui/QScrollArea>
22
23
class
QtMmlWidget;
24
25
/*!
26
\brief The class for nicely displaying QtMmlWidget.
27
28
This class inherits QScrollView to nicely display an object of class QtMmlWidget.
29
*/
30
class
CQMmlScrollView
:
public
QScrollArea
31
{
32
Q_OBJECT
33
34
public
:
35
CQMmlScrollView
(QWidget* parent = 0,
const
char
* name = 0, Qt::WFlags
fl
= 0);
36
~CQMmlScrollView
();
37
38
void
updateWidget
(std::ostringstream &mml);
39
40
#ifdef HAVE_MML
41
QtMmlWidget* mpMmlWidget;
42
#endif // HAVE_MML
43
};
44
45
#endif // CQSMMLSCROLLVIEW_H
CQMmlScrollView::updateWidget
void updateWidget(std::ostringstream &mml)
Function to update the MathML widget.
Definition:
CQMmlScrollView.cpp:46
CQMmlScrollView::CQMmlScrollView
CQMmlScrollView(QWidget *parent=0, const char *name=0, Qt::WFlags fl=0)
Constructor.
Definition:
CQMmlScrollView.cpp:27
CQMmlScrollView::~CQMmlScrollView
~CQMmlScrollView()
Destructor.
Definition:
CQMmlScrollView.cpp:40
CQMmlScrollView
The class for nicely displaying QtMmlWidget.
Definition:
CQMmlScrollView.h:30
fl
bool fl(const C_FLOAT64 &d1, const C_FLOAT64 &d2)
Definition:
CTrajectoryTask.cpp:48
Generated on Thu Jul 2 2015 14:50:31 for COPASI API by
1.8.6