USGS

Isis 3.0 Object Programmers' Reference

Home

BusyLeafItem.cpp
1 #include "BusyLeafItem.h"
2 
3 #include <QVariant>
4 
5 #include "IException.h"
6 #include "IString.h"
7 
8 #include "AbstractTreeItem.h"
9 
10 
11 namespace Isis {
12  namespace CnetViz {
13  BusyLeafItem::BusyLeafItem(AbstractTreeItem *parent)
14  : AbstractTreeItem(parent), AbstractNullDataItem() {
15  calcDataWidth(1);
16  }
17 
18 
19  BusyLeafItem::~BusyLeafItem() {
20  }
21 
22 
23  QVariant BusyLeafItem::getData() const {
24  return QVariant("Working...");
25  }
26 
27 
28  bool BusyLeafItem::isSelectable() const {
29  return false;
30  }
31  }
32 }