JKQTPlotter
trunk/v5.0.0
an extensive Qt5+Qt6 Plotter framework (including a feature-richt plotter widget, a speed-optimized, but limited variant and a LaTeX equation renderer!), written fully in C/C++ and without external dependencies
Main Page
Related Pages
Topics
Namespaces
Classes
Loading...
Searching...
No Matches
jkqtpenhancedspinboxes.h
1
/*
2
Copyright (c) 2008-2024 Jan W. Krieger (<jan@jkrieger.de>)
3
4
5
6
This software is free software: you can redistribute it and/or modify
7
it under the terms of the GNU Lesser General Public License as published by
8
the Free Software Foundation, either version 2.1 of the License, or
9
(at your option) any later version.
10
11
This program is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU Lesser General Public License for more details.
15
16
You should have received a copy of the GNU Lesser General Public License
17
along with this program. If not, see <http://www.gnu.org/licenses/>.
18
*/
19
20
21
#ifndef jkqtpenhancedspinboxes_H_INCLUDED
22
#define jkqtpenhancedspinboxes_H_INCLUDED
23
#include "jkqtplotter/jkqtplotter_imexport.h"
24
25
#include <QSpinBox>
26
#include <QDoubleSpinBox>
27
28
/*! \brief enhanced QDoubleSpinBox
29
\ingroup jkqtptools_qtwidgets
30
31
This class adds an event editingFinished() to QDoubleSpinBox.
32
*/
33
class
JKQTPLOTTER_LIB_EXPORT
JKQTPEnhancedDoubleSpinBox
:
public
QDoubleSpinBox {
34
Q_OBJECT
35
public
:
36
JKQTPEnhancedDoubleSpinBox
(QWidget* parent=
nullptr
);
37
~JKQTPEnhancedDoubleSpinBox
();
38
Q_SIGNALS:
39
void
editingFinished
(
double
value);
40
protected
Q_SLOTS:
41
void
intEditingFinished
();
42
};
43
44
45
46
/*! \brief enhanced QDoubleSpinBox
47
\ingroup jkqtptools_qtwidgets
48
49
This class adds an event editingFinished() to QDoubleSpinBox.
50
*/
51
class
JKQTPLOTTER_LIB_EXPORT
JKQTPEnhancedSpinBox
:
public
QSpinBox {
52
Q_OBJECT
53
public
:
54
JKQTPEnhancedSpinBox
(QWidget* parent=
nullptr
);
55
~JKQTPEnhancedSpinBox
();
56
Q_SIGNALS:
57
void
editingFinished
(
int
value);
58
protected
Q_SLOTS:
59
void
intEditingFinished
();
60
};
61
62
#endif
// jkqtpenhancedspinboxes_H_INCLUDED
JKQTPEnhancedDoubleSpinBox
enhanced QDoubleSpinBox
Definition
jkqtpenhancedspinboxes.h:33
JKQTPEnhancedDoubleSpinBox::editingFinished
void editingFinished(double value)
JKQTPEnhancedDoubleSpinBox::JKQTPEnhancedDoubleSpinBox
JKQTPEnhancedDoubleSpinBox(QWidget *parent=nullptr)
JKQTPEnhancedDoubleSpinBox::intEditingFinished
void intEditingFinished()
JKQTPEnhancedDoubleSpinBox::~JKQTPEnhancedDoubleSpinBox
~JKQTPEnhancedDoubleSpinBox()
JKQTPEnhancedSpinBox
enhanced QDoubleSpinBox
Definition
jkqtpenhancedspinboxes.h:51
JKQTPEnhancedSpinBox::~JKQTPEnhancedSpinBox
~JKQTPEnhancedSpinBox()
JKQTPEnhancedSpinBox::editingFinished
void editingFinished(int value)
JKQTPEnhancedSpinBox::intEditingFinished
void intEditingFinished()
JKQTPEnhancedSpinBox::JKQTPEnhancedSpinBox
JKQTPEnhancedSpinBox(QWidget *parent=nullptr)
JKQTPLOTTER_LIB_EXPORT
#define JKQTPLOTTER_LIB_EXPORT
Definition
jkqtplotter_imexport.h:89
lib
jkqtplotter
gui
jkqtpenhancedspinboxes.h
Generated on Wed Oct 30 2024 21:02:31 for JKQTPlotter by
doxygen
1.9.8