krita/ui

KisChannelFlagsWidget Class Reference

A simple widget that shows a list of checkboxes in a scrollable area. More...

#include <kis_channelflags_widget.h>

Inheritance diagram for KisChannelFlagsWidget:

List of all members.

Public Member Functions

 KisChannelFlagsWidget (const KoColorSpace *colorSpace, QWidget *parent=0)
 ~KisChannelFlagsWidget ()
QBitArray channelFlags () const
void setChannelFlags (const QBitArray &channelFlags)

Detailed Description

A simple widget that shows a list of checkboxes in a scrollable area.

The checkboxes correspond to the channels in a colorspace and are in the order the channels are packed in the pixel. The resulting QBitArray can be used to decide which channels to modify or not for filters, composition and eveything else.

Definition at line 39 of file kis_channelflags_widget.h.


Constructor & Destructor Documentation

KisChannelFlagsWidget::KisChannelFlagsWidget ( const KoColorSpace *  colorSpace,
QWidget parent = 0 
)

Definition at line 34 of file kis_channelflags_widget.cpp.

KisChannelFlagsWidget::~KisChannelFlagsWidget (  ) 

Definition at line 57 of file kis_channelflags_widget.cpp.


Member Function Documentation

QBitArray KisChannelFlagsWidget::channelFlags (  )  const

retrieve the channel flags, in pixel order.

Definition at line 72 of file kis_channelflags_widget.cpp.

void KisChannelFlagsWidget::setChannelFlags ( const QBitArray channelFlags  ) 

Set the channelflags -- they are supposed to be in pixel order.

Definition at line 61 of file kis_channelflags_widget.cpp.


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