COPASI API  4.16.103
CQTaskHeaderWidget.h
Go to the documentation of this file.
1 // Begin CVS Header
2 // $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/UI/CQTaskHeaderWidget.h,v $
3 // $Revision: 1.14 $
4 // $Name: $
5 // $Author: gauges $
6 // $Date: 2011/10/17 12:24:43 $
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 #ifndef COPASI_CQTaskHeaderWidget
15 #define COPASI_CQTaskHeaderWidget
16 
17 #include <QtCore/QVariant>
18 
19 #include <string>
20 
21 #include "copasi/UI/ui_CQTaskHeaderWidget.h"
22 
23 class CQTaskHeaderWidget: public QWidget, public Ui::CQTaskHeaderWidget
24 {
25  Q_OBJECT
26 
27 public:
28  CQTaskHeaderWidget(QWidget* parent = 0, Qt::WindowFlags f = 0);
29 
30  virtual ~CQTaskHeaderWidget();
31 
32  bool setTaskName(const std::string & name);
33  void saved();
34 
35 protected slots:
36 
37  void slotUpdate();
38  void slotExecutable();
39 
40 protected:
43  QColor mSavedColor;
44  QColor mChangedColor;
45 };
46 
47 #endif // CQTASKHEADERWIDGET_H
CQTaskHeaderWidget(QWidget *parent=0, Qt::WindowFlags f=0)
bool setTaskName(const std::string &name)