RLinetypeCombo
Class in GUI Module
Header: #include <src/gui/RLinetypeCombo.h>
Inherits: QComboBox
Description
Section titled “Description”Scriptable: This class is available in script environments.
Public Functions
Section titled “Public Functions”RLinetypeCombo(QWidget *parent=0) |
|
| RLinetypePattern | getLinetypePattern() |
| RLinetypePattern | getLinetypePatternAt(int i) |
| bool | getOnlyFixed() |
| void | init(RDocument *doc) |
| void | reinit() |
| void | setLinetypePattern(const QString &name) |
| void | setLinetypePattern(const RLinetypePattern &linetypePattern) |
| void | setOnlyFixed(bool onlyFixed) |
Public Slots
Section titled “Public Slots”| void | linetypePatternChanged(int index) |
Private Attributes
Section titled “Private Attributes”| QList< RLinetypePattern > | patterns |
Signals
Section titled “Signals”| void | valueChanged(const RLinetypePattern &linetypePattern) |
Properties
Section titled “Properties”| bool | onlyFixed |
Member Documentation
Section titled “Member Documentation”RLinetypeCombo
Section titled “RLinetypeCombo”RLinetypeCombo::RLinetypeCombo(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.
getLinetypePattern
Section titled “getLinetypePattern”RLinetypePattern RLinetypeCombo::getLinetypePattern()getLinetypePatternAt
Section titled “getLinetypePatternAt”RLinetypePattern RLinetypeCombo::getLinetypePatternAt(int i)getOnlyFixed
Section titled “getOnlyFixed”bool RLinetypeCombo::getOnlyFixed()void RLinetypeCombo::init(RDocument *doc)reinit
Section titled “reinit”void RLinetypeCombo::reinit()setLinetypePattern
Section titled “setLinetypePattern”void RLinetypeCombo::setLinetypePattern(const QString &name)setLinetypePattern
Section titled “setLinetypePattern”void RLinetypeCombo::setLinetypePattern(const RLinetypePattern &linetypePattern)setOnlyFixed
Section titled “setOnlyFixed”void RLinetypeCombo::setOnlyFixed(bool onlyFixed)linetypePatternChanged
Section titled “linetypePatternChanged”void RLinetypeCombo::linetypePatternChanged(int index)patterns
Section titled “patterns”QList<RLinetypePattern> RLinetypeCombo::patternsprivate
valueChanged
Section titled “valueChanged”void RLinetypeCombo::valueChanged(const RLinetypePattern &linetypePattern)onlyFixed
Section titled “onlyFixed”bool RLinetypeCombo::onlyFixed