Eneboo - Documentación para desarrolladores
Tipos públicos | Métodos públicos | Métodos públicos estáticos | Métodos protegidos
Referencia de la Clase QAquaAnimate

#include <qaquastyle_p.h>

Diagrama de herencias de QAquaAnimate
QObject QObject Qt Qt Qt Qt

Lista de todos los miembros.

Tipos públicos

enum  Animates {
  AquaPushButton, AquaProgressBar, AquaListViewItemOpen, AquaPushButton,
  AquaProgressBar, AquaListViewItemOpen
}
enum  Animates {
  AquaPushButton, AquaProgressBar, AquaListViewItemOpen, AquaPushButton,
  AquaProgressBar, AquaListViewItemOpen
}

Métodos públicos

 QAquaAnimate ()
 ~QAquaAnimate ()
virtual bool addWidget (QWidget *)
virtual void removeWidget (QWidget *)
bool animatable (Animates, QWidget *)
bool animatable (Animates, QListViewItem *)
void stopAnimate (Animates, QWidget *)
void stopAnimate (Animates, QListViewItem *)
QWidgetfocusWidget () const
 QAquaAnimate ()
 ~QAquaAnimate ()
virtual bool addWidget (QWidget *)
virtual void removeWidget (QWidget *)
bool animatable (Animates, QWidget *)
bool animatable (Animates, QListViewItem *)
void stopAnimate (Animates, QWidget *)
void stopAnimate (Animates, QListViewItem *)
QWidgetfocusWidget () const

Métodos públicos estáticos

static bool focusable (QWidget *)
static bool focusable (QWidget *)

Métodos protegidos

virtual bool doAnimate (Animates)=0
void setFocusWidget (QWidget *)
virtual void doFocus (QWidget *w)=0
bool eventFilter (QObject *, QEvent *)
void timerEvent (QTimerEvent *)
virtual bool doAnimate (Animates)=0
void setFocusWidget (QWidget *)
virtual void doFocus (QWidget *w)=0
bool eventFilter (QObject *, QEvent *)
void timerEvent (QTimerEvent *)

Documentación de las enumeraciones miembro de la clase

Valores de enumeraciones:
AquaPushButton 
AquaProgressBar 
AquaListViewItemOpen 
AquaPushButton 
AquaProgressBar 
AquaListViewItemOpen 
Valores de enumeraciones:
AquaPushButton 
AquaProgressBar 
AquaListViewItemOpen 
AquaPushButton 
AquaProgressBar 
AquaListViewItemOpen 

Documentación del constructor y destructor

QAquaAnimate::QAquaAnimate ( )
QAquaAnimate::~QAquaAnimate ( )
QAquaAnimate::QAquaAnimate ( )
QAquaAnimate::~QAquaAnimate ( )

Documentación de las funciones miembro

bool QAquaAnimate::addWidget ( QWidget w) [virtual]
virtual bool QAquaAnimate::addWidget ( QWidget ) [virtual]
bool QAquaAnimate::animatable ( QAquaAnimate::Animates  as,
QListViewItem l 
)
bool QAquaAnimate::animatable ( Animates  ,
QWidget  
)
bool QAquaAnimate::animatable ( Animates  ,
QListViewItem  
)
bool QAquaAnimate::animatable ( QAquaAnimate::Animates  as,
QWidget w 
)
virtual bool QAquaAnimate::doAnimate ( Animates  ) [protected, pure virtual]
virtual bool QAquaAnimate::doAnimate ( Animates  ) [protected, pure virtual]
virtual void QAquaAnimate::doFocus ( QWidget w) [protected, pure virtual]
virtual void QAquaAnimate::doFocus ( QWidget w) [protected, pure virtual]
bool QAquaAnimate::eventFilter ( QObject ,
QEvent  
) [protected, virtual]

Filters events if this object has been installed as an event filter for the watched object.

In your reimplementation of this function, if you want to filter the event e, out, i.e. stop it being handled further, return TRUE; otherwise return FALSE.

Example:

    class MyMainWindow : public QMainWindow
    {
    public:
        MyMainWindow( QWidget *parent = 0, const char *name = 0 );

    protected:
        bool eventFilter( QObject *obj, QEvent *ev );

    private:
        QTextEdit *textEdit;
    };

    MyMainWindow::MyMainWindow( QWidget *parent, const char *name )
        : QMainWindow( parent, name )
    {
        textEdit = new QTextEdit( this );
        setCentralWidget( textEdit );
        textEdit->installEventFilter( this );
    }

    bool MyMainWindow::eventFilter( QObject *obj, QEvent *ev )
    {
        if ( obj == textEdit ) {
            if ( e->type() == QEvent::KeyPress ) {
                QKeyEvent *k = (QKeyEvent*)ev;
                qDebug( "Ate key press %d", k->key() );
                return TRUE;
            } else {
                return FALSE;
            }
        } else {
            // pass the event on to the parent class
            return QMainWindow::eventFilter( obj, ev );
        }
    }

Notice in the example above that unhandled events are passed to the base class's eventFilter() function, since the base class might have reimplemented eventFilter() for its own internal purposes.

Atención:
If you delete the receiver object in this function, be sure to return TRUE. Otherwise, Qt will forward the event to the deleted object and the program might crash.
Ver también:
installEventFilter()

Reimplementado de QObject.

bool QAquaAnimate::eventFilter ( QObject ,
QEvent  
) [protected, virtual]

Filters events if this object has been installed as an event filter for the watched object.

In your reimplementation of this function, if you want to filter the event e, out, i.e. stop it being handled further, return TRUE; otherwise return FALSE.

Example:

    class MyMainWindow : public QMainWindow
    {
    public:
        MyMainWindow( QWidget *parent = 0, const char *name = 0 );

    protected:
        bool eventFilter( QObject *obj, QEvent *ev );

    private:
        QTextEdit *textEdit;
    };

    MyMainWindow::MyMainWindow( QWidget *parent, const char *name )
        : QMainWindow( parent, name )
    {
        textEdit = new QTextEdit( this );
        setCentralWidget( textEdit );
        textEdit->installEventFilter( this );
    }

    bool MyMainWindow::eventFilter( QObject *obj, QEvent *ev )
    {
        if ( obj == textEdit ) {
            if ( e->type() == QEvent::KeyPress ) {
                QKeyEvent *k = (QKeyEvent*)ev;
                qDebug( "Ate key press %d", k->key() );
                return TRUE;
            } else {
                return FALSE;
            }
        } else {
            // pass the event on to the parent class
            return QMainWindow::eventFilter( obj, ev );
        }
    }

Notice in the example above that unhandled events are passed to the base class's eventFilter() function, since the base class might have reimplemented eventFilter() for its own internal purposes.

Atención:
If you delete the receiver object in this function, be sure to return TRUE. Otherwise, Qt will forward the event to the deleted object and the program might crash.
Ver también:
installEventFilter()

Reimplementado de QObject.

static bool QAquaAnimate::focusable ( QWidget ) [static]
bool QAquaAnimate::focusable ( QWidget w) [static]
QWidget * QAquaAnimate::focusWidget ( ) const
QWidget* QAquaAnimate::focusWidget ( ) const
void QAquaAnimate::removeWidget ( QWidget w) [virtual]
virtual void QAquaAnimate::removeWidget ( QWidget ) [virtual]
void QAquaAnimate::setFocusWidget ( QWidget ) [protected]
void QAquaAnimate::setFocusWidget ( QWidget w) [protected]
void QAquaAnimate::stopAnimate ( Animates  ,
QListViewItem  
)
void QAquaAnimate::stopAnimate ( QAquaAnimate::Animates  as,
QListViewItem l 
)
void QAquaAnimate::stopAnimate ( QAquaAnimate::Animates  as,
QWidget w 
)
void QAquaAnimate::stopAnimate ( Animates  ,
QWidget  
)
void QAquaAnimate::timerEvent ( QTimerEvent ) [protected, virtual]

This event handler can be reimplemented in a subclass to receive timer events for the object.

QTimer provides a higher-level interface to the timer functionality, and also more general information about timers.

Ver también:
startTimer(), killTimer(), killTimers(), event()

Reimplementado de QObject.

void QAquaAnimate::timerEvent ( QTimerEvent ) [protected, virtual]

This event handler can be reimplemented in a subclass to receive timer events for the object.

QTimer provides a higher-level interface to the timer functionality, and also more general information about timers.

Ver también:
startTimer(), killTimer(), killTimers(), event()

Reimplementado de QObject.


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'