@dark-engine/platform-desktop
Version:
Dark renderer to desktop platforms like Windows, Linux, macOS via Nodegui and Qt
18 lines (17 loc) • 652 B
TypeScript
import { type QFontDialogSignals, type QFont, QFontDialog } from '@nodegui/nodegui';
import { type ComponentFactory, type Ref } from '@dark-engine/core';
import type { WidgetProps, WithStandardProps } from '../shared';
export type FontDialogProps = WithStandardProps<
{
ref?: Ref<FontDialogRef>;
open: boolean;
currentFont?: QFont;
} & WidgetProps
>;
export type FontDialogRef = QDarkFontDialog;
export type FontDialogSignals = QFontDialogSignals;
declare const FontDialog: ComponentFactory<FontDialogProps>;
declare class QDarkFontDialog extends QFontDialog {
setOpen(value: boolean): void;
}
export { FontDialog, QDarkFontDialog };