RNInputDialog
Hierarchy
QInputDialog
↳ RNInputDialog
Implements
- RNWidget
Index
Constructors
Properties
Accessors
Methods
- acceptDrops
- activateWindow
- addAction
- addEventListener
- adjustSize
- appendChild
- appendInitialChild
- cancelButtonText
- clearFocus
- close
- doubleDecimals
- doubleMaximum
- doubleMinimum
- doubleStep
- doubleValue
- eventProcessed
- exec
- font
- geometry
- getFlexNode
- hasMouseTracking
- hide
- inherits
- inputMode
- insertBefore
- intMaximum
- intMinimum
- intStep
- intValue
- isActiveWindow
- isComboBoxEditable
- isEnabled
- isSizeGripEnabled
- isVisible
- labelText
- lower
- mapFromGlobal
- mapFromParent
- mapToGlobal
- mapToParent
- maximumSize
- minimumSize
- move
- objectName
- okButtonText
- open
- options
- pos
- property
- raise
- reject
- removeAction
- removeChild
- removeEventListener
- repaint
- repolish
- resize
- result
- setAcceptDrops
- setAttribute
- setCancelButtonText
- setComboBoxEditable
- setContextMenuPolicy
- setCursor
- setDoubleDecimals
- setDoubleMaximum
- setDoubleMinimum
- setDoubleStep
- setDoubleValue
- setEnabled
- setEventProcessed
- setFixedSize
- setFlexNodeSizeControlled
- setFocus
- setFocusPolicy
- setFont
- setGeometry
- setGraphicsEffect
- setInlineStyle
- setInputMode
- setIntMaximum
- setIntMinimum
- setIntStep
- setIntValue
- setLabelText
- setLayout
- setMaximumSize
- setMinimumSize
- setModal
- setMouseTracking
- setNodeParent
- setObjectName
- setOkButtonText
- setOptions
- setProperty
- setProps
- setResult
- setSizeGripEnabled
- setStyleSheet
- setTextEchoMode
- setTextValue
- setWindowFlag
- setWindowIcon
- setWindowOpacity
- setWindowState
- setWindowTitle
- show
- showFullScreen
- showMaximized
- showMinimized
- showNormal
- size
- styleSheet
- testAttribute
- textEchoMode
- textValue
- update
- updateGeometry
- windowOpacity
- windowState
- windowTitle
Constructors
constructor
+ new RNInputDialog(): RNInputDialog
Inherited from RNInputDialog.constructor
Overrides void
Returns: RNInputDialog
+ new RNInputDialog(parent
: NodeWidget‹any›): RNInputDialog
Inherited from RNInputDialog.constructor
Overrides void
Parameters:
Name | Type |
---|---|
parent | NodeWidget‹any› |
Returns: RNInputDialog
Properties
Optional
_layout
• _layout? : NodeLayout‹QInputDialogSignals›
Inherited from void
_rawInlineStyle
• _rawInlineStyle: string
Inherited from void
actions
• actions: Set‹QAction›
Inherited from void
native
• native: NativeElement
Inherited from RNInputDialog.native
Overrides void
nodeChildren
• nodeChildren: Set‹Component›
Inherited from RNAction.nodeChildren
Optional
nodeParent
• nodeParent? : Component
Inherited from RNAction.nodeParent
type
• type: string
Inherited from void
Static
tagName
â–ª tagName: string = "input-dialog"
Accessors
layout
• get layout(): NodeLayout‹QInputDialogSignals› | undefined
Inherited from void
Returns: NodeLayout‹QInputDialogSignals› | undefined
• set layout(l
: NodeLayout‹QInputDialogSignals› | undefined): any
Inherited from void
Parameters:
Name | Type |
---|---|
l | NodeLayout‹QInputDialogSignals› | undefined |
Returns: any
Methods
acceptDrops
â–¸ acceptDrops(): boolean
Inherited from void
Returns: boolean
activateWindow
â–¸ activateWindow(): void
Inherited from void
Returns: void
addAction
â–¸ addAction(action
: QAction | string): QAction
Inherited from void
Parameters:
Name | Type |
---|---|
action | QAction | string |
Returns: QAction
addEventListener
▸ addEventListener‹SignalType›(signalType
: SignalType, callback
: QInputDialogSignals[SignalType]): void
Inherited from RNAction.addEventListener
Type parameters:
â–ª SignalType: keyof QInputDialogSignals
Parameters:
Name | Type | Description |
---|---|---|
signalType | SignalType | SignalType is a signal from the widgets signals interface. |
callback | QInputDialogSignals[SignalType] | Corresponding callback for the signal as mentioned in the widget's signal interface |
Returns: void
void
For example in the case of QPushButton:
â–¸ addEventListener(eventType
: WidgetEventTypes, callback
: function): void
Inherited from RNAction.addEventListener
Parameters:
â–ª eventType: WidgetEventTypes
â–ª callback: function
For example in the case of QPushButton:
â–¸ (event?
: NativeRawPointer‹"QEvent"›): void
Parameters:
Name | Type |
---|---|
event? | NativeRawPointer‹"QEvent"› |
Returns: void
adjustSize
â–¸ adjustSize(): void
Inherited from void
Returns: void
appendChild
â–¸ appendChild(child
: NodeWidget‹any›): void
Parameters:
Name | Type |
---|---|
child | NodeWidget‹any› |
Returns: void
appendInitialChild
â–¸ appendInitialChild(child
: NodeWidget‹any›): void
Parameters:
Name | Type |
---|---|
child | NodeWidget‹any› |
Returns: void
cancelButtonText
â–¸ cancelButtonText(): string
Inherited from RNInputDialog.cancelButtonText
Returns: string
clearFocus
â–¸ clearFocus(): void
Inherited from void
Returns: void
close
â–¸ close(): boolean
Inherited from void
Returns: boolean
doubleDecimals
â–¸ doubleDecimals(): number
Inherited from RNInputDialog.doubleDecimals
Returns: number
doubleMaximum
â–¸ doubleMaximum(): number
Inherited from RNInputDialog.doubleMaximum
Returns: number
doubleMinimum
â–¸ doubleMinimum(): number
Inherited from RNInputDialog.doubleMinimum
Returns: number
doubleStep
â–¸ doubleStep(): number
Inherited from RNInputDialog.doubleStep
Returns: number
doubleValue
â–¸ doubleValue(): number
Inherited from RNInputDialog.doubleValue
Returns: number
eventProcessed
â–¸ eventProcessed(): boolean
Inherited from RNAction.eventProcessed
Get the state of the event processed flag
See setEventProcessed()
.
Returns: boolean
boolean True if the current event is flagged as processed.
exec
â–¸ exec(): DialogCode
Returns: DialogCode
font
â–¸ font(): QFont
Inherited from void
Returns: QFont
geometry
â–¸ geometry(): QRect
Inherited from void
Returns: QRect
getFlexNode
â–¸ getFlexNode(): FlexNode
Inherited from void
Returns: FlexNode
hasMouseTracking
â–¸ hasMouseTracking(): boolean
Inherited from void
Returns: boolean
hide
â–¸ hide(): void
Inherited from void
Returns: void
inherits
â–¸ inherits(className
: string): boolean
Inherited from RNAction.inherits
Parameters:
Name | Type |
---|---|
className | string |
Returns: boolean
inputMode
â–¸ inputMode(): InputMode
Inherited from RNInputDialog.inputMode
Returns: InputMode
insertBefore
â–¸ insertBefore(child
: NodeWidget‹any›, beforeChild
: NodeWidget‹any›): void
Parameters:
Name | Type |
---|---|
child | NodeWidget‹any› |
beforeChild | NodeWidget‹any› |
Returns: void
intMaximum
â–¸ intMaximum(): number
Inherited from RNInputDialog.intMaximum
Returns: number
intMinimum
â–¸ intMinimum(): number
Inherited from RNInputDialog.intMinimum
Returns: number
intStep
â–¸ intStep(): number
Inherited from RNInputDialog.intStep
Returns: number
intValue
â–¸ intValue(): number
Inherited from RNInputDialog.intValue
Returns: number
isActiveWindow
â–¸ isActiveWindow(): boolean
Inherited from void
Returns: boolean
isComboBoxEditable
â–¸ isComboBoxEditable(): boolean
Inherited from RNInputDialog.isComboBoxEditable
Returns: boolean
isEnabled
â–¸ isEnabled(): boolean
Inherited from void
Returns: boolean
isSizeGripEnabled
â–¸ isSizeGripEnabled(): boolean
Inherited from RNDialog.isSizeGripEnabled
Returns: boolean
isVisible
â–¸ isVisible(): boolean
Inherited from void
Returns: boolean
labelText
â–¸ labelText(): string
Inherited from RNInputDialog.labelText
Returns: string
lower
â–¸ lower(): void
Inherited from void
Returns: void
mapFromGlobal
â–¸ mapFromGlobal(pos
: QPoint): QPoint
Inherited from void
Parameters:
Name | Type |
---|---|
pos | QPoint |
Returns: QPoint
mapFromParent
â–¸ mapFromParent(pos
: QPoint): QPoint
Inherited from void
Parameters:
Name | Type |
---|---|
pos | QPoint |
Returns: QPoint
mapToGlobal
â–¸ mapToGlobal(pos
: QPoint): QPoint
Inherited from void
Parameters:
Name | Type |
---|---|
pos | QPoint |
Returns: QPoint
mapToParent
â–¸ mapToParent(pos
: QPoint): QPoint
Inherited from void
Parameters:
Name | Type |
---|---|
pos | QPoint |
Returns: QPoint
maximumSize
â–¸ maximumSize(): QSize
Inherited from void
Returns: QSize
minimumSize
â–¸ minimumSize(): QSize
Inherited from void
Returns: QSize
move
â–¸ move(x
: number, y
: number): void
Inherited from void
Parameters:
Name | Type |
---|---|
x | number |
y | number |
Returns: void
objectName
â–¸ objectName(): string
Inherited from RNAction.objectName
Returns: string
okButtonText
â–¸ okButtonText(): string
Inherited from RNInputDialog.okButtonText
Returns: string
open
â–¸ open(): void
Returns: void
options
â–¸ options(): InputDialogOptions
Inherited from RNInputDialog.options
Returns: InputDialogOptions
pos
â–¸ pos(): object
Inherited from void
Returns: object
x: number
y: number
property
â–¸ property(name
: string): QVariant
Inherited from RNAction.property
Parameters:
Name | Type |
---|---|
name | string |
Returns: QVariant
raise
â–¸ raise(): void
Inherited from void
Returns: void
reject
â–¸ reject(): void
Inherited from RNDialog.reject
Returns: void
removeAction
â–¸ removeAction(action
: QAction): void
Inherited from void
Parameters:
Name | Type |
---|---|
action | QAction |
Returns: void
removeChild
â–¸ removeChild(child
: NodeWidget‹any›): void
Parameters:
Name | Type |
---|---|
child | NodeWidget‹any› |
Returns: void
removeEventListener
▸ removeEventListener‹SignalType›(signalType
: SignalType, callback
: QInputDialogSignals[SignalType]): void
Inherited from RNAction.removeEventListener
Type parameters:
â–ª SignalType: keyof QInputDialogSignals
Parameters:
Name | Type |
---|---|
signalType | SignalType |
callback | QInputDialogSignals[SignalType] |
Returns: void
â–¸ removeEventListener(eventType
: WidgetEventTypes, callback
: function): void
Inherited from RNAction.removeEventListener
Parameters:
â–ª eventType: WidgetEventTypes
â–ª callback: function
â–¸ (event?
: NativeRawPointer‹"QEvent"›): void
Parameters:
Name | Type |
---|---|
event? | NativeRawPointer‹"QEvent"› |
Returns: void
repaint
â–¸ repaint(): void
Inherited from void
Returns: void
repolish
â–¸ repolish(): void
Inherited from void
Returns: void
resize
â–¸ resize(width
: number, height
: number): void
Inherited from void
Parameters:
Name | Type |
---|---|
width | number |
height | number |
Returns: void
result
â–¸ result(): number
Inherited from RNDialog.result
Returns: number
setAcceptDrops
â–¸ setAcceptDrops(on
: boolean): void
Inherited from void
Parameters:
Name | Type |
---|---|
on | boolean |
Returns: void
setAttribute
â–¸ setAttribute(attribute
: WidgetAttribute, switchOn
: boolean): void
Inherited from void
Parameters:
Name | Type |
---|---|
attribute | WidgetAttribute |
switchOn | boolean |
Returns: void
setCancelButtonText
â–¸ setCancelButtonText(text
: string): void
Inherited from RNInputDialog.setCancelButtonText
Parameters:
Name | Type |
---|---|
text | string |
Returns: void
setComboBoxEditable
â–¸ setComboBoxEditable(editable
: boolean): void
Inherited from RNInputDialog.setComboBoxEditable
Parameters:
Name | Type |
---|---|
editable | boolean |
Returns: void
setContextMenuPolicy
â–¸ setContextMenuPolicy(contextMenuPolicy
: ContextMenuPolicy): void
Inherited from void
Parameters:
Name | Type |
---|---|
contextMenuPolicy | ContextMenuPolicy |
Returns: void
setCursor
â–¸ setCursor(cursor
: CursorShape | QCursor): void
Inherited from void
Parameters:
Name | Type |
---|---|
cursor | CursorShape | QCursor |
Returns: void
setDoubleDecimals
â–¸ setDoubleDecimals(decimals
: number): void
Inherited from RNInputDialog.setDoubleDecimals
Parameters:
Name | Type |
---|---|
decimals | number |
Returns: void
setDoubleMaximum
â–¸ setDoubleMaximum(value
: number): void
Inherited from RNInputDialog.setDoubleMaximum
Parameters:
Name | Type |
---|---|
value | number |
Returns: void
setDoubleMinimum
â–¸ setDoubleMinimum(value
: number): void
Inherited from RNInputDialog.setDoubleMinimum
Parameters:
Name | Type |
---|---|
value | number |
Returns: void
setDoubleStep
â–¸ setDoubleStep(value
: number): void
Inherited from RNInputDialog.setDoubleStep
Parameters:
Name | Type |
---|---|
value | number |
Returns: void
setDoubleValue
â–¸ setDoubleValue(value
: number): void
Inherited from RNInputDialog.setDoubleValue
Parameters:
Name | Type |
---|---|
value | number |
Returns: void
setEnabled
â–¸ setEnabled(enabled
: boolean): void
Inherited from void
Parameters:
Name | Type |
---|---|
enabled | boolean |
Returns: void
setEventProcessed
â–¸ setEventProcessed(isProcessed
: boolean): void
Inherited from RNAction.setEventProcessed
Mark the current event as having been processed
This method is used to indicate that the currently dispatched event has been processed and no further processing by superclasses is required. It only makes sense to call this method from an event handler.
When set, this flag will cause NodeGui's QObject::event()
method to
return true and not call the superclass event()
, effectively preventing
any further processing on this event.
Parameters:
Name | Type | Description |
---|---|---|
isProcessed | boolean | true if the event has been processed. |
Returns: void
setFixedSize
â–¸ setFixedSize(width
: number, height
: number): void
Inherited from void
Parameters:
Name | Type |
---|---|
width | number |
height | number |
Returns: void
setFlexNodeSizeControlled
â–¸ setFlexNodeSizeControlled(isSizeControlled
: boolean): void
Inherited from void
sets whether the widget's size is controlled by someone else (for example a window's size is controlled by its frame when dragged).
Parameters:
Name | Type | Description |
---|---|---|
isSizeControlled | boolean |
Returns: void
setFocus
â–¸ setFocus(reason?
: FocusReason): void
Inherited from void
Parameters:
Name | Type |
---|---|
reason? | FocusReason |
Returns: void
setFocusPolicy
â–¸ setFocusPolicy(policy
: FocusPolicy): void
Inherited from void
Parameters:
Name | Type |
---|---|
policy | FocusPolicy |
Returns: void
setFont
â–¸ setFont(font
: QFont): void
Inherited from void
Parameters:
Name | Type |
---|---|
font | QFont |
Returns: void
setGeometry
â–¸ setGeometry(x
: number, y
: number, w
: number, h
: number): void
Inherited from void
Parameters:
Name | Type |
---|---|
x | number |
y | number |
w | number |
h | number |
Returns: void
setGraphicsEffect
â–¸ setGraphicsEffect(effect
: QGraphicsEffect‹any›): void
Inherited from void
Parameters:
Name | Type |
---|---|
effect | QGraphicsEffect‹any› |
Returns: void
setInlineStyle
â–¸ setInlineStyle(style
: string): void
Inherited from void
Parameters:
Name | Type |
---|---|
style | string |
Returns: void
setInputMode
â–¸ setInputMode(value
: InputMode): void
Inherited from RNInputDialog.setInputMode
Parameters:
Name | Type |
---|---|
value | InputMode |
Returns: void
setIntMaximum
â–¸ setIntMaximum(value
: number): void
Inherited from RNInputDialog.setIntMaximum
Parameters:
Name | Type |
---|---|
value | number |
Returns: void
setIntMinimum
â–¸ setIntMinimum(value
: number): void
Inherited from RNInputDialog.setIntMinimum
Parameters:
Name | Type |
---|---|
value | number |
Returns: void
setIntStep
â–¸ setIntStep(value
: number): void
Inherited from RNInputDialog.setIntStep
Parameters:
Name | Type |
---|---|
value | number |
Returns: void
setIntValue
â–¸ setIntValue(value
: number): void
Inherited from RNInputDialog.setIntValue
Parameters:
Name | Type |
---|---|
value | number |
Returns: void
setLabelText
â–¸ setLabelText(value
: string): void
Inherited from RNInputDialog.setLabelText
Parameters:
Name | Type |
---|---|
value | string |
Returns: void
setLayout
â–¸ setLayout(parentLayout
: NodeLayout‹QInputDialogSignals›): void
Inherited from void
Parameters:
Name | Type |
---|---|
parentLayout | NodeLayout‹QInputDialogSignals› |
Returns: void
setMaximumSize
â–¸ setMaximumSize(maxw
: number, maxh
: number): void
Inherited from void
Parameters:
Name | Type |
---|---|
maxw | number |
maxh | number |
Returns: void
setMinimumSize
â–¸ setMinimumSize(minw
: number, minh
: number): void
Inherited from void
Parameters:
Name | Type |
---|---|
minw | number |
minh | number |
Returns: void
setModal
â–¸ setModal(modal
: boolean): void
Inherited from RNDialog.setModal
Parameters:
Name | Type |
---|---|
modal | boolean |
Returns: void
setMouseTracking
â–¸ setMouseTracking(isMouseTracked
: boolean): void
Inherited from void
Parameters:
Name | Type |
---|---|
isMouseTracked | boolean |
Returns: void
setNodeParent
â–¸ setNodeParent(parent?
: Component): void
Inherited from RNAction.setNodeParent
Parameters:
Name | Type |
---|---|
parent? | Component |
Returns: void
setObjectName
â–¸ setObjectName(objectName
: string): void
Inherited from void
Overrides RNAction.setObjectName
Parameters:
Name | Type |
---|---|
objectName | string |
Returns: void
setOkButtonText
â–¸ setOkButtonText(value
: string): void
Inherited from RNInputDialog.setOkButtonText
Parameters:
Name | Type |
---|---|
value | string |
Returns: void
setOptions
â–¸ setOptions(value
: InputDialogOptions): void
Inherited from RNInputDialog.setOptions
Parameters:
Name | Type |
---|---|
value | InputDialogOptions |
Returns: void
setProperty
â–¸ setProperty(name
: string, value
: QVariantType): boolean
Inherited from RNAction.setProperty
Parameters:
Name | Type |
---|---|
name | string |
value | QVariantType |
Returns: boolean
setProps
â–¸ setProps(newProps
: InputDialogProps, oldProps
: InputDialogProps): void
Parameters:
Name | Type |
---|---|
newProps | InputDialogProps |
oldProps | InputDialogProps |
Returns: void
setResult
â–¸ setResult(i
: number): void
Inherited from RNDialog.setResult
Parameters:
Name | Type |
---|---|
i | number |
Returns: void
setSizeGripEnabled
â–¸ setSizeGripEnabled(enabled
: boolean): void
Inherited from RNDialog.setSizeGripEnabled
Parameters:
Name | Type |
---|---|
enabled | boolean |
Returns: void
setStyleSheet
â–¸ setStyleSheet(styleSheet
: string): void
Inherited from void
Parameters:
Name | Type |
---|---|
styleSheet | string |
Returns: void
setTextEchoMode
â–¸ setTextEchoMode(value
: EchoMode): void
Inherited from RNInputDialog.setTextEchoMode
Parameters:
Name | Type |
---|---|
value | EchoMode |
Returns: void
setTextValue
â–¸ setTextValue(value
: string): void
Inherited from RNInputDialog.setTextValue
Parameters:
Name | Type |
---|---|
value | string |
Returns: void
setWindowFlag
â–¸ setWindowFlag(windowType
: WindowType, switchOn
: boolean): void
Inherited from void
Parameters:
Name | Type |
---|---|
windowType | WindowType |
switchOn | boolean |
Returns: void
setWindowIcon
â–¸ setWindowIcon(icon
: QIcon): void
Inherited from void
Parameters:
Name | Type |
---|---|
icon | QIcon |
Returns: void
setWindowOpacity
â–¸ setWindowOpacity(opacity
: number): void
Inherited from void
Parameters:
Name | Type |
---|---|
opacity | number |
Returns: void
setWindowState
â–¸ setWindowState(state
: WindowState): void
Inherited from void
Parameters:
Name | Type |
---|---|
state | WindowState |
Returns: void
setWindowTitle
â–¸ setWindowTitle(title
: string): void
Inherited from void
Parameters:
Name | Type |
---|---|
title | string |
Returns: void
show
â–¸ show(): void
Inherited from void
Returns: void
showFullScreen
â–¸ showFullScreen(): void
Inherited from void
Returns: void
showMaximized
â–¸ showMaximized(): void
Inherited from void
Returns: void
showMinimized
â–¸ showMinimized(): void
Inherited from void
Returns: void
showNormal
â–¸ showNormal(): void
Inherited from void
Returns: void
size
â–¸ size(): QSize
Inherited from void
Returns: QSize
styleSheet
â–¸ styleSheet(): string
Inherited from void
Returns: string
testAttribute
â–¸ testAttribute(attribute
: WidgetAttribute): boolean
Inherited from void
Parameters:
Name | Type |
---|---|
attribute | WidgetAttribute |
Returns: boolean
textEchoMode
â–¸ textEchoMode(): EchoMode
Inherited from RNInputDialog.textEchoMode
Returns: EchoMode
textValue
â–¸ textValue(): string
Inherited from RNInputDialog.textValue
Returns: string
update
â–¸ update(): void
Inherited from void
Returns: void
updateGeometry
â–¸ updateGeometry(): void
Inherited from void
Returns: void
windowOpacity
â–¸ windowOpacity(): number
Inherited from void
Returns: number
windowState
â–¸ windowState(): number
Inherited from void
Returns: number
windowTitle
â–¸ windowTitle(): string
Inherited from void
Returns: string