23#include "GuiCameraList.h"
30#include <QInputDialog>
32#include <QProgressDialog>
33#include <QtConcurrentMap>
34#include <QXmlStreamWriter>
38#include "IException.h"
144 bool countChanging = count();
349 if (count() != other.count()) {
482 bool countChanging = (rhs.count() != count());
501 bool countChanging = (rhs.count() != count());
File name manipulation and expansion.
List of GuiCameras saved as QSharedPointers.
GuiCameraQsp takeFirst()
Removes and returns the first GuiCamera in the list.
void removeFirst()
Removes the first GuiCamera in the list.
void clear()
Clears the list.
void setName(QString newName)
Gets a list of pre-connected actions that have to do with display, such as color, alpha,...
QString m_name
This functor is used for copying the GuiCamera objects between two projects quickly.
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).
QString name() const
Get the human-readable name of this gui cameray list.
void push_back(GuiCameraQsp const &value)
Inserts a GuiCamera at the end of the list.
void insert(int i, GuiCameraQsp const &value)
Inserts a GuiCamera into the list at a given index.
GuiCameraQsp takeLast()
Removes and returns the last GuiCamera in the list.
int removeAll(GuiCameraQsp const &value)
Removes all occurances of a GuiCamera from the list.
bool removeOne(GuiCameraQsp const &value)
Removes the first occurance of a GuiCamera from the list.
void countChanged(int newCount)
Emitted when the number of GuiCameras in the list changes.
GuiCameraQsp takeAt(int i)
Removes and returns the GuiCamera at a specific index.
void removeAt(int i)
Removes the GuiCamera at a specific index.
void removeLast()
Removes the last GuiCamera in the list.
void prepend(GuiCameraQsp const &value)
Inserts a GuiCamera at the beginning of the list.
void save(QXmlStreamWriter &stream, const Project *project, FileName newProjectRoot) const
Delete all of the contained GuiCamera objects from disk (see GuiCamera::deleteFromDisk())
void append(GuiCameraQsp const &value)
Appends a single GuiCamera to the list.
QString path() const
Get the path to these gui camera objects in the list (relative to project root).
iterator erase(iterator pos)
Removes the GuiCamera associated with an iterator.
void swap(QList< GuiCameraQsp > &other)
Swaps the list with another GuiCameraList.
~GuiCameraList()
Create a gui camera list from a list of gui camera file names.
void setPath(QString newPath)
Set the relative path (from the project root) to this gui camera list's folder.
GuiCameraList & operator<<(const QList< GuiCameraQsp > &other)
Appends another GuiVameraList to the list and returns a reference to this.
void push_front(GuiCameraQsp const &value)
Inserts a GuiCamera at the front of the list.
GuiCameraList & operator=(const QList< GuiCameraQsp > &rhs)
Assigns a list of GuiCameras to the list.
GuiCameraList & operator+=(const QList< GuiCameraQsp > &other)
Appends another GuiCameraList to the list and returns a reference to this.
QString m_path
This stores the directory name that contains the GuiCamera objects in this list.
The main project for ipce.
This is free and unencumbered software released into the public domain.
This is free and unencumbered software released into the public domain.