QCAD
Open Source 2D CAD
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RColorCombo Class Reference

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

#include <RColorCombo.h>

List of all members.

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-2014 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-2014 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:
This class is wrapped for script environments.

Constructor & Destructor Documentation

RColorCombo::RColorCombo ( QWidget *  parent = 0)

Copyright (c) 2011-2014 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

void RColorCombo::colorChanged ( int  index)
slot
void RColorCombo::dialogRunning ( bool  isRunning)
signal
RColor RColorCombo::getColor ( )
bool RColorCombo::getOnlyFixed ( )
bool RColorCombo::getShowAlphaChannel ( )
void RColorCombo::init ( )
void RColorCombo::setColor ( const RColor col)
void RColorCombo::setOnlyFixed ( bool  onlyFixed)
void RColorCombo::setShowAlphaChannel ( bool  showAlphaChannel)
void RColorCombo::valueChanged ( const RColor color)
signal

Member Data Documentation

RColor RColorCombo::currentColor
private

Property Documentation

QColor RColorCombo::color
readwrite
bool RColorCombo::onlyFixed
readwrite
bool RColorCombo::showAlphaChannel
readwrite

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