Isis 3 Programmer Reference
AbstractImageItem.h
1 #ifndef AbstractImageItem_H
2 #define AbstractImageItem_H
3 
4 
5 #include "AbstractTreeItem.h"
6 
7 class QString;
8 class QVariant;
9 
10 namespace Isis {
11  class ControlNet;
12 
27  class AbstractImageItem : public virtual AbstractTreeItem {
28  public:
29  AbstractImageItem(QString imageSerial, ControlNet *net,
30  int avgCharWidth, AbstractTreeItem *parent = 0);
31  virtual ~AbstractImageItem();
32 
33  QVariant getData() const;
34  QVariant getData(QString columnTitle) const;
35  void setData(QString const &columnTitle, QString const &newData);
36  bool isDataEditable(QString columnTitle) const;
37  void deleteSource();
38  InternalPointerType getPointerType() const;
39  void *getPointer() const;
40  bool hasImage(QString imageSerial) const;
41 
42 
43  protected:
44  virtual void sourceDeleted();
45 
46  private: // disable copying of this class
48  const AbstractImageItem &operator=(const AbstractImageItem &other);
49 
50 
51  private:
52  QPair<QString, ControlNet *> *m_imageAndNet;
53  };
54 }
55 
56 #endif
a control network
Definition: ControlNet.h:271
virtual void sourceDeleted()
This method is required to be implemented by the parent AbstractTreeItem class, but for this it&#39;s a N...
Base class for an image item in the tree.
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
Base class for an item in the tree.