add statistics to GraphicAnalysis
This commit is contained in:
54
libs/graphic_analysis/graphic_analysis_stat.h
Normal file
54
libs/graphic_analysis/graphic_analysis_stat.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
QAD - Qt ADvanced
|
||||
|
||||
Ivan Pelipenko peri4ko@yandex.ru
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef graphic_analysis_stat_h
|
||||
#define graphic_analysis_stat_h
|
||||
|
||||
#include "graphic_ranges.h"
|
||||
#include "qad_graphic_analysis_export.h"
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
namespace Ui {
|
||||
class GraphicAnalysisStatistics;
|
||||
}
|
||||
class GraphicAnalysis;
|
||||
|
||||
class QAD_GRAPHIC_ANALYSIS_EXPORT GraphicAnalysisStatistics: public QDialog {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
GraphicAnalysisStatistics(QWidget * parent = 0);
|
||||
virtual ~GraphicAnalysisStatistics();
|
||||
|
||||
void show(GraphicAnalysis * g, GraphicRanges::Range r);
|
||||
|
||||
protected:
|
||||
void changeEvent(QEvent * e);
|
||||
|
||||
Ui::GraphicAnalysisStatistics * ui = nullptr;
|
||||
GraphicAnalysis * source = nullptr;
|
||||
GraphicRanges::Range range;
|
||||
|
||||
private slots:
|
||||
void on_comboGraphic_currentIndexChanged(int index);
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user