75 void getExtents(
int &startFrame,
int &endFrame)
const;
85 virtual void toXml(QTextStream &stream, QString indent =
"",
86 QString extraAttributes =
"")
const;
void removeSelection(const Selection &selection)
void setSelection(const Selection &selection)
A selection object simply represents a range in time, via start and end frame.
bool contains(int frame) const
virtual ~MultiSelection()
bool operator==(const Selection &) const
SelectionList m_selections
void addSelection(const Selection &selection)
void getExtents(int &startFrame, int &endFrame) const
Selection getContainingSelection(int frame, bool defaultToFollowing) const
Return the selection that contains a given frame.
bool operator<(const Selection &) const
std::set< Selection > SelectionList
const SelectionList & getSelections() const
int getStartFrame() const
Selection & operator=(const Selection &)
virtual void toXml(QTextStream &stream, QString indent="", QString extraAttributes="") const
Stream this exportable object out to XML on a text stream.