ODIN
odinqt
float1d.h
1
/***************************************************************************
2
float1d.h - description
3
-------------------
4
begin : Sun Aug 27 2000
5
copyright : (C) 2000-2021 by Thies Jochimsen
6
email : thies@jochimsen.de
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
15
* *
16
***************************************************************************/
17
18
#ifndef FLOAT1D_H
19
#define FLOAT1D_H
20
21
#include "complex1d.h"
22
26
class
floatBox1D
:
public
complexfloatBox1D
{
27
Q_OBJECT
28
29
public
:
30
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
);
31
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
);
32
33
34
public
slots:
35
void
refresh(
const
float
* data,
int
n,
float
min_x,
float
max_x);
36
void
refresh(
const
float
* data,
int
n) {refresh (data,n,0.0,0.0);}
37
38
void
refresh(
const
double
* data,
int
n,
float
min_x,
float
max_x);
39
void
refresh(
const
double
* data,
int
n) {refresh (data,n,0.0,0.0);}
40
};
41
42
43
#endif
complexfloatBox1D
Definition:
complex1d.h:34
floatBox1D
Definition:
float1d.h:26
Generated on Fri Oct 15 2021 11:36:56 for ODIN by
1.9.1