VivoQuant 6.4.0
Loading...
Searching...
No Matches
LayoutOperator Class Reference

Description

Object to interact with the Layout Operator when it is active.

This object can be used do layout manipulations in the Multi-View

Select this operator with VQ.mainWin().setViewMode(), then obtain it with VQ.currentOp().

VQ.mainWin().setViewMode("Multi View", "Layout"); // switch to the layout operator
var layoutOperator = VQ.currentOp();

Public Slots

void setShowROIs (bool toEnable)
 setShowROIs operates on currently selected viewport

Public Member Functions

bool setHangProtocol (string name)
 Set to the specified hanging protocol.
bool createHangProtocol (string name, bool quiet=false)
 Create a new hanging protocol with the current layout.
bool removeHangProtocol (string name)
 Remove the specified hanging protocol from the list.

Member Function Documentation

◆ createHangProtocol()

bool createHangProtocol ( string name,
bool quiet = false )

Create a new hanging protocol with the current layout.

Parameters
nameThe hanging protocol name
quietDo not prompt message box if hanging protocol already exist, force overwrite.

◆ removeHangProtocol()

bool removeHangProtocol ( string name)

Remove the specified hanging protocol from the list.

Parameters
nameThe hanging protocol name

◆ setHangProtocol()

bool setHangProtocol ( string name)

Set to the specified hanging protocol.

Parameters
nameThe hanging protocol name

◆ setShowROIs

void setShowROIs ( bool toEnable)
slot

setShowROIs operates on currently selected viewport

Parameters
toEnable