1 #ifndef ControlDisplayProperties_H 2 #define ControlDisplayProperties_H 34 class QXmlStreamWriter;
41 class XmlStackedHandlerReader;
105 void save(QXmlStreamWriter &stream,
const Project *project,
FileName newProjectRoot)
const;
117 void toggleShowLabel();
129 virtual bool startElement(
const QString &namespaceURI,
const QString &localName,
130 const QString &qName,
const QXmlAttributes &atts);
132 virtual bool characters(
const QString &ch);
134 virtual bool endElement(
const QString &namespaceURI,
const QString &localName,
135 const QString &qName);
138 Q_DISABLE_COPY(XmlHandler);
148 void setValue(
Property prop, QVariant value);
void setSelected(bool)
Change the selected state associated with this cube.
Definition: ControlDisplayProperties.cpp:143
ControlDisplayProperties(QString displayName, QObject *parent=NULL)
ControlDisplayProperties constructor.
Definition: ControlDisplayProperties.cpp:26
Property
This is a list of properties and actions that are possible.
Definition: ControlDisplayProperties.h:79
This class is designed to serialize QColor in a human-readable form.
Definition: Color.h:20
The main project for ipce.
Definition: Project.h:289
File name manipulation and expansion.
Definition: FileName.h:116
void addSupport(Property prop)
Call this with every property you support, otherwise they will not communicate properly between widge...
Definition: ControlDisplayProperties.cpp:63
QString displayName() const
Returns the display name.
Definition: DisplayProperties.cpp:80
static QColor randomColor()
Creates and returns a random color for the intial color of the footprint polygon. ...
Definition: ControlDisplayProperties.cpp:96
True if the control net should show its display name (bool)
Definition: ControlDisplayProperties.h:87
bool supports(Property prop)
Support may come later, please make sure you are connected to the supportAdded signal.
Definition: ControlDisplayProperties.cpp:77
void save(QXmlStreamWriter &stream, const Project *project, FileName newProjectRoot) const
Definition: ControlDisplayProperties.cpp:113
This is the GUI communication mechanism for cubes.
Definition: ControlDisplayProperties.h:73
void setShowLabel(bool)
Change the visibility of the display name associated with this cube.
Definition: ControlDisplayProperties.cpp:151
Definition: DisplayProperties.h:26
XML Handler that parses XMLs in a stack-oriented way.
Definition: XmlStackedHandler.h:112
Null display property for bit-flag purposes.
Definition: ControlDisplayProperties.h:81
void supportAdded(Property)
QVariant getValue(Property prop) const
Get a property's associated data.
Definition: ControlDisplayProperties.cpp:87
Definition: BoxcarCachingAlgorithm.h:29
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
void propertyChanged(ControlDisplayProperties *)
The selection state of this control net (bool)
Definition: ControlDisplayProperties.h:85
virtual ~ControlDisplayProperties()
destructor
Definition: ControlDisplayProperties.cpp:53
Q_DECLARE_METATYPE(QList< Isis::ControlDisplayProperties *>)
void setColor(QColor newColor)
Change the color associated with this cube.
Definition: ControlDisplayProperties.cpp:135
Manage a stack of content handlers for reading XML files.
Definition: XmlStackedHandlerReader.h:25