Editor Scripting API
Lens Scripting API
Guide Docs
Preparing search index...
Editor Scripting
LensStudio:Ui
CollapsiblePanel
Class CollapsiblePanel
Hierarchy (
View Summary
)
Widget
CollapsiblePanel
Index
Constructors
constructor
Properties
auto
Fill
Background
background
Role
context
Menu
Policy
custom
Background
Role
device
Pixel
Ratio
enabled
expandable
font
Role
foreground
Role
height
hidden
is
Null
layout
on
Close
on
Expand
on
Hide
on
Resize
on
Show
override
Background
Role
tool
Tip
visible
width
window
Title
Methods
activate
Window
adjust
Size
block
Signals
clear
Content
close
delete
Later
expand
get
Type
Name
grab
is
Of
Type
is
Same
move
raise
resize
set
Contents
Margins
set
Content
Widget
set
Fixed
Height
set
Fixed
Width
set
Maximum
Height
set
Maximum
Width
set
Minimum
Height
set
Minimum
Width
set
Size
Policy
set
Undoable
set
Undoable
Recursive
show
Constructors
constructor
new
CollapsiblePanel
(
icon
:
Editor
.
Icon
,
text
:
string
,
parent
:
Widget
,
)
:
CollapsiblePanel
Parameters
icon
:
Editor
.
Icon
text
:
string
parent
:
Widget
Returns
CollapsiblePanel
Properties
auto
Fill
Background
autoFillBackground
:
boolean
background
Role
backgroundRole
:
ColorRole
context
Menu
Policy
contextMenuPolicy
:
ContextMenuPolicy
custom
Background
Role
customBackgroundRole
:
BackgroundRole
Readonly
device
Pixel
Ratio
devicePixelRatio
:
number
enabled
enabled
:
boolean
expandable
expandable
:
boolean
font
Role
fontRole
:
FontRole
foreground
Role
foregroundRole
:
ColorRole
Readonly
height
height
:
number
hidden
hidden
:
boolean
Readonly
is
Null
isNull
:
boolean
layout
layout
:
Layout
Readonly
on
Close
onClose
:
signal1
<
CloseEvent
,
void
>
Readonly
on
Expand
onExpand
:
signal1
<
boolean
,
void
>
Readonly
on
Hide
onHide
:
signal0
<
void
>
Readonly
on
Resize
onResize
:
signal2
<
number
,
number
,
void
>
Readonly
on
Show
onShow
:
signal0
<
void
>
override
Background
Role
overrideBackgroundRole
:
boolean
tool
Tip
toolTip
:
string
visible
visible
:
boolean
Readonly
width
width
:
number
window
Title
windowTitle
:
string
Methods
activate
Window
activateWindow
()
:
void
Returns
void
adjust
Size
adjustSize
()
:
void
Returns
void
block
Signals
blockSignals
(
blocked
:
boolean
)
:
void
Parameters
blocked
:
boolean
Returns
void
clear
Content
clearContent
()
:
void
Returns
void
close
close
()
:
void
Returns
void
delete
Later
deleteLater
()
:
void
Returns
void
expand
expand
(
value
:
boolean
)
:
void
Parameters
value
:
boolean
Returns
void
get
Type
Name
getTypeName
()
:
string
Returns
string
grab
grab
()
:
Pixmap
Returns
Pixmap
is
Of
Type
isOfType
(
type
:
string
)
:
boolean
Parameters
type
:
string
Returns
boolean
is
Same
isSame
(
other
:
ScriptObject
)
:
boolean
Parameters
other
:
ScriptObject
Returns
boolean
move
move
(
ax
:
number
,
ay
:
number
)
:
void
Parameters
ax
:
number
ay
:
number
Returns
void
raise
raise
()
:
void
Returns
void
resize
resize
(
width
:
number
,
height
:
number
)
:
void
Parameters
width
:
number
height
:
number
Returns
void
set
Contents
Margins
setContentsMargins
(
left
:
number
,
top
:
number
,
right
:
number
,
bottom
:
number
,
)
:
void
Parameters
left
:
number
top
:
number
right
:
number
bottom
:
number
Returns
void
set
Content
Widget
setContentWidget
(
widget
:
Widget
)
:
void
Parameters
widget
:
Widget
Returns
void
set
Fixed
Height
setFixedHeight
(
height
:
number
)
:
void
Parameters
height
:
number
Returns
void
set
Fixed
Width
setFixedWidth
(
width
:
number
)
:
void
Parameters
width
:
number
Returns
void
set
Maximum
Height
setMaximumHeight
(
height
:
number
)
:
void
Parameters
height
:
number
Returns
void
set
Maximum
Width
setMaximumWidth
(
width
:
number
)
:
void
Parameters
width
:
number
Returns
void
set
Minimum
Height
setMinimumHeight
(
height
:
number
)
:
void
Parameters
height
:
number
Returns
void
set
Minimum
Width
setMinimumWidth
(
width
:
number
)
:
void
Parameters
width
:
number
Returns
void
set
Size
Policy
setSizePolicy
(
horizontal
:
Policy
,
vertical
:
Policy
)
:
void
Parameters
horizontal
:
Policy
vertical
:
Policy
Returns
void
set
Undoable
setUndoable
(
undoable
:
boolean
)
:
void
Parameters
undoable
:
boolean
Returns
void
set
Undoable
Recursive
setUndoableRecursive
(
undoable
:
boolean
)
:
void
Parameters
undoable
:
boolean
Returns
void
show
show
()
:
void
Returns
void
Settings
Member Visibility
Inherited
Private
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
auto
Fill
Background
background
Role
context
Menu
Policy
custom
Background
Role
device
Pixel
Ratio
enabled
expandable
font
Role
foreground
Role
height
hidden
is
Null
layout
on
Close
on
Expand
on
Hide
on
Resize
on
Show
override
Background
Role
tool
Tip
visible
width
window
Title
Methods
activate
Window
adjust
Size
block
Signals
clear
Content
close
delete
Later
expand
get
Type
Name
grab
is
Of
Type
is
Same
move
raise
resize
set
Contents
Margins
set
Content
Widget
set
Fixed
Height
set
Fixed
Width
set
Maximum
Height
set
Maximum
Width
set
Minimum
Height
set
Minimum
Width
set
Size
Policy
set
Undoable
set
Undoable
Recursive
show
Lens Scripting API
Guide Docs
Editor Scripting API
Loading...