#include <color_pie.h>
|
| | ColorPie (const QMap< QString, int > &_colors={}, QWidget *parent=nullptr) |
| void | setColors (const QMap< QString, int > &_colors) |
| QSize | minimumSizeHint () const override |
◆ ColorPie()
| ColorPie::ColorPie |
( |
const QMap< QString, int > & | _colors = {}, |
|
|
QWidget * | parent = nullptr ) |
|
explicit |
◆ colorFromName()
| QColor ColorPie::colorFromName |
( |
const QString & | name | ) |
const |
|
private |
◆ enterEvent()
| void ColorPie::enterEvent |
( |
QEnterEvent * | event | ) |
|
|
overrideprotected |
◆ leaveEvent()
| void ColorPie::leaveEvent |
( |
QEvent * | | ) |
|
|
overrideprotected |
◆ minimumSizeHint()
| QSize ColorPie::minimumSizeHint |
( |
| ) |
const |
|
override |
◆ mouseMoveEvent()
| void ColorPie::mouseMoveEvent |
( |
QMouseEvent * | event | ) |
|
|
overrideprotected |
◆ paintEvent()
| void ColorPie::paintEvent |
( |
QPaintEvent * | | ) |
|
|
overrideprotected |
◆ setColors()
| void ColorPie::setColors |
( |
const QMap< QString, int > & | _colors | ) |
|
◆ tooltipForPoint()
| QString ColorPie::tooltipForPoint |
( |
const QPoint & | pt | ) |
const |
|
private |
◆ colors
| QList<QPair<QString, int> > ColorPie::colors |
|
private |
◆ isHovered
| bool ColorPie::isHovered = false |
|
private |
◆ minRatioThreshold
| const double ColorPie::minRatioThreshold = 0.01 |
|
private |
The documentation for this class was generated from the following files:
- cockatrice/src/interface/widgets/general/display/charts/pies/color_pie.h
- cockatrice/src/interface/widgets/general/display/charts/pies/color_pie.cpp