26 #ifndef __TERRALIB_QT_WIDGETS_TABLE_INTERNAL_DATASETTABLEMODEL_H
27 #define __TERRALIB_QT_WIDGETS_TABLE_INTERNAL_DATASETTABLEMODEL_H
30 #include "../Config.h"
33 #include <QtCore/QAbstractTableModel>
90 void setPkeysColumns(
const std::vector<size_t>& pkeys);
111 void showOIdsVisible(
const bool& visible);
129 void setEnabled(
const bool& enabled);
138 int rowCount(
const QModelIndex & parent)
const;
140 int columnCount(
const QModelIndex & parent)
const;
142 QVariant data(
const QModelIndex & index,
int role)
const;
144 QVariant headerData(
int section, Qt::Orientation orientation,
int role)
const;
146 Qt::ItemFlags flags(
const QModelIndex & index)
const;
148 bool setData (
const QModelIndex & index,
const QVariant & value,
int role = Qt::EditRole);
150 bool insertColumns(
int column,
int count,
const QModelIndex& parent = QModelIndex());
152 bool removeColumns(
int column,
int count,
const QModelIndex& parent = QModelIndex());
173 #endif //__TERRALIB_QT_WIDGETS_TABLE_INTERNAL_DATASETTABLEMODEL_H
#define TEQTWIDGETSEXPORT
You can use this macro in order to export/import classes and functions from this module.
This class represents a set of unique ids created in the same context. i.e. from the same data set...
A table model representing a te::da::DataSet.
Promoter * m_promoter
Promoter to be used.
te::da::DataSet * m_dataset
The dataset being used.
int m_currentRow
An internal row pointer.
std::vector< size_t > m_pkeysColumns
Primary key columns.
A dataset is the unit of information manipulated by the data access module of TerraLib.
A class used for logical ordering of rows.
bool m_OIdsVisible
Oids icon visibility.