26 #include <dbmodel/dbmodel-config.h>
27 #include <dbstruct/dbstruct.h>
28 #include <dbstruct/dbcolumn.h>
29 #include <dbstruct/dbtaew.h>
95 const DbColumn & source,
111 return t_primary_ != -1;
119 const QVariant & key,
120 bool b_delegate_enh =
true)
const;
125 const QModelIndex & index,
127 QComboBox * control)
const;
134 QComboBox *control)
const;
139 const QString &value)
const;
146 const QModelIndex & index,
148 QCheckBox * control)
const;
154 const QVariant & value,
155 bool b_delegate_enh)
const;
159 mainTableRealIndex ()
const {
160 return original_.real_col_id_;
164 mainTableVirtualIndex ()
const {
165 return original_.col_id_;
183 #endif // DBMODELCOL_H
DbColumn original_
Definition: dbmodelcol.h:79
A Qt model capable of representing sql tables.
Definition: dbmodel.h:26
Model representation of a column.
Definition: dbmodelcol.h:56
QString label_
Definition: dbmodelcol.h:78
bool isForeign() const
Tell if this column is foreign or not.
Definition: dbmodelcol.h:110
~DbModelCol()
destructor
Definition: dbmodelcol.h:106
file dbmodeltbl.h date November 2015 author Nicu Tofan
Definition: dbmodeltbl.h:46
int t_display_
Definition: dbmodelcol.h:77
int t_primary_
Definition: dbmodelcol.h:76
int user_index_
Definition: dbmodelcol.h:74
const DbModelTbl * table_
Definition: dbmodelcol.h:75