QCAD Application Framework
CAD Application Development and Automation.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
QtScriptShell_QSqlTableModel Class Reference

#include <qtscriptshell_QSqlTableModel.h>

List of all members.

Public Member Functions

QModelIndex buddy (const QModelIndex &index) const
QModelIndex buddy (const QModelIndex &index) const
bool canFetchMore (const QModelIndex &parent) const
bool canFetchMore (const QModelIndex &parent) const
void childEvent (QChildEvent *arg__1)
void childEvent (QChildEvent *arg__1)
void clear ()
void clear ()
int columnCount (const QModelIndex &parent) const
int columnCount (const QModelIndex &parent) const
void customEvent (QEvent *arg__1)
void customEvent (QEvent *arg__1)
QVariant data (const QModelIndex &idx, int role=Qt::DisplayRole) const
QVariant data (const QModelIndex &idx, int role=Qt::DisplayRole) const
bool deleteRowFromTable (int row)
bool deleteRowFromTable (int row)
bool dropMimeData (const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent)
bool dropMimeData (const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent)
bool event (QEvent *arg__1)
bool event (QEvent *arg__1)
bool eventFilter (QObject *arg__1, QEvent *arg__2)
bool eventFilter (QObject *arg__1, QEvent *arg__2)
void fetchMore (const QModelIndex &parent)
void fetchMore (const QModelIndex &parent)
Qt::ItemFlags flags (const QModelIndex &index) const
Qt::ItemFlags flags (const QModelIndex &index) const
QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
QModelIndex index (int row, int column, const QModelIndex &parent) const
QModelIndex index (int row, int column, const QModelIndex &parent) const
bool insertColumns (int column, int count, const QModelIndex &parent)
bool insertColumns (int column, int count, const QModelIndex &parent)
bool insertRowIntoTable (const QSqlRecord &values)
bool insertRowIntoTable (const QSqlRecord &values)
bool insertRows (int row, int count, const QModelIndex &parent=QModelIndex())
bool insertRows (int row, int count, const QModelIndex &parent=QModelIndex())
QMap< int, QVariant > itemData (const QModelIndex &index) const
QMap< int, QVariant > itemData (const QModelIndex &index) const
QList< QModelIndex > match (const QModelIndex &start, int role, const QVariant &value, int hits, Qt::MatchFlags flags) const
QList< QModelIndex > match (const QModelIndex &start, int role, const QVariant &value, int hits, Qt::MatchFlags flags) const
QMimeData * mimeData (const QList< QModelIndex > &indexes) const
QMimeData * mimeData (const QList< QModelIndex > &indexes) const
QStringList mimeTypes () const
QStringList mimeTypes () const
QString orderByClause () const
QString orderByClause () const
 QtScriptShell_QSqlTableModel (QObject *parent=0, QSqlDatabase db=QSqlDatabase())
 QtScriptShell_QSqlTableModel (QObject *parent=0, QSqlDatabase db=QSqlDatabase())
void queryChange ()
void queryChange ()
bool removeColumns (int column, int count, const QModelIndex &parent=QModelIndex())
bool removeColumns (int column, int count, const QModelIndex &parent=QModelIndex())
bool removeRows (int row, int count, const QModelIndex &parent=QModelIndex())
bool removeRows (int row, int count, const QModelIndex &parent=QModelIndex())
void revert ()
void revert ()
void revertRow (int row)
void revertRow (int row)
int rowCount (const QModelIndex &parent=QModelIndex()) const
int rowCount (const QModelIndex &parent=QModelIndex()) const
bool select ()
bool select ()
QString selectStatement () const
QString selectStatement () const
bool setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole)
bool setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole)
void setEditStrategy (QSqlTableModel::EditStrategy strategy)
void setEditStrategy (QSqlTableModel::EditStrategy strategy)
void setFilter (const QString &filter)
void setFilter (const QString &filter)
bool setHeaderData (int section, Qt::Orientation orientation, const QVariant &value, int role)
bool setHeaderData (int section, Qt::Orientation orientation, const QVariant &value, int role)
bool setItemData (const QModelIndex &index, const QMap< int, QVariant > &roles)
bool setItemData (const QModelIndex &index, const QMap< int, QVariant > &roles)
void setSort (int column, Qt::SortOrder order)
void setSort (int column, Qt::SortOrder order)
void setTable (const QString &tableName)
void setTable (const QString &tableName)
void sort (int column, Qt::SortOrder order)
void sort (int column, Qt::SortOrder order)
QSize span (const QModelIndex &index) const
QSize span (const QModelIndex &index) const
bool submit ()
bool submit ()
Qt::DropActions supportedDropActions () const
Qt::DropActions supportedDropActions () const
void timerEvent (QTimerEvent *arg__1)
void timerEvent (QTimerEvent *arg__1)
bool updateRowInTable (int row, const QSqlRecord &values)
bool updateRowInTable (int row, const QSqlRecord &values)
 ~QtScriptShell_QSqlTableModel ()
 ~QtScriptShell_QSqlTableModel ()

Public Attributes

QScriptValue __qtscript_self

Constructor & Destructor Documentation

QtScriptShell_QSqlTableModel::QtScriptShell_QSqlTableModel ( QObject *  parent = 0,
QSqlDatabase  db = QSqlDatabase() 
)
QtScriptShell_QSqlTableModel::~QtScriptShell_QSqlTableModel ( )
QtScriptShell_QSqlTableModel::QtScriptShell_QSqlTableModel ( QObject *  parent = 0,
QSqlDatabase  db = QSqlDatabase() 
)
QtScriptShell_QSqlTableModel::~QtScriptShell_QSqlTableModel ( )

Member Function Documentation

QModelIndex QtScriptShell_QSqlTableModel::buddy ( const QModelIndex &  index) const
QModelIndex QtScriptShell_QSqlTableModel::buddy ( const QModelIndex &  index) const
bool QtScriptShell_QSqlTableModel::canFetchMore ( const QModelIndex &  parent) const
bool QtScriptShell_QSqlTableModel::canFetchMore ( const QModelIndex &  parent) const
void QtScriptShell_QSqlTableModel::childEvent ( QChildEvent *  arg__1)
void QtScriptShell_QSqlTableModel::childEvent ( QChildEvent *  arg__1)
void QtScriptShell_QSqlTableModel::clear ( )
void QtScriptShell_QSqlTableModel::clear ( )
int QtScriptShell_QSqlTableModel::columnCount ( const QModelIndex &  parent) const
int QtScriptShell_QSqlTableModel::columnCount ( const QModelIndex &  parent) const
void QtScriptShell_QSqlTableModel::customEvent ( QEvent *  arg__1)
void QtScriptShell_QSqlTableModel::customEvent ( QEvent *  arg__1)
QVariant QtScriptShell_QSqlTableModel::data ( const QModelIndex &  idx,
int  role = Qt::DisplayRole 
) const
QVariant QtScriptShell_QSqlTableModel::data ( const QModelIndex &  idx,
int  role = Qt::DisplayRole 
) const
bool QtScriptShell_QSqlTableModel::deleteRowFromTable ( int  row)
bool QtScriptShell_QSqlTableModel::deleteRowFromTable ( int  row)
bool QtScriptShell_QSqlTableModel::dropMimeData ( const QMimeData *  data,
Qt::DropAction  action,
int  row,
int  column,
const QModelIndex &  parent 
)
bool QtScriptShell_QSqlTableModel::dropMimeData ( const QMimeData *  data,
Qt::DropAction  action,
int  row,
int  column,
const QModelIndex &  parent 
)
bool QtScriptShell_QSqlTableModel::event ( QEvent *  arg__1)
bool QtScriptShell_QSqlTableModel::event ( QEvent *  arg__1)
bool QtScriptShell_QSqlTableModel::eventFilter ( QObject *  arg__1,
QEvent *  arg__2 
)
bool QtScriptShell_QSqlTableModel::eventFilter ( QObject *  arg__1,
QEvent *  arg__2 
)
void QtScriptShell_QSqlTableModel::fetchMore ( const QModelIndex &  parent)
void QtScriptShell_QSqlTableModel::fetchMore ( const QModelIndex &  parent)
Qt::ItemFlags QtScriptShell_QSqlTableModel::flags ( const QModelIndex &  index) const
Qt::ItemFlags QtScriptShell_QSqlTableModel::flags ( const QModelIndex &  index) const
QVariant QtScriptShell_QSqlTableModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role = Qt::DisplayRole 
) const
QVariant QtScriptShell_QSqlTableModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role = Qt::DisplayRole 
) const
QModelIndex QtScriptShell_QSqlTableModel::index ( int  row,
int  column,
const QModelIndex &  parent 
) const
QModelIndex QtScriptShell_QSqlTableModel::index ( int  row,
int  column,
const QModelIndex &  parent 
) const
bool QtScriptShell_QSqlTableModel::insertColumns ( int  column,
int  count,
const QModelIndex &  parent 
)
bool QtScriptShell_QSqlTableModel::insertColumns ( int  column,
int  count,
const QModelIndex &  parent 
)
bool QtScriptShell_QSqlTableModel::insertRowIntoTable ( const QSqlRecord &  values)
bool QtScriptShell_QSqlTableModel::insertRowIntoTable ( const QSqlRecord &  values)
bool QtScriptShell_QSqlTableModel::insertRows ( int  row,
int  count,
const QModelIndex &  parent = QModelIndex() 
)
bool QtScriptShell_QSqlTableModel::insertRows ( int  row,
int  count,
const QModelIndex &  parent = QModelIndex() 
)
QMap< int, QVariant > QtScriptShell_QSqlTableModel::itemData ( const QModelIndex &  index) const
QMap<int , QVariant > QtScriptShell_QSqlTableModel::itemData ( const QModelIndex &  index) const
QList<QModelIndex > QtScriptShell_QSqlTableModel::match ( const QModelIndex &  start,
int  role,
const QVariant &  value,
int  hits,
Qt::MatchFlags  flags 
) const
QList< QModelIndex > QtScriptShell_QSqlTableModel::match ( const QModelIndex &  start,
int  role,
const QVariant &  value,
int  hits,
Qt::MatchFlags  flags 
) const
QMimeData* QtScriptShell_QSqlTableModel::mimeData ( const QList< QModelIndex > &  indexes) const
QMimeData * QtScriptShell_QSqlTableModel::mimeData ( const QList< QModelIndex > &  indexes) const
QStringList QtScriptShell_QSqlTableModel::mimeTypes ( ) const
QStringList QtScriptShell_QSqlTableModel::mimeTypes ( ) const
QString QtScriptShell_QSqlTableModel::orderByClause ( ) const
QString QtScriptShell_QSqlTableModel::orderByClause ( ) const
void QtScriptShell_QSqlTableModel::queryChange ( )
void QtScriptShell_QSqlTableModel::queryChange ( )
bool QtScriptShell_QSqlTableModel::removeColumns ( int  column,
int  count,
const QModelIndex &  parent = QModelIndex() 
)
bool QtScriptShell_QSqlTableModel::removeColumns ( int  column,
int  count,
const QModelIndex &  parent = QModelIndex() 
)
bool QtScriptShell_QSqlTableModel::removeRows ( int  row,
int  count,
const QModelIndex &  parent = QModelIndex() 
)
bool QtScriptShell_QSqlTableModel::removeRows ( int  row,
int  count,
const QModelIndex &  parent = QModelIndex() 
)
void QtScriptShell_QSqlTableModel::revert ( )
void QtScriptShell_QSqlTableModel::revert ( )
void QtScriptShell_QSqlTableModel::revertRow ( int  row)
void QtScriptShell_QSqlTableModel::revertRow ( int  row)
int QtScriptShell_QSqlTableModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const
int QtScriptShell_QSqlTableModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const
bool QtScriptShell_QSqlTableModel::select ( )
bool QtScriptShell_QSqlTableModel::select ( )
QString QtScriptShell_QSqlTableModel::selectStatement ( ) const
QString QtScriptShell_QSqlTableModel::selectStatement ( ) const
bool QtScriptShell_QSqlTableModel::setData ( const QModelIndex &  index,
const QVariant &  value,
int  role = Qt::EditRole 
)
bool QtScriptShell_QSqlTableModel::setData ( const QModelIndex &  index,
const QVariant &  value,
int  role = Qt::EditRole 
)
void QtScriptShell_QSqlTableModel::setEditStrategy ( QSqlTableModel::EditStrategy  strategy)
void QtScriptShell_QSqlTableModel::setEditStrategy ( QSqlTableModel::EditStrategy  strategy)
void QtScriptShell_QSqlTableModel::setFilter ( const QString &  filter)
void QtScriptShell_QSqlTableModel::setFilter ( const QString &  filter)
bool QtScriptShell_QSqlTableModel::setHeaderData ( int  section,
Qt::Orientation  orientation,
const QVariant &  value,
int  role 
)
bool QtScriptShell_QSqlTableModel::setHeaderData ( int  section,
Qt::Orientation  orientation,
const QVariant &  value,
int  role 
)
bool QtScriptShell_QSqlTableModel::setItemData ( const QModelIndex &  index,
const QMap< int, QVariant > &  roles 
)
bool QtScriptShell_QSqlTableModel::setItemData ( const QModelIndex &  index,
const QMap< int, QVariant > &  roles 
)
void QtScriptShell_QSqlTableModel::setSort ( int  column,
Qt::SortOrder  order 
)
void QtScriptShell_QSqlTableModel::setSort ( int  column,
Qt::SortOrder  order 
)
void QtScriptShell_QSqlTableModel::setTable ( const QString &  tableName)
void QtScriptShell_QSqlTableModel::setTable ( const QString &  tableName)
void QtScriptShell_QSqlTableModel::sort ( int  column,
Qt::SortOrder  order 
)
void QtScriptShell_QSqlTableModel::sort ( int  column,
Qt::SortOrder  order 
)
QSize QtScriptShell_QSqlTableModel::span ( const QModelIndex &  index) const
QSize QtScriptShell_QSqlTableModel::span ( const QModelIndex &  index) const
bool QtScriptShell_QSqlTableModel::submit ( )
bool QtScriptShell_QSqlTableModel::submit ( )
Qt::DropActions QtScriptShell_QSqlTableModel::supportedDropActions ( ) const
Qt::DropActions QtScriptShell_QSqlTableModel::supportedDropActions ( ) const
void QtScriptShell_QSqlTableModel::timerEvent ( QTimerEvent *  arg__1)
void QtScriptShell_QSqlTableModel::timerEvent ( QTimerEvent *  arg__1)
bool QtScriptShell_QSqlTableModel::updateRowInTable ( int  row,
const QSqlRecord &  values 
)
bool QtScriptShell_QSqlTableModel::updateRowInTable ( int  row,
const QSqlRecord &  values 
)

Member Data Documentation

QScriptValue QtScriptShell_QSqlTableModel::__qtscript_self

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