ImageProps
Hierarchy
↳ TextProps
↳ ImageProps
Index
Properties
- aspectRatioMode
- attributes
- buffer
- children
- cursor
- enabled
- geometry
- id
- maxSize
- minSize
- mouseTracking
- on
- openExternalLinks
- pos
- ref
- scaledContents
- size
- src
- style
- styleSheet
- textInteractionFlags
- transformationMode
- visible
- windowFlags
- windowIcon
- windowOpacity
- windowState
- windowTitle
- wordWrap
Properties
Optional
aspectRatioMode
• aspectRatioMode? : AspectRatioMode
Optional
attributes
• attributes? : WidgetAttributesMap
Inherited from ViewProps.attributes
Prop to set the Widget Attributes. example:
<View attributes={{[WidgetAttributes.WA_Disabled]: true}} />
Optional
buffer
• buffer? : Buffer
Optional
children
• children? : string | number | Array‹string | number›
Inherited from TextProps.children
Optional
cursor
• cursor? : CursorShape | QCursor
Inherited from ViewProps.cursor
Sets the window mouse cursor. QWidget: setCursor
Optional
enabled
• enabled? : undefined | false | true
Inherited from ViewProps.enabled
Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. QWidget: setEnabled
Optional
geometry
• geometry? : Geometry
Inherited from ViewProps.geometry
Sets the screen position as well as size of the widget. QWidget: setGeometry
Optional
id
• id? : undefined | string
Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. QWidget: setObjectName
Optional
maxSize
• maxSize? : Size
Inherited from ViewProps.maxSize
Sets the maximum size of the widget. QWidget: setMaximumSize
Optional
minSize
• minSize? : Size
Inherited from ViewProps.minSize
Sets the minimum size of the widget. QWidget: setMinimumSize
Optional
mouseTracking
• mouseTracking? : undefined | false | true
Inherited from ViewProps.mouseTracking
Sets the property that tells whether mouseTracking is enabled for the widget. QWidget: setMouseTracking
Optional
on
• on? : Partial‹WidgetEventListeners | QLabelSignals›
Prop to set the event listener map. See Handlong Events
Optional
openExternalLinks
• openExternalLinks? : undefined | false | true
Inherited from TextProps.openExternalLinks
Optional
pos
• pos? : Position
Sets the screen position of the widget. QWidget: move
Optional
ref
• ref? : any
Prop to set the ref. The ref will return the underlying nodegui widget.
Optional
scaledContents
• scaledContents? : undefined | false | true
Inherited from TextProps.scaledContents
Optional
size
• size? : ViewSize
Sets both the minimum and maximum sizes of the widget. QWidget: setFixedSize
Optional
src
• src? : undefined | string
Optional
style
• style? : undefined | string
Inherited from ViewProps.style
Sets the inline stylesheet property. QWidget: setInlineStyle
Optional
styleSheet
• styleSheet? : undefined | string
Inherited from ViewProps.styleSheet
Sets the property that holds the widget's style sheet. QWidget: setStyleSheet
Optional
textInteractionFlags
• textInteractionFlags? : TextInteractionFlag
Inherited from TextProps.textInteractionFlags
Optional
transformationMode
• transformationMode? : TransformationMode
Optional
visible
• visible? : undefined | false | true
Inherited from ViewProps.visible
Shows or hides the widget and its children. QWidget: show
Optional
windowFlags
• windowFlags? : WindowFlagsMap
Inherited from ViewProps.windowFlags
Prop to set the Widget flags. example:
<View windowFlags={{[WindowType.SplashScreen]: true}} />
Optional
windowIcon
• windowIcon? : QIcon
Inherited from ViewProps.windowIcon
Sets the window icon. QWidget: setWindowIcon
Optional
windowOpacity
• windowOpacity? : undefined | number
Inherited from ViewProps.windowOpacity
This property holds the level of opacity for the window. QWidget: setWindowOpacity
Optional
windowState
• windowState? : WindowState
Inherited from ViewProps.windowState
Sets the window state. QWidget: setWindowState
Optional
windowTitle
• windowTitle? : undefined | string
Inherited from ViewProps.windowTitle
Sets the window title property. QWidget: setWindowTitle
Optional
wordWrap
• wordWrap? : undefined | false | true