A QSliceLabel manages the display frames of images slices at each orientation currently displayed by VQ.
More...
#include <QSliceLabel.h>
|
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
|
|
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
-
◆ setStyling()
void setStyling |
( |
int |
viewIndex = -1 | ) |
|
Set the styling of the slice view.
- Parameters
-
viewIndex | the index of the view |