QtPdWidgets
2.3.1
|
Dialog for editing numeric values on a touchscreen. More...
#include <TouchEditDialog.h>
Public Member Functions | |
TouchEditDialog (QWidget *parent=0) | |
Constructor. More... | |
~TouchEditDialog () | |
Destructor. More... | |
double | getValue () const |
void | setValue (double) |
Set the edit widget value. More... | |
void | setDecimals (int) |
Set the edit widget decimals. More... | |
void | setSuffix (const QString &) |
Set the edit widget suffix. More... | |
void | setLowerLimit (double) |
Set the edit widget lower limit. More... | |
void | setUpperLimit (double) |
Set the edit widget upper limit. More... | |
int | getEditDigit () const |
void | setEditDigit (int) |
Set the edit widget cursor position. More... | |
Private Slots | |
void | buttonOk_clicked () |
Accept Value. More... | |
void | buttonCancel_clicked () |
Abort Dialog. More... | |
void | changeEvent (QEvent *event) override |
Private Member Functions | |
Q_DECLARE_PRIVATE (TouchEditDialog) | |
PD_PRIVATE void | retranslate () |
Private Attributes | |
QScopedPointer< TouchEditDialogPrivate > const | d_ptr |
Dialog for editing numeric values on a touchscreen.
TouchEditDialog::TouchEditDialog | ( | QWidget * | parent = 0 | ) |
Constructor.
parent | parent widget |
TouchEditDialog::~TouchEditDialog | ( | ) |
Destructor.
|
privateslot |
Abort Dialog.
|
privateslot |
Accept Value.
|
overrideprivateslot |
References retranslate().
int TouchEditDialog::getEditDigit | ( | ) | const |
Referenced by Pd::NoPdTouchEditPrivate::openDialog(), and Pd::TouchEdit::Impl::openDialog().
double TouchEditDialog::getValue | ( | ) | const |
Referenced by Pd::NoPdTouchEditPrivate::openDialog(), and Pd::TouchEdit::Impl::openDialog().
|
private |
|
private |
Referenced by changeEvent().
void TouchEditDialog::setDecimals | ( | int | value | ) |
Set the edit widget decimals.
Referenced by Pd::NoPdTouchEditPrivate::openDialog(), and Pd::TouchEdit::Impl::openDialog().
void TouchEditDialog::setEditDigit | ( | int | value | ) |
Set the edit widget cursor position.
Referenced by Pd::NoPdTouchEditPrivate::openDialog(), and Pd::TouchEdit::Impl::openDialog().
void TouchEditDialog::setLowerLimit | ( | double | value | ) |
Set the edit widget lower limit.
Referenced by Pd::NoPdTouchEditPrivate::openDialog(), and Pd::TouchEdit::Impl::openDialog().
void TouchEditDialog::setSuffix | ( | const QString & | value | ) |
Set the edit widget suffix.
Referenced by Pd::NoPdTouchEditPrivate::openDialog(), and Pd::TouchEdit::Impl::openDialog().
void TouchEditDialog::setUpperLimit | ( | double | value | ) |
Set the edit widget upper limit.
Referenced by Pd::NoPdTouchEditPrivate::openDialog(), and Pd::TouchEdit::Impl::openDialog().
void TouchEditDialog::setValue | ( | double | value | ) |
Set the edit widget value.
Referenced by Pd::NoPdTouchEditPrivate::openDialog(), and Pd::TouchEdit::Impl::openDialog().
|
private |