|
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef DisplayProperties_H
2 #define DisplayProperties_H
21 class QXmlStreamWriter;
48 QVariant
getValue(
int property)
const;
60 void setValue(
int prop, QVariant value);
74 virtual bool startElement(
const QString &namespaceURI,
const QString &localName,
75 const QString &qName,
const QXmlAttributes &atts);
77 virtual bool characters(
const QString &ch);
79 virtual bool endElement(
const QString &namespaceURI,
const QString &localName,
80 const QString &qName);
83 Q_DISABLE_COPY(XmlHandler);
95 QString m_displayName;
102 int m_propertiesUsed;
Contains Pvl Groups and Pvl Objects.
Definition: PvlObject.h:61
void fromPvl(const PvlObject &pvl)
Definition: DisplayProperties.cpp:54
A single keyword-value pair.
Definition: PvlKeyword.h:82
File name manipulation and expansion.
Definition: FileName.h:100
virtual void pushContentHandler(XmlStackedHandler *newHandler)
Push a contentHandler and maybe continue parsing...
Definition: XmlStackedHandlerReader.cpp:55
Definition: DisplayProperties.h:34
virtual bool startElement(const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts)
Definition: XmlStackedHandler.cpp:44
void addSupport(int property)
Call this with every property you support, otherwise they will not communicate properly between widge...
Definition: DisplayProperties.cpp:108
void setValue(int prop, QVariant value)
This is the generic mutator for properties.
Definition: DisplayProperties.cpp:131
DisplayProperties(QString displayName, QObject *parent=NULL)
DisplayProperties constructor.
Definition: DisplayProperties.cpp:29
Manage a stack of content handlers for reading XML files.
Definition: XmlStackedHandlerReader.h:30
The main project for ipce.
Definition: Project.h:289
bool supports(int property)
Support may come later, please make sure you are connected to the supportAdded signal.
Definition: DisplayProperties.cpp:122
const int ReadWrite
Definition: Process.h:24
void propertyChanged(DisplayProperties *)
QString displayName() const
Returns the display name.
Definition: DisplayProperties.cpp:88
static QColor randomColor()
virtual bool endElement(const QString &namespaceURI, const QString &localName, const QString &qName)
Definition: XmlStackedHandler.cpp:55
PvlObject toPvl() const
Convert to Pvl for project files.
Definition: DisplayProperties.cpp:68
XML Handler that parses XMLs in a stack-oriented way.
Definition: XmlStackedHandler.h:118
Adds specific functionality to C++ strings.
Definition: IString.h:165
void save(QXmlStreamWriter &stream, const Project *project, FileName newProjectRoot) const
Output format:
Definition: DisplayProperties.cpp:159
QVariant getValue(int property) const
Get a property's associated data.
Definition: DisplayProperties.cpp:147
void setDisplayName(QString displayName)
Sets display name.
Definition: DisplayProperties.cpp:97
virtual ~DisplayProperties()
destructor
Definition: DisplayProperties.cpp:50
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16