Skip to content

RMathComboBox

Class in GUI Module
Header: #include <src/gui/RMathComboBox.h>
Inherits: QComboBox

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.

Scriptable: This class is available in script environments.

RMathComboBox(QWidget *parent=NULL)
void clearError()
QString getError()
RMathLineEdit * getMathLineEdit() const
double getValue()
bool isAngle() const
bool isInteger() const
bool isSane()
bool isScale() const
bool isValid()
void setAngle(bool on)
void setInteger(bool on)
void setScale(bool on, RS::Unit unit)
void setValue(double v, int precision=6)
void slotTextChanged(const QString &text)
void slotValueChanged(double value, const QString &error)
void valueChanged(double value, const QString &error)
bool angle
bool integer

RMathComboBox::RMathComboBox(QWidget *parent=NULL)

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 RMathComboBox::clearError()

inline

QString RMathComboBox::getError()

inline

RMathLineEdit * RMathComboBox::getMathLineEdit() const

inline const

double RMathComboBox::getValue()

inline

bool RMathComboBox::isAngle() const

inline const

bool RMathComboBox::isInteger() const

inline const

bool RMathComboBox::isSane()

inline

bool RMathComboBox::isScale() const

inline const

bool RMathComboBox::isValid()

inline

void RMathComboBox::setAngle(bool on)

inline

void RMathComboBox::setInteger(bool on)

inline

void RMathComboBox::setScale(bool on, RS::Unit unit)

inline

void RMathComboBox::setValue(double v, int precision=6)

inline

void RMathComboBox::slotTextChanged(const QString &text)

inline

void RMathComboBox::slotValueChanged(double value, const QString &error)

inline

void RMathComboBox::valueChanged(double value, const QString &error)

bool RMathComboBox::angle

bool RMathComboBox::integer