Eneboo - Documentación para desarrolladores
Slots públicos | Métodos públicos | Métodos protegidos | Atributos protegidos
Referencia de la Clase HierarchyList

#include <hierarchyview.h>

Diagrama de herencias de HierarchyList
QListView QScrollView QScrollView QFrame QFrame QFrame QFrame QWidget QWidget QWidget QWidget QWidget QWidget QWidget QWidget EventList FormDefinitionView

Lista de todos los miembros.

Slots públicos

void addTabPage ()
void removeTabPage ()

Métodos públicos

 HierarchyList (QWidget *parent, FormWindow *fw, bool doConnects=TRUE)
virtual void setup ()
virtual void setCurrent (QObject *o)
void setOpen (QListViewItem *i, bool b)
void changeNameOf (QObject *o, const QString &name)
void changeDatabaseOf (QObject *o, const QString &info)
void setFormWindow (FormWindow *fw)
void drawContentsOffset (QPainter *p, int ox, int oy, int cx, int cy, int cw, int ch)
void insertEntry (QListViewItem *i, const QPixmap &pix=QPixmap(), const QString &s=QString::null)

Métodos protegidos

void keyPressEvent (QKeyEvent *e)
void keyReleaseEvent (QKeyEvent *e)
void viewportMousePressEvent (QMouseEvent *e)
void viewportMouseReleaseEvent (QMouseEvent *e)

Atributos protegidos

FormWindowformWindow
QPopupMenunormalMenu
QPopupMenutabWidgetMenu
bool deselect

Documentación del constructor y destructor

HierarchyList::HierarchyList ( QWidget parent,
FormWindow fw,
bool  doConnects = TRUE 
)

Documentación de las funciones miembro

void HierarchyList::addTabPage ( ) [slot]
void HierarchyList::changeDatabaseOf ( QObject o,
const QString info 
)
void HierarchyList::changeNameOf ( QObject o,
const QString name 
)
void HierarchyList::drawContentsOffset ( QPainter p,
int  ox,
int  oy,
int  cx,
int  cy,
int  cw,
int  ch 
) [inline, virtual]

Calls QListViewItem::paintCell() and QListViewItem::paintBranches() as necessary for all list view items that require repainting in the cw pixels wide and ch pixels high bounding rectangle starting at position cx, cy with offset ox, oy. Uses the painter p.

Reimplementado de QListView.

void HierarchyList::insertEntry ( QListViewItem i,
const QPixmap pix = QPixmap(),
const QString s = QString::null 
)
void HierarchyList::keyPressEvent ( QKeyEvent e) [protected, virtual]

Reimplementado de QListView.

void HierarchyList::keyReleaseEvent ( QKeyEvent e) [protected, virtual]

This event handler, for event e, can be reimplemented in a subclass to receive key release events for the widget.

A widget must accept focus initially and have focus in order to receive a key release event.

If you reimplement this handler, it is very important that you ignore() the release if you do not understand it, so that the widget's parent can interpret it.

The default implementation ignores the event.

Ver también:
keyPressEvent(), QKeyEvent::ignore(), setFocusPolicy(), focusInEvent(), focusOutEvent(), event(), QKeyEvent

Reimplementado de QWidget.

void HierarchyList::removeTabPage ( ) [slot]
void HierarchyList::setCurrent ( QObject o) [virtual]
void HierarchyList::setFormWindow ( FormWindow fw) [inline]
void HierarchyList::setOpen ( QListViewItem item,
bool  open 
) [virtual]

Sets item to be open if open is TRUE and item is expandable, and to be closed if open is FALSE. Repaints accordingly.

Ver también:
QListViewItem::setOpen() QListViewItem::setExpandable()

Reimplementado de QListView.

void HierarchyList::setup ( void  ) [virtual]

Reimplementado en FormDefinitionView y EventList.

void HierarchyList::viewportMousePressEvent ( QMouseEvent e) [protected, virtual]

Reimplementado de QScrollView.

void HierarchyList::viewportMouseReleaseEvent ( QMouseEvent e) [protected, virtual]

Reimplementado de QScrollView.


Documentación de los datos miembro


La documentación para esta clase fue generada a partir de los siguientes ficheros:
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'