- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Directories
- Examples

- File List
- File Members

Classes | Defines | Functions

# qwidget.h File Reference

`#include <QtGui/qwindowdefs.h>`
`#include <QtCore/qobject.h>`
`#include <QtCore/qmargins.h>`
`#include <QtGui/qpaintdevice.h>`
`#include <QtGui/qpalette.h>`
`#include <QtGui/qfont.h>`
`#include <QtGui/qfontmetrics.h>`
`#include <QtGui/qfontinfo.h>`
`#include <QtGui/qsizepolicy.h>`
`#include <QtGui/qregion.h>`
`#include <QtGui/qbrush.h>`
`#include <QtGui/qcursor.h>`
`#include <QtGui/qkeysequence.h>`

Go to the source code of this file.

## Classes
class | QWidgetData
class | QWidget
## Defines
#define | QWIDGETSIZE_MAX ((1<<24)-1)
## Functions
template<>
QWidget * | qobject_cast< QWidget * > (QObject *o)
template<>
const QWidget * | qobject_cast< const QWidget * > (const QObject *o)

## Define Documentation

#define QWIDGETSIZE_MAX ((1<<24)-1)

Search for all occurrences

Definition at line 1073 of file qwidget.h.

## Function Documentation

QWidget* qobject_cast< QWidget * > | ( | QObject * | o | ) | `[inline]`

Search for all occurrences

Definition at line 908 of file qwidget.h.

    {
        if (!o || !o->isWidgetType()) return 0;
        return static_cast<QWidget*>(o);
    }

const QWidget* qobject_cast< const QWidget * > | ( | const QObject * | o | ) | `[inline]`

Search for all occurrences

Definition at line 913 of file qwidget.h.

    {
        if (!o || !o->isWidgetType()) return 0;
        return static_cast<const QWidget*>(o);
    }