Signals | Public Member Functions | Protected Member Functions | Properties | Friends

QDesktopWidget Class Reference

Search for all occurrences

Detailed Description

Definition at line 56 of file qdesktopwidget.h.

#include <qdesktopwidget.h>

Inheritance diagram for QDesktopWidget:
Inheritance graph
[legend]

List of all members.

Signals

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

Public Member Functions

  QDesktopWidget ()
  ~QDesktopWidget ()
bool  isVirtualDesktop () const
int  numScreens () const
int  screenCount () const
int  primaryScreen () const
int  screenNumber (const QWidget *widget=0) const
int  screenNumber (const QPoint &) const
QWidget screen (int screen=-1)
const QRect  screenGeometry (int screen=-1) const
const QRect  screenGeometry (const QWidget *widget) const
const QRect  screenGeometry (const QPoint &point) const
const QRect  availableGeometry (int screen=-1) const
const QRect  availableGeometry (const QWidget *widget) const
const QRect  availableGeometry (const QPoint &point) const

Protected Member Functions

void  resizeEvent (QResizeEvent *e)

Properties

bool  virtualDesktop
int  screenCount
int  primaryScreen

Friends

class  QApplication
class  QApplicationPrivate

Constructor & Destructor Documentation


Member Function Documentation

bool isVirtualDesktop ( ) const
int numScreens ( ) const
int screenCount ( ) const
int primaryScreen ( ) const
int screenNumber ( const QWidget widget = 0 ) const
int screenNumber ( const QPoint ) const
QWidget* screen ( int  screen = -1 )
const QRect screenGeometry ( int  screen = -1 ) const
const QRect screenGeometry ( const QWidget widget ) const
const QRect screenGeometry ( const QPoint point ) const [inline]

Definition at line 79 of file qdesktopwidget.h.

    { return screenGeometry(screenNumber(point)); }
const QRect availableGeometry ( int  screen = -1 ) const
const QRect availableGeometry ( const QWidget widget ) const
const QRect availableGeometry ( const QPoint point ) const [inline]

Definition at line 84 of file qdesktopwidget.h.

    { return availableGeometry(screenNumber(point)); }
void resized ( int  ) [signal]
void workAreaResized ( int  ) [signal]
void screenCountChanged ( int  ) [signal]
void resizeEvent ( QResizeEvent e ) [protected, virtual]

Reimplemented from QWidget.


Friends And Related Function Documentation

friend class QApplication [friend]

Reimplemented from QWidget.

Definition at line 99 of file qdesktopwidget.h.

friend class QApplicationPrivate [friend]

Reimplemented from QWidget.

Definition at line 100 of file qdesktopwidget.h.


Property Documentation

bool virtualDesktop [read]

Definition at line 59 of file qdesktopwidget.h.

int screenCount [inline, read]

Definition at line 60 of file qdesktopwidget.h.

int primaryScreen [read]

Definition at line 61 of file qdesktopwidget.h.


The documentation for this class was generated from the following file:

QDesktopWidget QDesktopWidget QDesktopWidget QDesktopWidget QDesktopWidget QDesktopWidget QDesktopWidget QDesktopWidget QDesktopWidget QDesktopWidget
QDesktopWidget QDesktopWidget QDesktopWidget QDesktopWidget QDesktopWidget QDesktopWidget QDesktopWidget QDesktopWidget QDesktopWidget QDesktopWidget