QCAD Application Framework
CAD Application Development and Automation.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RMathLineEdit Class Reference

#include <RMathLineEdit.h>

List of all members.

Public Slots

void slotTextChanged (const QString &text)

Signals

void valueChanged (double value, const QString &error)

Public Member Functions

void clearError ()
QString getError ()
double getValue ()
bool isAngle () const
bool isInteger () const
bool isValid ()
 RMathLineEdit (QWidget *parent)
void setAngle (bool on)
void setInteger (bool on)
void setToolTip (const QString &toolTip)
void setValue (double v, int precision=6)

Protected Member Functions

virtual void keyPressEvent (QKeyEvent *event)
virtual void keyReleaseEvent (QKeyEvent *event)

Properties

bool angle

Private Attributes

QString error
bool integer
QString originalToolTip
QPalette oriPalette
double value

Detailed Description

Scriptable:
This class is wrapped for script environments.

Constructor & Destructor Documentation

RMathLineEdit::RMathLineEdit ( QWidget *  parent)

Member Function Documentation

void RMathLineEdit::clearError ( )
QString RMathLineEdit::getError ( )
double RMathLineEdit::getValue ( )
bool RMathLineEdit::isAngle ( ) const
inline
bool RMathLineEdit::isInteger ( ) const
inline
bool RMathLineEdit::isValid ( )
inline
void RMathLineEdit::keyPressEvent ( QKeyEvent *  event)
protectedvirtual
void RMathLineEdit::keyReleaseEvent ( QKeyEvent *  event)
protectedvirtual
void RMathLineEdit::setAngle ( bool  on)
inline
void RMathLineEdit::setInteger ( bool  on)
inline
void RMathLineEdit::setToolTip ( const QString &  toolTip)
void RMathLineEdit::setValue ( double  v,
int  precision = 6 
)
void RMathLineEdit::slotTextChanged ( const QString &  text)
slot
void RMathLineEdit::valueChanged ( double  value,
const QString &  error 
)
signal

Member Data Documentation

QString RMathLineEdit::error
private
bool RMathLineEdit::integer
private
QString RMathLineEdit::originalToolTip
private
QPalette RMathLineEdit::oriPalette
private
double RMathLineEdit::value
private

Property Documentation

bool RMathLineEdit::angle
readwrite

The documentation for this class was generated from the following files: