|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.trolltech.qt.internal.QSignalEmitterInternal
com.trolltech.qt.QSignalEmitter
com.trolltech.qt.QtJambiObject
com.trolltech.qt.gui.QPixmapFilter
public abstract class QPixmapFilter
The QPixmapFilter class provides the basic functionality for pixmap filter classes. Pixmap filter can be for example colorize or blur. QPixmapFilter is the base class for every pixmap filter. QPixmapFilter is an abstract class and cannot itself be instantiated. It provides a standard interface for filter processing.
Nested Class Summary | |
---|---|
static class |
QPixmapFilter.FilterType
This enum describes the types of filter that can be applied to pixmaps. |
Nested classes/interfaces inherited from class com.trolltech.qt.internal.QSignalEmitterInternal |
---|
com.trolltech.qt.internal.QSignalEmitterInternal.AbstractSignalInternal |
Field Summary |
---|
Fields inherited from class com.trolltech.qt.internal.QSignalEmitterInternal |
---|
currentSender |
Constructor Summary | |
---|---|
protected |
QPixmapFilter(QPixmapFilter.FilterType type)
Constructs a default QPixmapFilter with the given type. |
Method Summary | |
---|---|
QRectF |
boundingRectFor(QRectF rect)
Returns the bounding rectangle that is affected by the pixmap filter if the filter is applied to the specified rect. |
void |
draw(QPainter painter,
QPointF p,
QPixmap src)
Uses painter to draw filtered result of src at the point specified by p. |
abstract void |
draw(QPainter painter,
QPointF p,
QPixmap src,
QRectF srcRect)
Uses painter to draw filtered result of src at the point specified by p. |
QPixmapFilter.FilterType |
type()
Returns the type of the filter. |
Methods inherited from class com.trolltech.qt.QtJambiObject |
---|
dispose, disposed, equals, finalize, reassignNativeResources, tr, tr, tr |
Methods inherited from class com.trolltech.qt.QSignalEmitter |
---|
blockSignals, disconnect, disconnect, signalsBlocked, signalSender, thread |
Methods inherited from class com.trolltech.qt.internal.QSignalEmitterInternal |
---|
__qt_signalInitialization |
Methods inherited from class java.lang.Object |
---|
clone, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.trolltech.qt.QtJambiInterface |
---|
disableGarbageCollection, nativeId, nativePointer, reenableGarbageCollection, setJavaOwnership |
Constructor Detail |
---|
protected QPixmapFilter(QPixmapFilter.FilterType type)
This constructor should be used when subclassing QPixmapFilter to create custom user filters.
Method Detail |
---|
public final QPixmapFilter.FilterType type()
public QRectF boundingRectFor(QRectF rect)
public final void draw(QPainter painter, QPointF p, QPixmap src)
draw()
will affect the area which boundingRectFor()
returns.
public abstract void draw(QPainter painter, QPointF p, QPixmap src, QRectF srcRect)
draw()
will affect the area which boundingRectFor()
returns.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |