#include <qwidgetresizehandler_p.h>
Lista de todos los miembros.
Tipos públicos |
enum | Action {
Move = 0x01,
Resize = 0x02,
Any = Move|Resize,
Move = 0x01,
Resize = 0x02,
Any = Move|Resize
} |
enum | Action {
Move = 0x01,
Resize = 0x02,
Any = Move|Resize,
Move = 0x01,
Resize = 0x02,
Any = Move|Resize
} |
Señales |
void | activate () |
void | activate () |
Métodos públicos |
| QWidgetResizeHandler (QWidget *parent, QWidget *cw=0, const char *name=0) |
void | setActive (bool b) |
void | setActive (Action ac, bool b) |
bool | isActive () const |
bool | isActive (Action ac) const |
void | setMovingEnabled (bool b) |
bool | isMovingEnabled () const |
bool | isButtonDown () const |
void | setExtraHeight (int h) |
void | setSizeProtection (bool b) |
void | doResize () |
void | doMove () |
| QWidgetResizeHandler (QWidget *parent, QWidget *cw=0, const char *name=0) |
void | setActive (bool b) |
void | setActive (Action ac, bool b) |
bool | isActive () const |
bool | isActive (Action ac) const |
void | setMovingEnabled (bool b) |
bool | isMovingEnabled () const |
bool | isButtonDown () const |
void | setExtraHeight (int h) |
void | setSizeProtection (bool b) |
void | doResize () |
void | doMove () |
Métodos protegidos |
bool | eventFilter (QObject *o, QEvent *e) |
void | mouseMoveEvent (QMouseEvent *e) |
void | keyPressEvent (QKeyEvent *e) |
bool | eventFilter (QObject *o, QEvent *e) |
void | mouseMoveEvent (QMouseEvent *e) |
void | keyPressEvent (QKeyEvent *e) |
Documentación de las enumeraciones miembro de la clase
- Valores de enumeraciones:
Move |
|
Resize |
|
Any |
|
Move |
|
Resize |
|
Any |
|
- Valores de enumeraciones:
Move |
|
Resize |
|
Any |
|
Move |
|
Resize |
|
Any |
|
Documentación del constructor y destructor
QWidgetResizeHandler::QWidgetResizeHandler |
( |
QWidget * |
parent, |
|
|
QWidget * |
cw = 0 , |
|
|
const char * |
name = 0 |
|
) |
| |
QWidgetResizeHandler::QWidgetResizeHandler |
( |
QWidget * |
parent, |
|
|
QWidget * |
cw = 0 , |
|
|
const char * |
name = 0 |
|
) |
| |
Documentación de las funciones miembro
void QWidgetResizeHandler::activate |
( |
| ) |
[signal] |
void QWidgetResizeHandler::activate |
( |
| ) |
[signal] |
void QWidgetResizeHandler::doMove |
( |
| ) |
|
void QWidgetResizeHandler::doMove |
( |
| ) |
|
void QWidgetResizeHandler::doResize |
( |
| ) |
|
void QWidgetResizeHandler::doResize |
( |
| ) |
|
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:
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.
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:
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 QWidgetResizeHandler::isActive |
( |
| ) |
const [inline] |
bool QWidgetResizeHandler::isActive |
( |
Action |
ac | ) |
const |
bool QWidgetResizeHandler::isActive |
( |
| ) |
const [inline] |
bool QWidgetResizeHandler::isActive |
( |
Action |
ac | ) |
const |
bool QWidgetResizeHandler::isButtonDown |
( |
| ) |
const [inline] |
bool QWidgetResizeHandler::isButtonDown |
( |
| ) |
const [inline] |
bool QWidgetResizeHandler::isMovingEnabled |
( |
| ) |
const [inline] |
bool QWidgetResizeHandler::isMovingEnabled |
( |
| ) |
const [inline] |
void QWidgetResizeHandler::keyPressEvent |
( |
QKeyEvent * |
e | ) |
[protected] |
void QWidgetResizeHandler::keyPressEvent |
( |
QKeyEvent * |
e | ) |
[protected] |
void QWidgetResizeHandler::mouseMoveEvent |
( |
QMouseEvent * |
e | ) |
[protected] |
void QWidgetResizeHandler::mouseMoveEvent |
( |
QMouseEvent * |
e | ) |
[protected] |
void QWidgetResizeHandler::setActive |
( |
Action |
ac, |
|
|
bool |
b |
|
) |
| |
void QWidgetResizeHandler::setActive |
( |
bool |
b | ) |
[inline] |
void QWidgetResizeHandler::setActive |
( |
Action |
ac, |
|
|
bool |
b |
|
) |
| |
void QWidgetResizeHandler::setActive |
( |
bool |
b | ) |
[inline] |
void QWidgetResizeHandler::setExtraHeight |
( |
int |
h | ) |
[inline] |
void QWidgetResizeHandler::setExtraHeight |
( |
int |
h | ) |
[inline] |
void QWidgetResizeHandler::setMovingEnabled |
( |
bool |
b | ) |
[inline] |
void QWidgetResizeHandler::setMovingEnabled |
( |
bool |
b | ) |
[inline] |
void QWidgetResizeHandler::setSizeProtection |
( |
bool |
b | ) |
[inline] |
void QWidgetResizeHandler::setSizeProtection |
( |
bool |
b | ) |
[inline] |
La documentación para esta clase fue generada a partir de los siguientes ficheros: