#include <subform.h>
Public Types | |
| enum | dboptions { DBNone = 0, DBReadOnly = 1, DBNoView = 2, DBNoWrite = 4, DBBlockView = 8 } |
Public Member Functions | |
| SHeader (QString nom, DBCampo::dbtype typ, int res, int opt, QString nomp="") | |
| ~SHeader () | |
| int | set (QString val) |
| unsigned int | options () |
| unsigned int | restricciones () |
| DBCampo::dbtype | tipo () |
| QString | nompresentacion () |
| int | restrictcampo () |
| QString | nomcampo () |
Protected Attributes | |
| QString | m_nomcampo |
| QString | m_valorcampo |
| QString | m_nompresentacion |
| unsigned int | m_restricciones |
| DBCampo::dbtype | m_tipo |
| unsigned int | m_options |
Definition at line 33 of file subform.h.
| enum SHeader::dboptions |
Definition at line 35 of file subform.h.
00035 {DBNone = 0, DBReadOnly = 1, DBNoView = 2, DBNoWrite = 4, DBBlockView = 8};
| SHeader::SHeader | ( | QString | nom, | |
| DBCampo::dbtype | typ, | |||
| int | res, | |||
| int | opt, | |||
| QString | nomp = "" | |||
| ) |
| nom | ||
| typ | ||
| res | ||
| opt | ||
| nomp |
Definition at line 228 of file subform.cpp.
References _depura(), m_nomcampo, m_nompresentacion, m_options, m_restricciones, m_tipo, and m_valorcampo.
00228 { 00229 _depura("SHeader::SHeader", 0); 00230 m_nomcampo = nom; 00231 m_tipo = typ; 00232 m_restricciones = res; 00233 m_options = opt; 00234 m_nompresentacion = nomp; 00235 m_valorcampo = ""; 00236 _depura("END SHeader::SHeader", 0); 00237 }
| SHeader::~SHeader | ( | ) |
| int SHeader::set | ( | QString | val | ) |
| val |
Definition at line 254 of file subform.cpp.
References _depura(), and m_valorcampo.
Referenced by SubForm3::addSHeader().
00254 { 00255 _depura("SHeader::set", 0); 00256 m_valorcampo = val; 00257 _depura("END SHeader::set", 0); 00258 return 0; 00259 }
| unsigned int SHeader::options | ( | ) |
Definition at line 266 of file subform.cpp.
References _depura(), and m_options.
Referenced by SubForm3::campoCompleto(), SubForm3::newSDBRecord(), SubForm3::pintaCabeceras(), SubForm3::situarse(), and SubForm3::situarse1().
00266 { 00267 _depura("SHeader::options", 0); 00268 _depura("END SHeader::options", 0); 00269 return m_options; 00270 }
| unsigned int SHeader::restricciones | ( | ) |
Definition at line 277 of file subform.cpp.
References _depura(), and m_restricciones.
Referenced by SubForm3::newSDBRecord().
00277 { 00278 _depura("SHeader::restricciones", 0); 00279 _depura("END SHeader::restricciones", 0); 00280 return m_restricciones; 00281 }
| DBCampo::dbtype SHeader::tipo | ( | ) |
Definition at line 288 of file subform.cpp.
References _depura(), and m_tipo.
Referenced by SubForm3::newSDBRecord().
00288 { 00289 _depura("DBCampo::dbtype SHeader::tipo", 0); 00290 _depura("END DBCampo::dbtype SHeader::tipo", 0); 00291 return m_tipo; 00292 00293 }
| QString SHeader::nompresentacion | ( | ) |
Definition at line 300 of file subform.cpp.
References _depura(), and m_nompresentacion.
Referenced by SubForm3::newSDBRecord(), and SubForm3::pintaCabeceras().
00300 { 00301 _depura("SHeader::nompresentacion", 0); 00302 _depura("EDN SHeader::nompresentacion", 0); 00303 return m_nompresentacion; 00304 }
| int SHeader::restrictcampo | ( | ) |
Definition at line 311 of file subform.cpp.
References _depura(), and m_restricciones.
00311 { 00312 _depura("SHeader::restrictcampo", 0); 00313 _depura("END SHeader::restrictcampo", 0); 00314 return m_restricciones; 00315 }
| QString SHeader::nomcampo | ( | ) |
Definition at line 322 of file subform.cpp.
References _depura(), and m_nomcampo.
Referenced by SubForm3::columnDBfieldName(), QSubForm2BtDelegate::createEditor(), QSubForm2BfDelegate::createEditor(), QSubForm3BfDelegate::createEditor(), QSubForm2BcDelegate::createEditor(), SubForm3::existsHeader(), SubForm3::newSDBRecord(), QSubForm2BtDelegate::setEditorData(), QSubForm2BfDelegate::setEditorData(), QSubForm3BfDelegate::setEditorData(), QSubForm2BcDelegate::setEditorData(), QSubForm2BtDelegate::setModelData(), QSubForm2BfDelegate::setModelData(), QSubForm3BfDelegate::setModelData(), and QSubForm2BcDelegate::setModelData().
00322 { 00323 _depura("SHeader::nomcampo", 0); 00324 _depura("END SHeader::nomcampo", 0); 00325 return m_nomcampo; 00326 }
QString SHeader::m_nomcampo [protected] |
QString SHeader::m_valorcampo [protected] |
QString SHeader::m_nompresentacion [protected] |
unsigned int SHeader::m_restricciones [protected] |
Definition at line 41 of file subform.h.
Referenced by restricciones(), restrictcampo(), and SHeader().
DBCampo::dbtype SHeader::m_tipo [protected] |
unsigned int SHeader::m_options [protected] |
1.5.1