QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
RColorCombo Class Reference

Copyright (c) 2011-2018 by Andrew Mustun. More...

#include <RColorCombo.h>

Inheritance diagram for RColorCombo:

Public Slots

void colorChanged (int index)
 

Signals

void dialogRunning (bool isRunning)
 
void valueChanged (const RColor &color)
 

Public Member Functions

RColor getColor ()
 
bool getOnlyFixed ()
 
bool getShowAlphaChannel ()
 
void init ()
 
 RColorCombo (QWidget *parent=0)
 Copyright (c) 2011-2018 by Andrew Mustun.
 
void setColor (const RColor &col)
 
void setOnlyFixed (bool onlyFixed)
 
void setShowAlphaChannel (bool showAlphaChannel)
 

Properties

QColor color
 
bool onlyFixed
 
bool showAlphaChannel
 

Private Attributes

RColor currentColor
 

Detailed Description

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.

Scriptable:\nThis class is available in script environments.\n

Constructor & Destructor Documentation

◆ RColorCombo()

RColorCombo::RColorCombo ( QWidget * parent = 0)

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.

Member Function Documentation

◆ colorChanged

void RColorCombo::colorChanged ( int index)
slot

◆ dialogRunning

void RColorCombo::dialogRunning ( bool isRunning)
signal

◆ getColor()

RColor RColorCombo::getColor ( )

◆ getOnlyFixed()

bool RColorCombo::getOnlyFixed ( )

◆ getShowAlphaChannel()

bool RColorCombo::getShowAlphaChannel ( )

◆ init()

void RColorCombo::init ( )

◆ setColor()

void RColorCombo::setColor ( const RColor & col)

◆ setOnlyFixed()

void RColorCombo::setOnlyFixed ( bool onlyFixed)

◆ setShowAlphaChannel()

void RColorCombo::setShowAlphaChannel ( bool showAlphaChannel)

◆ valueChanged

void RColorCombo::valueChanged ( const RColor & color)
signal

Member Data Documentation

◆ currentColor

RColor RColorCombo::currentColor
private

Property Documentation

◆ color

QColor RColorCombo::color
readwrite

◆ onlyFixed

bool RColorCombo::onlyFixed
readwrite

◆ showAlphaChannel

bool RColorCombo::showAlphaChannel
readwrite

The documentation for this class was generated from the following files: