|
ManiVault 1.0.0
A Flexible and Extensible Visual Analytics Framework for High-Dimensional Data
|
#include <InfoWidget.h>
Public Member Functions | |
| InfoWidget (QWidget *parent) | |
| InfoWidget (QWidget *parent, const QIcon &icon, const QString &title, const QString &description="", const QColor foregroundColor=Qt::black, const QColor backgroundColor=Qt::lightGray) | |
| void | set (const QIcon &icon, const QString &title, const QString &description="") |
| void | setColor (const QColor color) |
| void | setColors (const QColor foregroundColor=Qt::black, const QColor backgroundColor=Qt::lightGray) |
| void | setForegroundColor (const QColor foregroundColor=Qt::black) |
| void | setBackgroundColor (const QColor backgroundColor=Qt::lightGray) |
Info widget class
Standard widget which displays an icon, title and description (used for instance as an overlay for other widgets).
| hdps::gui::InfoWidget::InfoWidget | ( | QWidget * | parent | ) |
Construct info widget with parent
| parent | Pointer to parent widget |
| hdps::gui::InfoWidget::InfoWidget | ( | QWidget * | parent, |
| const QIcon & | icon, | ||
| const QString & | title, | ||
| const QString & | description = "", |
||
| const QColor | foregroundColor = Qt::black, |
||
| const QColor | backgroundColor = Qt::lightGray |
||
| ) |
Construct info widget with \parent, icon, title, description, backgroundColor and textColor
| parent | Pointer to parent widget |
| icon | Icon |
| title | Title of the overlay |
| description | Overlay description |
| foregroundColor | Foreground color |
| backgroundColor | Background color |
| void hdps::gui::InfoWidget::set | ( | const QIcon & | icon, |
| const QString & | title, | ||
| const QString & | description = "" |
||
| ) |
Set overlay parameters
| icon | Icon |
| title | Title of the overlay |
| description | Overlay description |
| void hdps::gui::InfoWidget::setBackgroundColor | ( | const QColor | backgroundColor = Qt::lightGray | ) |
Set background color to backgroundColor
| backgroundColor | Background color |
| void hdps::gui::InfoWidget::setColor | ( | const QColor | color | ) |
Set color
| color | Color of the widget |
| void hdps::gui::InfoWidget::setColors | ( | const QColor | foregroundColor = Qt::black, |
| const QColor | backgroundColor = Qt::lightGray |
||
| ) |
Set overlay colors
| foregroundColor | Foreground color |
| backgroundColor | Background color |
| void hdps::gui::InfoWidget::setForegroundColor | ( | const QColor | foregroundColor = Qt::black | ) |
Set foreground color to foregroundColor
| foregroundColor | Foreground color |