VivoQuant
Public Member Functions | List of all members
QSliceLabel Class Reference

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

Public Member Functions

void setTooltipStyling (int viewIndex=-1)
 Set the styling of the tooltip associated with this slice view. More...
 
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. More...
 
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. More...
 
void setQImage (QImage *img)
 setQImage takes ownershipe of img More...
 

Detailed Description

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

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

◆ setTooltipStyling()

void setTooltipStyling ( int  viewIndex = -1)

Set the styling of the tooltip associated with this slice view.

Parameters
viewIndexthe index of the view