#include <WFloatLineEdit.h>


Public Slots | |
| void | setValuePercent (int p) |
Signals | |
| void | floatValueChanged (float) |
| void | valuePercentChanged (int) |
Public Member Functions | |
| WFloatLineEdit (QWidget *parent, const char *name) | |
| float | minFloatValue () const |
| float | getMinFloatValue () |
| void | setMinFloatValue (float f) |
| float | maxFloatValue () const |
| float | getMaxFloatValue () |
| void | setMaxFloatValue (float f) |
| float | floatValue () const |
| float | getFloatValue () |
| void | setFloatValue (float f) |
| int | intValue () const |
| int | getIntValue () |
| void | setIntValue (int f) |
| int | valuePercent () |
Protected Slots | |
| void | slotCalcFloatValue (const QString &) |
| void | slotCalcFloatValue (float) |
| void | slotReturnPressed () |
Protected Member Functions | |
| void | checkValue () |
| virtual void | keyPressEvent (QKeyEvent *) |
Protected Attributes | |
| int | m_iPercent |
| float | m_fMinValue |
| float | m_fMaxValue |
| bool | m_bFirst |
| float | m_fValue |
| QDoubleValidator * | m_DblValid |
| double | m_bInternal |
Properties | |
| float | minFloatValue |
| float | maxFloatValue |
| float | floatValue |
| int | intValue |
Definition at line 40 of file WFloatLineEdit.h.
| WFloatLineEdit::WFloatLineEdit | ( | QWidget * | parent, | |
| const char * | name | |||
| ) |
Definition at line 34 of file WFloatLineEdit.cpp.
References m_bFirst, m_bInternal, m_DblValid, m_fMaxValue, m_fMinValue, m_fValue, m_iPercent, and slotReturnPressed().
| void WFloatLineEdit::checkValue | ( | ) | [protected] |
| float WFloatLineEdit::floatValue | ( | ) | const [inline] |
| void WFloatLineEdit::floatValueChanged | ( | float | _t1 | ) | [signal] |
| float WFloatLineEdit::getFloatValue | ( | ) | [inline] |
Definition at line 74 of file WFloatLineEdit.h.
References floatValue().
Referenced by sofa::gui::qt::ModifyObject::storeVector(), and sofa::gui::qt::ModifyObject::updateValues().
| int WFloatLineEdit::getIntValue | ( | ) | [inline] |
| float WFloatLineEdit::getMaxFloatValue | ( | ) | [inline] |
| float WFloatLineEdit::getMinFloatValue | ( | ) | [inline] |
| int WFloatLineEdit::intValue | ( | ) | const [inline] |
| void WFloatLineEdit::keyPressEvent | ( | QKeyEvent * | e | ) | [protected, virtual] |
| float WFloatLineEdit::maxFloatValue | ( | ) | const [inline] |
Definition at line 69 of file WFloatLineEdit.h.
References m_fMaxValue.
Referenced by getMaxFloatValue().
| float WFloatLineEdit::minFloatValue | ( | ) | const [inline] |
| void WFloatLineEdit::setFloatValue | ( | float | f | ) |
Definition at line 92 of file WFloatLineEdit.cpp.
References m_bInternal, and slotCalcFloatValue().
Referenced by sofa::gui::qt::ModifyObject::createVector(), setIntValue(), sofa::gui::qt::ModifyObject::setNode(), setValuePercent(), and sofa::gui::qt::ModifyObject::updateValues().
| void WFloatLineEdit::setIntValue | ( | int | f | ) |
| void WFloatLineEdit::setMaxFloatValue | ( | float | f | ) | [inline] |
Definition at line 71 of file WFloatLineEdit.h.
References m_DblValid, and m_fMaxValue.
Referenced by sofa::gui::qt::ModifyObject::createVector(), and sofa::gui::qt::ModifyObject::setNode().
| void WFloatLineEdit::setMinFloatValue | ( | float | f | ) | [inline] |
Definition at line 66 of file WFloatLineEdit.h.
References m_DblValid, and m_fMinValue.
Referenced by sofa::gui::qt::ModifyObject::createVector(), and sofa::gui::qt::ModifyObject::setNode().
| void WFloatLineEdit::setValuePercent | ( | int | p | ) | [slot] |
Definition at line 103 of file WFloatLineEdit.cpp.
References m_bInternal, m_fMaxValue, m_fMinValue, and setFloatValue().
| void WFloatLineEdit::slotCalcFloatValue | ( | float | f | ) | [protected, slot] |
Definition at line 60 of file WFloatLineEdit.cpp.
References floatValueChanged(), m_bFirst, m_fMaxValue, m_fMinValue, m_fValue, m_iPercent, and valuePercentChanged().
| void WFloatLineEdit::slotCalcFloatValue | ( | const QString & | s | ) | [protected, slot] |
Definition at line 87 of file WFloatLineEdit.cpp.
Referenced by setFloatValue(), and slotReturnPressed().
| void WFloatLineEdit::slotReturnPressed | ( | ) | [protected, slot] |
Definition at line 51 of file WFloatLineEdit.cpp.
References m_bInternal, and slotCalcFloatValue().
Referenced by WFloatLineEdit().
| int WFloatLineEdit::valuePercent | ( | ) |
Definition at line 112 of file WFloatLineEdit.cpp.
References m_fMaxValue, m_fMinValue, and m_fValue.
| void WFloatLineEdit::valuePercentChanged | ( | int | _t1 | ) | [signal] |
bool WFloatLineEdit::m_bFirst [protected] |
Definition at line 53 of file WFloatLineEdit.h.
Referenced by slotCalcFloatValue(), and WFloatLineEdit().
double WFloatLineEdit::m_bInternal [protected] |
Definition at line 56 of file WFloatLineEdit.h.
Referenced by setFloatValue(), setValuePercent(), slotReturnPressed(), and WFloatLineEdit().
QDoubleValidator* WFloatLineEdit::m_DblValid [protected] |
Definition at line 55 of file WFloatLineEdit.h.
Referenced by setMaxFloatValue(), setMinFloatValue(), and WFloatLineEdit().
float WFloatLineEdit::m_fMaxValue [protected] |
Definition at line 52 of file WFloatLineEdit.h.
Referenced by maxFloatValue(), setMaxFloatValue(), setValuePercent(), slotCalcFloatValue(), valuePercent(), and WFloatLineEdit().
float WFloatLineEdit::m_fMinValue [protected] |
Definition at line 51 of file WFloatLineEdit.h.
Referenced by setMinFloatValue(), setValuePercent(), slotCalcFloatValue(), valuePercent(), and WFloatLineEdit().
float WFloatLineEdit::m_fValue [mutable, protected] |
Definition at line 54 of file WFloatLineEdit.h.
Referenced by floatValue(), intValue(), keyPressEvent(), slotCalcFloatValue(), valuePercent(), and WFloatLineEdit().
int WFloatLineEdit::m_iPercent [protected] |
Definition at line 50 of file WFloatLineEdit.h.
Referenced by slotCalcFloatValue(), and WFloatLineEdit().
float WFloatLineEdit::floatValue [read, write] |
Definition at line 45 of file WFloatLineEdit.h.
int WFloatLineEdit::intValue [read, write] |
Definition at line 46 of file WFloatLineEdit.h.
float WFloatLineEdit::maxFloatValue [read, write] |
Definition at line 44 of file WFloatLineEdit.h.
float WFloatLineEdit::minFloatValue [read, write] |
Definition at line 43 of file WFloatLineEdit.h.
1.5.7.1