FrequencyCountDialog.h
Go to the documentation of this file.
/***************************************************************************
File : FrequencyCountDialog.h
Project : QtiPlot
--------------------------------------------------------------------
Copyright : (C) 2008 by Ion Vasilief
Email (use @ for *) : ion_vasilief*yahoo.fr
Description : Frequency count options dialog
***************************************************************************/
/***************************************************************************
* *
* 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 *
* the Free Software Foundation; either version 2 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 General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the Free Software *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, *
* Boston, MA 02110-1301 USA *
* *
***************************************************************************/
#ifndef FREQUENCYCOUNTDIALOG_H
#define FREQUENCYCOUNTDIALOG_H
#include <QDialog>
#include <gsl/gsl_vector.h>
class QPushButton;
class DoubleSpinBox;
class Table;
class FrequencyCountDialog : public QDialog
{
Q_OBJECT
public:
FrequencyCountDialog(Table *t, QWidget* parent = 0, Qt::WFlags fl = 0 );
~FrequencyCountDialog();
private slots:
bool apply();
void accept();
private:
Table *d_source_table;
Table *d_result_table;
QString d_col_name;
gsl_vector *d_col_values;
int d_bins;
QPushButton* buttonApply;
QPushButton* buttonCancel;
QPushButton* buttonOk;
DoubleSpinBox* boxStart;
DoubleSpinBox* boxEnd;
DoubleSpinBox* boxStep;
};
#endif
FrequencyCountDialog::d_result_table
Table * d_result_table
Definition: FrequencyCountDialog.h:54
FrequencyCountDialog::buttonApply
QPushButton * buttonApply
Definition: FrequencyCountDialog.h:59
FrequencyCountDialog::accept
void accept()
Definition: FrequencyCountDialog.cpp:238
FrequencyCountDialog::d_bins
int d_bins
Definition: FrequencyCountDialog.h:57
FrequencyCountDialog
Filter options dialog.
Definition: FrequencyCountDialog.h:40
DoubleSpinBox
A QDoubleSpinBox allowing to customize numbers display with respect to locale settings.
Definition: DoubleSpinBox.h:39
FrequencyCountDialog::boxStep
DoubleSpinBox * boxStep
Definition: FrequencyCountDialog.h:64
FrequencyCountDialog::~FrequencyCountDialog
~FrequencyCountDialog()
Definition: FrequencyCountDialog.cpp:244
FrequencyCountDialog::buttonCancel
QPushButton * buttonCancel
Definition: FrequencyCountDialog.h:60
FrequencyCountDialog::boxEnd
DoubleSpinBox * boxEnd
Definition: FrequencyCountDialog.h:63
FrequencyCountDialog::d_col_values
gsl_vector * d_col_values
Definition: FrequencyCountDialog.h:56
Table
MDI window providing a spreadsheet table with column logic.
Definition: Table.h:57
FrequencyCountDialog::FrequencyCountDialog
FrequencyCountDialog(Table *t, QWidget *parent=0, Qt::WFlags fl=0)
Definition: FrequencyCountDialog.cpp:46
FrequencyCountDialog::boxStart
DoubleSpinBox * boxStart
Definition: FrequencyCountDialog.h:62
FrequencyCountDialog::d_source_table
Table * d_source_table
Definition: FrequencyCountDialog.h:53
FrequencyCountDialog::buttonOk
QPushButton * buttonOk
Definition: FrequencyCountDialog.h:61
FrequencyCountDialog::d_col_name
QString d_col_name
Definition: FrequencyCountDialog.h:55
FrequencyCountDialog::apply
bool apply()
Definition: FrequencyCountDialog.cpp:161