File indexing completed on 2024-12-22 04:17:30

0001 /***************************************************************************
0002  *                                                                         *
0003  *   copyright : (C) 2007 The University of Toronto                        *
0004  *                   netterfield@astro.utoronto.ca                         *
0005  *                                                                         *
0006  *   This program is free software; you can redistribute it and/or modify  *
0007  *   it under the terms of the GNU General Public License as published by  *
0008  *   the Free Software Foundation; either version 2 of the License, or     *
0009  *   (at your option) any later version.                                   *
0010  *                                                                         *
0011  ***************************************************************************/
0012 
0013 #ifndef DIFFERENTIATECURVESDIALOG_H
0014 #define DIFFERENTIATECURVESDIALOG_H
0015 
0016 #include <QDialog>
0017 
0018 #include "ui_differentiatecurvesdialog.h"
0019 
0020 #include "kst_export.h"
0021 
0022 namespace Kst {
0023 
0024 class ObjectStore;
0025 
0026 class DifferentiateCurvesDialog : public QDialog, Ui::DifferentiateCurvesDialog
0027 {
0028   Q_OBJECT
0029   public:
0030     explicit DifferentiateCurvesDialog(QWidget *parent);
0031     virtual ~DifferentiateCurvesDialog();
0032 
0033     void show();
0034 
0035   private slots:
0036     void updateButtons();
0037     void addButtonClicked();
0038     void removeButtonClicked();
0039     void upButtonClicked();
0040     void downButtonClicked();
0041     void OKClicked();
0042     void apply();
0043 
0044   private:
0045     void resetLists();
0046 
0047     ObjectStore *_store;
0048 
0049 };
0050 
0051 }
0052 
0053 #endif
0054 
0055 // vim: ts=2 sw=2 et