This Mix-In class provides setter/getter methods, storage and other facilities for text in graphs.
More...
#include <jkqtpgraphsbasestylingmixins.h>
This Mix-In class provides setter/getter methods, storage and other facilities for text in graphs.
supported properties:
- font name
- font size
- text color
◆ JKQTPGraphTextStyleMixin()
JKQTPGraphTextStyleMixin::JKQTPGraphTextStyleMixin |
( |
JKQTBasePlotter * |
parent | ) |
|
◆ ~JKQTPGraphTextStyleMixin()
virtual JKQTPGraphTextStyleMixin::~JKQTPGraphTextStyleMixin |
( |
| ) |
|
|
virtual |
◆ getTextColor()
QColor JKQTPGraphTextStyleMixin::getTextColor |
( |
| ) |
const |
set the color of the text
◆ getTextFontName()
QString JKQTPGraphTextStyleMixin::getTextFontName |
( |
| ) |
const |
get the base font name of text
◆ getTextFontSize()
double JKQTPGraphTextStyleMixin::getTextFontSize |
( |
| ) |
const |
get the base font size of text
◆ initTextStyle()
initiaize the fill style (from the parent plotter)
◆ setTextColor() [1/2]
void JKQTPGraphTextStyleMixin::setTextColor |
( |
const QColor & |
__value | ) |
|
set the color of the text
◆ setTextColor() [2/2]
void JKQTPGraphTextStyleMixin::setTextColor |
( |
const QColor & |
__value, |
|
|
double |
alpha |
|
) |
| |
set the color of the text
◆ setTextFontName()
void JKQTPGraphTextStyleMixin::setTextFontName |
( |
const QString & |
__value | ) |
|
set the base font name of text
◆ setTextFontSize()
void JKQTPGraphTextStyleMixin::setTextFontSize |
( |
double |
__value | ) |
|
set the base font size of text
◆ m_textColor
QColor JKQTPGraphTextStyleMixin::m_textColor |
|
private |
◆ m_textFontName
QString JKQTPGraphTextStyleMixin::m_textFontName |
|
private |
name of the font to be used for the text
◆ m_textFontSize
double JKQTPGraphTextStyleMixin::m_textFontSize |
|
private |
◆ textColor
QColor JKQTPGraphTextStyleMixin::textColor |
|
readwrite |
◆ textFontName
QString JKQTPGraphTextStyleMixin::textFontName |
|
readwrite |
◆ textFontSize
double JKQTPGraphTextStyleMixin::textFontSize |
|
readwrite |
The documentation for this class was generated from the following file: