19#ifndef _KIS_HISTOGRAM_VIEW_
20#define _KIS_HISTOGRAM_VIEW_
24#include <tqvaluevector.h>
25#include <tqstringlist.h>
28#include "kis_histogram_producer.h"
29#include "kis_histogram.h"
48class KisHistogramView : public TQLabel {
52 KisHistogramView(TQWidget *parent = 0, const char *name = 0, WFlags f = 0);
53 virtual ~KisHistogramView();
55 void setPaintDevice(KisPaintDeviceSP dev);
56 void setHistogram(KisHistogramSP histogram);
57 void setView( double from, double size);
58 KisHistogramProducerSP currentProducer();
59 TQStringList channelStrings();
65 void setCurrentChannels(KisHistogramProducerSP producer, TQValueVector<KisChannelInfo *> channels);
67 void setColor( bool set);
70 void setActiveChannel( int channel);
71 void setHistogramType(enumHistogramType type);
72 void updateHistogram();
75 void rightClicked( const TQPoint& pos);
78 virtual void mousePressEvent(TQMouseEvent * e);
82 void addProducerChannels(KisHistogramProducerSP producer);
86 KisHistogramProducerSP producer;
90 TQValueVector<ComboboxInfo> m_comboInfo;
92 KisHistogramSP m_histogram;
94 KisHistogramProducerSP m_currentProducer;
95 TQValueVector<KisChannelInfo *> m_channels;
97 TQValueVector<TQ_INT32> m_channelToOffset;
98 TQStringList m_channelStrings;
This class gives some basic information about a channel, that is, one of the components that makes up...
A colorspace is the definition of a certain color model in Chalk.
KisIDList listProducers() Lists all producers currently available.
void setCurrentChannels(const KisID &producerID, TQValueVector< KisChannelInfo * > channels) Sets the currently displayed channels to channels of the producer with producerID as ID.
Chalk has a large number of extensible resources.
|