\( \def\bold#1{\bf #1} \newcommand{\d}{\mathrm{d}} \)
combined input widget to serve text edit and slider at once More...
#include <poweranalysis.h>
Public Slots | |
void | refresh () |
set edit text to v-value | |
Signals | |
void | changed () |
Public Member Functions | |
Inputs (QString labeltext, double min, double max, double *v) | |
create widget with data range [min,max] and data reference v | |
Private Slots | |
void | slidertoedit () |
apply slider value to edit and v | |
void | sliderpreview (int i) |
set edit text from slider value | |
void | checkedit (QString newedit) |
check if user input is a float | |
Private Attributes | |
QLabel * | label |
QSlider * | slider |
double | smin |
double | smax |
double * | v |
define data range | |
QLineEdit * | edit |
combined input widget to serve text edit and slider at once
Definition at line 18 of file poweranalysis.h.