|
Qyoto
4.0.7
Qyoto is a C# language binding for Qt
|
The QGraphicsDropShadowEffect class provides a drop shadow effect. More...


Public Member Functions | |
| QGraphicsDropShadowEffect (QObject parent=null) | |
| More... | |
| override void | CreateProxy () |
| override QRectF | BoundingRectFor (QRectF rect) |
| More... | |
| new void | SetOffset (double d) |
| new void | SetOffset (double dx, double dy) |
| new void | Dispose () |
Public Member Functions inherited from QtGui.QGraphicsEffect | |
| QGraphicsEffect (QObject parent=null) | |
| More... | |
| override void | CreateProxy () |
| new void | Update () |
| More... | |
| new void | Dispose () |
Public Member Functions inherited from QtCore.QObject | |
| QObject (QObject parent=null) | |
| More... | |
| new bool | BlockSignals (bool b) |
| More... | |
| new bool | Connect (QObject sender, string signal, string member, Qt.ConnectionType type=Qt.ConnectionType.AutoConnection) |
| More... | |
| new void | DeleteLater () |
| More... | |
| new bool | Disconnect (QObject receiver, string member=null) |
| More... | |
| new bool | Disconnect (string signal=null, QObject receiver=null, string member=null) |
| More... | |
| new void | DumpObjectInfo () |
| More... | |
| new void | DumpObjectTree () |
| More... | |
| virtual bool | OnEvent (QEvent e) |
| More... | |
| virtual bool | EventFilter (QObject watched, QEvent @event) |
| More... | |
| new bool | Inherits (string classname) |
| More... | |
| new void | InstallEventFilter (QObject filterObj) |
| More... | |
| new void | KillTimer (int id) |
| More... | |
| new object | Property (string name) |
| More... | |
| new void | RemoveEventFilter (QObject obj) |
| More... | |
| new bool | SetProperty (string name, object value) |
| More... | |
| new void | SetUserData (uint id, QObjectUserData data) |
| new int | StartTimer (int interval) |
| More... | |
| new QObjectUserData | UserData (uint id) |
| new void | Dispose () |
Public Member Functions inherited from QtCore.Qt | |
| delegate QTextStream | FuncQTextStreamQTextStream (QTextStream qTextStream) |
| delegate void | ActionQtMsgTypeString (QtMsgType qtMsgType, string @string) |
| delegate QObject | FuncQObject () |
| delegate string | FuncStringQByteArray (QByteArray qByteArray) |
| delegate QByteArray | FuncQByteArrayString (string @string) |
Static Public Member Functions | |
| static string | Tr (string s, string c=null) |
| static string | Tr (string s, string c, int n) |
| static string | TrUtf8 (string s, string c=null) |
| static string | TrUtf8 (string s, string c, int n) |
Static Public Member Functions inherited from QtGui.QGraphicsEffect | |
| static string | Tr (string s, string c=null) |
| static string | Tr (string s, string c, int n) |
| static string | TrUtf8 (string s, string c=null) |
| static string | TrUtf8 (string s, string c, int n) |
Static Public Member Functions inherited from QtCore.QObject | |
| static bool | Connect (QObject sender, QMetaMethod signal, QObject receiver, QMetaMethod method, Qt.ConnectionType type=Qt.ConnectionType.AutoConnection) |
| More... | |
| static bool | Connect (QObject sender, string signal, QObject receiver, string member, Qt.ConnectionType type=Qt.ConnectionType.AutoConnection) |
| More... | |
| static bool | Disconnect (QObject sender, QMetaMethod signal, QObject receiver, QMetaMethod member) |
| More... | |
| static bool | Disconnect (QObject sender, string signal, QObject receiver, string member) |
| More... | |
| static string | Tr (string s, string c=null) |
| More... | |
| static string | Tr (string s, string c, int n) |
| More... | |
| static string | TrUtf8 (string s, string c=null) |
| More... | |
| static string | TrUtf8 (string s, string c, int n) |
| More... | |
Static Public Member Functions inherited from QtCore.Qt | |
| static QDataStream | Write (QDataStream s, object p) |
| static QDataStream | Write (QDataStream stream, QSizeF size) |
| More... | |
| static QDataStream | Write (QDataStream stream, QPoint point) |
| More... | |
| static QTextStream | Write (QTextStream s, Qt.FuncQTextStreamQTextStream f) |
| static QDataStream | Write (QDataStream stream, QLineF line) |
| More... | |
| static QDataStream | Write (QDataStream stream, QPointF point) |
| More... | |
| static QDataStream | Write (QDataStream @out, QChar chr) |
| More... | |
| static QDataStream | Write (QDataStream @out, QByteArray ba) |
| More... | |
| static QDataStream | Write (QDataStream stream, QEasingCurve easing) |
| More... | |
| static QDataStream | Write (QDataStream stream, QRectF rectangle) |
| More... | |
| static QDataStream | Write (QDataStream @out, QDateTime dateTime) |
| More... | |
| static QDataStream | Write (QDataStream @out, QUrl url) |
| More... | |
| static QDataStream | Write (QDataStream @out, QTime time) |
| More... | |
| static QDataStream | Write (QDataStream arg1, QLocale arg2) |
| static QDataStream | Write (QDataStream @out, QBitArray ba) |
| More... | |
| static QDataStream | Write (QDataStream s, QUuid id) |
| More... | |
| static QDataStream | Write (QDataStream stream, QLine line) |
| More... | |
| static QDataStream | Write (QDataStream @out, QDate date) |
| More... | |
| static QDataStream | Write (QDataStream @out, QRegExp regExp) |
| More... | |
| static QDataStream | Write (QDataStream stream, QRect rectangle) |
| More... | |
| static QDataStream | Write (QDataStream stream, QSize size) |
| More... | |
| static QDataStream | Write (QDataStream s, QVariant.Type p) |
| static QDataStream | Write (QDataStream arg1, string arg2) |
| static QDataStream | Write (QDataStream @out, System.Collections.Generic.List< string > list) |
| More... | |
| static QDataStream | Read (QDataStream @in, QChar chr) |
| More... | |
| static QDataStream | Read (QDataStream arg1, QLocale arg2) |
| static QDataStream | Read (QDataStream stream, QRect rectangle) |
| More... | |
| static QDataStream | Read (QDataStream arg1, QEasingCurve arg2) |
| static QDataStream | Read (QDataStream @in, QDate date) |
| More... | |
| static QDataStream | Read (QDataStream @in, QUrl url) |
| More... | |
| static QDataStream | Read (QDataStream s, QUuid id) |
| More... | |
| static QTextStream | Read (QTextStream s, Qt.FuncQTextStreamQTextStream f) |
| static QDataStream | Read (QDataStream stream, QLineF line) |
| More... | |
| static QDataStream | Read (QDataStream stream, QRectF rectangle) |
| More... | |
| static QDataStream | Read (QDataStream stream, QPointF point) |
| More... | |
| static QDataStream | Read (QDataStream stream, QLine line) |
| More... | |
| static QDataStream | Read (QDataStream @in, QBitArray ba) |
| More... | |
| static QDataStream | Read (QDataStream stream, QSize size) |
| More... | |
| static QDataStream | Read (QDataStream @in, QDateTime dateTime) |
| More... | |
| static QDataStream | Read (QDataStream @in, QTime time) |
| More... | |
| static QDataStream | Read (QDataStream stream, QPoint point) |
| More... | |
| static QDataStream | Read (QDataStream @in, QRegExp regExp) |
| More... | |
| static QDataStream | Read (QDataStream s, object p) |
| static QDataStream | Read (QDataStream @in, QByteArray ba) |
| More... | |
| static QDataStream | Read (QDataStream stream, QSizeF size) |
| More... | |
| static QDataStream | Read (QDataStream arg1, string arg2) |
| static QDataStream | Read (QDataStream s, QVariant.Type p) |
| static QDataStream | Read (QDataStream @in, System.Collections.Generic.List< string > list) |
| More... | |
| static double | QAcos (double v) |
| More... | |
| static void | QAddPostRoutine (System.Action ptr) |
| More... | |
| static double | QAsin (double v) |
| More... | |
| static double | QAtan (double v) |
| More... | |
| static double | QAtan2 (double x, double y) |
| More... | |
| static void | QBadAlloc () |
| static int | QCeil (double v) |
| More... | |
| static ushort | QChecksum (string s, uint len) |
| More... | |
| static QByteArray | QCompress (QByteArray data, int compressionLevel=-1) |
| More... | |
| static QByteArray | QCompress (Pointer< byte > data, int nbytes, int compressionLevel=-1) |
| More... | |
| static double | QCos (double v) |
| More... | |
| static double | QExp (double v) |
| More... | |
| static double | QFabs (double v) |
| static double | QFastCos (double x) |
| static double | QFastSin (double x) |
| static string | QFlagLocation (string method) |
| static int | QFloor (double v) |
| More... | |
| static bool | QFuzzyCompare (double p1, double p2) |
| More... | |
| static bool | QFuzzyCompare (float p1, float p2) |
| More... | |
| static bool | QFuzzyIsNull (double d) |
| static bool | QFuzzyIsNull (float f) |
| static uint | QHash (QBitArray key) |
| More... | |
| static uint | QHash (QChar key) |
| More... | |
| static uint | QHash (QStringRef key) |
| static uint | QHash (QUrl url) |
| More... | |
| static uint | QHash (QPersistentModelIndex index) |
| static uint | QHash (QByteArray key) |
| More... | |
| static uint | QHash (QModelIndex index) |
| static uint | QHash (uint key) |
| More... | |
| static uint | QHash (char key) |
| More... | |
| static uint | QHash (byte key) |
| More... | |
| static uint | QHash (short key) |
| More... | |
| static uint | QHash (NativeLong key) |
| More... | |
| static uint | QHash (ushort key) |
| More... | |
| static uint | QHash (long key) |
| More... | |
| static uint | QHash (ulong key) |
| More... | |
| static uint | QHash (int key) |
| More... | |
| static uint | QHash (string key) |
| More... | |
| static uint | QHash (NativeULong key) |
| More... | |
| static Qt.ActionQtMsgTypeString | QInstallMsgHandler (Qt.ActionQtMsgTypeString handler) |
| More... | |
| static int | QIntCast (float f) |
| static int | QIntCast (double f) |
| static bool | QIsFinite (double d) |
| static bool | QIsFinite (float f) |
| static bool | QIsInf (float f) |
| static bool | QIsInf (double d) |
| static bool | QIsNaN (float f) |
| static bool | QIsNaN (double d) |
| static bool | QIsNull (float f) |
| static bool | QIsNull (double d) |
| static double | QLn (double v) |
| More... | |
| static double | QPow (double x, double y) |
| More... | |
| static void | QRegisterStaticPluginInstanceFunction (Qt.FuncQObject function) |
| More... | |
| static void | QRemovePostRoutine (System.Action arg1) |
| static int | QRound (double d) |
| More... | |
| static long | QRound64 (double d) |
| More... | |
| static double | QSin (double v) |
| More... | |
| static double | QSqrt (double v) |
| More... | |
| static bool | QStringComparisonHelper (QStringRef s1, string s2) |
| static double | QTan (double v) |
| More... | |
| static QByteArray | QUncompress (QByteArray data) |
| More... | |
| static QByteArray | QUncompress (Pointer< byte > data, int nbytes) |
| More... | |
| static void | Qbswap_helper (Pointer< byte > src, Pointer< byte > dest, int size) |
| static QByteArray | Qgetenv (string varName) |
| More... | |
| static bool | Qputenv (string varName, QByteArray value) |
| More... | |
| static void | Qsrand (uint seed) |
| More... | |
| static int | Qstrcmp (QByteArray str1, QByteArray str2) |
| static int | Qstrcmp (QByteArray str1, string str2) |
| static int | Qstrcmp (string str1, QByteArray str2) |
| static int | Qstrcmp (string str1, string str2) |
| More... | |
| static Pointer< sbyte > | Qstrcpy (Pointer< sbyte > dst, string src) |
| More... | |
| static Pointer< sbyte > | Qstrdup (string src) |
| More... | |
| static int | Qstricmp (string str1, string str2) |
| More... | |
| static uint | Qstrlen (string str) |
| More... | |
| static int | Qstrncmp (string str1, string str2, uint len) |
| More... | |
| static Pointer< sbyte > | Qstrncpy (Pointer< sbyte > dst, string src, uint len) |
| More... | |
| static int | Qstrnicmp (string str1, string str2, uint len) |
| More... | |
| static uint | Qstrnlen (string str, uint maxlen) |
| More... | |
Protected Member Functions | |
| QGraphicsDropShadowEffect (System.Type dummy) | |
| new void | OnBlurRadiusChanged (double blurRadius) |
| More... | |
| new void | OnColorChanged (QColor color) |
| More... | |
| override void | Draw (QPainter painter) |
| More... | |
| new void | OnOffsetChanged (QPointF offset) |
| More... | |
Protected Member Functions inherited from QtGui.QGraphicsEffect | |
| QGraphicsEffect (System.Type dummy) | |
| new void | DrawSource (QPainter painter) |
| More... | |
| new void | OnEnabledChanged (bool enabled) |
| More... | |
| new QRectF | SourceBoundingRect (Qt.CoordinateSystem system=Qt.CoordinateSystem.LogicalCoordinates) |
| More... | |
| virtual void | SourceChanged (QGraphicsEffect.ChangeFlag flags) |
| More... | |
| new QPixmap | SourcePixmap (Qt.CoordinateSystem system=Qt.CoordinateSystem.LogicalCoordinates, QPoint offset=null, QGraphicsEffect.PixmapPadMode mode=QGraphicsEffect.PixmapPadMode.PadToEffectiveBoundingRect) |
| More... | |
| new void | UpdateBoundingRect () |
| More... | |
Protected Member Functions inherited from QtCore.QObject | |
| QObject (System.Type dummy) | |
| virtual void | OnChildEvent (QChildEvent @event) |
| More... | |
| virtual void | ConnectNotify (string signal) |
| More... | |
| virtual void | OnCustomEvent (QEvent @event) |
| More... | |
| new void | OnDestroyed (QObject obj=null) |
| More... | |
| virtual void | DisconnectNotify (string signal) |
| More... | |
| new int | Receivers (string signal) |
| More... | |
| virtual void | OnTimerEvent (QTimerEvent @event) |
| More... | |
Properties | |
| Slot< QPointF > | OffsetChanged |
| More... | |
| Slot< System.Double > | BlurRadiusChanged |
| More... | |
| Slot< QColor > | ColorChanged |
| More... | |
| new QPointF | Offset [get, set] |
| More... | |
| new double | XOffset [get, set] |
| More... | |
| new double | YOffset [get, set] |
| More... | |
| new double | BlurRadius [get, set] |
| More... | |
| new QColor | Color [get, set] |
| More... | |
| static new QMetaObject | StaticMetaObject [get] |
| new IQGraphicsDropShadowEffectSignals | Emit [get] |
Properties inherited from QtGui.QGraphicsEffect | |
| Slot< System.Boolean > | EnabledChanged |
| More... | |
| QRectF | BoundingRect [get] |
| More... | |
| bool | SourceIsPixmap [get] |
| More... | |
| new bool | Enabled [get, set] |
| More... | |
| static new QMetaObject | StaticMetaObject [get] |
| new IQGraphicsEffectSignals | Emit [get] |
Properties inherited from QtCore.QObject | |
| virtual EventHandler < QEventArgs< QChildEvent > > | ChildEvent |
| More... | |
| virtual EventHandler < QEventArgs< QEvent > > | CustomEvent |
| More... | |
| virtual EventHandler < QEventArgs< QEvent > > | Event |
| More... | |
| virtual EventHandler < QEventArgs< QTimerEvent > > | TimerEvent |
| More... | |
| Slot< QObject > | DestroyedObj |
| More... | |
| Slot | Destroyed |
| More... | |
| QObject | Parent [get, set] |
| More... | |
| System.Collections.Generic.List < QObject > | Children [get] |
| More... | |
| System.Collections.Generic.List < QByteArray > | DynamicPropertyNames [get] |
| More... | |
| bool | IsWidgetType [get] |
| More... | |
| static uint | RegisterUserData [get] |
| QObject | Sender [get] |
| More... | |
| int | SenderSignalIndex [get] |
| More... | |
| bool | SignalsBlocked [get] |
| More... | |
| virtual System.IntPtr | SmokeObject [get, set] |
| new string | ObjectName [get, set] |
| More... | |
| static new QMetaObject | StaticMetaObject [get] |
| More... | |
| static new QMetaObject | StaticQtMetaObject [get] |
| new IQObjectSignals | Emit [get] |
Properties inherited from QtCore.Qt | |
| static string | QAppName [get] |
| static double | QInf [get] |
| static double | QQNaN [get] |
| static double | QSNaN [get] |
| static bool | QSharedBuild [get] |
| static string | QVersion [get] |
| More... | |
| static int | Qrand [get] |
| More... | |
Additional Inherited Members | |
Public Types inherited from QtGui.QGraphicsEffect | |
| enum | ChangeFlag { SourceAttached = 1, SourceBoundingRectChanged = 4, SourceDetached = 2, SourceInvalidated = 8 } |
| More... | |
| enum | PixmapPadMode { NoPad = 0, PadToEffectiveBoundingRect = 2, PadToTransparentBorder = 1 } |
| More... | |
Static Public Attributes inherited from QtCore.Qt | |
| </para > *< para > Creating QM files suitable for use with this[SmokeMethod("qtTrId(const char*, int)")] static strin | QtTrId )(string id, int n=-1) |
Protected Attributes inherited from QtCore.QObject | |
| object | Q_EMIT = null |
| SmokeInvocation | interceptor |
| readonly List< QEventHandler > | eventFilters = new List<QEventHandler>() |
The QGraphicsDropShadowEffect class provides a drop shadow effect.
A drop shadow effect renders the source with a drop shadow. The color of the drop shadow can be modified using the setColor() function. The drop shadow offset can be modified using the setOffset() function and the blur radius of the drop shadow can be changed with the setBlurRadius() function.
By default, the drop shadow is a semi-transparent dark gray (QColor(63, 63, 63, 180)) shadow, blurred with a radius of 1 at an offset of 8 pixels towards the lower right. The drop shadow offset is specified in device coordinates.
See also QGraphicsBlurEffect, QGraphicsColorizeEffect, and QGraphicsOpacityEffect.
|
protected |
| QtGui.QGraphicsDropShadowEffect.QGraphicsDropShadowEffect | ( | QObject | parent = null | ) |
Constructs a new QGraphicsDropShadowEffect instance. The parent parameter is passed to QGraphicsEffect's constructor.

Reimplemented from QGraphicsEffect::boundingRectFor().
Reimplemented from QtGui.QGraphicsEffect.
|
virtual |
| new void QtGui.QGraphicsDropShadowEffect.Dispose | ( | ) |
|
protectedvirtual |
Reimplemented from QGraphicsEffect::draw().
Implements QtGui.QGraphicsEffect.
|
protected |
This signal is emitted whenever the effect's blur radius changes. The blurRadius parameter holds the effect's new blur radius.
|
protected |
This signal is emitted whenever the effect's color changes. The color parameter holds the effect's new color.
|
protected |
This signal is emitted whenever the effect's shadow offset changes. The offset parameter holds the effect's new shadow offset.
| new void QtGui.QGraphicsDropShadowEffect.SetOffset | ( | double | d | ) |
| new void QtGui.QGraphicsDropShadowEffect.SetOffset | ( | double | dx, |
| double | dy | ||
| ) |
|
static |
|
static |
|
static |
|
static |
|
getset |
This property holds the blur radius in pixels of the drop shadow.
Using a smaller radius results in a sharper shadow, whereas using a bigger radius results in a more blurred shadow.
By default, the blur radius is 1 pixel.
|
addremove |
This signal is emitted whenever the effect's blur radius changes. The blurRadius parameter holds the effect's new blur radius.
|
getset |
This property holds the color of the drop shadow.
By default, the drop color is a semi-transparent dark gray (QColor(63, 63, 63, 180)).
|
addremove |
This signal is emitted whenever the effect's color changes. The color parameter holds the effect's new color.
|
getprotected |
|
getset |
This property holds the shadow offset in pixels.
By default, the offset is 8 pixels towards the lower right.
The offset is given in device coordinates, which means it is unaffected by scale.
|
addremove |
This signal is emitted whenever the effect's shadow offset changes. The offset parameter holds the effect's new shadow offset.
|
staticget |
|
getset |
This property holds the horizontal shadow offset in pixels.
By default, the horizontal shadow offset is 8 pixels.
|
getset |
This property holds the vertical shadow offset in pixels.
By default, the vertical shadow offset is 8 pixels.