ComboBoxProps
Hierarchy
↳ ViewProps‹QComboBoxSignals›
↳ ComboBoxProps
Index
Properties
- attributes
- count
- currentData
- currentIndex
- currentText
- cursor
- duplicatesEnabled
- editable
- enabled
- frame
- geometry
- iconSize
- id
- insertPolicy
- items
- maxCount
- maxSize
- maxVisibleItems
- minSize
- minimumContentsLength
- modelColumn
- mouseTracking
- on
- pos
- ref
- size
- sizeAdjustPolicy
- style
- styleSheet
- visible
- windowFlags
- windowIcon
- windowOpacity
- windowState
- windowTitle
Properties
Optional
attributes
• attributes? : WidgetAttributesMap
Inherited from ViewProps.attributes
Prop to set the Widget Attributes. example:
<View attributes={{[WidgetAttributes.WA_Disabled]: true}} />
Optional
count
• count? : undefined | number
Optional
currentData
• currentData? : QVariant
Optional
currentIndex
• currentIndex? : undefined | number
Optional
currentText
• currentText? : undefined | string
Optional
cursor
• cursor? : CursorShape | QCursor
Inherited from ViewProps.cursor
Sets the window mouse cursor. QWidget: setCursor
Optional
duplicatesEnabled
• duplicatesEnabled? : undefined | false | true
Optional
editable
• editable? : undefined | false | true
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
frame
• frame? : undefined | false | true
Optional
geometry
• geometry? : Geometry
Inherited from ViewProps.geometry
Sets the screen position as well as size of the widget. QWidget: setGeometry
Optional
iconSize
• iconSize? : QSize
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
insertPolicy
• insertPolicy? : InsertPolicy
Optional
items
• items? : ComboBoxItem[]
Optional
maxCount
• maxCount? : undefined | number
Optional
maxSize
• maxSize? : Size
Inherited from ViewProps.maxSize
Sets the maximum size of the widget. QWidget: setMaximumSize
Optional
maxVisibleItems
• maxVisibleItems? : undefined | number
Optional
minSize
• minSize? : Size
Inherited from ViewProps.minSize
Sets the minimum size of the widget. QWidget: setMinimumSize
Optional
minimumContentsLength
• minimumContentsLength? : undefined | number
Optional
modelColumn
• modelColumn? : undefined | number
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 | QComboBoxSignals›
Prop to set the event listener map. See Handlong Events
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
size
• size? : ViewSize
Sets both the minimum and maximum sizes of the widget. QWidget: setFixedSize
Optional
sizeAdjustPolicy
• sizeAdjustPolicy? : SizeAdjustPolicy
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
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