anatomist  5.1.2
3D neuroimaging data viewer
QAColorWidget Class Reference

#include <anatomist/dialogs/colorWidget.h>

Inheritance diagram for QAColorWidget:
Collaboration diagram for QAColorWidget:

Public Slots

void slidersChanged (int val)
 

Signals

void colorChanged ()
 

Public Member Functions

 QAColorWidget (QColor, QWidget *parent=0, const char *name=0, Qt::WindowFlags flags=Qt::WindowFlags(), bool allowAlpha=false, bool allowNeutralAlpha=false, int initalpha=255, bool neutralph=false)
 
 ~QAColorWidget ()
 
void relook (const QColor &col, int alpha=255, bool allowalpha=false, bool neutralpha=false, bool allownalph=false)
 
void allowNeutralAlpha (bool)
 
bool neutralAlpha () const
 
int alpha () const
 
QColor color () const
 

Protected Attributes

QAColorWidget_PrivateData * _pdat
 

Detailed Description

Definition at line 44 of file colorWidget.h.

Constructor & Destructor Documentation

◆ QAColorWidget()

QAColorWidget::QAColorWidget ( QColor  ,
QWidget *  parent = 0,
const char *  name = 0,
Qt::WindowFlags  flags = Qt::WindowFlags(),
bool  allowAlpha = false,
bool  allowNeutralAlpha = false,
int  initalpha = 255,
bool  neutralph = false 
)

◆ ~QAColorWidget()

QAColorWidget::~QAColorWidget ( )

Member Function Documentation

◆ allowNeutralAlpha()

void QAColorWidget::allowNeutralAlpha ( bool  )

◆ alpha()

int QAColorWidget::alpha ( ) const

◆ color()

QColor QAColorWidget::color ( ) const

◆ colorChanged

void QAColorWidget::colorChanged ( )
signal

◆ neutralAlpha()

bool QAColorWidget::neutralAlpha ( ) const

◆ relook()

void QAColorWidget::relook ( const QColor &  col,
int  alpha = 255,
bool  allowalpha = false,
bool  neutralpha = false,
bool  allownalph = false 
)

◆ slidersChanged

void QAColorWidget::slidersChanged ( int  val)
slot

Member Data Documentation

◆ _pdat

QAColorWidget_PrivateData* QAColorWidget::_pdat
protected

Definition at line 71 of file colorWidget.h.


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