PopupPopup是一个弹出窗口的控件
Properties
- activeFocus : bool,只读属性,用来获取弹出窗口是否具有活动焦点。
- anchors.centerIn : Object,用来设置居中在谁窗口中.
- availableHeight : real,只读属性,用来获取当前弹出窗口的高度(可用于contentItem的高度)
- availableWidth : real,只读属性,用来获取当前弹出窗口的宽度(可用于contentItem的宽度)
- background : Item,背景item,如果自定义背景的话,需要设置其隐式大小
- bottomInset : real,底部插入,设置正数,那么contentItem内容就会超出背景
- leftInset : real
- rightInset : real
- topInset : real
- margins : real,Popup与父窗口的距离,设置所有的外边距
- bottomMargin : real,外边距,设置Popup与父窗口的底部的距离,为正数就会距离越远
- leftMargin : real
- rightMargin : real
- topMargin : real
- padding : real,设置所有的内边距
- bottomPadding : real,内边距,设置contentItem内容和背景底部的距离,为正数就会距离越远
- horizontalPadding : real
- leftPadding : real
- rightPadding : real
- topPadding : real
- verticalPadding : real
- clip : bool,设置是否超过popup自身窗口就裁减
- closePo