20 #ifndef IMAGE_COMPOSER_OPERATOR_HEADER
21 #define IMAGE_COMPOSER_OPERATOR_HEADER
46 void getArgs( QColor& theBackground )
const;
47 void setArgs(
const QColor& theBackground );
49 QByteArray getBinArgs()
const;
50 void setBinArgs(
const QByteArray& );
57 QStringList dumpArgsToPython( QString& theArrayName )
const;
63 virtual QString name()
const = 0;
66 const QVariant& theObj2 )
const;
75 virtual QRectF calcResultBoundingRect(
const QVariant& theObj1,
76 const QVariant& theObj2 )
const = 0;
84 virtual void drawResult( QPainter& thePainter,
const QVariant& theObj1,
85 const QVariant& theObj2 )
const = 0;
87 virtual void storeArgs( QDataStream& theStream )
const;
88 virtual void restoreArgs( QDataStream& theStream );
91 friend class ImageComposerTests_TestOperators;