anatomist  5.1.2
3D neuroimaging data viewer
QAColorDialog Class Reference

#include <anatomist/dialogs/colorDialog.h>

Inheritance diagram for QAColorDialog:
Collaboration diagram for QAColorDialog:

Signals

void colorChanged ()
 

Public Member Functions

 QAColorDialog (QColor, QWidget *parent=0, const char *name=0, bool modal=true, bool allowAlpha=false, bool allowNeutralAlpha=false, int initalpha=255, bool neutralph=false)
 
virtual ~QAColorDialog ()
 
void relook (const QColor &col, int initalpha=255, bool allowalpha=false, bool neutralpha=false, bool allownalph=false)
 
QColor color () const
 
int alpha () const
 
bool neutralAlpha () const
 

Static Public Member Functions

static QColor getColor (QColor, QWidget *parent=0, const char *name=0, int *alpha=0, bool *neutraph=0)
 

Protected Attributes

QAColorWidget_widget
 

Static Protected Attributes

static QAColorDialog_dialog
 

Detailed Description

Definition at line 46 of file colorDialog.h.

Constructor & Destructor Documentation

◆ QAColorDialog()

QAColorDialog::QAColorDialog ( QColor  ,
QWidget *  parent = 0,
const char *  name = 0,
bool  modal = true,
bool  allowAlpha = false,
bool  allowNeutralAlpha = false,
int  initalpha = 255,
bool  neutralph = false 
)

◆ ~QAColorDialog()

virtual QAColorDialog::~QAColorDialog ( )
virtual

Member Function Documentation

◆ alpha()

int QAColorDialog::alpha ( ) const

◆ color()

QColor QAColorDialog::color ( ) const

◆ colorChanged

void QAColorDialog::colorChanged ( )
signal

◆ getColor()

static QColor QAColorDialog::getColor ( QColor  ,
QWidget *  parent = 0,
const char *  name = 0,
int *  alpha = 0,
bool *  neutraph = 0 
)
static

◆ neutralAlpha()

bool QAColorDialog::neutralAlpha ( ) const

◆ relook()

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

Member Data Documentation

◆ _dialog

QAColorDialog* QAColorDialog::_dialog
staticprotected

Definition at line 72 of file colorDialog.h.

◆ _widget

QAColorWidget* QAColorDialog::_widget
protected

Definition at line 74 of file colorDialog.h.


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