|
int | select (Q_ULLONG id) |
Q_ULLONG | insert () |
int | update () |
int | markDelete () |
virtual QVariant | value (const QString &name) |
virtual QString | value () const |
|
| wReport (QWidget *parent=0, WFlags fl=0) |
bool | checkStructure () |
virtual void | initObject (aDatabase *adb) |
virtual QDialog * | createEditor (QWidget *parent) |
virtual QString | displayString () |
virtual bool | isContainer () |
virtual Q_ULLONG | uid () |
virtual ERR_Code | New () |
virtual ERR_Code | Update () |
virtual ERR_Code | TurnOn () |
virtual ERR_Code | Select (Q_ULLONG id) |
| aWidget (QWidget *parent=0, const char *name=0, WFlags fl=0) |
| aWidget (const QString &oname, aDatabase *adb, QWidget *parent=0, const char *name=0, WFlags fl=0) |
| aWidget (aCfgItem context, aDatabase *adb, QWidget *parent=0, const char *name=0, WFlags fl=0) |
virtual void | widgetEditor () |
virtual QToolBar * | createToolBar (QMainWindow *parent) |
virtual aObject * | createDBObject (aCfgItem obj, aDatabase *) |
void | init (aDatabase *adb) |
bool | getOpenEditor () const |
void | setOpenEditor (bool) |
bool | isInited () |
void | setInited (bool flag) |
aCfgItem * | getMDObject () |
void | setMDObject (aCfgItem object) |
aSQLTable * | table (const QString &name="") |
void | setObjectData (QWidget *object, aCfg *md) |
void | getObjectData (QWidget *object) |
aCfg * | getMd () |
aObject * | dataObject () |
virtual Q_ULLONG | docId () |
int | formMode () const |
virtual void | setFormMode (int mode) |
virtual QString | getFieldName () const |
int | getId () const |
void | setId (int fn) |
virtual QString | textValue () |
virtual void | setValue (const QString &) |
virtual int | setValue (const QString &name, const QVariant &value) |
virtual int | setObjValue (const QString &nameWidget, aObject *value) |
virtual void | SetReadOnly (bool) |
virtual int | Refresh () |
QWidget * | Widget (QString name, bool onlyMyWidgets=true) |
virtual aDataField * | getAttribute (const QString &name) |
virtual int | setAttribute (const QString &name, const aDataField *value) |
|
void | setData (QWidget *, aCfg *) |
void | getData (QWidget *) |
void | getMd (aCfg **) |
void | valueChanged (const QString &, const QVariant &) |
void | valueChanged (const QString &, const QVariant &, const QString &) |
void | changeObj (const QString &) |
void | changeObjId (const Q_ULLONG) |
void | keyPressed (QKeyEvent *e) |
static void | widgetEditor (QWidget *object, QDialog *editor) |
static aWidget * | parentContainer (QWidget *w) |
static aForm * | parentForm (QWidget *w) |
static QString | widgetName (QWidget *w) |
static QWidget * | Widget (QWidget *owner, QString name) |
aDatabase * | db |
aCfg * | md |
aEngine * | engine |
virtual void | updateProp () |
virtual void | keyPressEvent (QKeyEvent *e) |
aObject * | dbobj |
int | Id |
bool | openEditor |
int | FormMode |
◆ checkStructure()
bool wReport::checkStructure |
( |
| ) |
|
|
virtual |
◆ createEditor()
QDialog * wReport::createEditor |
( |
QWidget * | parent | ) |
|
|
virtual |
◆ displayString()
QString wReport::displayString |
( |
| ) |
|
|
virtual |
◆ initObject()
Init object after create. Need setId( id ), where id - if of the metadata object of the adb->cfg loaded Configuration.
- Parameters
-
adb | - ananas database object. |
Reimplemented from aWidget.
References aWidget::initObject().
◆ isContainer()
virtual bool wReport::isContainer |
( |
| ) |
|
|
inlinevirtual |
◆ New()
ERR_Code wReport::New |
( |
| ) |
|
|
virtual |
Create new database record object. New object create with using wirtual function aObject::New() of aObject and it's childs.
- Returns
Reimplemented from aWidget.
◆ Select()
ERR_Code wReport::Select |
( |
Q_ULLONG | id | ) |
|
|
virtual |
Select object in database.
- Parameters
-
- Returns
- error code.
Reimplemented from aWidget.
◆ TurnOn()
ERR_Code wReport::TurnOn |
( |
| ) |
|
|
virtual |
◆ uid()
Q_ULLONG wReport::uid |
( |
| ) |
|
|
virtual |
Get id from database. Get id for current database record or 0 if database object not created.
- Returns
- current database record id
Reimplemented from aWidget.
◆ Update()
ERR_Code wReport::Update |
( |
| ) |
|
|
virtual |
Update data
Reimplemented from aWidget.
The documentation for this class was generated from the following files: