Ananas Library  0.9.5
Public Slots | Signals | Public Member Functions | Public Attributes | Protected Member Functions | List of all members
wGroupTree Class Reference
Inheritance diagram for wGroupTree:
aWidget

Public Slots

void findGroupTree ()
 
void NewGroup ()
 
void DeleteGroup ()
 
void EditGroup ()
 
virtual QString Uid ()
 
- Public Slots inherited from aWidget
virtual QVariant value (const QString &name)
 
virtual QString value () const
 
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 aDataFieldgetAttribute (const QString &name)
 
virtual int setAttribute (const QString &name, const aDataField *value)
 

Signals

virtual void selected (ANANAS_UID group)
 
virtual void selectionChanged (const Q_ULLONG)
 
- Signals inherited from aWidget
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)
 

Public Member Functions

 wGroupTree (QWidget *parent=0, WFlags fl=0)
 
virtual void initObject (aDatabase *adb)
 
virtual QDialog * createEditor (QWidget *parent)
 
virtual QToolBar * createToolBar (QMainWindow *parent)
 
virtual aObjectcreateDBObject (aCfgItem obj, aDatabase *adb)
 
void buildGroupTree (aCfgItem obj, aCatGroup *cg1, wGroupTreeItem *wG)
 
wGroupTreeItemfindItem (ANANAS_UID id)
 
- Public Member Functions inherited from aWidget
 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 bool checkStructure ()
 
virtual void widgetEditor ()
 
virtual QString displayString ()
 
void init (aDatabase *adb)
 
bool getOpenEditor () const
 
void setOpenEditor (bool)
 
bool isInited ()
 
virtual bool isContainer ()
 
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)
 
aCfggetMd ()
 
virtual Q_ULLONG uid ()
 
virtual ERR_Code New ()
 
virtual ERR_Code Update ()
 
virtual ERR_Code TurnOn ()
 
virtual ERR_Code Select (Q_ULLONG id)
 
aObjectdataObject ()
 
virtual Q_ULLONG docId ()
 
int formMode () const
 
virtual void setFormMode (int mode)
 
virtual QString getFieldName () const
 
int getId () const
 
void setId (int fn)
 

Public Attributes

wTreeViewtree
 
wGroupTreeItemroot
 
- Public Attributes inherited from aWidget
aDatabasedb
 
aCfgmd
 
aEngineengine
 

Protected Member Functions

virtual void keyPressEvent (QKeyEvent *e)
 
- Protected Member Functions inherited from aWidget
virtual void updateProp ()
 

Additional Inherited Members

- Static Public Member Functions inherited from aWidget
static void widgetEditor (QWidget *object, QDialog *editor)
 
static aWidgetparentContainer (QWidget *w)
 
static aFormparentForm (QWidget *w)
 
static QString widgetName (QWidget *w)
 
static QWidget * Widget (QWidget *owner, QString name)
 
- Protected Attributes inherited from aWidget
aObjectdbobj
 
- Properties inherited from aWidget
int Id
 
bool openEditor
 
int FormMode
 

Member Function Documentation

aObject * wGroupTree::createDBObject ( aCfgItem  obj,
aDatabase adb 
)
virtual

Create aDocument database object.

Reimplemented from aWidget.

QToolBar * wGroupTree::createToolBar ( QMainWindow *  owner)
virtual

Create toolbar for Journal.

Reimplemented from aWidget.

void wGroupTree::initObject ( aDatabase adb)
virtual
    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().


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