COPASI API  4.16.103
CQReportDefinition.h
Go to the documentation of this file.
1 // Begin CVS Header
2 // $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/UI/CQReportDefinition.h,v $
3 // $Revision: 1.17 $
4 // $Name: $
5 // $Author: shoops $
6 // $Date: 2011/10/17 14:58:05 $
7 // End CVS Header
8 
9 // Copyright (C) 2011 - 2010 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 #ifndef CQREPORTDEFINITION_H
20 #define CQREPORTDEFINITION_H
21 
22 #include <QtCore/QVariant>
23 
24 #include "copasi/UI/ui_CQReportDefinition.h"
25 
26 class CReportDefinition;
27 
28 class CQReportDefinition : public CopasiWidget, public Ui::CQReportDefinition
29 {
30  Q_OBJECT
31 
32 public:
33  CQReportDefinition(QWidget* parent = 0, const char* name = 0);
35 
36  virtual bool leave();
37  virtual bool update(ListViews::ObjectType objectType, ListViews::Action action, const std::string & key);
38 
39 protected:
40  virtual bool enterProtected();
41 
42 protected slots:
43 
44 private:
45  bool mAdvanced;
46  bool mChanged;
48  QString mOldComment;
49 
50  bool load();
51  bool save();
52  bool setAdvancedMode(const bool & advanced);
53 
54 private slots:
55  void nameChanged(const QString & string);
56  void taskChanged(const QString & string);
57  void commentChanged();
58  void separatorChanged(const QString & string);
59  void precisionChanged(const QString & string);
60  void chkTabClicked();
61  void btnAdvancedClicked();
62  void btnItemClicked();
63  void btnSeparatorClicked();
64  void btnTextClicked();
65  void btnDeleteClicked();
66  void btnUpClicked();
67  void btnDownClicked();
68  void chkTitleClicked();
70  void btnNewReportClicked();
71  void btnCopyReportClicked();
72  void btnRevertClicked();
73  void btnCommitClicked();
74 };
75 
76 #endif // CQREPORTDEFINITION_H
objectType
virtual bool update(ListViews::ObjectType objectType, ListViews::Action action, const std::string &key)
void nameChanged(const QString &string)
virtual bool enterProtected()
CQReportDefinition(QWidget *parent=0, const char *name=0)
void taskChanged(const QString &string)
void separatorChanged(const QString &string)
CReportDefinition * mpReportDefinition
void precisionChanged(const QString &string)
bool setAdvancedMode(const bool &advanced)