NAME
Qt::Gui::QGraphicsWidget
PUBLIC METHODS
- QGraphicsWidget(QGraphicsItem * parent, QFlags<Qt::WindowType> wFlags)
- QGraphicsWidget(QGraphicsItem * parent, QFlags<Qt::WindowType> wFlags = 0)
- QGraphicsWidget(QGraphicsItem * parent = 0, QFlags<Qt::WindowType> wFlags = 0)
- ~QGraphicsWidget()
- void addAction(QAction * action)
- void adjustSize()
- bool autoFillBackground()
- QRectF boundingRect()
- bool close()
- Qt::FocusPolicy focusPolicy()
- QGraphicsWidget * focusWidget()
- QFont font()
- void getContentsMargins(qreal * left, qreal * top, qreal * right, qreal * bottom)
- void getWindowFrameMargins(qreal * left, qreal * top, qreal * right, qreal * bottom)
- int grabShortcut(const QKeySequence & sequence, Qt::ShortcutContext context)
- int grabShortcut(const QKeySequence & sequence, Qt::ShortcutContext context = Qt::WindowShortcut)
- void insertAction(QAction * before, QAction * action)
- bool isActiveWindow()
- QGraphicsLayout * layout()
- Qt::LayoutDirection layoutDirection()
- void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget)
- void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget = 0)
- void paintWindowFrame(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget)
- void paintWindowFrame(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget = 0)
- QPalette palette()
- QRectF rect()
- void releaseShortcut(int id)
- void removeAction(QAction * action)
- void resize(const QSizeF & size)
- void resize(qreal w, qreal h)
- void setAttribute(Qt::WidgetAttribute attribute, bool on)
- void setAttribute(Qt::WidgetAttribute attribute, bool on = true)
- void setAutoFillBackground(bool enabled)
- void setContentsMargins(qreal left, qreal top, qreal right, qreal bottom)
- void setFocusPolicy(Qt::FocusPolicy policy)
- void setFont(const QFont & font)
- void setGeometry(const QRectF & rect)
- void setGeometry(qreal x, qreal y, qreal w, qreal h)
- void setLayout(QGraphicsLayout * layout)
- void setLayoutDirection(Qt::LayoutDirection direction)
- void setPalette(const QPalette & palette)
- void setShortcutAutoRepeat(int id, bool enabled)
- void setShortcutAutoRepeat(int id, bool enabled = true)
- void setShortcutEnabled(int id, bool enabled)
- void setShortcutEnabled(int id, bool enabled = true)
- void setStyle(QStyle * style)
- static void setTabOrder(QGraphicsWidget * first, QGraphicsWidget * second)
- void setWindowFlags(QFlags<Qt::WindowType> wFlags)
- void setWindowFrameMargins(qreal left, qreal top, qreal right, qreal bottom)
- void setWindowTitle(const QString & title)
- QPainterPath shape()
- QSizeF size()
- QStyle * style()
- bool testAttribute(Qt::WidgetAttribute attribute)
- int type()
- void unsetLayoutDirection()
- void unsetWindowFrameMargins()
- QFlags<Qt::WindowType> windowFlags()
- QRectF windowFrameGeometry()
- QRectF windowFrameRect()
- QString windowTitle()
- Qt::WindowType windowType()
ENUM VALUES
- Type
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.