@nodegui/nodegui
Version:
A cross-platform library to build native desktop apps.
19 lines (14 loc) • 811 B
TypeScript
import { QObject, QObjectSignals } from '../QtCore/QObject';
/**
> This is the abstract base class of graphicseffect, providing their functionality.
* **This class is a JS wrapper around Qt's [QGraphicsEffect class](https://doc.qt.io/qt-5/qgraphicseffect.html)**
The QGraphicsEffect class is an abstract class and therefore, technically, no further instances actually have to be created.
It is inherited by QGraphicsBlurEffect, QGraphicsColorizeEffect, QGraphicsDropShadowEffect, and QGraphicsOpacityEffect.
*/
export declare abstract class QGraphicsEffect<Signals extends QGraphicsEffectSignals> extends QObject<Signals> {
setEnabled(enable: boolean): void;
isEnabled(): boolean;
}
export interface QGraphicsEffectSignals extends QObjectSignals {
enabledChanged: (enabled: boolean) => void;
}