"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/choosefuncdlg.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.

choosefuncdlg.h  (kpl-4.1):choosefuncdlg.h  (kpl-5.0)
/*************************************************************************** /***************************************************************************
choosefuncdlg.h - description choosefuncdlg.h - description
------------------- -------------------
begin : Mit Jul 23 2003 begin : Mit Jul 23 2003
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 CHOOSEFUNCDLG_H #ifndef CHOOSEFUNCDLG_H
#define CHOOSEFUNCDLG_H #define CHOOSEFUNCDLG_H
#include <KDialog> #include <QDialog>
class QDialogButtonBox;
class QLineEdit; class QLineEdit;
class QListWidget; class QListWidget;
class QListWidgetItem; class QListWidgetItem;
/** /**
* Choose function dialog class. Provides a dialog for the selection * Choose function dialog class. Provides a dialog for the selection
* of a function from list of functions in a shared library. * of a function from list of functions in a shared library.
* @author Werner Stille * @author Werner Stille
*/ */
class ChooseFuncDlg : public KDialog class ChooseFuncDlg : public QDialog
{ {
Q_OBJECT Q_OBJECT
public: public:
/** /**
* Constructor. * Constructor.
* @param parent pointer to parent widget. * @param parent pointer to parent widget.
* @param names list of function names. * @param names list of function names.
* @param func pointer to QLineEdit widget for the function name. * @param func pointer to QLineEdit widget for the function name.
*/ */
ChooseFuncDlg(QWidget* parent, const QStringList& names, QLineEdit* func); ChooseFuncDlg(QWidget* parent, const QStringList& names, QLineEdit* func);
/** Destructor. */ /** Destructor. */
~ChooseFuncDlg(); ~ChooseFuncDlg();
protected: protected:
QLineEdit* func; QLineEdit* func;
QListWidget* funcList; QListWidget* funcList;
QDialogButtonBox* buttonBox;
protected slots: protected slots:
/** Reimplemented from QDialog. */
virtual void accept();
/** Enables Ok button. */ /** Enables Ok button. */
void slotEdited(); void slotEdited();
/** /**
* Accepts selection and leaves the dialog. * Accepts selection and leaves the dialog.
* @param item list item of selected function * @param item list item of selected function
*/ */
void slotList(QListWidgetItem* item); void slotList(QListWidgetItem* item);
/** Reimplemented from KDialog. */
virtual void slotButtonClicked(int button);
}; };
#endif #endif
 End of changes. 7 change blocks. 
6 lines changed or deleted 8 lines changed or added

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