RLineweightCombo
Class in GUI Module
Header: #include <src/gui/RLineweightCombo.h>
Inherits: QComboBox
Description
Section titled “Description”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.
Public Functions
Section titled “Public Functions”RLineweightCombo(QWidget *parent=0) |
|
| RLineweight::Lineweight | getLineweight() |
| bool | getNoDefault() |
| bool | getOnlyFixed() |
| void | init() |
| void | setLineweight(RLineweight::Lineweight lw) |
| void | setNoDefault(bool noDefault) |
| void | setOnlyFixed(bool onlyFixed) |
Public Slots
Section titled “Public Slots”| void | lineweightChanged(int index) |
Private Attributes
Section titled “Private Attributes”| RLineweight::Lineweight | currentLineweight |
Signals
Section titled “Signals”| void | valueChanged(RLineweight::Lineweight lw) |
Properties
Section titled “Properties”| bool | noDefault |
| bool | onlyFixed |
Member Documentation
Section titled “Member Documentation”RLineweightCombo
Section titled “RLineweightCombo”RLineweightCombo::RLineweightCombo(QWidget *parent=0)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.
getLineweight
Section titled “getLineweight”RLineweight::Lineweight RLineweightCombo::getLineweight()getNoDefault
Section titled “getNoDefault”bool RLineweightCombo::getNoDefault()getOnlyFixed
Section titled “getOnlyFixed”bool RLineweightCombo::getOnlyFixed()void RLineweightCombo::init()setLineweight
Section titled “setLineweight”void RLineweightCombo::setLineweight(RLineweight::Lineweight lw)setNoDefault
Section titled “setNoDefault”void RLineweightCombo::setNoDefault(bool noDefault)setOnlyFixed
Section titled “setOnlyFixed”void RLineweightCombo::setOnlyFixed(bool onlyFixed)lineweightChanged
Section titled “lineweightChanged”void RLineweightCombo::lineweightChanged(int index)currentLineweight
Section titled “currentLineweight”RLineweight::Lineweight RLineweightCombo::currentLineweightprivate
valueChanged
Section titled “valueChanged”void RLineweightCombo::valueChanged(RLineweight::Lineweight lw)noDefault
Section titled “noDefault”bool RLineweightCombo::noDefaultonlyFixed
Section titled “onlyFixed”bool RLineweightCombo::onlyFixed