|
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef GuiCameraList_H
2 #define GuiCameraList_H
16 class QXmlStreamWriter;
20 class XmlStackedHandlerReader;
56 iterator
erase(iterator pos);
57 iterator
erase(iterator begin, iterator end);
121 virtual bool startElement(
const QString &namespaceURI,
const QString &localName,
122 const QString &qName,
const QXmlAttributes &atts);
123 virtual bool endElement(
const QString &namespaceURI,
const QString &localName,
124 const QString &qName);
127 Q_DISABLE_COPY(XmlHandler);
bool removeOne(GuiCameraQsp const &value)
Removes the first occurance of a GuiCamera from the list.
Definition: GuiCameraList.cpp:342
QDebug operator<<(QDebug dbg, const Isis::Angle &angleToPrint)
Display an Angle for a debugging statement.
Definition: Angle.cpp:368
@ Io
A type of error that occurred when performing an actual I/O operation.
Definition: IException.h:155
int removeAll(GuiCameraQsp const &value)
Removes all occurances of a GuiCamera from the list.
Definition: GuiCameraList.cpp:286
void swap(QList< GuiCameraQsp > &other)
Swaps the list with another GuiCameraList.
Definition: GuiCameraList.cpp:360
iterator erase(iterator pos)
Removes the GuiCamera associated with an iterator.
Definition: GuiCameraList.cpp:176
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
void setPath(QString newPath)
Set the relative path (from the project root) to this gui camera list's folder.
Definition: GuiCameraList.cpp:683
void clear()
Clears the list.
Definition: GuiCameraList.cpp:157
virtual bool startElement(const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts)
Definition: XmlStackedHandler.cpp:44
GuiCameraQsp takeAt(int i)
Removes and returns the GuiCamera at a specific index.
Definition: GuiCameraList.cpp:378
Property
This is a list of properties and actions that are possible.
Definition: GuiCameraDisplayProperties.h:82
Manage a stack of content handlers for reading XML files.
Definition: XmlStackedHandlerReader.h:30
void prepend(GuiCameraQsp const &value)
Inserts a GuiCamera at the beginning of the list.
Definition: GuiCameraList.cpp:242
The main project for ipce.
Definition: Project.h:289
void push_front(GuiCameraQsp const &value)
Inserts a GuiCamera at the front of the list.
Definition: GuiCameraList.cpp:270
GuiCameraQsp takeFirst()
Removes and returns the first GuiCamera in the list.
Definition: GuiCameraList.cpp:392
GuiCameraList & operator<<(const QList< GuiCameraQsp > &other)
Appends another GuiVameraList to the list and returns a reference to this.
Definition: GuiCameraList.cpp:458
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
bool allSupport(GuiCameraDisplayProperties::Property prop)
GuiCameraList & operator=(const QList< GuiCameraQsp > &rhs)
Assigns a list of GuiCameras to the list.
Definition: GuiCameraList.cpp:495
GuiCameraList(QString name, QString path, QObject *parent=NULL)
Create an gui camera list from a gui camera list name and path (does not read GuiCamera objects).
Definition: GuiCameraList.cpp:52
QList< QAction * > supportedActions(Project *project=NULL)
Q_DECLARE_METATYPE(Isis::GuiCameraList *)
GuiCameraQsp takeLast()
Removes and returns the last GuiCamera in the list.
Definition: GuiCameraList.cpp:406
QString path() const
Get the path to these gui camera objects in the list (relative to project root).
Definition: GuiCameraList.cpp:704
virtual bool endElement(const QString &namespaceURI, const QString &localName, const QString &qName)
Definition: XmlStackedHandler.cpp:55
GuiCameraList & operator+=(const QList< GuiCameraQsp > &other)
Appends another GuiCameraList to the list and returns a reference to this.
Definition: GuiCameraList.cpp:422
~GuiCameraList()
Create a gui camera list from a list of gui camera file names.
Definition: GuiCameraList.cpp:122
void setName(QString newName)
Gets a list of pre-connected actions that have to do with display, such as color, alpha,...
Definition: GuiCameraList.cpp:672
void removeFirst()
Removes the first GuiCamera in the list.
Definition: GuiCameraList.cpp:315
void removeLast()
Removes the last GuiCamera in the list.
Definition: GuiCameraList.cpp:326
void save(QXmlStreamWriter &stream, const Project *project, FileName newProjectRoot) const
Delete all of the contained GuiCamera objects from disk (see GuiCamera::deleteFromDisk())
Definition: GuiCameraList.cpp:744
void removeAt(int i)
Removes the GuiCamera at a specific index.
Definition: GuiCameraList.cpp:304
void setName(QString newName)
Change the project's name (GUI only, doesn't affect location on disk).
Definition: Project.cpp:1684
XML Handler that parses XMLs in a stack-oriented way.
Definition: XmlStackedHandler.h:118
void countChanged(int newCount)
Emitted when the number of GuiCameras in the list changes.
QString name() const
Get the human-readable name of this gui cameray list.
Definition: GuiCameraList.cpp:693
void push_back(GuiCameraQsp const &value)
Inserts a GuiCamera at the end of the list.
Definition: GuiCameraList.cpp:256
void append(GuiCameraQsp const &value)
Appends a single GuiCamera to the list.
Definition: GuiCameraList.cpp:133
List of GuiCameras saved as QSharedPointers.
Definition: GuiCameraList.h:35
void insert(int i, GuiCameraQsp const &value)
Inserts a GuiCamera into the list at a given index.
Definition: GuiCameraList.cpp:210
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16