#include <qdesktopwidget.h>
Lista de todos los miembros.
Documentación del constructor y destructor
QDesktopWidget::QDesktopWidget |
( |
| ) |
|
QDesktopWidget::~QDesktopWidget |
( |
| ) |
|
QDesktopWidget::QDesktopWidget |
( |
| ) |
|
QDesktopWidget::~QDesktopWidget |
( |
| ) |
|
Documentación de las funciones miembro
const QRect & QDesktopWidget::availableGeometry |
( |
int |
screen = -1 | ) |
const |
const QRect& QDesktopWidget::availableGeometry |
( |
QWidget * |
widget | ) |
const [inline] |
const QRect& QDesktopWidget::availableGeometry |
( |
const QPoint & |
point | ) |
const [inline] |
const QRect& QDesktopWidget::availableGeometry |
( |
int |
screen = -1 | ) |
const |
const QRect& QDesktopWidget::availableGeometry |
( |
QWidget * |
widget | ) |
const [inline] |
const QRect& QDesktopWidget::availableGeometry |
( |
const QPoint & |
point | ) |
const [inline] |
void QDesktopWidget::insertChild |
( |
QObject * |
obj | ) |
[virtual] |
Inserts an object obj into the list of child objects.
- Atención:
- This function cannot be used to make one widget the child widget of another widget. Child widgets can only be created by setting the parent widget in the constructor or by calling QWidget::reparent().
- Ver también:
- removeChild(), QWidget::reparent()
Reimplementado de QObject.
void QDesktopWidget::insertChild |
( |
QObject * |
obj | ) |
[virtual] |
Inserts an object obj into the list of child objects.
- Atención:
- This function cannot be used to make one widget the child widget of another widget. Child widgets can only be created by setting the parent widget in the constructor or by calling QWidget::reparent().
- Ver también:
- removeChild(), QWidget::reparent()
Reimplementado de QObject.
bool QDesktopWidget::isVirtualDesktop |
( |
| ) |
const |
bool QDesktopWidget::isVirtualDesktop |
( |
| ) |
const |
int QDesktopWidget::numScreens |
( |
| ) |
const |
int QDesktopWidget::numScreens |
( |
| ) |
const |
int QDesktopWidget::primaryScreen |
( |
| ) |
const |
int QDesktopWidget::primaryScreen |
( |
| ) |
const |
void QDesktopWidget::resized |
( |
int |
t0 | ) |
[signal] |
void QDesktopWidget::resized |
( |
int |
| ) |
[signal] |
void QDesktopWidget::resizeEvent |
( |
QResizeEvent * |
| ) |
[protected, virtual] |
This event handler can be reimplemented in a subclass to receive widget resize events. When resizeEvent() is called, the widget already has its new geometry. The old size is accessible through QResizeEvent::oldSize().
The widget will be erased and receive a paint event immediately after processing the resize event. No drawing need be (or should be) done inside this handler.
Widgets that have been created with the WNoAutoErase
flag will not be erased. Nevertheless, they will receive a paint event for their entire area afterwards. Again, no drawing needs to be done inside this handler.
The default implementation calls updateMask() if the widget has automatic masking enabled.
- Ver también:
- moveEvent(), event(), resize(), QResizeEvent, paintEvent()
Reimplementado de QWidget.
void QDesktopWidget::resizeEvent |
( |
QResizeEvent * |
| ) |
[protected, virtual] |
This event handler can be reimplemented in a subclass to receive widget resize events. When resizeEvent() is called, the widget already has its new geometry. The old size is accessible through QResizeEvent::oldSize().
The widget will be erased and receive a paint event immediately after processing the resize event. No drawing need be (or should be) done inside this handler.
Widgets that have been created with the WNoAutoErase
flag will not be erased. Nevertheless, they will receive a paint event for their entire area afterwards. Again, no drawing needs to be done inside this handler.
The default implementation calls updateMask() if the widget has automatic masking enabled.
- Ver también:
- moveEvent(), event(), resize(), QResizeEvent, paintEvent()
Reimplementado de QWidget.
QWidget* QDesktopWidget::screen |
( |
int |
screen = -1 | ) |
|
QWidget * QDesktopWidget::screen |
( |
int |
screen = -1 | ) |
|
const QRect& QDesktopWidget::screenGeometry |
( |
QWidget * |
widget | ) |
const [inline] |
const QRect& QDesktopWidget::screenGeometry |
( |
const QPoint & |
point | ) |
const [inline] |
const QRect& QDesktopWidget::screenGeometry |
( |
const QPoint & |
point | ) |
const [inline] |
const QRect& QDesktopWidget::screenGeometry |
( |
int |
screen = -1 | ) |
const |
const QRect& QDesktopWidget::screenGeometry |
( |
QWidget * |
widget | ) |
const [inline] |
const QRect & QDesktopWidget::screenGeometry |
( |
int |
screen = -1 | ) |
const |
int QDesktopWidget::screenNumber |
( |
const QPoint & |
point | ) |
const |
int QDesktopWidget::screenNumber |
( |
QWidget * |
widget = 0 | ) |
const |
int QDesktopWidget::screenNumber |
( |
const QPoint & |
| ) |
const |
int QDesktopWidget::screenNumber |
( |
QWidget * |
widget = 0 | ) |
const |
void QDesktopWidget::workAreaResized |
( |
int |
t0 | ) |
[signal] |
void QDesktopWidget::workAreaResized |
( |
int |
| ) |
[signal] |
Documentación de las funciones relacionadas y clases amigas
La documentación para esta clase fue generada a partir de los siguientes ficheros: