UNPKG

@dark-engine/platform-desktop

Version:

Dark renderer to desktop platforms like Windows, Linux, macOS via Nodegui and Qt

21 lines (20 loc) 757 B
import { type QDoubleSpinBoxSignals, QDoubleSpinBox } from '@nodegui/nodegui'; import { type ComponentFactory, type Ref } from '@dark-engine/core'; import type { WidgetProps, WithStandardProps } from '../shared'; export type DoubleSpinBoxProps = WithStandardProps< { ref?: Ref<DoubleSpinBoxRef>; value: number; decimals?: number; maximum?: number; minimum?: number; prefix?: string; suffix?: string; singleStep?: number; } & WidgetProps >; export type DoubleSpinBoxRef = QDarkDoubleSpinBox; export type DoubleSpinBoxSignals = QDoubleSpinBoxSignals; declare const DoubleSpinBox: ComponentFactory<DoubleSpinBoxProps>; declare class QDarkDoubleSpinBox extends QDoubleSpinBox {} export { DoubleSpinBox, QDarkDoubleSpinBox };