#ifndef _CustomQtDialog_
#define _CustomQtDialog_
#include <QWidget>
#include <QDialog>
#include "ui_CustomQtDialogWindow.h"
//
//##############################################################################
//                          CustomQtDialog.h
//##############################################################################
//
/*
This class is created to manage the specification of the 
function to be plotted through a custom dialog interface. 
  
When the interface is displayed by calling exec().
 
When the interface OK button is hit accept() is called.
 
When the interface CANCEL button is hit reject() is called.
 
This class assumes that a user interface has been constructed 
using Qt designer and the Dialog template. The name of the
user interface file is CustomQtDialogWindow.ui, and the name
of the dialog object (top level object) is CustomQtDialogWindow.
 
 
Minimally, to integrate this class into an existing Qt build requires
adding the following lines to ones *.pro file

# Inputs for CustomQtDialog 

FORMS   += CustomQtDialogWindow.ui
HEADERS += CustomQtDialog.h 
SOURCES += CustomQtDialog.cpp


*/
//
// Math 157                                                March 6, 2009
//
class CustomQtDialog : public QDialog, private Ui::CustomQtDialogWindow
{
     Q_OBJECT

public:
 
	CustomQtDialog(QWidget *parent = 0);

	int exec();            //  Over-riding base class implementation of exec()
	void accept();         //  Over-riding base class implementation of accept()
    void reject();         //  Over-riding base class implementation of reject()
 };
#endif 
