org.kde.qt
public class QWidget extends QObject implements QPaintDeviceInterface
Field Summary | |
---|---|
static int | AncestorOrigin |
static int | ClickFocus |
static int | NoFocus |
static int | ParentOrigin |
static int | StrongFocus |
static int | TabFocus |
static int | WheelFocus |
static int | WidgetOrigin |
static int | WindowOrigin |
Constructor Summary | |
---|---|
protected | QWidget(Class dummy) |
QWidget(QWidget parent, String name, int f) | |
QWidget(QWidget parent, String name) | |
QWidget(QWidget parent) | |
QWidget() |
Method Summary | |
---|---|
boolean | acceptDrops() |
void | adjustSize() |
boolean | autoMask() |
QBrush | backgroundBrush() |
QColor | backgroundColor() |
int | backgroundMode() |
QPoint | backgroundOffset() |
int | backgroundOrigin() |
QPixmap | backgroundPixmap() |
QSize | baseSize() |
String | caption() |
QWidget | childAt(int x, int y, boolean includeThis) |
QWidget | childAt(int x, int y) |
QWidget | childAt(QPoint arg1, boolean includeThis) |
QWidget | childAt(QPoint arg1) |
QRect | childrenRect() |
QRegion | childrenRegion() |
String | className() |
void | clearFocus() |
void | clearMask() |
protected void | clearWFlags(int n) |
protected void | clearWState(int n) |
QRegion | clipRegion() |
boolean | close(boolean alsoDelete) |
boolean | close() |
protected void | closeEvent(QCloseEvent arg1) |
QColorGroup | colorGroup() |
void | constPolish() |
protected void | contextMenuEvent(QContextMenuEvent arg1) |
protected void | create(long arg1, boolean initializeWindow, boolean destroyOldWindow) |
protected void | create(long arg1, boolean initializeWindow) |
protected void | create(long arg1) |
protected void | create() |
QCursor | cursor() |
boolean | customWhatsThis() |
protected void | destroy(boolean destroyWindow, boolean destroySubWindows) |
protected void | destroy(boolean destroyWindow) |
protected void | destroy() |
int | devType() |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
protected void | dragEnterEvent(QDragEnterEvent arg1) |
protected void | dragLeaveEvent(QDragLeaveEvent arg1) |
protected void | dragMoveEvent(QDragMoveEvent arg1) |
void | drawText(int x, int y, String arg3) |
void | drawText(QPoint arg1, String arg2) |
protected void | dropEvent(QDropEvent arg1) |
protected void | enabledChange(boolean oldEnabled) |
protected void | enterEvent(QEvent arg1) |
void | erase() |
void | erase(int x, int y, int w, int h) |
void | erase(QRect arg1) |
void | erase(QRegion arg1) |
QColor | eraseColor() |
QPixmap | erasePixmap() |
boolean | event(QEvent arg1) |
protected void | finalize() Deletes the wrapped C++ instance |
static QWidget | find(long arg1) |
protected QFocusData | focusData() |
protected void | focusInEvent(QFocusEvent arg1) |
protected boolean | focusNextPrevChild(boolean next) |
protected void | focusOutEvent(QFocusEvent arg1) |
int | focusPolicy() |
QWidget | focusProxy() |
QWidget | focusWidget() |
QFont | font() |
protected void | fontChange(QFont arg1) |
protected int | fontInf(QFont arg1, int arg2) |
QFontInfo | fontInfo() |
protected int | fontMet(QFont arg1, int arg2, String arg3, int arg4) |
protected int | fontMet(QFont arg1, int arg2, String arg3) |
protected int | fontMet(QFont arg1, int arg2) |
QFontMetrics | fontMetrics() |
QColor | foregroundColor() |
QRect | frameGeometry() |
QSize | frameSize() |
QRect | geometry() |
protected int | getWFlags() |
protected int | getWState() |
void | grabKeyboard() |
void | grabMouse() |
void | grabMouse(QCursor arg1) |
boolean | hasFocus() |
boolean | hasMouse() |
boolean | hasMouseTracking() |
int | height() |
int | heightForWidth(int arg1) |
void | hide() |
protected void | hideEvent(QHideEvent arg1) |
QPixmap | icon() |
void | iconify() |
String | iconText() |
protected void | imComposeEvent(QIMEvent arg1) |
protected void | imEndEvent(QIMEvent arg1) |
protected void | imStartEvent(QIMEvent arg1) |
boolean | isActiveWindow() |
boolean | isDesktop() |
boolean | isDialog() |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
boolean | isEnabled() |
boolean | isEnabledTo(QWidget arg1) |
boolean | isEnabledToTLW() |
boolean | isExtDev() |
boolean | isFocusEnabled() |
boolean | isFullScreen() |
boolean | isHidden() |
boolean | isInputMethodEnabled() |
boolean | isMaximized() |
boolean | isMinimized() |
boolean | isModal() |
boolean | isPopup() |
boolean | isShown() |
boolean | isTopLevel() |
boolean | isUpdatesEnabled() |
boolean | isVisible() |
boolean | isVisibleTo(QWidget arg1) |
boolean | isVisibleToTLW() |
static QWidget | keyboardGrabber() |
protected void | keyPressEvent(QKeyEvent arg1) |
protected void | keyReleaseEvent(QKeyEvent arg1) |
QLayout | layout() |
protected void | leaveEvent(QEvent arg1) |
void | lower() |
QPoint | mapFrom(QWidget arg1, QPoint arg2) |
QPoint | mapFromGlobal(QPoint arg1) |
QPoint | mapFromParent(QPoint arg1) |
QPoint | mapTo(QWidget arg1, QPoint arg2) |
QPoint | mapToGlobal(QPoint arg1) |
QPoint | mapToParent(QPoint arg1) |
int | maximumHeight() |
QSize | maximumSize() |
int | maximumWidth() |
QMetaObject | metaObject() |
protected int | metric(int arg1) |
QRect | microFocusHint() |
int | minimumHeight() |
QSize | minimumSize() |
QSize | minimumSizeHint() |
int | minimumWidth() |
protected void | mouseDoubleClickEvent(QMouseEvent arg1) |
static QWidget | mouseGrabber() |
protected void | mouseMoveEvent(QMouseEvent arg1) |
protected void | mousePressEvent(QMouseEvent arg1) |
protected void | mouseReleaseEvent(QMouseEvent arg1) |
void | move(int x, int y) |
void | move(QPoint arg1) |
protected void | moveEvent(QMoveEvent arg1) |
boolean | ownCursor() |
boolean | ownFont() |
boolean | ownPalette() |
protected long | paintDevice() Internal method |
protected void | paintEvent(QPaintEvent arg1) |
boolean | paintingActive() |
QPalette | palette() |
QColor | paletteBackgroundColor() |
QPixmap | paletteBackgroundPixmap() |
protected void | paletteChange(QPalette arg1) |
QColor | paletteForegroundColor() |
QWidget | parentWidget(boolean sameWindow) |
QWidget | parentWidget() |
void | polish() |
QPoint | pos() |
void | raise() |
void | recreate(QWidget parent, int f, QPoint p, boolean showIt) |
void | recreate(QWidget parent, int f, QPoint p) |
QRect | rect() |
void | releaseKeyboard() |
void | releaseMouse() |
void | repaint() |
void | repaint(boolean erase) |
void | repaint(int x, int y, int w, int h, boolean erase) |
void | repaint(int x, int y, int w, int h) |
void | repaint(QRect arg1, boolean erase) |
void | repaint(QRect arg1) |
void | repaint(QRegion arg1, boolean erase) |
void | repaint(QRegion arg1) |
void | reparent(QWidget parent, int arg2, QPoint arg3, boolean showIt) |
void | reparent(QWidget parent, int arg2, QPoint arg3) |
void | reparent(QWidget parent, QPoint arg2, boolean showIt) |
void | reparent(QWidget parent, QPoint arg2) |
protected void | resetInputContext() |
void | resize(int w, int h) |
void | resize(QSize arg1) |
protected void | resizeEvent(QResizeEvent arg1) |
int | resolution() |
void | scroll(int dx, int dy) |
void | scroll(int dx, int dy, QRect arg3) |
void | setAcceptDrops(boolean on) |
void | setActiveWindow() |
void | setAutoMask(boolean arg1) |
void | setBackgroundColor(QColor arg1) |
void | setBackgroundMode(int arg1) |
void | setBackgroundMode(int arg1, int arg2) |
void | setBackgroundOrigin(int arg1) |
void | setBackgroundPixmap(QPixmap arg1) |
void | setBaseSize(QSize arg1) |
void | setBaseSize(int basew, int baseh) |
void | setCaption(String arg1) |
void | setCursor(QCursor arg1) |
void | setDisabled(boolean arg1) |
void | setEnabled(boolean arg1) |
void | setEraseColor(QColor arg1) |
void | setErasePixmap(QPixmap arg1) |
void | setFixedHeight(int h) |
void | setFixedSize(QSize arg1) |
void | setFixedSize(int w, int h) |
void | setFixedWidth(int w) |
void | setFocus() |
void | setFocusPolicy(int arg1) |
void | setFocusProxy(QWidget arg1) |
void | setFont(QFont arg1) |
void | setFont(QFont f, boolean arg2) |
void | setGeometry(int x, int y, int w, int h) |
void | setGeometry(QRect arg1) |
void | setHidden(boolean hide) |
void | setIcon(QPixmap arg1) |
void | setIconText(String arg1) |
void | setInputMethodEnabled(boolean b) |
protected void | setKeyCompression(boolean arg1) |
void | setMask(QBitmap arg1) |
void | setMask(QRegion arg1) |
void | setMaximumHeight(int maxh) |
void | setMaximumSize(QSize arg1) |
void | setMaximumSize(int maxw, int maxh) |
void | setMaximumWidth(int maxw) |
protected void | setMicroFocusHint(int x, int y, int w, int h, boolean text, QFont f) |
protected void | setMicroFocusHint(int x, int y, int w, int h, boolean text) |
protected void | setMicroFocusHint(int x, int y, int w, int h) |
void | setMinimumHeight(int minh) |
void | setMinimumSize(QSize arg1) |
void | setMinimumSize(int minw, int minh) |
void | setMinimumWidth(int minw) |
void | setMouseTracking(boolean enable) |
void | setName(String name) |
void | setPalette(QPalette arg1) |
void | setPalette(QPalette p, boolean arg2) |
void | setPaletteBackgroundColor(QColor arg1) |
void | setPaletteBackgroundPixmap(QPixmap arg1) |
void | setPaletteForegroundColor(QColor arg1) |
void | setResolution(int arg1) |
void | setShown(boolean show) |
void | setSizeIncrement(QSize arg1) |
void | setSizeIncrement(int w, int h) |
void | setSizePolicy(QSizePolicy arg1) |
void | setSizePolicy(int hor, int ver, boolean hfw) |
void | setSizePolicy(int hor, int ver) |
void | setStyle(QStyle arg1) |
QStyle | setStyle(String arg1) |
static void | setTabOrder(QWidget arg1, QWidget arg2) |
void | setUpdatesEnabled(boolean enable) |
protected void | setWFlags(int arg1) |
void | setWindowOpacity(double level) |
void | setWindowState(int windowState) |
protected void | setWState(int arg1) |
void | show() |
void | showEvent(QShowEvent arg1) |
void | showFullScreen() |
void | showMaximized() |
void | showMinimized() |
void | showNormal() |
QSize | size() |
QSize | sizeHint() |
QSize | sizeIncrement() |
QSizePolicy | sizePolicy() |
void | stackUnder(QWidget arg1) |
QStyle | style() |
void | styleChange(QStyle arg1) |
protected void | tabletEvent(QTabletEvent arg1) |
int | testWFlags(int f) |
int | testWState(int s) |
QWidget | topLevelWidget() |
static String | tr(String arg1, String arg2) |
static String | tr(String arg1) |
void | unsetCursor() |
void | unsetFont() |
void | unsetPalette() |
void | update() |
void | update(int x, int y, int w, int h) |
void | update(QRect arg1) |
void | updateGeometry() |
protected void | updateMask() |
QRect | visibleRect() |
protected void | wheelEvent(QWheelEvent arg1) |
int | width() |
protected void | windowActivationChange(boolean oldActive) |
double | windowOpacity() |
int | windowState() |
long | winId() |
int | x() |
int | y() |