NAME
Qt::Gui::QWidget
PUBLIC METHODS
- QWidget(QWidget * parent, QFlags<Qt::WindowType> f)
- QWidget(QWidget * parent, QFlags<Qt::WindowType> f = 0)
- QWidget(QWidget * parent = 0, QFlags<Qt::WindowType> f = 0)
- ~QWidget()
- bool acceptDrops()
- QString accessibleDescription()
- QString accessibleName()
- QList<QAction *> actions()
- void activateWindow()
- void addAction(QAction * action)
- void addActions(QList<QAction *> actions)
- void adjustSize()
- bool autoFillBackground()
- QPalette::ColorRole backgroundRole()
- QSize baseSize()
- QWidget * childAt(const QPoint & p)
- QWidget * childAt(int x, int y)
- QRect childrenRect()
- QRegion childrenRegion()
- void clearFocus()
- void clearMask()
- bool close()
- QMargins contentsMargins()
- QRect contentsRect()
- Qt::ContextMenuPolicy contextMenuPolicy()
- void createWinId()
- QCursor cursor()
- int devType()
- unsigned long effectiveWinId()
- void ensurePolished()
- static QWidget * find(unsigned long arg0)
- Qt::FocusPolicy focusPolicy()
- QWidget * focusProxy()
- QWidget * focusWidget()
- const QFont & font()
- QFontInfo fontInfo()
- QFontMetrics fontMetrics()
- QPalette::ColorRole foregroundRole()
- QRect frameGeometry()
- QSize frameSize()
- const QRect & geometry()
- void getContentsMargins(int * left, int * top, int * right, int * bottom)
- void grabGesture(Qt::GestureType type, QFlags<Qt::GestureFlag> flags)
- void grabGesture(Qt::GestureType type, QFlags<Qt::GestureFlag> flags = Qt::GestureFlags())
- void grabKeyboard()
- void grabMouse()
- void grabMouse(const QCursor & arg0)
- int grabShortcut(const QKeySequence & key, Qt::ShortcutContext context)
- int grabShortcut(const QKeySequence & key, Qt::ShortcutContext context = Qt::WindowShortcut)
- QGraphicsEffect * graphicsEffect()
- QGraphicsProxyWidget * graphicsProxyWidget()
- unsigned long handle()
- bool hasFocus()
- bool hasMouseTracking()
- int height()
- int heightForWidth(int arg0)
- void hide()
- QInputContext * inputContext()
- QFlags<Qt::InputMethodHint> inputMethodHints()
- QVariant inputMethodQuery(Qt::InputMethodQuery arg0)
- void insertAction(QAction * before, QAction * action)
- void insertActions(QAction * before, QList<QAction *> actions)
- unsigned long internalWinId()
- bool isActiveWindow()
- bool isAncestorOf(const QWidget * child)
- bool isEnabled()
- bool isEnabledTo(QWidget * arg0)
- bool isEnabledToTLW()
- bool isFullScreen()
- bool isHidden()
- bool isLeftToRight()
- bool isMaximized()
- bool isMinimized()
- bool isModal()
- bool isRightToLeft()
- bool isTopLevel()
- bool isVisible()
- bool isVisibleTo(QWidget * arg0)
- bool isWindow()
- bool isWindowModified()
- static QWidget * keyboardGrabber()
- QLayout * layout()
- Qt::LayoutDirection layoutDirection()
- QLocale locale()
- void lower()
- QPoint mapFrom(QWidget * arg0, const QPoint & arg1)
- QPoint mapFromGlobal(const QPoint & arg0)
- QPoint mapFromParent(const QPoint & arg0)
- QPoint mapTo(QWidget * arg0, const QPoint & arg1)
- QPoint mapToGlobal(const QPoint & arg0)
- QPoint mapToParent(const QPoint & arg0)
- QRegion mask()
- int maximumHeight()
- QSize maximumSize()
- int maximumWidth()
- int minimumHeight()
- QSize minimumSize()
- QSize minimumSizeHint()
- int minimumWidth()
- static QWidget * mouseGrabber()
- void move(const QPoint & arg0)
- void move(int x, int y)
- QWidget * nativeParentWidget()
- QWidget * nextInFocusChain()
- QRect normalGeometry()
- void overrideWindowFlags(QFlags<Qt::WindowType> type)
- void overrideWindowState(QFlags<Qt::WindowState> state)
- QPaintEngine * paintEngine()
- const QPalette & palette()
- QWidget * parentWidget()
- QPoint pos()
- QWidget * previousInFocusChain()
- void raise()
- QRect rect()
- void releaseKeyboard()
- void releaseMouse()
- void releaseShortcut(int id)
- void removeAction(QAction * action)
- void render(QPaintDevice * target, const QPoint & targetOffset, const QRegion & sourceRegion, QFlags<QWidget::RenderFlag> renderFlags)
- void render(QPaintDevice * target, const QPoint & targetOffset, const QRegion & sourceRegion, QFlags<QWidget::RenderFlag> renderFlags = QWidget::RenderFlags(QWidget::DrawWindowBackground | QWidget::DrawChildren))
- void render(QPaintDevice * target, const QPoint & targetOffset, const QRegion & sourceRegion = QRegion(), QFlags<QWidget::RenderFlag> renderFlags = QWidget::RenderFlags(QWidget::DrawWindowBackground | QWidget::DrawChildren))
- void render(QPaintDevice * target, const QPoint & targetOffset = QPoint(), const QRegion & sourceRegion = QRegion(), QFlags<QWidget::RenderFlag> renderFlags = QWidget::RenderFlags(QWidget::DrawWindowBackground | QWidget::DrawChildren))
- void render(QPainter * painter, const QPoint & targetOffset, const QRegion & sourceRegion, QFlags<QWidget::RenderFlag> renderFlags)
- void render(QPainter * painter, const QPoint & targetOffset, const QRegion & sourceRegion, QFlags<QWidget::RenderFlag> renderFlags = QWidget::RenderFlags(QWidget::DrawWindowBackground | QWidget::DrawChildren))
- void render(QPainter * painter, const QPoint & targetOffset, const QRegion & sourceRegion = QRegion(), QFlags<QWidget::RenderFlag> renderFlags = QWidget::RenderFlags(QWidget::DrawWindowBackground | QWidget::DrawChildren))
- void render(QPainter * painter, const QPoint & targetOffset = QPoint(), const QRegion & sourceRegion = QRegion(), QFlags<QWidget::RenderFlag> renderFlags = QWidget::RenderFlags(QWidget::DrawWindowBackground | QWidget::DrawChildren))
- void repaint()
- void repaint(const QRect & arg0)
- void repaint(const QRegion & arg0)
- void repaint(int x, int y, int w, int h)
- void resize(const QSize & arg0)
- void resize(int w, int h)
- bool restoreGeometry(const QByteArray & geometry)
- QByteArray saveGeometry()
- void scroll(int dx, int dy)
- void scroll(int dx, int dy, const QRect & arg2)
- void setAcceptDrops(bool on)
- void setAccessibleDescription(const QString & description)
- void setAccessibleName(const QString & name)
- void setAttribute(Qt::WidgetAttribute arg0, bool on)
- void setAttribute(Qt::WidgetAttribute arg0, bool on = true)
- void setAutoFillBackground(bool enabled)
- void setBackgroundRole(QPalette::ColorRole arg0)
- void setBaseSize(const QSize & arg0)
- void setBaseSize(int basew, int baseh)
- void setContentsMargins(const QMargins & margins)
- void setContentsMargins(int left, int top, int right, int bottom)
- void setContextMenuPolicy(Qt::ContextMenuPolicy policy)
- void setCursor(const QCursor & arg0)
- void setDisabled(bool arg0)
- void setEnabled(bool arg0)
- void setFixedHeight(int h)
- void setFixedSize(const QSize & arg0)
- void setFixedSize(int w, int h)
- void setFixedWidth(int w)
- void setFocus()
- void setFocus(Qt::FocusReason reason)
- void setFocusPolicy(Qt::FocusPolicy policy)
- void setFocusProxy(QWidget * arg0)
- void setFont(const QFont & arg0)
- void setForegroundRole(QPalette::ColorRole arg0)
- void setGeometry(const QRect & arg0)
- void setGeometry(int x, int y, int w, int h)
- void setGraphicsEffect(QGraphicsEffect * effect)
- void setInputContext(QInputContext * arg0)
- void setInputMethodHints(QFlags<Qt::InputMethodHint> hints)
- void setLayout(QLayout * arg0)
- void setLayoutDirection(Qt::LayoutDirection direction)
- void setLocale(const QLocale & locale)
- void setMask(const QBitmap & arg0)
- void setMask(const QRegion & arg0)
- void setMaximumHeight(int maxh)
- void setMaximumSize(const QSize & arg0)
- void setMaximumSize(int maxw, int maxh)
- void setMaximumWidth(int maxw)
- void setMinimumHeight(int minh)
- void setMinimumSize(const QSize & arg0)
- void setMinimumSize(int minw, int minh)
- void setMinimumWidth(int minw)
- void setMouseTracking(bool enable)
- void setPalette(const QPalette & arg0)
- void setParent(QWidget * parent)
- void setParent(QWidget * parent, QFlags<Qt::WindowType> f)
- void setShortcutAutoRepeat(int id, bool enable)
- void setShortcutAutoRepeat(int id, bool enable = true)
- void setShortcutEnabled(int id, bool enable)
- void setShortcutEnabled(int id, bool enable = true)
- void setShown(bool shown)
- void setSizeIncrement(const QSize & arg0)
- void setSizeIncrement(int w, int h)
- void setSizePolicy(QSizePolicy arg0)
- void setSizePolicy(QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical)
- void setStatusTip(const QString & arg0)
- void setStyle(QStyle * arg0)
- static void setTabOrder(QWidget * arg0, QWidget * arg1)
- void setToolTip(const QString & arg0)
- void setUpdatesEnabled(bool enable)
- void setVisible(bool visible)
- void setWhatsThis(const QString & arg0)
- void setWindowFilePath(const QString & filePath)
- void setWindowFlags(QFlags<Qt::WindowType> type)
- void setWindowIcon(const QIcon & icon)
- void setWindowIconText(const QString & arg0)
- void setWindowModality(Qt::WindowModality windowModality)
- void setWindowModified(bool arg0)
- void setWindowOpacity(qreal level)
- void setWindowRole(const QString & arg0)
- void setWindowState(QFlags<Qt::WindowState> state)
- void setWindowSurface(QWindowSurface * surface)
- void setWindowTitle(const QString & arg0)
- void show()
- void showFullScreen()
- void showMaximized()
- void showMinimized()
- void showNormal()
- QSize size()
- QSize sizeHint()
- QSize sizeIncrement()
- QSizePolicy sizePolicy()
- void stackUnder(QWidget * arg0)
- QString statusTip()
- QStyle * style()
- bool testAttribute(Qt::WidgetAttribute arg0)
- QString toolTip()
- QWidget * topLevelWidget()
- bool underMouse()
- void ungrabGesture(Qt::GestureType type)
- void unsetCursor()
- void unsetLayoutDirection()
- void unsetLocale()
- void update()
- void update(const QRect & arg0)
- void update(const QRegion & arg0)
- void update(int x, int y, int w, int h)
- void updateGeometry()
- bool updatesEnabled()
- QRegion visibleRegion()
- QString whatsThis()
- int width()
- unsigned long winId()
- QWidget * window()
- QString windowFilePath()
- QFlags<Qt::WindowType> windowFlags()
- QIcon windowIcon()
- QString windowIconText()
- Qt::WindowModality windowModality()
- qreal windowOpacity()
- QString windowRole()
- QFlags<Qt::WindowState> windowState()
- QWindowSurface * windowSurface()
- QString windowTitle()
- Qt::WindowType windowType()
- int x()
- const QX11Info & x11Info()
- unsigned long x11PictureHandle()
- int y()
ENUM VALUES
- DrawWindowBackground
- DrawChildren
- IgnoreMask
EXPORT
None by default.
AUTHOR
Dongxu Ma <dongxu@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2011 - 2012 by Dongxu Ma
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.