/***************************************************************************
                          parabolas.h  -  description
                             -------------------
    begin                : Sam Mai 4 2002
    copyright            : (C) 2002 by Birgit Schulz
    email                : B.Schulz@Superlehrer.de
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef PARABOLAS_H
#define PARABOLAS_H

#include <qwidget.h>
#include "ParabolasD.h"

/**
  *@author Birgit Schulz
  */

class Parabolas : public ParabolasD  
{
 
   Q_OBJECT
public: 
	Parabolas(QWidget *parent=0, const char *name=0);
	~Parabolas();
        enum EFunctions {Scheitel, AxisSection, FindStandard, ThreePoints, ScheitelAndPoint, LineSection, ParabolaSection, Information };
        void changeView(EFunctions eSelected);

    protected:
        EFunctions m_eSelected;
        double Determinant(double d11,double d12, double d13, double d21, double d22, double d23, double d31, double d32, double d33);
    protected slots:
        void slotCalculate();
        void slotClear();
        void slotCheckBoxes(const QString &qsText);
 
};

#endif
