labplot  2.8.2
About: LabPlot is an application for plotting and analysis of 2D and 3D functions and data. It is a complete rewrite of LabPlot1 and lacks in the first release a lot of features available in the predecessor. On the other hand, the GUI and the usability is more superior.
  Fossies Dox: labplot-2.8.2.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

ConstantsWidget.h
Go to the documentation of this file.
1 /***************************************************************************
2  File : ConstansWidget.h
3  Project : LabPlot
4  Description : widget for selecting constants
5  --------------------------------------------------------------------
6  Copyright : (C) 2014 by Alexander Semke (alexander.semke@web.de)
7 
8  ***************************************************************************/
9 
10 /***************************************************************************
11  * *
12  * This program is free software; you can redistribute it and/or modify *
13  * it under the terms of the GNU General Public License as published by *
14  * the Free Software Foundation; either version 2 of the License, or *
15  * (at your option) any later version. *
16  * *
17  * This program is distributed in the hope that it will be useful, *
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
20  * GNU General Public License for more details. *
21  * *
22  * You should have received a copy of the GNU General Public License *
23  * along with this program; if not, write to the Free Software *
24  * Foundation, Inc., 51 Franklin Street, Fifth Floor, *
25  * Boston, MA 02110-1301 USA *
26  * *
27  ***************************************************************************/
28 #ifndef CONSTANTSWIDGET_H
29 #define CONSTANTSWIDGET_H
30 
31 #include <QWidget>
32 
33 #include "ui_constantswidget.h"
34 
35 class QStringList;
36 class ExpressionParser;
37 
38 class ConstantsWidget: public QWidget {
39  Q_OBJECT
40 
41 public:
42  explicit ConstantsWidget(QWidget*);
43 
44 private:
45  Ui::ConstantsWidget ui;
47 
48 signals:
49  void constantSelected(const QString&);
50  void canceled();
51 
52 private slots:
53  void groupChanged(int);
54  void filterChanged(const QString&);
55  void constantChanged(const QString&);
56  void insertClicked();
57 };
58 
59 #endif //CONSTANTSWIDGET_H
Widget for selecting supported mathematical and physical constants that can be used in expressions in...
void constantChanged(const QString &)
ConstantsWidget(QWidget *)
void filterChanged(const QString &)
Ui::ConstantsWidget ui
void groupChanged(int)
ExpressionParser * m_expressionParser
void constantSelected(const QString &)