#include <qwidget.h>

| enum RenderFlag |
Definition at line 217 of file qwidget.h.
{
DrawWindowBackground = 0x1,
DrawChildren = 0x2,
IgnoreMask = 0x4
};
| ~QWidget | ( | ) |
| int devType | ( | ) | const [virtual] |
Reimplemented from QPaintDevice.
| WId winId | ( | ) | const |
| void createWinId | ( | ) |
| WId internalWinId | ( | ) | const [inline] |
| WId effectiveWinId | ( | ) | const |
| QStyle* style | ( | ) | const |
| void setStyle | ( | QStyle * | ) |
| bool isTopLevel | ( | ) | const [inline] |
Definition at line 928 of file qwidget.h.
{ return (windowType() & Qt::Window); }
| bool isWindow | ( | ) | const [inline] |
Definition at line 931 of file qwidget.h.
{ return (windowType() & Qt::Window); }
| bool isModal | ( | ) | const [inline] |
Definition at line 937 of file qwidget.h.
{ return data->window_modality != Qt::NonModal; }
| Qt::WindowModality windowModality | ( | ) | const |
| void setWindowModality | ( | Qt::WindowModality | windowModality | ) |
Reimplemented in QMessageBox.
| bool isEnabled | ( | ) | const [inline] |
Definition at line 934 of file qwidget.h.
{ return !testAttribute(Qt::WA_Disabled); }
| bool isEnabledTo | ( | QWidget * | ) | const |
| bool isEnabledToTLW | ( | ) | const [inline] |
| void setEnabled | ( | bool | ) | [slot] |
| void setDisabled | ( | bool | ) | [slot] |
| void setWindowModified | ( | bool | ) | [slot] |
| QRect frameGeometry | ( | ) | const |
| const QRect& geometry | ( | ) | const |
| QRect normalGeometry | ( | ) | const |
| int x | ( | ) | const |
| int y | ( | ) | const |
| QPoint pos | ( | ) | const |
| QSize frameSize | ( | ) | const |
| QSize size | ( | ) | const |
| int width | ( | ) | const [inline] |
Reimplemented from QPaintDevice.
| int height | ( | ) | const [inline] |
Reimplemented from QPaintDevice.
| QRect rect | ( | ) | const [inline] |
| QRect childrenRect | ( | ) | const |
| QRegion childrenRegion | ( | ) | const |
| QSize minimumSize | ( | ) | const |
| QSize maximumSize | ( | ) | const |
| int minimumWidth | ( | ) | const |
| int minimumHeight | ( | ) | const |
| int maximumWidth | ( | ) | const |
| int maximumHeight | ( | ) | const |
| void setMinimumSize | ( | const QSize & | s | ) | [inline] |
Definition at line 955 of file qwidget.h.
{ setMinimumSize(s.width(),s.height()); }
| void setMinimumSize | ( | int | minw, |
| int | minh | ||
| ) |
| void setMaximumSize | ( | const QSize & | s | ) | [inline] |
Definition at line 958 of file qwidget.h.
{ setMaximumSize(s.width(),s.height()); }
| void setMaximumSize | ( | int | maxw, |
| int | maxh | ||
| ) |
| void setMinimumWidth | ( | int | minw | ) |
| void setMinimumHeight | ( | int | minh | ) |
| void setMaximumWidth | ( | int | maxw | ) |
| void setMaximumHeight | ( | int | maxh | ) |
| QSize sizeIncrement | ( | ) | const |
| void setSizeIncrement | ( | const QSize & | s | ) | [inline] |
Definition at line 961 of file qwidget.h.
{ setSizeIncrement(s.width(),s.height()); }
| void setSizeIncrement | ( | int | w, |
| int | h | ||
| ) |
| QSize baseSize | ( | ) | const |
| void setBaseSize | ( | const QSize & | s | ) | [inline] |
Definition at line 964 of file qwidget.h.
{ setBaseSize(s.width(),s.height()); }
| void setBaseSize | ( | int | basew, |
| int | baseh | ||
| ) |
| void setFixedSize | ( | const QSize & | ) |
| void setFixedSize | ( | int | w, |
| int | h | ||
| ) |
| void setFixedWidth | ( | int | w | ) |
| void setFixedHeight | ( | int | h | ) |
| QWidget* window | ( | ) | const |
| QWidget* nativeParentWidget | ( | ) | const |
| QWidget* topLevelWidget | ( | ) | const [inline] |
| const QPalette& palette | ( | ) | const |
| void setPalette | ( | const QPalette & | ) |
| void setBackgroundRole | ( | QPalette::ColorRole | ) |
| QPalette::ColorRole backgroundRole | ( | ) | const |
| void setForegroundRole | ( | QPalette::ColorRole | ) |
| QPalette::ColorRole foregroundRole | ( | ) | const |
| const QFont& font | ( | ) | const |
| void setFont | ( | const QFont & | ) |
| QFontMetrics fontMetrics | ( | ) | const [inline] |
Definition at line 970 of file qwidget.h.
{ return QFontMetrics(data->fnt); }
| QFontInfo fontInfo | ( | ) | const [inline] |
| QCursor cursor | ( | ) | const |
| void setCursor | ( | const QCursor & | ) |
| void unsetCursor | ( | ) |
| void setMouseTracking | ( | bool | enable | ) | [inline] |
Reimplemented in QGLWidget.
Definition at line 976 of file qwidget.h.
{ setAttribute(Qt::WA_MouseTracking, enable); }
| bool hasMouseTracking | ( | ) | const [inline] |
Definition at line 979 of file qwidget.h.
{ return testAttribute(Qt::WA_MouseTracking); }
| bool underMouse | ( | ) | const [inline] |
Definition at line 982 of file qwidget.h.
{ return testAttribute(Qt::WA_UnderMouse); }
| void setMask | ( | const QBitmap & | ) |
| void setMask | ( | const QRegion & | ) |
| QRegion mask | ( | ) | const |
| void clearMask | ( | ) |
| void render | ( | QPaintDevice * | target, |
| const QPoint & | targetOffset = QPoint(), |
||
| const QRegion & | sourceRegion = QRegion(), |
||
| RenderFlags | renderFlags =
RenderFlags(DrawWindowBackground|DrawChildren) |
||
| ) |
| QGraphicsEffect* graphicsEffect | ( | ) | const |
| void setGraphicsEffect | ( | QGraphicsEffect * | effect | ) |
| void grabGesture | ( | Qt::GestureType | type, |
| Qt::GestureFlags | flags =
Qt::GestureFlags() |
||
| ) |
| void ungrabGesture | ( | Qt::GestureType | type | ) |
| void setWindowTitle | ( | const QString & | ) | [slot] |
| void setStyleSheet | ( | const QString & | styleSheet | ) | [slot] |
| QString styleSheet | ( | ) | const |
| QString windowTitle | ( | ) | const |
| void setWindowIcon | ( | const QIcon & | icon | ) |
| QIcon windowIcon | ( | ) | const |
| void setWindowIconText | ( | const QString & | ) |
| QString windowIconText | ( | ) | const |
| void setWindowRole | ( | const QString & | ) |
| QString windowRole | ( | ) | const |
| void setWindowFilePath | ( | const QString & | filePath | ) |
| QString windowFilePath | ( | ) | const |
| void setWindowOpacity | ( | qreal | level | ) |
| qreal windowOpacity | ( | ) | const |
| bool isWindowModified | ( | ) | const |
| void setToolTip | ( | const QString & | ) |
| QString toolTip | ( | ) | const |
| void setStatusTip | ( | const QString & | ) |
| QString statusTip | ( | ) | const |
| void setWhatsThis | ( | const QString & | ) |
| QString whatsThis | ( | ) | const |
| QString accessibleName | ( | ) | const |
| void setAccessibleName | ( | const QString & | name | ) |
| QString accessibleDescription | ( | ) | const |
| void setAccessibleDescription | ( | const QString & | description | ) |
| void setLayoutDirection | ( | Qt::LayoutDirection | direction | ) |
| Qt::LayoutDirection layoutDirection | ( | ) | const |
| void unsetLayoutDirection | ( | ) |
| void setLocale | ( | const QLocale & | locale | ) |
| QLocale locale | ( | ) | const |
| void unsetLocale | ( | ) |
| bool isRightToLeft | ( | ) | const [inline] |
Definition at line 418 of file qwidget.h.
{ return layoutDirection() == Qt::RightToLeft; }
| bool isLeftToRight | ( | ) | const [inline] |
Definition at line 419 of file qwidget.h.
{ return layoutDirection() == Qt::LeftToRight; }
| void setFocus | ( | ) | [inline, slot] |
Definition at line 422 of file qwidget.h.
{ setFocus(Qt::OtherFocusReason); }
| bool isActiveWindow | ( | ) | const |
| void activateWindow | ( | ) |
| void clearFocus | ( | ) |
| void setFocus | ( | Qt::FocusReason | reason | ) |
| Qt::FocusPolicy focusPolicy | ( | ) | const |
| void setFocusPolicy | ( | Qt::FocusPolicy | policy | ) |
| bool hasFocus | ( | ) | const |
| void setFocusProxy | ( | QWidget * | ) |
| QWidget* focusProxy | ( | ) | const |
| Qt::ContextMenuPolicy contextMenuPolicy | ( | ) | const |
| void setContextMenuPolicy | ( | Qt::ContextMenuPolicy | policy | ) |
| void grabMouse | ( | ) |
| void grabMouse | ( | const QCursor & | ) |
| void releaseMouse | ( | ) |
| void grabKeyboard | ( | ) |
| void releaseKeyboard | ( | ) |
| int grabShortcut | ( | const QKeySequence & | key, |
| Qt::ShortcutContext | context =
Qt::WindowShortcut |
||
| ) |
| void releaseShortcut | ( | int | id | ) |
| void setShortcutEnabled | ( | int | id, |
| bool | enable =
true |
||
| ) |
| void setShortcutAutoRepeat | ( | int | id, |
| bool | enable =
true |
||
| ) |
| static QWidget* mouseGrabber | ( | ) | [static] |
| static QWidget* keyboardGrabber | ( | ) | [static] |
| bool updatesEnabled | ( | ) | const [inline] |
| void setUpdatesEnabled | ( | bool | enable | ) |
| QGraphicsProxyWidget* graphicsProxyWidget | ( | ) | const |
| void update | ( | ) | [slot] |
| void repaint | ( | ) | [slot] |
Reimplemented in QSplashScreen.
| void update | ( | int | x, |
| int | y, | ||
| int | w, | ||
| int | h | ||
| ) | [inline] |
| void update | ( | const QRect & | ) |
| void update | ( | const QRegion & | ) |
| void repaint | ( | int | x, |
| int | y, | ||
| int | w, | ||
| int | h | ||
| ) |
| void repaint | ( | const QRect & | ) |
| void repaint | ( | const QRegion & | ) |
| virtual void setVisible | ( | bool | visible | ) | [virtual, slot] |
Reimplemented in QColorDialog, QDialog, QFileDialog, QFontDialog, QInputDialog, QMenuBar, QPrintPreviewDialog, QPrintPreviewWidget, QSizeGrip, and QWizard.
| void setHidden | ( | bool | hidden | ) | [inline, slot] |
| void show | ( | ) | [inline, slot] |
Definition at line 487 of file qwidget.h.
{ setVisible(true); }
| void hide | ( | ) | [inline, slot] |
| QT_MOC_COMPAT void setShown | ( | bool | shown | ) | [inline, slot] |
| void showMinimized | ( | ) | [slot] |
| void showMaximized | ( | ) | [slot] |
| void showFullScreen | ( | ) | [slot] |
| void showNormal | ( | ) | [slot] |
| bool close | ( | ) | [slot] |
| void raise | ( | ) | [slot] |
| void lower | ( | ) | [slot] |
| void stackUnder | ( | QWidget * | ) |
| void move | ( | int | x, |
| int | y | ||
| ) | [inline] |
Reimplemented in QRubberBand.
| void move | ( | const QPoint & | ) |
Reimplemented in QRubberBand.
| void resize | ( | int | w, |
| int | h | ||
| ) | [inline] |
Reimplemented in QRubberBand.
| void resize | ( | const QSize & | ) |
Reimplemented in QRubberBand.
| void setGeometry | ( | int | x, |
| int | y, | ||
| int | w, | ||
| int | h | ||
| ) | [inline] |
Reimplemented in QRubberBand.
Definition at line 1003 of file qwidget.h.
{ setGeometry(QRect(ax, ay, aw, ah)); }
| void setGeometry | ( | const QRect & | ) |
Reimplemented in QRubberBand.
| QByteArray saveGeometry | ( | ) | const |
| bool restoreGeometry | ( | const QByteArray & | geometry | ) |
| void adjustSize | ( | ) |
| bool isVisible | ( | ) | const [inline] |
Definition at line 991 of file qwidget.h.
{ return testAttribute(Qt::WA_WState_Visible); }
| bool isVisibleTo | ( | QWidget * | ) | const |
| bool isHidden | ( | ) | const [inline] |
Definition at line 994 of file qwidget.h.
{ return testAttribute(Qt::WA_WState_Hidden); }
| bool isMinimized | ( | ) | const |
| bool isMaximized | ( | ) | const |
| bool isFullScreen | ( | ) | const |
| Qt::WindowStates windowState | ( | ) | const |
| void setWindowState | ( | Qt::WindowStates | state | ) |
| void overrideWindowState | ( | Qt::WindowStates | state | ) |
| virtual QSize sizeHint | ( | ) | const [virtual] |
Reimplemented in CPBox, CurveEditor, QAbstractScrollArea, QAbstractSpinBox, QCalendarWidget, QCheckBox, QColumnView, QComboBox, QCommandLinkButton, QDateTimeEdit, QDial, QDialog, QFontComboBox, QFrame, QGraphicsView, QHeaderView, QInputDialog, QLabel, QLCDNumber, QLineEdit, QMacNativeWidget, QMdiArea, QMdiSubWindow, QMenu, QMenuBar, QMessageBox, QProgressBar, QProgressDialog, QPushButton, QRadioButton, QScrollArea, QScrollBar, QSizeGrip, QSlider, QSplitter, QSplitterHandle, QTabBar, QTabWidget, QToolButton, QWizard, QWorkspace, QWebInspector, and QWebView.
| virtual QSize minimumSizeHint | ( | ) | const [virtual] |
Reimplemented in QAbstractScrollArea, QAbstractSpinBox, QCalendarWidget, QComboBox, QCommandLinkButton, QDial, QDialog, QGroupBox, QInputDialog, QLabel, QLineEdit, QMdiArea, QMdiSubWindow, QMenuBar, QProgressBar, QPushButton, QSlider, QSplitter, QTabBar, QTabWidget, QToolButton, and QX11EmbedContainer.
| QSizePolicy sizePolicy | ( | ) | const |
| void setSizePolicy | ( | QSizePolicy | ) |
| void setSizePolicy | ( | QSizePolicy::Policy | horizontal, |
| QSizePolicy::Policy | vertical | ||
| ) | [inline] |
Definition at line 1024 of file qwidget.h.
{ setSizePolicy(QSizePolicy(hor, ver)); }
| virtual int heightForWidth | ( | int | ) | const [virtual] |
Reimplemented in QCommandLinkButton, QLabel, and QMenuBar.
| QRegion visibleRegion | ( | ) | const |
| void setContentsMargins | ( | int | left, |
| int | top, | ||
| int | right, | ||
| int | bottom | ||
| ) |
| void setContentsMargins | ( | const QMargins & | margins | ) |
| void getContentsMargins | ( | int * | left, |
| int * | top, | ||
| int * | right, | ||
| int * | bottom | ||
| ) | const |
| QMargins contentsMargins | ( | ) | const |
| QRect contentsRect | ( | ) | const |
| QLayout* layout | ( | ) | const |
| void setLayout | ( | QLayout * | ) |
| void updateGeometry | ( | ) |
| void setParent | ( | QWidget * | parent | ) |
| void setParent | ( | QWidget * | parent, |
| Qt::WindowFlags | f | ||
| ) |
| void scroll | ( | int | dx, |
| int | dy | ||
| ) |
| void scroll | ( | int | dx, |
| int | dy, | ||
| const QRect & | |||
| ) |
| QWidget* focusWidget | ( | ) | const |
| QWidget* nextInFocusChain | ( | ) | const |
| QWidget* previousInFocusChain | ( | ) | const |
| bool acceptDrops | ( | ) | const |
| void setAcceptDrops | ( | bool | on | ) |
| void addAction | ( | QAction * | action | ) |
| void removeAction | ( | QAction * | action | ) |
| QWidget * parentWidget | ( | ) | const [inline] |
Definition at line 1021 of file qwidget.h.
{ return static_cast<QWidget *>(QObject::parent()); }
| void setWindowFlags | ( | Qt::WindowFlags | type | ) |
| Qt::WindowFlags windowFlags | ( | ) | const [inline] |
| void overrideWindowFlags | ( | Qt::WindowFlags | type | ) |
| Qt::WindowType windowType | ( | ) | const [inline] |
Definition at line 923 of file qwidget.h.
{ return static_cast<Qt::WindowType>(int(data->window_flags & Qt::WindowType_Mask)); }
| QWidget * childAt | ( | int | x, |
| int | y | ||
| ) | const [inline] |
| Qt::HANDLE handle | ( | ) | const |
| void setAttribute | ( | Qt::WidgetAttribute | , |
| bool | on = true |
||
| ) |
| bool testAttribute | ( | Qt::WidgetAttribute | attribute | ) | const [inline] |
| QPaintEngine* paintEngine | ( | ) | const [virtual] |
| void ensurePolished | ( | ) | const |
| QInputContext* inputContext | ( | ) |
| void setInputContext | ( | QInputContext * | ) |
| bool isAncestorOf | ( | const QWidget * | child | ) | const |
| bool autoFillBackground | ( | ) | const |
| void setAutoFillBackground | ( | bool | enabled | ) |
| void setWindowSurface | ( | QWindowSurface * | surface | ) |
| QWindowSurface* windowSurface | ( | ) | const |
| void customContextMenuRequested | ( | const QPoint & | pos | ) | [signal] |
| bool event | ( | QEvent * | ) | [protected, virtual] |
Reimplemented from QObject.
Reimplemented in VideoWidget, QAbstractButton, QAbstractItemView, QAbstractScrollArea, QAbstractSlider, QAbstractSpinBox, QCalendarWidget, QCheckBox, QComboBox, QCommandLinkButton, QDateTimeEdit, QDial, QDialogButtonBox, QDockWidget, QFocusFrame, QFontComboBox, QFrame, QGraphicsView, QGroupBox, QHeaderView, QLabel, QLCDNumber, QLineEdit, QListView, QListWidget, QMacNativeWidget, QMainWindow, QMdiArea, QMdiSubWindow, QMenu, QMenuBar, QMessageBox, QPlainTextEdit, QProgressBar, QPushButton, QRadioButton, QRubberBand, QScrollArea, QScrollBar, QSizeGrip, QSlider, QSpinBox, QSplashScreen, QSplitter, QSplitterHandle, QStackedWidget, QStatusBar, QTabBar, QTableWidget, QTabWidget, QTextBrowser, QTextEdit, QToolBar, QToolBox, QToolButton, QTreeWidget, QWizard, QWorkspace, QX11EmbedWidget, QX11EmbedContainer, QGLWidget, QWebInspector, and QWebView.
| virtual void mousePressEvent | ( | QMouseEvent * | ) | [protected, virtual] |
Reimplemented in CPBox, CurveEditor, QAbstractButton, QAbstractItemView, QAbstractScrollArea, QAbstractSpinBox, QCalendarWidget, QComboBox, QDateTimeEdit, QDial, QGraphicsView, QGroupBox, QHeaderView, QLabel, QLineEdit, QMdiSubWindow, QMenu, QMenuBar, QPlainTextEdit, QScrollBar, QSizeGrip, QSlider, QSplashScreen, QSplitterHandle, QTabBar, QTextBrowser, QTextEdit, QToolButton, QTreeView, and QWebView.
| virtual void mouseReleaseEvent | ( | QMouseEvent * | ) | [protected, virtual] |
Reimplemented in CurveEditor, QAbstractButton, QAbstractItemView, QAbstractScrollArea, QAbstractSpinBox, QComboBox, QDial, QGraphicsView, QGroupBox, QHeaderView, QLabel, QLineEdit, QListView, QMdiSubWindow, QMenu, QMenuBar, QPlainTextEdit, QScrollBar, QSizeGrip, QSlider, QSplitterHandle, QTabBar, QTextBrowser, QTextEdit, QToolButton, QTreeView, and QWebView.
| virtual void mouseDoubleClickEvent | ( | QMouseEvent * | ) | [protected, virtual] |
Reimplemented in QAbstractItemView, QAbstractScrollArea, QGraphicsView, QHeaderView, QLineEdit, QMdiSubWindow, QPlainTextEdit, QTextEdit, QTreeView, and QWebView.
| virtual void mouseMoveEvent | ( | QMouseEvent * | ) | [protected, virtual] |
Reimplemented in CurveEditor, VideoWidget, QAbstractButton, QAbstractItemView, QAbstractScrollArea, QAbstractSpinBox, QCheckBox, QDial, QGraphicsView, QGroupBox, QHeaderView, QLabel, QLineEdit, QListView, QMdiSubWindow, QMenu, QMenuBar, QPlainTextEdit, QRadioButton, QScrollBar, QSizeGrip, QSlider, QSplitterHandle, QTabBar, QTextBrowser, QTextEdit, QTreeView, and QWebView.
| virtual void wheelEvent | ( | QWheelEvent * | ) | [protected, virtual] |
Reimplemented in QAbstractScrollArea, QAbstractSlider, QAbstractSpinBox, QComboBox, QDateTimeEdit, QGraphicsView, QMenu, QPlainTextEdit, QTabBar, QTextEdit, QWorkspace, and QWebView.
| virtual void keyPressEvent | ( | QKeyEvent * | ) | [protected, virtual] |
Reimplemented in CurveEditor, QAbstractButton, QAbstractItemView, QAbstractScrollArea, QAbstractSlider, QAbstractSpinBox, QCalendarWidget, QComboBox, QDateTimeEdit, QDialog, QGraphicsView, QLabel, QLineEdit, QMdiSubWindow, QMenu, QMenuBar, QMessageBox, QPlainTextEdit, QPushButton, QTabBar, QTabWidget, QTextBrowser, QTextEdit, QTreeView, and QWebView.
| virtual void keyReleaseEvent | ( | QKeyEvent * | ) | [protected, virtual] |
Reimplemented in CurveEditor, QAbstractButton, QAbstractSpinBox, QComboBox, QGraphicsView, QPlainTextEdit, QTextEdit, and QWebView.
| virtual void focusInEvent | ( | QFocusEvent * | ) | [protected, virtual] |
Reimplemented in QAbstractButton, QAbstractItemView, QAbstractSpinBox, QComboBox, QDateTimeEdit, QGraphicsView, QGroupBox, QLabel, QLineEdit, QMdiSubWindow, QMenuBar, QPlainTextEdit, QPushButton, QTextEdit, and QWebView.
| virtual void focusOutEvent | ( | QFocusEvent * | ) | [protected, virtual] |
Reimplemented in MirrorComboBox, QAbstractButton, QAbstractItemView, QAbstractSpinBox, QComboBox, QGraphicsView, QLabel, QLineEdit, QMdiSubWindow, QMenuBar, QPlainTextEdit, QPushButton, QTextBrowser, QTextEdit, and QWebView.
| virtual void enterEvent | ( | QEvent * | ) | [protected, virtual] |
Reimplemented in QMenu, and QToolButton.
| virtual void leaveEvent | ( | QEvent * | ) | [protected, virtual] |
Reimplemented in QMdiSubWindow, QMenu, QMenuBar, and QToolButton.
| virtual void paintEvent | ( | QPaintEvent * | ) | [protected, virtual] |
Reimplemented in CPBox, CurveEditor, QAbstractButton, QAbstractScrollArea, QAbstractSpinBox, QCheckBox, QComboBox, QCommandLinkButton, QDateTimeEdit, QDial, QDockWidget, QFocusFrame, QFrame, QGraphicsView, QGroupBox, QHeaderView, QLabel, QLCDNumber, QLineEdit, QListView, QMdiArea, QMdiSubWindow, QMenu, QMenuBar, QPlainTextEdit, QProgressBar, QPushButton, QRadioButton, QRubberBand, QScrollBar, QSizeGrip, QSlider, QSplitterHandle, QStatusBar, QTabBar, QTableView, QTabWidget, QTextBrowser, QTextEdit, QToolBar, QToolButton, QTreeView, QWizard, QWorkspace, QX11EmbedContainer, QGLWidget, and QWebView.
| virtual void moveEvent | ( | QMoveEvent * | ) | [protected, virtual] |
Reimplemented in QMdiSubWindow, QRubberBand, QSizeGrip, and QWSEmbedWidget.
| virtual void resizeEvent | ( | QResizeEvent * | ) | [protected, virtual] |
Reimplemented in CurveEditor, EnlargedCurveEditor, QAbstractItemView, QAbstractScrollArea, QAbstractSpinBox, QCalendarWidget, QColumnView, QComboBox, QDesktopWidget, QDial, QDialog, QGraphicsView, QGroupBox, QListView, QMdiArea, QMdiSubWindow, QMenuBar, QMessageBox, QPlainTextEdit, QProgressDialog, QRubberBand, QScrollArea, QSplitter, QSplitterHandle, QStatusBar, QTabBar, QTabWidget, QTextEdit, QToolBar, QWizard, QWorkspace, QWSEmbedWidget, QX11EmbedWidget, QX11EmbedContainer, QGLWidget, QWebInspector, and QWebView.
| virtual void closeEvent | ( | QCloseEvent * | ) | [protected, virtual] |
Reimplemented in QAbstractSpinBox, QDialog, QDockWidget, QMdiSubWindow, QMessageBox, QProgressDialog, and QWebInspector.
| virtual void contextMenuEvent | ( | QContextMenuEvent * | ) | [protected, virtual] |
Reimplemented in QAbstractScrollArea, QAbstractSpinBox, QComboBox, QDialog, QGraphicsView, QLabel, QLineEdit, QMainWindow, QMdiSubWindow, QPlainTextEdit, QScrollBar, QTextEdit, and QWebView.
| virtual void tabletEvent | ( | QTabletEvent * | ) | [protected, virtual] |
| virtual void actionEvent | ( | QActionEvent * | ) | [protected, virtual] |
Reimplemented in QMenu, QMenuBar, QToolBar, and QToolButton.
| virtual void dragEnterEvent | ( | QDragEnterEvent * | ) | [protected, virtual] |
Reimplemented in QAbstractItemView, QAbstractScrollArea, QGraphicsView, QLineEdit, QPlainTextEdit, QTextEdit, and QWebView.
| virtual void dragMoveEvent | ( | QDragMoveEvent * | ) | [protected, virtual] |
Reimplemented in QAbstractItemView, QAbstractScrollArea, QGraphicsView, QLineEdit, QListView, QPlainTextEdit, QTextEdit, QTreeView, and QWebView.
| virtual void dragLeaveEvent | ( | QDragLeaveEvent * | ) | [protected, virtual] |
Reimplemented in QAbstractItemView, QAbstractScrollArea, QGraphicsView, QLineEdit, QListView, QPlainTextEdit, QTextEdit, and QWebView.
| virtual void dropEvent | ( | QDropEvent * | ) | [protected, virtual] |
Reimplemented in QAbstractItemView, QAbstractScrollArea, QGraphicsView, QLineEdit, QListView, QListWidget, QPlainTextEdit, QTableWidget, QTextEdit, QTreeWidget, and QWebView.
| virtual void showEvent | ( | QShowEvent * | ) | [protected, virtual] |
Reimplemented in QAbstractSpinBox, QComboBox, QDialog, QGraphicsView, QMdiArea, QMdiSubWindow, QMessageBox, QPlainTextEdit, QProgressDialog, QRubberBand, QSizeGrip, QStatusBar, QTabBar, QTabWidget, QTextEdit, QToolBox, QWorkspace, QWSEmbedWidget, QX11EmbedContainer, and QWebInspector.
| virtual void hideEvent | ( | QHideEvent * | ) | [protected, virtual] |
Reimplemented in QAbstractSpinBox, QComboBox, QMdiSubWindow, QMenu, QScrollBar, QSizeGrip, QTabBar, QWorkspace, QWSEmbedWidget, QX11EmbedContainer, and QWebInspector.
| virtual void changeEvent | ( | QEvent * | ) | [protected, virtual] |
Reimplemented in EnlargedCurveEditor, QAbstractButton, QAbstractSlider, QAbstractSpinBox, QColorDialog, QComboBox, QDialogButtonBox, QDockWidget, QErrorMessage, QFileDialog, QFontDialog, QFrame, QGroupBox, QLabel, QLineEdit, QMdiSubWindow, QMenu, QMenuBar, QMessageBox, QPlainTextEdit, QProgressDialog, QRubberBand, QSplitter, QTabBar, QTabWidget, QTextEdit, QToolBar, QToolBox, QToolButton, QWorkspace, QWSEmbedWidget, and QWebView.
| int metric | ( | PaintDeviceMetric | ) | const [protected, virtual] |
Reimplemented from QPaintDevice.
| virtual void inputMethodEvent | ( | QInputMethodEvent * | ) | [protected, virtual] |
Reimplemented in QAbstractItemView, QComboBox, QGraphicsView, QLineEdit, QPlainTextEdit, QTextEdit, and QWebView.
| virtual QVariant inputMethodQuery | ( | Qt::InputMethodQuery | ) | const [virtual] |
Reimplemented in QAbstractItemView, QAbstractSpinBox, QComboBox, QGraphicsView, QLineEdit, QPlainTextEdit, QTextEdit, and QWebView.
| Qt::InputMethodHints inputMethodHints | ( | ) | const |
| void setInputMethodHints | ( | Qt::InputMethodHints | hints | ) |
| void resetInputContext | ( | ) | [protected] |
| void updateMicroFocus | ( | ) | [protected, slot] |
| void create | ( | WId | = 0, |
| bool | initializeWindow =
true, |
||
| bool | destroyOldWindow =
true |
||
| ) | [protected] |
| void destroy | ( | bool | destroyWindow =
true, |
| bool | destroySubWindows =
true |
||
| ) | [protected] |
| virtual bool focusNextPrevChild | ( | bool | next | ) | [protected, virtual] |
Reimplemented in QAbstractItemView, QDateTimeEdit, QGraphicsView, QLabel, QMenu, QPlainTextEdit, QScrollArea, QTextBrowser, QTextEdit, and QWebView.
| bool focusNextChild | ( | ) | [inline, protected] |
Definition at line 710 of file qwidget.h.
{ return focusNextPrevChild(true); }
| bool focusPreviousChild | ( | ) | [inline, protected] |
Definition at line 711 of file qwidget.h.
{ return focusNextPrevChild(false); }
| virtual void styleChange | ( | QStyle & | ) | [protected, virtual] |
| virtual void enabledChange | ( | bool | ) | [protected, virtual] |
| virtual void paletteChange | ( | const QPalette & | ) | [protected, virtual] |
| virtual void fontChange | ( | const QFont & | ) | [protected, virtual] |
| virtual void windowActivationChange | ( | bool | ) | [protected, virtual] |
| virtual void languageChange | ( | ) | [protected, virtual] |
friend class QBackingStoreDevice
[friend] |
friend class QWidgetBackingStore
[friend] |
friend class QApplication
[friend] |
Reimplemented from QObject.
Reimplemented in QDesktopWidget.
friend class QApplicationPrivate
[friend] |
Reimplemented from QObject.
Reimplemented in QDesktopWidget.
friend class QBaseApplication
[friend] |
friend class QPainter [friend] |
Reimplemented from QPaintDevice.
friend class QPainterPrivate
[friend] |
friend class QPixmap [friend] |
friend class QFontMetrics
[friend] |
friend class QFontInfo [friend] |
friend class QETWidget
[friend] |
friend class QLayout [friend] |
friend class QWidgetItem
[friend] |
friend class QWidgetItemV2
[friend] |
friend class QGLContext
[friend] |
friend class QGLWidget [friend] |
friend class QGLWindowSurface
[friend] |
friend class QX11PaintEngine
[friend] |
Reimplemented from QPaintDevice.
friend class QWin32PaintEngine
[friend] |
friend class QShortcutPrivate
[friend] |
friend class QShortcutMap
[friend] |
friend class QWindowSurface
[friend] |
friend class QGraphicsProxyWidget
[friend] |
friend class QGraphicsProxyWidgetPrivate
[friend] |
friend class QStyleSheetStyle
[friend] |
friend struct QWidgetExceptionCleaner
[friend] |
friend class QGestureManager
[friend] |
friend class QWinNativePanGestureRecognizer
[friend] |
friend class QWidgetEffectSourcePrivate
[friend] |
| Q_GUI_EXPORT QWidgetData* qt_qwidget_data | ( | QWidget * | widget | ) | [friend] |
| Q_GUI_EXPORT QWidgetPrivate* qt_widget_private | ( | QWidget * | widget | ) | [friend] |
bool modal [read] |
Qt::WindowModality
windowModality [read, write] |
bool enabled [read, write] |
const QRect & geometry [inline, read,
write] |
QRect frameGeometry
[read] |
QRect normalGeometry
[read] |
int x [read] |
int y [read] |
QPoint pos [read, write] |
QSize frameSize [read] |
QSize size [inline, read,
write] |
int width [inline, read] |
int height [inline, read] |
QRect rect [inline, read] |
QRect childrenRect [read] |
QRegion childrenRegion
[read] |
QSizePolicy sizePolicy [read,
write] |
QSize minimumSize [read,
write] |
QSize maximumSize [read,
write] |
int minimumWidth [inline, read,
write] |
int minimumHeight [inline, read,
write] |
int maximumWidth [inline, read,
write] |
int maximumHeight [inline, read,
write] |
QSize sizeIncrement [read,
write] |
QSize baseSize [read,
write] |
QPalette palette [read,
write] |
const QFont & font [inline, read,
write] |
QCursor cursor [read,
write] |
bool mouseTracking [read,
write] |
bool isActiveWindow [read] |
Qt::FocusPolicy
focusPolicy [read, write] |
bool focus [read] |
Qt::ContextMenuPolicy
contextMenuPolicy [read, write] |
bool updatesEnabled [inline, read,
write] |
bool visible [read, write] |
bool minimized [read] |
bool maximized [read] |
bool fullScreen [read] |
QSize sizeHint [read] |
QSize minimumSizeHint
[read] |
bool acceptDrops [read,
write] |
QString windowTitle [read,
write] |
QIcon windowIcon [read,
write] |
QString windowIconText [read,
write] |
double windowOpacity [read,
write] |
bool windowModified [read,
write] |
QString toolTip [read,
write] |
QString statusTip [read,
write] |
QString whatsThis [read,
write] |
QString accessibleName [read,
write] |
QString accessibleDescription
[read, write] |
Qt::LayoutDirection
layoutDirection [read, write] |
bool autoFillBackground [read,
write] |
QString styleSheet [read,
write] |
QLocale locale [read,
write] |
QString windowFilePath [read,
write] |
Qt::InputMethodHints inputMethodHints
[read, write] |