Isis Developer Reference
ImageTreeWidgetItem.h
Go to the documentation of this file.
1#ifndef ImageTreeWidgetItem_H
2#define ImageTreeWidgetItem_H
3
4#include <QObject>
5#include <QTreeWidgetItem>
6
7
8namespace Isis {
9 class Image;
10 class ImageList;
11
21 Q_OBJECT
22 public:
24 QTreeWidget *parent = 0);
25 virtual ~ImageTreeWidgetItem();
26
27 Image *image();
28 QString imageListName() const;
29
30 void forgetImage();
31
32 void update(bool save);
33
34 // This is the column number for each column
53
54 static QString treeColumnToString(TreeColumn);
55
56 using QTreeWidgetItem::parent;
57
58 public slots:
60
61 private:
62 void setColumnValue(TreeColumn column, double value);
63 bool operator<(const QTreeWidgetItem &other) const;
64
65 Image *m_image;
66 ImageList *m_imageList;
67
68 Qt::CheckState toCheck(QVariant);
69 };
70}
71
72#endif
73
This represents a cube in a project-based GUI interface.
Definition Image.h:105
Internalizes a list of images and allows for operations on the entire list.
Definition ImageList.h:53
Definition ImageTreeWidgetItem.h:20
virtual ~ImageTreeWidgetItem()
Definition ImageTreeWidgetItem.cpp:55
void forgetImage()
Definition ImageTreeWidgetItem.cpp:69
void update(bool save)
Definition ImageTreeWidgetItem.cpp:74
void onDisplayPropertiesChanged()
Definition ImageTreeWidgetItem.cpp:182
TreeColumn
Definition ImageTreeWidgetItem.h:35
@ FootprintColumn
Definition ImageTreeWidgetItem.h:37
@ ImageColumn
Definition ImageTreeWidgetItem.h:39
@ LabelColumn
Definition ImageTreeWidgetItem.h:40
@ IncidenceAngleColumn
Definition ImageTreeWidgetItem.h:44
@ LineResolutionColumn
Definition ImageTreeWidgetItem.h:48
@ NorthAzimuthColumn
Definition ImageTreeWidgetItem.h:49
@ PhaseAngleColumn
Definition ImageTreeWidgetItem.h:45
@ BlankColumn
Definition ImageTreeWidgetItem.h:51
@ NameColumn
Definition ImageTreeWidgetItem.h:36
@ EmissionAngleColumn
Definition ImageTreeWidgetItem.h:43
@ AspectRatioColumn
Definition ImageTreeWidgetItem.h:46
@ SampleResolutionColumn
Definition ImageTreeWidgetItem.h:47
@ ResolutionColumn
Definition ImageTreeWidgetItem.h:42
@ OutlineColumn
Definition ImageTreeWidgetItem.h:38
ImageTreeWidgetItem(ImageList *imageList, Image *image, QTreeWidget *parent=0)
ImageTreeWidget constructor.
Definition ImageTreeWidgetItem.cpp:26
QString imageListName() const
Definition ImageTreeWidgetItem.cpp:64
static QString treeColumnToString(TreeColumn)
Definition ImageTreeWidgetItem.cpp:143
Image * image()
Definition ImageTreeWidgetItem.cpp:59
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16