A QSliceLabel manages the display frames of images slices at each orientation currently displayed by VQ.
More...
|
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...
|
|
A QSliceLabel manages the display frames of images slices at each orientation currently displayed by VQ.
◆ 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
-
viewIndex | the 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
-
viewIndex | the index of the view |
- Returns
- a string representing the view text color.
◆ setQImage()
void setQImage |
( |
QImage * |
img | ) |
|
setQImage takes ownershipe of img
- Parameters
-
◆ setTooltipStyling()
void setTooltipStyling |
( |
int |
viewIndex = -1 | ) |
|
Set the styling of the tooltip associated with this slice view.
- Parameters
-
viewIndex | the index of the view |