CTimeEdit
Implements the time edit widget.
import { CTimeEdit } from "canvas-toolkit-lib";Declared members
static readonly ButtonWidth = 28;readonly timeChanged: CSignal<[Date]>;Signal emitted when time changes.
constructor(parent?: CWidget | null);Creates a new instance.
time(): Date;Provides time behavior.
setTime(time: Date): void;Sets the time.
minimumTime(): Date;Returns the minimum time.
setMinimumTime(time: Date): void;Sets the minimum time.
maximumTime(): Date;Returns the maximum time.
setMaximumTime(time: Date): void;Sets the maximum time.
displayFormat(): string;Provides display format behavior.
setDisplayFormat(format: string): void;Sets the display format.
lineEdit(): CSectionLineEdit;Provides line edit behavior.
stepUp(): void;Performs step up.
stepDown(): void;Performs step down.
setGeometry(x: number, y: number, width: number, height: number): void;Sets the geometry.
resize(width: number, height: number): void;Provides resize behavior.
sizeHint(): CSize;Returns the preferred size of the widget.