File failed to load: https://isis.astrogeology.usgs.gov/6.0.0/Object/assets/jax/output/NativeMML/config.js
 |
Isis 3 Programmer Reference
|
1 #ifndef ControlDisplayProperties_H
2 #define ControlDisplayProperties_H
16 #include "DisplayProperties.h"
17 #include "XmlStackedHandler.h"
20 class QXmlStreamWriter;
27 class XmlStackedHandlerReader;
91 void save(QXmlStreamWriter &stream,
const Project *project,
FileName newProjectRoot)
const;
115 virtual bool startElement(
const QString &namespaceURI,
const QString &localName,
116 const QString &qName,
const QXmlAttributes &atts);
118 virtual bool characters(
const QString &ch);
120 virtual bool endElement(
const QString &namespaceURI,
const QString &localName,
121 const QString &qName);
This class is designed to serialize QColor in a human-readable form.
static QList< ControlDisplayProperties * > senderToData(QObject *sender)
This is for the slots that have a list of display properties as associated data.
@ None
Null display property for bit-flag purposes.
This is free and unencumbered software released into the public domain.
Property m_propertiesUsed
This indicated whether any widgets with this DisplayProperties is using a particular property.
static QColor randomColor()
Creates and returns a random color for the intial color of the footprint polygon.
File name manipulation and expansion.
@ ShowLabel
True if the control net should show its display name (bool)
This is the GUI communication mechanism for cubes.
void toggleShowLabel()
Change the visibility of the display name.
@ Selected
The selection state of this control net (bool)
virtual ~ControlDisplayProperties()
destructor
Manage a stack of content handlers for reading XML files.
The main project for ipce.
void setSelected(bool)
Change the selected state associated with this cube.
ControlDisplayProperties(QString displayName, QObject *parent=NULL)
ControlDisplayProperties constructor.
bool supports(Property prop)
Support may come later, please make sure you are connected to the supportAdded signal.
QString displayName() const
Returns the display name.
QMap< int, QVariant > * m_propertyValues
This is a map from Property to value – the reason I use an int is so Qt knows how to serialize this Q...
void setShowLabel(bool)
Change the visibility of the display name associated with this cube.
void setColor(QColor newColor)
Change the color associated with this cube.
void addSupport(Property prop)
Call this with every property you support, otherwise they will not communicate properly between widge...
void setValue(Property prop, QVariant value)
This is the generic mutator for properties.
XML Handler that parses XMLs in a stack-oriented way.
Property
This is a list of properties and actions that are possible.
QVariant getValue(Property prop) const
Get a property's associated data.
This is free and unencumbered software released into the public domain.
Q_DECLARE_METATYPE(Isis::PlotWindow *)
We have plot windows as QVariant data types, so here it's enabled.