VivoQuant 5.4.1
Loading...
Searching...
No Matches
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...

#include <QSliceLabel.h>

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
 

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

◆ setStyling()

void setStyling ( int  viewIndex = -1)

Set the styling of the slice view.

Parameters
viewIndexthe index of the view