Eneboo - Documentación para desarrolladores
Señales | Métodos públicos | Métodos protegidos | Amigas
Referencia de la Clase QDesktopWidget

#include <qdesktopwidget.h>

Diagrama de herencias de QDesktopWidget
QWidget QWidget QPaintDevice QObject QPaintDevice QObject QPaintDevice QObject QPaintDevice QObject

Lista de todos los miembros.

Señales

void resized (int)
void workAreaResized (int)
void resized (int)
void workAreaResized (int)

Métodos públicos

 QDesktopWidget ()
 ~QDesktopWidget ()
bool isVirtualDesktop () const
int numScreens () const
int primaryScreen () const
int screenNumber (QWidget *widget=0) const
int screenNumber (const QPoint &) const
QWidgetscreen (int screen=-1)
const QRectscreenGeometry (int screen=-1) const
const QRectscreenGeometry (QWidget *widget) const
const QRectscreenGeometry (const QPoint &point) const
const QRectavailableGeometry (int screen=-1) const
const QRectavailableGeometry (QWidget *widget) const
const QRectavailableGeometry (const QPoint &point) const
void insertChild (QObject *)
 QDesktopWidget ()
 ~QDesktopWidget ()
bool isVirtualDesktop () const
int numScreens () const
int primaryScreen () const
int screenNumber (QWidget *widget=0) const
int screenNumber (const QPoint &) const
QWidgetscreen (int screen=-1)
const QRectscreenGeometry (int screen=-1) const
const QRectscreenGeometry (QWidget *widget) const
const QRectscreenGeometry (const QPoint &point) const
const QRectavailableGeometry (int screen=-1) const
const QRectavailableGeometry (QWidget *widget) const
const QRectavailableGeometry (const QPoint &point) const
void insertChild (QObject *)

Métodos protegidos

void resizeEvent (QResizeEvent *e)
void resizeEvent (QResizeEvent *e)

Amigas

class QApplication

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

QApplication [friend]

Reimplementado de QWidget.


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'