OTB  6.7.0
Orfeo Toolbox
Public Types | Signals | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
mvd::LayerStackItemModel Class Reference

#include <mvdLayerStackItemModel.h>

+ Inheritance diagram for mvd::LayerStackItemModel:
+ Collaboration diagram for mvd::LayerStackItemModel:

Public Types

enum  Columns {
  COLUMN_NONE = -1,
  COLUMN_PROJ = 0,
  COLUMN_RESOLUTION,
  COLUMN_NAME,
  COLUMN_EFFECT,
  COLUMN_I,
  COLUMN_J,
  COLUMN_R,
  COLUMN_G,
  COLUMN_B,
  COLUMN_X,
  COLUMN_Y,
  COLUMN_COUNT
}
 

Signals

void LayerDeletingModel (unsigned int index)
 

Public Member Functions

int columnCount (const QModelIndex &p=QModelIndex()) const override
 
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const override
 
bool dropMimeData (const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &p) override
 
Qt::ItemFlags flags (const QModelIndex &index) const override
 
bool hasChildren (const QModelIndex &p=QModelIndex()) const override
 
QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const override
 
QModelIndex index (int row, int column, const QModelIndex &p=QModelIndex()) const override
 
bool insertRows (int row, int count, const QModelIndex &p=QModelIndex()) override
 
 LayerStackItemModel (QObject *p=NULL)
 
QMimeData * mimeData (const QModelIndexList &indexes) const override
 
QStringList mimeTypes () const override
 
QModelIndex parent (const QModelIndex &index) const override
 
bool removeRows (int row, int count, const QModelIndex &p=QModelIndex()) override
 
int rowCount (const QModelIndex &p=QModelIndex()) const override
 
bool setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) override
 
void SetStack (StackedLayerModel *)
 
Qt::DropActions supportedDropActions () const override
 
 ~LayerStackItemModel () override
 

Static Public Member Functions

static const AbstractLayerModelGetLayer (const QModelIndex &)
 

Private Slots

void OnLayerAboutToBeDeleted (vcl_size_t)
 
void OnLayerAdded (vcl_size_t)
 
void OnLayerDeleted (vcl_size_t)
 
void OnLayerVisibilityChanged (AbstractLayerModel *, bool)
 
void OnReferenceChanged (vcl_size_t)
 
void OnPixelInfoChanged (const QPoint &, const PointType &, const PixelInfo::Vector &)
 
void OnImageSettingsUpdated (AbstractImageModel *)
 
void OnResolutionsChanged (const PixelInfo::Vector &)
 

Private Member Functions

void Connect (AbstractLayerModel *)
 
void Disconnect (AbstractLayerModel *)
 

Private Attributes

StackedLayerModelm_StackedLayerModel
 

Detailed Description

WIP.

Definition at line 79 of file mvdLayerStackItemModel.h.

Member Enumeration Documentation

Enumerator
COLUMN_NONE 
COLUMN_PROJ 
COLUMN_RESOLUTION 
COLUMN_NAME 
COLUMN_EFFECT 
COLUMN_I 
COLUMN_J 
COLUMN_R 
COLUMN_G 
COLUMN_B 
COLUMN_X 
COLUMN_Y 
COLUMN_COUNT 

Definition at line 93 of file mvdLayerStackItemModel.h.

Constructor & Destructor Documentation

mvd::LayerStackItemModel::LayerStackItemModel ( QObject *  p = NULL)

Constructor.

mvd::LayerStackItemModel::~LayerStackItemModel ( )
override

Destructor.

Member Function Documentation

int mvd::LayerStackItemModel::columnCount ( const QModelIndex &  p = QModelIndex()) const
override
void mvd::LayerStackItemModel::Connect ( AbstractLayerModel )
private
QVariant mvd::LayerStackItemModel::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const
override
void mvd::LayerStackItemModel::Disconnect ( AbstractLayerModel )
private
bool mvd::LayerStackItemModel::dropMimeData ( const QMimeData *  data,
Qt::DropAction  action,
int  row,
int  column,
const QModelIndex &  p 
)
override
Qt::ItemFlags mvd::LayerStackItemModel::flags ( const QModelIndex &  index) const
override
static const AbstractLayerModel* mvd::LayerStackItemModel::GetLayer ( const QModelIndex &  )
static
bool mvd::LayerStackItemModel::hasChildren ( const QModelIndex &  p = QModelIndex()) const
override
QVariant mvd::LayerStackItemModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role = Qt::DisplayRole 
) const
override
QModelIndex mvd::LayerStackItemModel::index ( int  row,
int  column,
const QModelIndex &  p = QModelIndex() 
) const
override
bool mvd::LayerStackItemModel::insertRows ( int  row,
int  count,
const QModelIndex &  p = QModelIndex() 
)
override
void mvd::LayerStackItemModel::LayerDeletingModel ( unsigned int  index)
signal
QMimeData* mvd::LayerStackItemModel::mimeData ( const QModelIndexList &  indexes) const
override
QStringList mvd::LayerStackItemModel::mimeTypes ( ) const
override
void mvd::LayerStackItemModel::OnImageSettingsUpdated ( AbstractImageModel *  )
privateslot
void mvd::LayerStackItemModel::OnLayerAboutToBeDeleted ( vcl_size_t  )
privateslot
void mvd::LayerStackItemModel::OnLayerAdded ( vcl_size_t  )
privateslot
void mvd::LayerStackItemModel::OnLayerDeleted ( vcl_size_t  )
privateslot
void mvd::LayerStackItemModel::OnLayerVisibilityChanged ( AbstractLayerModel ,
bool   
)
privateslot
void mvd::LayerStackItemModel::OnPixelInfoChanged ( const QPoint &  ,
const PointType ,
const PixelInfo::Vector  
)
privateslot
void mvd::LayerStackItemModel::OnReferenceChanged ( vcl_size_t  )
privateslot
void mvd::LayerStackItemModel::OnResolutionsChanged ( const PixelInfo::Vector )
privateslot
QModelIndex mvd::LayerStackItemModel::parent ( const QModelIndex &  index) const
override
bool mvd::LayerStackItemModel::removeRows ( int  row,
int  count,
const QModelIndex &  p = QModelIndex() 
)
override
int mvd::LayerStackItemModel::rowCount ( const QModelIndex &  p = QModelIndex()) const
override
bool mvd::LayerStackItemModel::setData ( const QModelIndex &  index,
const QVariant &  value,
int  role = Qt::EditRole 
)
override
void mvd::LayerStackItemModel::SetStack ( StackedLayerModel )
Qt::DropActions mvd::LayerStackItemModel::supportedDropActions ( ) const
override

Member Data Documentation

StackedLayerModel* mvd::LayerStackItemModel::m_StackedLayerModel
private

Definition at line 292 of file mvdLayerStackItemModel.h.


The documentation for this class was generated from the following file: