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

Description

A QSliceLabel manages the display frames of images slices at each orientation currently displayed by VQ.

Public Member Functions

void setStyling (int viewIndex=-1)
 Set the styling of the slice view.
string getTextColor (int viewIndex=-1)
 Get the view text color associated with a specific view index. If the view index is out of the range of views, the returned color will be white.
string getFrameColor (int viewIndex=-1)
 Get the view frame color associated with a specific view index. If the view index is out of the range of views, the returned color will be white.
void setQImage (QImage *img)
 setQImage takes ownershipe of img

Member Function Documentation

◆ getFrameColor()

string getFrameColor ( int viewIndex = -1)

Get the view frame color associated with a specific view index. If the view index is out of the range of views, the returned color will be white.

Parameters
viewIndexthe index of the view
Returns
a string representing the view frame color.

◆ getTextColor()

string getTextColor ( int viewIndex = -1)

Get the view text color associated with a specific view index. If the view index is out of the range of views, the returned color will be white.

Parameters
viewIndexthe index of the view
Returns
a string representing the view text color.

◆ setQImage()

void setQImage ( QImage * img)

setQImage takes ownershipe of img

Parameters
img

◆ setStyling()

void setStyling ( int viewIndex = -1)

Set the styling of the slice view.

Parameters
viewIndexthe index of the view