OpenCurves
0.9
Main Page
Related Pages
Modules
Namespaces
Classes
toolbarwidgets.h
1
//
2
// author Kazys Stepanas
3
//
4
// Copyright (c) CSIRO 2015
5
//
6
#ifndef TOOLBARWIDGETS_H
7
#define TOOLBARWIDGETS_H
8
9
#include "ocurvesconfig.h"
10
11
#include <QWidget>
12
13
class
QSpinBox;
14
class
QCheckBox;
15
class
QLineEdit;
16
17
namespace
Ui
18
{
19
class
ToolbarWidgets
;
20
}
21
26
class
ToolbarWidgets
:
public
QWidget
27
{
28
Q_OBJECT
29
public
:
32
explicit
ToolbarWidgets
(QWidget *parent =
nullptr
);
33
35
~ToolbarWidgets
();
36
39
QSpinBox *
maxSamplesSpin
();
40
43
QLineEdit *
timeScaleEdit
();
44
47
QCheckBox *
timeColumnCheck
();
48
51
QSpinBox *
timeColumnSpin
();
52
55
QCheckBox *
relativeTimeCheck
();
56
57
private
:
58
Ui::ToolbarWidgets *_ui;
59
};
60
61
#endif // TOOLBARWIDGETS_H
ToolbarWidgets::timeColumnCheck
QCheckBox * timeColumnCheck()
Access the check box for specifying use of a time column.
ToolbarWidgets::ToolbarWidgets
ToolbarWidgets(QWidget *parent=nullptr)
Constructor.
ToolbarWidgets::timeColumnSpin
QSpinBox * timeColumnSpin()
Access the spin box for setting the time column index (1 based) number of samples.
Ui
Definition:
coloursview.h:16
ToolbarWidgets
Widgets added to the toolbar, supporting non-button widgets.
Definition:
toolbarwidgets.h:26
ToolbarWidgets::~ToolbarWidgets
~ToolbarWidgets()
Destructor.
ToolbarWidgets::timeScaleEdit
QLineEdit * timeScaleEdit()
Access the editor for setting the time scaling.
ToolbarWidgets::relativeTimeCheck
QCheckBox * relativeTimeCheck()
Access the check box for setting relative time values.
ToolbarWidgets::maxSamplesSpin
QSpinBox * maxSamplesSpin()
Access the spin box for setting the maximum number of samples.
ocurves
ui
toolbarwidgets.h
Generated by
1.8.10