45 #include <QtCore/qconfig.h> 46 #include <QtGui/qwindowdefs.h> 47 #include <QtCore/qobject.h> 48 #include <QtCore/qmargins.h> 49 #include <QtGui/qpaintdevice.h> 50 #include <QtGui/qpalette.h> 51 #include <QtGui/qfont.h> 52 #include <QtGui/qfontmetrics.h> 53 #include <QtGui/qfontinfo.h> 54 #include <QtGui/qsizepolicy.h> 55 #include <QtGui/qregion.h> 56 #include <QtGui/qbrush.h> 57 #include <QtGui/qcursor.h> 58 #include <QtGui/qkeysequence.h> 60 #ifdef Q_WS_QPA //should this go somewhere else? 61 #include <QtGui/qplatformwindowformat_qpa.h> 64 #ifdef QT_INCLUDE_COMPAT 65 #include <QtGui/qevent.h> 75 class QWSRegionManager;
109 class QUnifiedToolbarSurface;
110 #if defined(Q_WS_X11) 134 #if defined(Q_WS_QWS) 203 #ifndef QT_NO_TOOLTIP 206 #ifndef QT_NO_STATUSTIP 209 #ifndef QT_NO_WHATSTHIS 212 #ifndef QT_NO_ACCESSIBILITY 217 QDOC_PROPERTY(Qt::WindowFlags windowFlags READ windowFlags WRITE setWindowFlags)
218 bool autoFillBackground;
219 #ifndef QT_NO_STYLE_STYLESHEET 228 DrawWindowBackground = 0x1,
236 QT3_SUPPORT_CONSTRUCTOR
QWidget(
QWidget* parent,
const char *
name, Qt::WindowFlags f = 0);
245 WId effectiveWinId()
const;
252 bool isTopLevel()
const;
253 bool isWindow()
const;
255 bool isModal()
const;
259 bool isEnabled()
const;
260 bool isEnabledTo(
QWidget*)
const;
261 bool isEnabledToTLW()
const;
264 void setEnabled(
bool);
265 void setDisabled(
bool);
266 void setWindowModified(
bool);
271 QRect frameGeometry()
const;
272 const QRect &geometry()
const;
273 QRect normalGeometry()
const;
278 QSize frameSize()
const;
280 inline int width()
const;
281 inline int height()
const;
282 inline QRect rect()
const;
283 QRect childrenRect()
const;
284 QRegion childrenRegion()
const;
286 QSize minimumSize()
const;
287 QSize maximumSize()
const;
288 int minimumWidth()
const;
289 int minimumHeight()
const;
290 int maximumWidth()
const;
291 int maximumHeight()
const;
292 void setMinimumSize(
const QSize &);
293 void setMinimumSize(
int minw,
int minh);
294 void setMaximumSize(
const QSize &);
295 void setMaximumSize(
int maxw,
int maxh);
296 void setMinimumWidth(
int minw);
297 void setMinimumHeight(
int minh);
298 void setMaximumWidth(
int maxw);
299 void setMaximumHeight(
int maxh);
305 QSize sizeIncrement()
const;
306 void setSizeIncrement(
const QSize &);
307 void setSizeIncrement(
int w,
int h);
308 QSize baseSize()
const;
309 void setBaseSize(
const QSize &);
310 void setBaseSize(
int basew,
int baseh);
312 void setFixedSize(
const QSize &);
313 void setFixedSize(
int w,
int h);
314 void setFixedWidth(
int w);
315 void setFixedHeight(
int h);
327 QWidget *nativeParentWidget()
const;
340 const QFont &font()
const;
341 void setFont(
const QFont &);
347 void setCursor(
const QCursor &);
351 void setMouseTracking(
bool enable);
352 bool hasMouseTracking()
const;
353 bool underMouse()
const;
362 RenderFlags renderFlags = RenderFlags(DrawWindowBackground | DrawChildren));
366 RenderFlags renderFlags = RenderFlags(DrawWindowBackground | DrawChildren));
368 #ifndef QT_NO_GRAPHICSEFFECT 371 #endif //QT_NO_GRAPHICSEFFECT 373 #ifndef QT_NO_GESTURES 379 void setWindowTitle(
const QString &);
380 #ifndef QT_NO_STYLE_STYLESHEET 381 void setStyleSheet(
const QString& styleSheet);
384 #ifndef QT_NO_STYLE_STYLESHEET 388 void setWindowIcon(
const QIcon &icon);
389 QIcon windowIcon()
const;
390 void setWindowIconText(
const QString &);
391 QString windowIconText()
const;
392 void setWindowRole(
const QString &);
394 void setWindowFilePath(
const QString &filePath);
395 QString windowFilePath()
const;
397 void setWindowOpacity(
qreal level);
398 qreal windowOpacity()
const;
400 bool isWindowModified()
const;
401 #ifndef QT_NO_TOOLTIP 402 void setToolTip(
const QString &);
405 #ifndef QT_NO_STATUSTIP 406 void setStatusTip(
const QString &);
409 #ifndef QT_NO_WHATSTHIS 410 void setWhatsThis(
const QString &);
413 #ifndef QT_NO_ACCESSIBILITY 414 QString accessibleName()
const;
416 QString accessibleDescription()
const;
417 void setAccessibleDescription(
const QString &description);
422 void unsetLayoutDirection();
424 void setLocale(
const QLocale &locale);
435 bool isActiveWindow()
const;
436 void activateWindow();
442 bool hasFocus()
const;
452 void grabMouse(
const QCursor &);
456 void releaseKeyboard();
457 #ifndef QT_NO_SHORTCUT 459 void releaseShortcut(
int id);
460 void setShortcutEnabled(
int id,
bool enable =
true);
461 void setShortcutAutoRepeat(
int id,
bool enable =
true);
463 static QWidget *mouseGrabber();
467 inline bool updatesEnabled()
const;
468 void setUpdatesEnabled(
bool enable);
471 void repaintUnclipped(
const QRegion &,
bool erase =
true);
474 #ifndef QT_NO_GRAPHICSVIEW 483 inline void update(
int x,
int y,
int w,
int h);
484 void update(
const QRect&);
487 void repaint(
int x,
int y,
int w,
int h);
488 void repaint(
const QRect &);
494 virtual void setVisible(
bool visible);
495 inline void setHidden(
bool hidden) { setVisible(!hidden); }
497 inline void show() { setVisible(
true); }
501 inline void hide() { setVisible(
false); }
504 void showMinimized();
505 void showMaximized();
506 void showFullScreen();
515 void move(
int x,
int y);
516 void move(
const QPoint &);
517 void resize(
int w,
int h);
518 void resize(
const QSize &);
519 inline void setGeometry(
int x,
int y,
int w,
int h);
520 void setGeometry(
const QRect &);
522 bool restoreGeometry(
const QByteArray &geometry);
524 bool isVisible()
const;
525 bool isVisibleTo(
QWidget*)
const;
527 inline bool isHidden()
const;
529 bool isMinimized()
const;
530 bool isMaximized()
const;
531 bool isFullScreen()
const;
533 Qt::WindowStates windowState()
const;
534 void setWindowState(Qt::WindowStates state);
535 void overrideWindowState(Qt::WindowStates state);
537 virtual QSize sizeHint()
const;
538 virtual QSize minimumSizeHint()
const;
543 virtual int heightForWidth(
int)
const;
547 void setContentsMargins(
int left,
int top,
int right,
int bottom);
548 void setContentsMargins(
const QMargins &margins);
549 void getContentsMargins(
int *left,
int *top,
int *right,
int *bottom)
const;
552 QRect contentsRect()
const;
557 void updateGeometry();
559 void setParent(
QWidget *parent);
560 void setParent(
QWidget *parent, Qt::WindowFlags f);
562 void scroll(
int dx,
int dy);
563 void scroll(
int dx,
int dy,
const QRect&);
568 QWidget *nextInFocusChain()
const;
569 QWidget *previousInFocusChain()
const;
572 bool acceptDrops()
const;
573 void setAcceptDrops(
bool on);
577 void addAction(
QAction *action);
581 void removeAction(
QAction *action);
587 void setWindowFlags(Qt::WindowFlags type);
588 inline Qt::WindowFlags windowFlags()
const;
589 void overrideWindowFlags(Qt::WindowFlags type);
597 inline QWidget *childAt(
int x,
int y)
const;
600 #if defined(Q_WS_X11) 605 #if defined(Q_WS_MAC) 610 #if defined(Q_WS_WIN) 612 void releaseDC(HDC)
const;
622 void ensurePolished()
const;
627 bool isAncestorOf(
const QWidget *child)
const;
629 #ifdef QT_KEYPAD_NAVIGATION 630 bool hasEditFocus()
const;
631 void setEditFocus(
bool on);
634 bool autoFillBackground()
const;
635 void setAutoFillBackground(
bool enabled);
640 #if defined(Q_WS_QPA) 660 #ifndef QT_NO_WHEELEVENT 673 #ifndef QT_NO_CONTEXTMENU 676 #ifndef QT_NO_TABLETEVENT 683 #ifndef QT_NO_DRAGANDDROP 693 #if defined(Q_WS_MAC) 696 #if defined(Q_WS_WIN) 699 #if defined(Q_WS_X11) 702 #if defined(Q_WS_QWS) 724 void create(
WId = 0,
bool initializeWindow =
true,
725 bool destroyOldWindow =
true);
726 void destroy(
bool destroyWindow =
true,
727 bool destroySubWindows =
true);
741 friend class QBackingStoreDevice;
745 friend class QBaseApplication;
759 friend class QWin32PaintEngine;
767 #ifndef QT_NO_GESTURES 770 #endif // QT_NO_GESTURES 782 friend class QUnifiedToolbarSurface;
785 friend class QWSBackingStore;
786 friend class QWSManager;
787 friend class QWSManagerPrivate;
796 friend class QSymbianControl;
797 friend class QS60WindowSurface;
819 inline QT3_SUPPORT
bool isUpdatesEnabled()
const {
return updatesEnabled(); }
821 inline QT3_SUPPORT
bool isVisibleToTLW()
const;
822 QT3_SUPPORT
QRect visibleRect()
const;
823 inline QT3_SUPPORT
void iconify() { showMinimized(); }
824 inline QT3_SUPPORT
void constPolish()
const { ensurePolished(); }
825 inline QT3_SUPPORT
void polish() { ensurePolished(); }
826 inline QT3_SUPPORT
void reparent(
QWidget *parent, Qt::WindowFlags f,
const QPoint &p,
bool showIt=
false)
827 { setParent(parent, f); setGeometry(p.
x(),p.
y(),width(),height());
if (showIt) show(); }
828 inline QT3_SUPPORT
void reparent(
QWidget *parent,
const QPoint &p,
bool showIt=
false)
829 { setParent(parent, windowFlags() & ~
Qt::WindowType_Mask); setGeometry(p.
x(),p.
y(),width(),height());
if (showIt) show(); }
830 inline QT3_SUPPORT
void recreate(
QWidget *parent, Qt::WindowFlags f,
const QPoint & p,
bool showIt=
false)
831 { setParent(parent, f); setGeometry(p.
x(),p.
y(),width(),height());
if (showIt) show(); }
834 inline QT3_SUPPORT
bool hasMouse()
const {
return testAttribute(
Qt::WA_UnderMouse); }
836 inline QT3_SUPPORT
bool ownCursor()
const {
return testAttribute(
Qt::WA_SetCursor); }
838 inline QT3_SUPPORT
bool ownFont()
const {
return testAttribute(
Qt::WA_SetFont); }
839 inline QT3_SUPPORT
void unsetFont() { setFont(
QFont()); }
840 inline QT3_SUPPORT
bool ownPalette()
const {
return testAttribute(
Qt::WA_SetPalette); }
841 inline QT3_SUPPORT
void unsetPalette() { setPalette(
QPalette()); }
842 Qt::BackgroundMode QT3_SUPPORT backgroundMode()
const;
843 void QT3_SUPPORT setBackgroundMode(Qt::BackgroundMode, Qt::BackgroundMode = Qt::PaletteBackground);
844 const QT3_SUPPORT
QColor &eraseColor()
const;
845 void QT3_SUPPORT setEraseColor(
const QColor &);
846 const QT3_SUPPORT
QColor &foregroundColor()
const;
847 const QT3_SUPPORT
QPixmap *erasePixmap()
const;
848 void QT3_SUPPORT setErasePixmap(
const QPixmap &);
849 const QT3_SUPPORT
QColor &paletteForegroundColor()
const;
850 void QT3_SUPPORT setPaletteForegroundColor(
const QColor &);
851 const QT3_SUPPORT
QColor &paletteBackgroundColor()
const;
852 void QT3_SUPPORT setPaletteBackgroundColor(
const QColor &);
853 const QT3_SUPPORT
QPixmap *paletteBackgroundPixmap()
const;
854 void QT3_SUPPORT setPaletteBackgroundPixmap(
const QPixmap &);
855 const QT3_SUPPORT
QBrush& backgroundBrush()
const;
856 const QT3_SUPPORT
QColor &backgroundColor()
const;
857 const QT3_SUPPORT
QPixmap *backgroundPixmap()
const;
858 void QT3_SUPPORT setBackgroundPixmap(
const QPixmap &);
859 QT3_SUPPORT
void setBackgroundColor(
const QColor &);
863 inline QT3_SUPPORT
void setFont(
const QFont &f,
bool) { setFont(f); }
864 inline QT3_SUPPORT
void setPalette(
const QPalette &p,
bool) { setPalette(p); }
865 enum BackgroundOrigin { WidgetOrigin, ParentOrigin, WindowOrigin, AncestorOrigin };
867 inline QT3_SUPPORT
BackgroundOrigin backgroundOrigin()
const {
return WindowOrigin; }
868 inline QT3_SUPPORT
QPoint backgroundOffset()
const {
return QPoint(); }
869 inline QT3_SUPPORT
void repaint(
bool) { repaint(); }
870 inline QT3_SUPPORT
void repaint(
int x,
int y,
int w,
int h,
bool) { repaint(x,y,w,h); }
871 inline QT3_SUPPORT
void repaint(
const QRect &r,
bool) { repaint(r); }
872 inline QT3_SUPPORT
void repaint(
const QRegion &rgn,
bool) { repaint(rgn); }
873 QT3_SUPPORT
void erase();
874 inline QT3_SUPPORT
void erase(
int x,
int y,
int w,
int h) { erase_helper(x, y, w, h); }
875 QT3_SUPPORT
void erase(
const QRect &);
876 QT3_SUPPORT
void erase(
const QRegion &);
878 { drawText_helper(p.
x(), p.
y(), s); }
879 inline QT3_SUPPORT
void drawText(
int x,
int y,
const QString &s)
880 { drawText_helper(x, y, s); }
881 QT3_SUPPORT
bool close(
bool);
882 inline QT3_SUPPORT
QWidget *childAt(
int x,
int y,
bool includeThis)
const 885 return w ? w : ((includeThis && rect().
contains(x,y))?const_cast<QWidget*>(
this):0);
887 inline QT3_SUPPORT
QWidget *childAt(
const QPoint &p,
bool includeThis)
const 890 return w ? w : ((includeThis && rect().
contains(p))?const_cast<QWidget*>(
this):0);
892 inline QT3_SUPPORT
void setCaption(
const QString &
c) { setWindowTitle(c); }
893 QT3_SUPPORT
void setIcon(
const QPixmap &i);
894 inline QT3_SUPPORT
void setIconText(
const QString &
it) { setWindowIconText(it); }
895 inline QT3_SUPPORT
QString caption()
const {
return windowTitle(); }
896 QT3_SUPPORT
const QPixmap *icon()
const;
897 inline QT3_SUPPORT
QString iconText()
const {
return windowIconText(); }
900 inline QT3_SUPPORT
void setActiveWindow() { activateWindow(); }
901 inline QT3_SUPPORT
bool isShown()
const {
return !isHidden(); }
902 inline QT3_SUPPORT
bool isDialog()
const {
return windowType() ==
Qt::Dialog; }
903 inline QT3_SUPPORT
bool isPopup()
const {
return windowType() ==
Qt::Popup; }
904 inline QT3_SUPPORT
bool isDesktop()
const {
return windowType() ==
Qt::Desktop; }
908 void drawText_helper(
int x,
int y,
const QString &);
909 void erase_helper(
int x,
int y,
int w,
int h);
910 #endif // QT3_SUPPORT 913 virtual void styleChange(
QStyle&);
914 virtual void enabledChange(
bool);
915 virtual void paletteChange(
const QPalette &);
916 virtual void fontChange(
const QFont &);
917 virtual void windowActivationChange(
bool);
918 virtual void languageChange();
925 if (!o || !o->isWidgetType())
return 0;
926 return static_cast<QWidget*
>(o);
930 if (!o || !o->isWidgetType())
return 0;
931 return static_cast<const QWidget*
>(o);
935 {
return childAt(
QPoint(ax, ay)); }
940 {
return data->window_flags; }
955 {
return isEnabled(); }
958 {
return minimumSize().
width(); }
961 {
return minimumSize().
height(); }
964 {
return maximumSize().
width(); }
967 {
return maximumSize().
height(); }
982 {
return data->fnt; }
1003 { update(
QRect(ax, ay, aw, ah)); }
1012 { move(
QPoint(ax, ay)); }
1015 { resize(
QSize(w, h)); }
1018 { setGeometry(
QRect(ax, ay, aw, ah)); }
1021 {
return QRect(0,0,
data->crect.width(),
data->crect.height()); }
1024 {
return data->crect; }
1027 {
return data->crect.size(); }
1030 {
return data->crect.width(); }
1033 {
return data->crect.height(); }
1043 if (attribute <
int(8*
sizeof(
uint)))
1044 return data->widget_attributes & (1<<attribute);
1045 return testAttribute_helper(attribute);
1049 inline bool QWidget::isVisibleToTLW()
const 1050 {
return isVisible(); }
1053 if (sameWindow && isWindow())
1059 inline void QWidget::setPaletteForegroundColor(
const QColor &
c)
1060 {
QPalette p = palette(); p.
setColor(foregroundRole(), c); setPalette(p); }
1061 inline const QBrush& QWidget::backgroundBrush()
const {
return palette().
brush(backgroundRole()); }
1062 inline void QWidget::setBackgroundPixmap(
const QPixmap &pm)
1064 inline const QPixmap *QWidget::backgroundPixmap()
const {
return 0; }
1065 inline void QWidget::setBackgroundColor(
const QColor &c)
1066 {
QPalette p = palette(); p.
setColor(backgroundRole(), c); setPalette(p); }
1067 inline const QColor & QWidget::backgroundColor()
const {
return palette().
color(backgroundRole()); }
1068 inline const QColor &QWidget::foregroundColor()
const {
return palette().
color(foregroundRole());}
1069 inline const QColor &QWidget::eraseColor()
const {
return palette().
color(backgroundRole()); }
1070 inline void QWidget::setEraseColor(
const QColor &c)
1071 {
QPalette p = palette(); p.
setColor(backgroundRole(), c); setPalette(p); }
1072 inline const QPixmap *QWidget::erasePixmap()
const {
return 0; }
1073 inline void QWidget::setErasePixmap(
const QPixmap &pm)
1075 inline const QColor &QWidget::paletteForegroundColor()
const {
return palette().
color(foregroundRole());}
1076 inline const QColor &QWidget::paletteBackgroundColor()
const {
return palette().
color(backgroundRole()); }
1077 inline void QWidget::setPaletteBackgroundColor(
const QColor &c)
1078 {
QPalette p = palette(); p.
setColor(backgroundRole(), c); setPalette(p); }
1079 inline const QPixmap *QWidget::paletteBackgroundPixmap()
const 1081 inline void QWidget::setPaletteBackgroundPixmap(
const QPixmap &pm)
1083 inline QT3_SUPPORT
void QWidget::erase() { erase_helper(0, 0,
data->crect.width(),
data->crect.height()); }
1084 inline QT3_SUPPORT
void QWidget::erase(
const QRect &r) { erase_helper(r.
x(), r.
y(), r.
width(), r.
height()); }
1087 #define QWIDGETSIZE_MAX ((1<<24)-1)
The QVariant class acts like a union for the most common Qt data types.
T qobject_cast(QObject *object)
The QPainter class performs low-level painting on widgets and other paint devices.
The QColor class provides colors based on RGB, HSV or CMYK values.
The QWSWindowSurface class provides the drawing area for top-level windows in Qt for Embedded Linux...
The QApplication class manages the GUI application's control flow and main settings.
bool qt_mac_is_metal(const QWidget *w)
The QKeyEvent class describes a key event.
bool isWidgetOpaque(const QWidget *w)
The QCursor class provides a mouse cursor with an arbitrary shape.
The QFontMetrics class provides font metrics information.
#define QT_END_NAMESPACE
This macro expands to.
#define QDOC_PROPERTY(text)
QPointer< QWidget > widget
ColorRole
The ColorRole enum defines the different symbolic color roles used in current GUIs.
bool isPopup
Use windowType() == Qt::Popup instead.
#define Q_DECLARE_FLAGS(Flags, Enum)
The Q_DECLARE_FLAGS() macro expands to.
#define it(className, varName)
The QWheelEvent class contains parameters that describe a wheel event.
The QByteArray class provides an array of bytes.
static Expression::Ptr create(Expression *const expr, const YYLTYPE &sourceLocator, const ParserContext *const parseInfo)
The QHoverEvent class contains parameters that describe a mouse event.
int width() const
Returns the width of the rectangle.
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
#define Q_PRIVATE_SLOT(d, signature)
The QActionEvent class provides an event that is generated when a QAction is added, removed, or changed.
int height() const
Returns the height of the rectangle.
The QString class provides a Unicode character string.
The QHash class is a template class that provides a hash-table-based dictionary.
The QDragMoveEvent class provides an event which is sent while a drag and drop action is in progress...
void qt_set_winid_on_widget(QWidget *w, Qt::HANDLE id)
The QObject class is the base class of all Qt objects.
const QColor & color(ColorGroup cg, ColorRole cr) const
Returns the color in the specified color group, used for the given color role.
Q_CORE_EXPORT QTextStream & right(QTextStream &s)
OSWindowRef qt_mac_window_for(const QWidget *)
The QDecoration class is a base class for window decorations in Qt for Embedded Linux.
The QWSEvent class encapsulates an event in Qt for Embedded Linux.
void setHeightForWidth(bool b)
The QBitmap class provides monochrome (1-bit depth) pixmaps.
int width() const
Returns the width.
#define QT_BEGIN_NAMESPACE
This macro expands to.
void setBrush(ColorRole cr, const QBrush &brush)
Sets the brush for the given color role to the specified brush for all groups in the palette...
The QMoveEvent class contains event parameters for move events.
The QVNCScreen class implements a screen driver for VNC servers.
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)
The Q_DECLARE_OPERATORS_FOR_FLAGS() macro declares global operator|() functions for Flags...
The QGLContext class encapsulates an OpenGL rendering context.
The QLayout class is the base class of geometry managers.
The QHideEvent class provides an event which is sent after a widget is hidden.
The QResizeEvent class contains event parameters for resize events.
static const char * data(const QByteArray &arr)
The QDragLeaveEvent class provides an event that is sent to a widget when a drag and drop action leav...
The QRegion class specifies a clip region for a painter.
The QShowEvent class provides an event that is sent when a widget is shown.
The QPaintEngine class provides an abstract definition of how QPainter draws to a given device on a g...
The QFontInfo class provides general information about fonts.
bool contains(const QPoint &p, bool proper=false) const
Returns true if the given point is inside or on the edge of the rectangle, otherwise returns false...
The QWindowSurface class provides the drawing area for top-level windows.
struct OpaqueEventRef * EventRef
The QTabletEvent class contains parameters that describe a Tablet event.
const QBrush & brush(ColorGroup cg, ColorRole cr) const
Returns the brush in the specified color group, used for the given color role.
static QWidget * parentWidget(const QWidget *w)
The QMouseEvent class contains parameters that describe a mouse event.
The QBrush class defines the fill pattern of shapes drawn by QPainter.
void qt_net_update_user_time(QWidget *tlw, unsigned long timestamp)
The QX11Info class provides information about the X display configuration.
The QDropEvent class provides an event which is sent when a drag and drop action is completed...
The QKeySequence class encapsulates a key sequence as used by shortcuts.
The QFont class specifies a font used for drawing text.
int y() const
Returns the y-coordinate of the rectangle's top edge.
int x() const
Returns the x-coordinate of the rectangle's left edge.
QObject * parent() const
Returns a pointer to the parent object.
The QDragEnterEvent class provides an event which is sent to a widget when a drag and drop action ent...
The QPoint class defines a point in the plane using integer precision.
void setColor(ColorGroup cg, ColorRole cr, const QColor &color)
Sets the color in the specified color group, used for the given color role, to the specified solid co...
The QStyle class is an abstract base class that encapsulates the look and feel of a GUI...
int height() const
Returns the height.
The QRect class defines a rectangle in the plane using integer precision.
The QColorGroup class contains color groups for each widget state.
OSViewRef qt_mac_nativeview_for(const QWidget *)
The QScreen class is a base class for screen drivers in Qt for Embedded Linux.
int y() const
Returns the y coordinate of this point.
The QPixmap class is an off-screen image representation that can be used as a paint device...
static QWSWindow * keyboardGrabber
The QSize class defines the size of a two-dimensional object using integer point precision.
struct OpaqueEventHandlerCallRef * EventHandlerCallRef
#define Q_DECLARE_PRIVATE(Class)
int x() const
Returns the x coordinate of this point.
The QInputContext class abstracts the input method dependent data and composing state.
The QMargins class defines the four margins of a rectangle.
The QPaintEvent class contains event parameters for paint events.
The QEvent class is the base class of all event classes.
Q_CORE_EXPORT QTextStream & left(QTextStream &s)
The QCloseEvent class contains parameters that describe a close event.
The QFocusEvent class contains event parameters for widget focus events.
The QAction class provides an abstract user interface action that can be inserted into widgets...
The QGraphicsEffect class is the base class for all graphics effects.
The QList class is a template class that provides lists.
Qt::LayoutDirection direction
Q_GUI_EXPORT void qt_event_request_window_change()
void qt_net_remove_user_time(QWidget *tlw)
The QPalette class contains color groups for each widget state.
The QIcon class provides scalable icons in different modes and states.