ManiVault 1.0.0
A Flexible and Extensible Visual Analytics Framework for High-Dimensional Data
Loading...
Searching...
No Matches
hdps::util::Preset Class Reference

#include <Preset.h>

Public Member Functions

QString getName () const
 
QString getTitle () const
 
QString getDescription () const
 
QIcon getIcon () const
 
bool isDivergent () const
 
void isDivergent (bool isDivergent)
 

Protected Member Functions

 Preset (const QString &name, const QString &description, const PresetType &presetType=PresetType::Normal)
 

Friends

class PresetsModel
 

Detailed Description

Preset class

Class for storing preset properties

Author
Thomas Kroes

Constructor & Destructor Documentation

◆ Preset()

hdps::util::Preset::Preset ( const QString &  name,
const QString &  description,
const PresetType presetType = PresetType::Normal 
)
protected

Constructor

Parameters
nameName of the preset
descriptionPreset description
presetTypeType of preset

Member Function Documentation

◆ getDescription()

QString hdps::util::Preset::getDescription ( ) const

Get preset description

Returns
Preset description

◆ getIcon()

QIcon hdps::util::Preset::getIcon ( ) const

Get icon

Returns
Icon

◆ getName()

QString hdps::util::Preset::getName ( ) const

Get preset name

Returns
Preset name

◆ getTitle()

QString hdps::util::Preset::getTitle ( ) const

Get preset title

Returns
Preset title

◆ isDivergent() [1/2]

bool hdps::util::Preset::isDivergent ( ) const

Get is divergent

Returns
Whether the preset is divergent from current widget action settings

◆ isDivergent() [2/2]

void hdps::util::Preset::isDivergent ( bool  isDivergent)

Set is divergent

Parameters
isDivergentWhether the preset is divergent from current widget action settings

Friends And Related Symbol Documentation

◆ PresetsModel

friend class PresetsModel
friend

Whether the preset is divergent from current widget action settings Only the presets model may instantiate this class


The documentation for this class was generated from the following files: