"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/errmoddlg.h" between
kpl-4.1.tar.gz and kpl-5.0.tar.gz

About: Kpl is a KDE program for two- and three-dimensional graphical presentation (plots) of data sets and functions. Multidimensional nonlinear parameter and general linear least square parameter fits can be performed.

errmoddlg.h  (kpl-4.1):errmoddlg.h  (kpl-5.0)
/*************************************************************************** /***************************************************************************
errmoddlg.h - description errmoddlg.h - description
------------------- -------------------
begin : Tue May 25 1999 begin : Tue May 25 1999
copyright : (C) 2015 by Werner Stille copyright : (C) 2017 by Werner Stille
email : stille@uni-freiburg.de email : kpl@werner-stille.de
***************************************************************************/ ***************************************************************************/
/*************************************************************************** /***************************************************************************
* * * *
* This program is free software; you can redistribute it and/or modify * * 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 * * it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or * * the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. * * (at your option) any later version. *
* * * *
***************************************************************************/ ***************************************************************************/
#ifndef ERRMODDLG_H #ifndef ERRMODDLG_H
#define ERRMODDLG_H #define ERRMODDLG_H
#include <KDialog> #include <QDialog>
#include "funitem.h" #include "funitem.h"
class QDialogButtonBox;
class QLineEdit; class QLineEdit;
class KButtonGroup; class QButtonGroup;
class KUrlRequester; class KUrlRequester;
class KplDoc; class KplDoc;
/** /**
* Error model dialog class. Provides a dialog for setting * Error model dialog class. Provides a dialog for setting
* the calculation of the error bars for nonlinear fits. * the calculation of the error bars for nonlinear fits.
* @author Werner Stille * @author Werner Stille
*/ */
class ErrModDlg : public KDialog class ErrModDlg : public QDialog
{ {
Q_OBJECT Q_OBJECT
public: public:
/** /**
* Constructor. * Constructor.
* @param parent pointer to parent widget. * @param parent pointer to parent widget.
* @param model pointer to KplDoc model object. * @param model pointer to KplDoc model object.
* @param err0 pointer to structure containing the data error settings. * @param err0 pointer to structure containing the data error settings.
*/ */
ErrModDlg(QWidget* parent, KplDoc* model, FunItem::DataErrorStruct* err0); ErrModDlg(QWidget* parent, KplDoc* model, FunItem::DataErrorStruct* err0);
/** Destructor. */ /** Destructor. */
~ErrModDlg(); ~ErrModDlg();
protected: protected:
/**
* Reimplemented to display help when key F1 is pressed.
* @param e Key event.
*/
virtual void keyPressEvent(QKeyEvent* e);
KplDoc* m; KplDoc* m;
FunItem::DataErrorStruct *err, *errt; FunItem::DataErrorStruct *err, *errt;
KUrlRequester* fileName; KUrlRequester* fileName;
QLineEdit* func; QLineEdit* func;
KButtonGroup *bg; QButtonGroup *bg;
QDialogButtonBox* buttonBox;
QPushButton* bOk;
protected slots: protected slots:
/** Reimplemented from KDialog. */ /** Reimplemented from QDialog. */
virtual void slotButtonClicked(int button); virtual void accept();
/** Enables buttons. */ /** Enables buttons. */
void slotEdited(); void slotEdited();
/** Displays the dialog for parameter editing. */ /** Displays the dialog for parameter editing. */
void slotEditParameter(); void slotEditParameter();
/** Displays the dialog for selection of a function. */ /** Displays the dialog for selection of a function. */
void slotFunc(); void slotFunc();
/** Displays the dialog for selection of a parameter file to read. */ /** Displays the dialog for selection of a parameter file to read. */
void slotGetParameter(); void slotGetParameter();
/** Displays help page. */
void slotHelp();
/** Displays the dialog for selection of a parameter file to save. */ /** Displays the dialog for selection of a parameter file to save. */
void slotSaveParameter(); void slotSaveParameter();
}; };
#endif #endif
 End of changes. 9 change blocks. 
8 lines changed or deleted 18 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS