QCAD
Open Source 2D CAD
|
Copyright (c) 2011-2018 by Andrew Mustun. More...
#include <RMathLineEdit.h>
Public Slots | |
void | slotTextChanged (const QString &text) |
void | slotTextEdited (const QString &text) |
Signals | |
void | downKeyPressed () |
void | enterKeyPressed () |
void | upKeyPressed () |
void | valueChanged (double value, const QString &error) |
Public Member Functions | |
void | clearError () |
QString | getError () |
QColor | getNormalTextColor () const |
double | getValue () |
bool | isAngle () const |
bool | isInteger () const |
bool | isSane () |
bool | isValid () |
RMathLineEdit (QWidget *parent=NULL) | |
Copyright (c) 2011-2018 by Andrew Mustun. More... | |
void | setAngle (bool on) |
void | setInteger (bool on) |
void | setTextColor (bool error) |
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 |
bool | integer |
Private Attributes | |
QString | error |
bool | noEmit |
bool | noResultInToolTip |
QString | originalToolTip |
QPalette | oriPalette |
double | value |
Copyright (c) 2011-2018 by Andrew Mustun.
All rights reserved.
This file is part of the QCAD project.
QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with QCAD.
RMathLineEdit::RMathLineEdit | ( | QWidget * | parent = NULL | ) |
Copyright (c) 2011-2018 by Andrew Mustun.
All rights reserved.
This file is part of the QCAD project.
QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with QCAD.
void RMathLineEdit::clearError | ( | ) |
|
signal |
|
signal |
QString RMathLineEdit::getError | ( | ) |
QColor RMathLineEdit::getNormalTextColor | ( | ) | const |
double RMathLineEdit::getValue | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
protectedvirtual |
|
protectedvirtual |
|
inline |
|
inline |
void RMathLineEdit::setTextColor | ( | bool | error | ) |
void RMathLineEdit::setToolTip | ( | const QString & | toolTip | ) |
void RMathLineEdit::setValue | ( | double | v, |
int | precision = 6 |
||
) |
|
slot |
|
slot |
|
signal |
|
signal |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
readwrite |
|
readwrite |