1#ifndef DisplayProperties_H
2#define DisplayProperties_H
19class QXmlStreamWriter;
45 QVariant
getValue(
int property)
const;
57 void setValue(
int prop, QVariant value);
68 QString m_displayName;
81 QMap<int, QVariant> *m_propertyValues;
Definition DisplayProperties.h:32
QVariant getValue(int property) const
Get a property's associated data.
Definition DisplayProperties.cpp:138
QString displayName() const
Returns the display name.
Definition DisplayProperties.cpp:79
void save(QXmlStreamWriter &stream, const Project *project, FileName newProjectRoot) const
Output format:
Definition DisplayProperties.cpp:150
void propertyChanged(DisplayProperties *)
void setDisplayName(QString displayName)
Sets display name.
Definition DisplayProperties.cpp:88
void setValue(int prop, QVariant value)
This is the generic mutator for properties.
Definition DisplayProperties.cpp:122
virtual ~DisplayProperties()
destructor
Definition DisplayProperties.cpp:41
void fromPvl(const PvlObject &pvl)
Definition DisplayProperties.cpp:45
static QColor randomColor()
PvlObject toPvl() const
Convert to Pvl for project files.
Definition DisplayProperties.cpp:59
DisplayProperties(QString displayName, QObject *parent=NULL)
DisplayProperties constructor.
Definition DisplayProperties.cpp:28
bool supports(int property)
Support may come later, please make sure you are connected to the supportAdded signal.
Definition DisplayProperties.cpp:113
void addSupport(int property)
Call this with every property you support, otherwise they will not communicate properly between widge...
Definition DisplayProperties.cpp:99
File name manipulation and expansion.
Definition FileName.h:100
The main project for ipce.
Definition Project.h:287
Contains Pvl Groups and Pvl Objects.
Definition PvlObject.h:61
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16