/usr/include/odinqt/float1d.h is in libodin-dev 1.8.5-2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | /***************************************************************************
float1d.h - description
-------------------
begin : Sun Aug 27 2000
copyright : (C) 2000 by Thies Jochimsen
email : jochimse@cns.mpg.de
***************************************************************************/
/***************************************************************************
* *
* 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. *
* *
***************************************************************************/
#ifndef FLOAT1D_H
#define FLOAT1D_H
#include "complex1d.h"
/**
* This class displays a float array in a nice box with title
*/
class floatBox1D : public complexfloatBox1D {
Q_OBJECT
public:
floatBox1D(const float *data,int n,QWidget *parent, const char *name, bool fixed_size, const char *xAxisLabel=0, const char *yAxisLabel=0, float min_x=0.0, float max_x=0.0, bool detachable=false);
floatBox1D(const double *data,int n,QWidget *parent, const char *name, bool fixed_size, const char *xAxisLabel=0, const char *yAxisLabel=0, float min_x=0.0, float max_x=0.0, bool detachable=false);
public slots:
void refresh(const float* data,int n, float min_x, float max_x);
void refresh(const float* data,int n) {refresh (data,n,0.0,0.0);}
void refresh(const double* data,int n, float min_x, float max_x);
void refresh(const double* data,int n) {refresh (data,n,0.0,0.0);}
};
#endif
|