COPASI API  4.16.103
CQAnimationSettingsEditor.h
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 #ifndef QANIMATION_SETTINGS_EDITOR_H
7 #define QANIMATION_SETTINGS_EDITOR_H
8 
9 #include <vector>
10 
11 #include <QtGui/QDialog>
12 #include <qlayout/ui_CQAnimationSettingsEditor.h>
13 
14 class CQCopasiAnimation;
16 class CQAnimationSettingsEditor : public QDialog, public Ui::CQAnimationSettingsEditor
17 {
18  Q_OBJECT
19 public:
20  CQAnimationSettingsEditor(QWidget *parent = 0, Qt::WindowFlags f = 0);
22  void initFrom(CQCopasiAnimation* other);
23  void saveTo(CQCopasiAnimation* target);
24  void saveChanges();
25 public slots:
26  void slotScaleModeChanged();
27  void slotEffectAdded();
28  void slotEffectRemoved();
29  void slotSelectionChanged();
30 protected:
31  std::vector<CQEffectDescription*> mEntries;
32  QList<QListWidgetItem*> mLastSelection;
33 };
34 
35 #endif //QANIMATION_SETTINGS_EDITOR_H
CQAnimationSettingsEditor(QWidget *parent=0, Qt::WindowFlags f=0)
QList< QListWidgetItem * > mLastSelection
void saveTo(CQCopasiAnimation *target)
std::vector< CQEffectDescription * > mEntries
void initFrom(CQCopasiAnimation *other)