RColorCombo
Class in GUI Module
Header: #include <src/gui/RColorCombo.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”RColorCombo(QWidget *parent=0) |
|
| RColor | getColor() |
| bool | getOnlyFixed() |
| bool | getShowAlphaChannel() |
| void | init() |
| void | setColor(const RColor &col) |
| void | setOnlyFixed(bool onlyFixed) |
| void | setShowAlphaChannel(bool showAlphaChannel) |
Public Slots
Section titled “Public Slots”| void | colorChanged(int index) |
Private Attributes
Section titled “Private Attributes”| RColor | currentColor |
Signals
Section titled “Signals”| void | dialogRunning(bool isRunning) |
| void | valueChanged(const RColor &color) |
Properties
Section titled “Properties”| QColor | color |
| bool | onlyFixed |
| bool | showAlphaChannel |
Member Documentation
Section titled “Member Documentation”RColorCombo
Section titled “RColorCombo”RColorCombo::RColorCombo(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.
getColor
Section titled “getColor”RColor RColorCombo::getColor()getOnlyFixed
Section titled “getOnlyFixed”bool RColorCombo::getOnlyFixed()getShowAlphaChannel
Section titled “getShowAlphaChannel”bool RColorCombo::getShowAlphaChannel()void RColorCombo::init()setColor
Section titled “setColor”void RColorCombo::setColor(const RColor &col)setOnlyFixed
Section titled “setOnlyFixed”void RColorCombo::setOnlyFixed(bool onlyFixed)setShowAlphaChannel
Section titled “setShowAlphaChannel”void RColorCombo::setShowAlphaChannel(bool showAlphaChannel)colorChanged
Section titled “colorChanged”void RColorCombo::colorChanged(int index)currentColor
Section titled “currentColor”RColor RColorCombo::currentColorprivate
dialogRunning
Section titled “dialogRunning”void RColorCombo::dialogRunning(bool isRunning)valueChanged
Section titled “valueChanged”void RColorCombo::valueChanged(const RColor &color)QColor RColorCombo::coloronlyFixed
Section titled “onlyFixed”bool RColorCombo::onlyFixedshowAlphaChannel
Section titled “showAlphaChannel”bool RColorCombo::showAlphaChannel