org.kde.qt
Class QWidget
java.lang.Object
org.kde.qt.Qt
org.kde.qt.QObject
org.kde.qt.QWidget
- All Implemented Interfaces:
- QPaintDeviceInterface, QtSupport
- Direct Known Subclasses:
- QButton, QComboBox, QDataBrowser, QDataView, QDateTimeEdit, QDateTimeEditBase, QDesktopWidget, QDial, QDialog, QDockArea, QFrame, QHeader, QMainWindow, QScrollBar, QSizeGrip, QSlider, QSpinBox, QSpinWidget, QSplashScreen, QStatusBar, QTabBar, QTabWidget, QWorkspace
public class QWidget
- extends QObject
- implements QPaintDeviceInterface
Fields inherited from class org.kde.qt.Qt |
AlignAuto, AlignBottom, AlignCenter, AlignHCenter, AlignHorizontal_Mask, AlignJustify, AlignLeft, AlignRight, AlignTop, AlignVCenter, AlignVertical_Mask, AlphaDither_Mask, ALT, AltButton, AnchorHref, AnchorName, AndNotROP, AndROP, ArrowCursor, Ascending, ASCII_ACCEL, AutoColor, AutoDither, AutoText, AvoidDither, BDiagPattern, BeginsWith, BevelJoin, BitmapCursor, BlankCursor, Bottom, BottomLeft, BottomRight, BreakAnywhere, BusyCursor, CaseSensitive, ClearROP, ColorMode_Mask, ColorOnly, Contains, ControlButton, CopyROP, CrossCursor, CrossPattern, CTRL, CustomPattern, DashDotDotLine, DashDotLine, DashLine, Dense1Pattern, Dense2Pattern, Dense3Pattern, Dense4Pattern, Dense5Pattern, Dense6Pattern, Dense7Pattern, Descending, DiagCrossPattern, DiffuseAlphaDither, DiffuseDither, Dither_Mask, DitherMode_Mask, DockBottom, DockLeft, DockMinimized, DockRight, DockTop, DockTornOff, DockUnmanaged, DontClip, DontPrint, DotLine, DownArrow, EndsWith, EraseROP, ExactMatch, ExpandTabs, FDiagPattern, FixedColor, FixedPixmap, FlatCap, ForbiddenCursor, HiEnglishUnit, HiMetricUnit, Horizontal, HorPattern, IbeamCursor, Identical, IncludeTrailingSpaces, ISODate, Key_0, Key_1, Key_2, Key_3, Key_4, Key_5, Key_6, Key_7, Key_8, Key_9, Key_A, Key_aacute, Key_Aacute, Key_acircumflex, Key_Acircumflex, Key_acute, Key_adiaeresis, Key_Adiaeresis, Key_ae, Key_AE, Key_agrave, Key_Agrave, Key_Alt, Key_Ampersand, Key_Any, Key_Apostrophe, Key_aring, Key_Aring, Key_AsciiCircum, Key_AsciiTilde, Key_Asterisk, Key_At, Key_atilde, Key_Atilde, Key_B, Key_Back, Key_Backslash, Key_Backspace, Key_BackSpace, Key_Backtab, Key_BackTab, Key_Bar, Key_BassBoost, Key_BassDown, Key_BassUp, Key_BraceLeft, Key_BraceRight, Key_BracketLeft, Key_BracketRight, Key_brokenbar, Key_C, Key_CapsLock, Key_ccedilla, Key_Ccedilla, Key_cedilla, Key_cent, Key_Clear, Key_Colon, Key_Comma, Key_Control, Key_copyright, Key_currency, Key_D, Key_degree, Key_Delete, Key_diaeresis, Key_Direction_L, Key_Direction_R, Key_division, Key_Dollar, Key_Down, Key_E, Key_eacute, Key_Eacute, Key_ecircumflex, Key_Ecircumflex, Key_ediaeresis, Key_Ediaeresis, Key_egrave, Key_Egrave, Key_End, Key_Enter, Key_Equal, Key_Escape, Key_eth, Key_ETH, Key_Exclam, Key_exclamdown, Key_F, Key_F1, Key_F10, Key_F11, Key_F12, Key_F13, Key_F14, Key_F15, Key_F16, Key_F17, Key_F18, Key_F19, Key_F2, Key_F20, Key_F21, Key_F22, Key_F23, Key_F24, Key_F25, Key_F26, Key_F27, Key_F28, Key_F29, Key_F3, Key_F30, Key_F31, Key_F32, Key_F33, Key_F34, Key_F35, Key_F4, Key_F5, Key_F6, Key_F7, Key_F8, Key_F9, Key_Favorites, Key_Forward, Key_G, Key_Greater, Key_guillemotleft, Key_guillemotright, Key_H, Key_Help, Key_Home, Key_HomePage, Key_Hyper_L, Key_Hyper_R, Key_hyphen, Key_I, Key_iacute, Key_Iacute, Key_icircumflex, Key_Icircumflex, Key_idiaeresis, Key_Idiaeresis, Key_igrave, Key_Igrave, Key_Insert, Key_J, Key_K, Key_L, Key_Launch0, Key_Launch1, Key_Launch2, Key_Launch3, Key_Launch4, Key_Launch5, Key_Launch6, Key_Launch7, Key_Launch8, Key_Launch9, Key_LaunchA, Key_LaunchB, Key_LaunchC, Key_LaunchD, Key_LaunchE, Key_LaunchF, Key_LaunchMail, Key_LaunchMedia, Key_Left, Key_Less, Key_M, Key_macron, Key_masculine, Key_MediaLast, Key_MediaNext, Key_MediaPlay, Key_MediaPrev, Key_MediaRecord, Key_MediaStop, Key_Menu, Key_Meta, Key_Minus, Key_mu, Key_multiply, Key_N, Key_Next, Key_nobreakspace, Key_notsign, Key_ntilde, Key_Ntilde, Key_NumberSign, Key_NumLock, Key_O, Key_oacute, Key_Oacute, Key_ocircumflex, Key_Ocircumflex, Key_odiaeresis, Key_Odiaeresis, Key_ograve, Key_Ograve, Key_onehalf, Key_onequarter, Key_onesuperior, Key_Ooblique, Key_OpenUrl, Key_ordfeminine, Key_oslash, Key_otilde, Key_Otilde, Key_P, Key_PageDown, Key_PageUp, Key_paragraph, Key_ParenLeft, Key_ParenRight, Key_Pause, Key_Percent, Key_Period, Key_periodcentered, Key_Plus, Key_plusminus, Key_Print, Key_Prior, Key_Q, Key_Question, Key_questiondown, Key_QuoteDbl, Key_QuoteLeft, Key_R, Key_Refresh, Key_registered, Key_Return, Key_Right, Key_S, Key_ScrollLock, Key_Search, Key_section, Key_Semicolon, Key_Shift, Key_Slash, Key_Space, Key_ssharp, Key_Standby, Key_sterling, Key_Stop, Key_Super_L, Key_Super_R, Key_SysReq, Key_T, Key_Tab, Key_thorn, Key_THORN, Key_threequarters, Key_threesuperior, Key_TrebleDown, Key_TrebleUp, Key_twosuperior, Key_U, Key_uacute, Key_Uacute, Key_ucircumflex, Key_Ucircumflex, Key_udiaeresis, Key_Udiaeresis, Key_ugrave, Key_Ugrave, Key_Underscore, Key_unknown, Key_Up, Key_V, Key_VolumeDown, Key_VolumeMute, Key_VolumeUp, Key_W, Key_X, Key_Y, Key_yacute, Key_Yacute, Key_ydiaeresis, Key_yen, Key_Z, KeyButtonMask, Keypad, LastCursor, LastROP, Left, LeftArrow, LeftButton, LocalDate, LocalTime, LoEnglishUnit, LogText, LoMetricUnit, MacStyle, META, MetaButton, MidButton, Minimized, MiterJoin, MODIFIER_MASK, MonoOnly, MotifStyle, MouseButtonMask, MPenCapStyle, MPenJoinStyle, MPenStyle, MV_10_DOT_0, MV_10_DOT_1, MV_10_DOT_2, MV_10_DOT_3, MV_10_DOT_4, MV_9, MV_CHEETAH, MV_JAGUAR, MV_PANTHER, MV_PUMA, MV_TIGER, MV_Unknown, NandROP, NoAccel, NoAlpha, NoBackground, NoBrush, NoButton, NoMatch, NoPen, NopROP, NorROP, NotAndROP, NotCopyROP, NotEraseROP, NotOrROP, NotROP, NotXorROP, OpaqueMode, OrderedAlphaDither, OrderedDither, OrNotROP, OrROP, Overline, PaletteBackground, PaletteBase, PaletteBrightText, PaletteButton, PaletteButtonText, PaletteDark, PaletteForeground, PaletteHighlight, PaletteHighlightedText, PaletteLight, PaletteLink, PaletteLinkVisited, PaletteMid, PaletteMidlight, PaletteShadow, PaletteText, PartialMatch, PixelUnit, PlainText, PMStyle, PointingHandCursor, PreferDither, RichText, Right, RightArrow, RightButton, RoundCap, RoundJoin, SetROP, SHIFT, ShiftButton, ShowPrefix, SingleLine, SizeAllCursor, SizeBDiagCursor, SizeFDiagCursor, SizeHorCursor, SizeVerCursor, SolidLine, SolidPattern, SplitHCursor, SplitVCursor, SquareCap, StrikeOut, TextDate, ThresholdAlphaDither, ThresholdDither, Top, TopLeft, TopRight, TornOff, TransparentMode, TwipsUnit, UI_AnimateCombo, UI_AnimateMenu, UI_AnimateToolBox, UI_AnimateTooltip, UI_FadeMenu, UI_FadeTooltip, UI_General, Underline, UNICODE_ACCEL, Unmanaged, UpArrow, UpArrowCursor, UTC, VerPattern, Vertical, WaitCursor, WDestructiveClose, WGroupLeader, WhatsThisCursor, Win3Style, WindowActive, WindowFullScreen, WindowMaximized, WindowMinimized, WindowNoState, WindowsStyle, WMacDrawer, WMacNoSheet, WMouseNoMask, WNoAutoErase, WNoMousePropagation, WNorthWestGravity, WordBreak, WPaintClever, WPaintDesktop, WPaintUnclipped, WRepaintNoErase, WResizeNoErase, WShowModal, WState_AutoMask, WState_BlockUpdates, WState_CompressKeys, WState_ConfigPending, WState_Created, WState_CreatedHidden, WState_Disabled, WState_DND, WState_Exposed, WState_ForceDisabled, WState_ForceHide, WState_FullScreen, WState_HasMouse, WState_InPaintEvent, WState_Maximized, WState_Minimized, WState_MouseTracking, WState_OwnCursor, WState_OwnSizePolicy, WState_Polished, WState_Reparented, WState_Reserved0, WState_Resized, WState_Visible, WStaticContents, WStyle_ContextHelp, WStyle_Customize, WStyle_Dialog, WStyle_DialogBorder, WStyle_Mask, WStyle_Maximize, WStyle_Minimize, WStyle_MinMax, WStyle_NoBorder, WStyle_NoBorderEx, WStyle_NormalBorder, WStyle_Reserved, WStyle_Splash, WStyle_StaysOnTop, WStyle_SysMenu, WStyle_Title, WStyle_Tool, WSubWindow, WType_Desktop, WType_Dialog, WType_Mask, WType_Modal, WType_Popup, WType_TopLevel, WV_2000, WV_2003, WV_32s, WV_95, WV_98, WV_CE, WV_CE_based, WV_CENET, WV_DOS_based, WV_Me, WV_NT, WV_NT_based, WV_XP, WWinOwnDC, WX11BypassWM, X11ParentRelative, XorROP |
Method Summary |
boolean |
acceptDrops()
|
void |
adjustSize()
|
boolean |
autoMask()
|
QBrush |
backgroundBrush()
|
QColor |
backgroundColor()
|
int |
backgroundMode()
|
QPoint |
backgroundOffset()
|
int |
backgroundOrigin()
|
QPixmap |
backgroundPixmap()
|
QSize |
baseSize()
|
java.lang.String |
caption()
|
QWidget |
childAt(int x,
int y)
|
QWidget |
childAt(int x,
int y,
boolean includeThis)
|
QWidget |
childAt(QPoint arg1)
|
QWidget |
childAt(QPoint arg1,
boolean includeThis)
|
QRect |
childrenRect()
|
QRegion |
childrenRegion()
|
java.lang.String |
className()
|
void |
clearFocus()
|
void |
clearMask()
|
protected void |
clearWFlags(int n)
|
protected void |
clearWState(int n)
|
QRegion |
clipRegion()
|
boolean |
close()
|
boolean |
close(boolean alsoDelete)
|
protected void |
closeEvent(QCloseEvent arg1)
|
QColorGroup |
colorGroup()
|
void |
constPolish()
|
protected void |
contextMenuEvent(QContextMenuEvent arg1)
|
protected void |
create()
|
protected void |
create(long arg1)
|
protected void |
create(long arg1,
boolean initializeWindow)
|
protected void |
create(long arg1,
boolean initializeWindow,
boolean destroyOldWindow)
|
QCursor |
cursor()
|
boolean |
customWhatsThis()
|
protected void |
destroy()
|
protected void |
destroy(boolean destroyWindow)
|
protected void |
destroy(boolean destroyWindow,
boolean destroySubWindows)
|
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,
java.lang.String arg3)
|
void |
drawText(QPoint arg1,
java.lang.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)
|
protected int |
fontMet(QFont arg1,
int arg2,
java.lang.String arg3)
|
protected int |
fontMet(QFont arg1,
int arg2,
java.lang.String arg3,
int arg4)
|
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()
|
java.lang.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()
|
QWidget |
parentWidget(boolean sameWindow)
|
void |
polish()
|
QPoint |
pos()
|
void |
raise()
|
void |
recreate(QWidget parent,
int f,
QPoint p)
|
void |
recreate(QWidget parent,
int f,
QPoint p,
boolean showIt)
|
QRect |
rect()
|
void |
releaseKeyboard()
|
void |
releaseMouse()
|
void |
repaint()
|
void |
repaint(boolean erase)
|
void |
repaint(int x,
int y,
int w,
int h)
|
void |
repaint(int x,
int y,
int w,
int h,
boolean erase)
|
void |
repaint(QRect arg1)
|
void |
repaint(QRect arg1,
boolean erase)
|
void |
repaint(QRegion arg1)
|
void |
repaint(QRegion arg1,
boolean erase)
|
void |
reparent(QWidget parent,
int arg2,
QPoint arg3)
|
void |
reparent(QWidget parent,
int arg2,
QPoint arg3,
boolean showIt)
|
void |
reparent(QWidget parent,
QPoint arg2)
|
void |
reparent(QWidget parent,
QPoint arg2,
boolean showIt)
|
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(int basew,
int baseh)
|
void |
setBaseSize(QSize arg1)
|
void |
setCaption(java.lang.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(int w,
int h)
|
void |
setFixedSize(QSize arg1)
|
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(java.lang.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(int maxw,
int maxh)
|
void |
setMaximumSize(QSize arg1)
|
void |
setMaximumWidth(int maxw)
|
protected void |
setMicroFocusHint(int x,
int y,
int w,
int h)
|
protected void |
setMicroFocusHint(int x,
int y,
int w,
int h,
boolean text)
|
protected void |
setMicroFocusHint(int x,
int y,
int w,
int h,
boolean text,
QFont f)
|
void |
setMinimumHeight(int minh)
|
void |
setMinimumSize(int minw,
int minh)
|
void |
setMinimumSize(QSize arg1)
|
void |
setMinimumWidth(int minw)
|
void |
setMouseTracking(boolean enable)
|
void |
setName(java.lang.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(int w,
int h)
|
void |
setSizeIncrement(QSize arg1)
|
void |
setSizePolicy(int hor,
int ver)
|
void |
setSizePolicy(int hor,
int ver,
boolean hfw)
|
void |
setSizePolicy(QSizePolicy arg1)
|
void |
setStyle(QStyle arg1)
|
QStyle |
setStyle(java.lang.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 java.lang.String |
tr(java.lang.String arg1)
|
static java.lang.String |
tr(java.lang.String arg1,
java.lang.String arg2)
|
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()
|
Methods inherited from class org.kde.qt.QObject |
activate_filters, activate_signal_bool, activate_signal, activate_signal, activate_signal, activate_signal, blockSignals, checkConnectArgs, child, child, child, childEvent, children, connect, connect, connectInternal, connectNotify, customEvent, deleteLater, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnectInternal, disconnectNotify, dumpObjectInfo, dumpObjectTree, emit, emit, emit, emit, emit, emit, emit, emit, emit, emit, emit, emit, emit, emit, emit, emit, emit, emit, emit, emit, emit, emit, eventFilter, highPriority, i18n, inherits, insertChild, installEventFilter, isA, isWidgetType, killTimer, killTimers, name, name, normalizeSignalSlot, objectTrees, parent, property, queryList, queryList, queryList, queryList, queryList, registerUserData, removeChild, removeEventFilter, sender, setProperty, signalsBlocked, startTimer, timerEvent |
Methods inherited from class org.kde.qt.Qt |
arrowCursor, bin, bitBlt, bitBlt, bitBlt, bitBlt, bitBlt, bitBlt, bitBlt, bitBlt, bitBlt, bitBlt, bitBlt, bitBlt, bitBlt, bitBlt, bitBlt, bitBlt, bitBlt, bitBlt, bitBlt, bitBlt, bitBlt, bitBlt, bitBlt, black, blankCursor, blue, color0, color1, copyBlt, copyBlt, copyBlt, copyBlt, copyBlt, crossCursor, cyan, darkBlue, darkCyan, darkGray, darkGreen, darkMagenta, darkRed, darkYellow, dec, dynamicCast, endl, flush, forbiddenCursor, fromUtf8, gray, green, hex, ibeamCursor, lightGray, magenta, oct, op_div, op_div, op_div, op_div, op_equals, op_equals, op_equals, op_equals, op_minus, op_minus, op_minus, op_mult, op_mult, op_mult, op_mult, op_mult, op_mult, op_mult, op_mult, op_mult, op_not_equals, op_not_equals, op_not_equals, op_not_equals, op_plus, op_plus, op_read, op_read, op_read, op_read, op_read, op_read, op_read, op_read, op_read, op_read, op_read, op_read, op_read, op_read, op_read, op_read, op_read, op_read, op_read, op_read, op_read, op_read, op_read, op_read, op_read, op_read, op_write, op_write, op_write, op_write, op_write, op_write, op_write, op_write, op_write, op_write, op_write, op_write, op_write, op_write, op_write, op_write, op_write, op_write, op_write, op_write, op_write, op_write, op_write, op_write, op_write, op_write, op_write, pointingHandCursor, qAlpha, qApp, qAppName, qBlue, qCompress, qCompress, qDebug, qDebug, qDrawArrow, qDrawItem, qDrawItem, qDrawItem, qDrawPlainRect, qDrawPlainRect, qDrawPlainRect, qDrawPlainRect, qDrawPlainRect, qDrawPlainRect, qDrawShadeLine, qDrawShadeLine, qDrawShadeLine, qDrawShadeLine, qDrawShadeLine, qDrawShadeLine, qDrawShadeLine, qDrawShadeLine, qDrawShadePanel, qDrawShadePanel, qDrawShadePanel, qDrawShadePanel, qDrawShadePanel, qDrawShadePanel, qDrawShadePanel, qDrawShadePanel, qDrawShadeRect, qDrawShadeRect, qDrawShadeRect, qDrawShadeRect, qDrawShadeRect, qDrawShadeRect, qDrawShadeRect, qDrawShadeRect, qDrawShadeRect, qDrawShadeRect, qDrawWinButton, qDrawWinButton, qDrawWinButton, qDrawWinButton, qDrawWinButton, qDrawWinButton, qDrawWinPanel, qDrawWinPanel, qDrawWinPanel, qDrawWinPanel, qDrawWinPanel, qDrawWinPanel, qFatal, qFatal, qGLVersion, qGray, qGray, qGreen, qInitNetworkProtocols, qInstallPath, qInstallPathBins, qInstallPathData, qInstallPathDocs, qInstallPathHeaders, qInstallPathLibs, qInstallPathPlugins, qInstallPathSysconf, qInstallPathTranslations, qItemRect, qItemRect, qObsolete, qObsolete, qObsolete, qRed, qRgb, qRgba, qRound, qSharedBuild, qSuppressObsoleteWarnings, qSuppressObsoleteWarnings, qSysInfo, qSystemWarning, qSystemWarning, qUncompress, qUncompress, qVersion, qWarning, qWarning, red, reset, SIGNAL, sizeAllCursor, sizeBDiagCursor, sizeFDiagCursor, sizeHorCursor, sizeVerCursor, SLOT, splitHCursor, splitVCursor, upArrowCursor, waitCursor, whatsThisCursor, white, ws, yellow |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoFocus
public static final int NoFocus
- See Also:
- Constant Field Values
TabFocus
public static final int TabFocus
- See Also:
- Constant Field Values
ClickFocus
public static final int ClickFocus
- See Also:
- Constant Field Values
StrongFocus
public static final int StrongFocus
- See Also:
- Constant Field Values
WheelFocus
public static final int WheelFocus
- See Also:
- Constant Field Values
WidgetOrigin
public static final int WidgetOrigin
- See Also:
- Constant Field Values
ParentOrigin
public static final int ParentOrigin
- See Also:
- Constant Field Values
WindowOrigin
public static final int WindowOrigin
- See Also:
- Constant Field Values
AncestorOrigin
public static final int AncestorOrigin
- See Also:
- Constant Field Values
QWidget
protected QWidget(java.lang.Class dummy)
QWidget
public QWidget(QWidget parent,
java.lang.String name,
int f)
QWidget
public QWidget(QWidget parent,
java.lang.String name)
QWidget
public QWidget(QWidget parent)
QWidget
public QWidget()
metaObject
public QMetaObject metaObject()
- Overrides:
metaObject
in class QObject
className
public java.lang.String className()
- Overrides:
className
in class QObject
winId
public long winId()
setName
public void setName(java.lang.String name)
- Overrides:
setName
in class QObject
style
public QStyle style()
setStyle
public void setStyle(QStyle arg1)
setStyle
public QStyle setStyle(java.lang.String arg1)
isTopLevel
public boolean isTopLevel()
isDialog
public boolean isDialog()
isPopup
public boolean isPopup()
isDesktop
public boolean isDesktop()
isModal
public boolean isModal()
isEnabled
public boolean isEnabled()
isEnabledTo
public boolean isEnabledTo(QWidget arg1)
isEnabledToTLW
public boolean isEnabledToTLW()
frameGeometry
public QRect frameGeometry()
geometry
public QRect geometry()
x
public int x()
y
public int y()
pos
public QPoint pos()
frameSize
public QSize frameSize()
size
public QSize size()
width
public int width()
height
public int height()
rect
public QRect rect()
childrenRect
public QRect childrenRect()
childrenRegion
public QRegion childrenRegion()
minimumSize
public QSize minimumSize()
maximumSize
public QSize maximumSize()
minimumWidth
public int minimumWidth()
minimumHeight
public int minimumHeight()
maximumWidth
public int maximumWidth()
maximumHeight
public int maximumHeight()
setMinimumSize
public void setMinimumSize(QSize arg1)
setMinimumSize
public void setMinimumSize(int minw,
int minh)
setMaximumSize
public void setMaximumSize(QSize arg1)
setMaximumSize
public void setMaximumSize(int maxw,
int maxh)
setMinimumWidth
public void setMinimumWidth(int minw)
setMinimumHeight
public void setMinimumHeight(int minh)
setMaximumWidth
public void setMaximumWidth(int maxw)
setMaximumHeight
public void setMaximumHeight(int maxh)
sizeIncrement
public QSize sizeIncrement()
setSizeIncrement
public void setSizeIncrement(QSize arg1)
setSizeIncrement
public void setSizeIncrement(int w,
int h)
baseSize
public QSize baseSize()
setBaseSize
public void setBaseSize(QSize arg1)
setBaseSize
public void setBaseSize(int basew,
int baseh)
setFixedSize
public void setFixedSize(QSize arg1)
setFixedSize
public void setFixedSize(int w,
int h)
setFixedWidth
public void setFixedWidth(int w)
setFixedHeight
public void setFixedHeight(int h)
mapToGlobal
public QPoint mapToGlobal(QPoint arg1)
mapFromGlobal
public QPoint mapFromGlobal(QPoint arg1)
mapToParent
public QPoint mapToParent(QPoint arg1)
mapFromParent
public QPoint mapFromParent(QPoint arg1)
mapTo
public QPoint mapTo(QWidget arg1,
QPoint arg2)
mapFrom
public QPoint mapFrom(QWidget arg1,
QPoint arg2)
topLevelWidget
public QWidget topLevelWidget()
backgroundMode
public int backgroundMode()
setBackgroundMode
public void setBackgroundMode(int arg1)
setBackgroundMode
public void setBackgroundMode(int arg1,
int arg2)
foregroundColor
public QColor foregroundColor()
eraseColor
public QColor eraseColor()
setEraseColor
public void setEraseColor(QColor arg1)
erasePixmap
public QPixmap erasePixmap()
setErasePixmap
public void setErasePixmap(QPixmap arg1)
colorGroup
public QColorGroup colorGroup()
palette
public QPalette palette()
ownPalette
public boolean ownPalette()
setPalette
public void setPalette(QPalette arg1)
unsetPalette
public void unsetPalette()
paletteForegroundColor
public QColor paletteForegroundColor()
setPaletteForegroundColor
public void setPaletteForegroundColor(QColor arg1)
paletteBackgroundColor
public QColor paletteBackgroundColor()
setPaletteBackgroundColor
public void setPaletteBackgroundColor(QColor arg1)
paletteBackgroundPixmap
public QPixmap paletteBackgroundPixmap()
setPaletteBackgroundPixmap
public void setPaletteBackgroundPixmap(QPixmap arg1)
backgroundBrush
public QBrush backgroundBrush()
font
public QFont font()
ownFont
public boolean ownFont()
setFont
public void setFont(QFont arg1)
unsetFont
public void unsetFont()
fontMetrics
public QFontMetrics fontMetrics()
fontInfo
public QFontInfo fontInfo()
cursor
public QCursor cursor()
ownCursor
public boolean ownCursor()
setCursor
public void setCursor(QCursor arg1)
unsetCursor
public void unsetCursor()
caption
public java.lang.String caption()
icon
public QPixmap icon()
iconText
public java.lang.String iconText()
hasMouseTracking
public boolean hasMouseTracking()
hasMouse
public boolean hasMouse()
setMask
public void setMask(QBitmap arg1)
setMask
public void setMask(QRegion arg1)
clearMask
public void clearMask()
backgroundColor
public QColor backgroundColor()
setBackgroundColor
public void setBackgroundColor(QColor arg1)
backgroundPixmap
public QPixmap backgroundPixmap()
setBackgroundPixmap
public void setBackgroundPixmap(QPixmap arg1)
isActiveWindow
public boolean isActiveWindow()
setActiveWindow
public void setActiveWindow()
isFocusEnabled
public boolean isFocusEnabled()
focusPolicy
public int focusPolicy()
setFocusPolicy
public void setFocusPolicy(int arg1)
hasFocus
public boolean hasFocus()
setFocusProxy
public void setFocusProxy(QWidget arg1)
focusProxy
public QWidget focusProxy()
setInputMethodEnabled
public void setInputMethodEnabled(boolean b)
isInputMethodEnabled
public boolean isInputMethodEnabled()
grabMouse
public void grabMouse()
grabMouse
public void grabMouse(QCursor arg1)
releaseMouse
public void releaseMouse()
grabKeyboard
public void grabKeyboard()
releaseKeyboard
public void releaseKeyboard()
isUpdatesEnabled
public boolean isUpdatesEnabled()
close
public boolean close(boolean alsoDelete)
isVisible
public boolean isVisible()
isVisibleTo
public boolean isVisibleTo(QWidget arg1)
isVisibleToTLW
public boolean isVisibleToTLW()
visibleRect
public QRect visibleRect()
isHidden
public boolean isHidden()
isShown
public boolean isShown()
isMinimized
public boolean isMinimized()
isMaximized
public boolean isMaximized()
isFullScreen
public boolean isFullScreen()
windowState
public int windowState()
setWindowState
public void setWindowState(int windowState)
sizeHint
public QSize sizeHint()
minimumSizeHint
public QSize minimumSizeHint()
sizePolicy
public QSizePolicy sizePolicy()
setSizePolicy
public void setSizePolicy(QSizePolicy arg1)
setSizePolicy
public void setSizePolicy(int hor,
int ver,
boolean hfw)
setSizePolicy
public void setSizePolicy(int hor,
int ver)
heightForWidth
public int heightForWidth(int arg1)
clipRegion
public QRegion clipRegion()
layout
public QLayout layout()
updateGeometry
public void updateGeometry()
reparent
public void reparent(QWidget parent,
int arg2,
QPoint arg3,
boolean showIt)
reparent
public void reparent(QWidget parent,
int arg2,
QPoint arg3)
reparent
public void reparent(QWidget parent,
QPoint arg2,
boolean showIt)
reparent
public void reparent(QWidget parent,
QPoint arg2)
recreate
public void recreate(QWidget parent,
int f,
QPoint p,
boolean showIt)
recreate
public void recreate(QWidget parent,
int f,
QPoint p)
erase
public void erase()
erase
public void erase(int x,
int y,
int w,
int h)
erase
public void erase(QRect arg1)
erase
public void erase(QRegion arg1)
scroll
public void scroll(int dx,
int dy)
scroll
public void scroll(int dx,
int dy,
QRect arg3)
drawText
public void drawText(int x,
int y,
java.lang.String arg3)
drawText
public void drawText(QPoint arg1,
java.lang.String arg2)
focusWidget
public QWidget focusWidget()
microFocusHint
public QRect microFocusHint()
acceptDrops
public boolean acceptDrops()
setAcceptDrops
public void setAcceptDrops(boolean on)
setAutoMask
public void setAutoMask(boolean arg1)
autoMask
public boolean autoMask()
setBackgroundOrigin
public void setBackgroundOrigin(int arg1)
backgroundOrigin
public int backgroundOrigin()
backgroundOffset
public QPoint backgroundOffset()
customWhatsThis
public boolean customWhatsThis()
parentWidget
public QWidget parentWidget(boolean sameWindow)
parentWidget
public QWidget parentWidget()
testWState
public int testWState(int s)
testWFlags
public int testWFlags(int f)
childAt
public QWidget childAt(int x,
int y,
boolean includeThis)
childAt
public QWidget childAt(int x,
int y)
childAt
public QWidget childAt(QPoint arg1,
boolean includeThis)
childAt
public QWidget childAt(QPoint arg1)
setWindowOpacity
public void setWindowOpacity(double level)
windowOpacity
public double windowOpacity()
setPalette
public void setPalette(QPalette p,
boolean arg2)
setFont
public void setFont(QFont f,
boolean arg2)
setEnabled
public void setEnabled(boolean arg1)
setDisabled
public void setDisabled(boolean arg1)
setCaption
public void setCaption(java.lang.String arg1)
setIcon
public void setIcon(QPixmap arg1)
setIconText
public void setIconText(java.lang.String arg1)
setMouseTracking
public void setMouseTracking(boolean enable)
setFocus
public void setFocus()
clearFocus
public void clearFocus()
setUpdatesEnabled
public void setUpdatesEnabled(boolean enable)
update
public void update()
update
public void update(int x,
int y,
int w,
int h)
update
public void update(QRect arg1)
repaint
public void repaint()
repaint
public void repaint(boolean erase)
repaint
public void repaint(int x,
int y,
int w,
int h,
boolean erase)
repaint
public void repaint(int x,
int y,
int w,
int h)
repaint
public void repaint(QRect arg1,
boolean erase)
repaint
public void repaint(QRect arg1)
repaint
public void repaint(QRegion arg1,
boolean erase)
repaint
public void repaint(QRegion arg1)
show
public void show()
hide
public void hide()
setShown
public void setShown(boolean show)
setHidden
public void setHidden(boolean hide)
iconify
public void iconify()
showMinimized
public void showMinimized()
showMaximized
public void showMaximized()
showFullScreen
public void showFullScreen()
showNormal
public void showNormal()
polish
public void polish()
constPolish
public void constPolish()
close
public boolean close()
raise
public void raise()
lower
public void lower()
stackUnder
public void stackUnder(QWidget arg1)
move
public void move(int x,
int y)
move
public void move(QPoint arg1)
resize
public void resize(int w,
int h)
resize
public void resize(QSize arg1)
setGeometry
public void setGeometry(int x,
int y,
int w,
int h)
setGeometry
public void setGeometry(QRect arg1)
adjustSize
public void adjustSize()
tr
public static java.lang.String tr(java.lang.String arg1,
java.lang.String arg2)
tr
public static java.lang.String tr(java.lang.String arg1)
setTabOrder
public static void setTabOrder(QWidget arg1,
QWidget arg2)
mouseGrabber
public static QWidget mouseGrabber()
keyboardGrabber
public static QWidget keyboardGrabber()
find
public static QWidget find(long arg1)
event
public boolean event(QEvent arg1)
- Overrides:
event
in class QObject
mousePressEvent
protected void mousePressEvent(QMouseEvent arg1)
mouseReleaseEvent
protected void mouseReleaseEvent(QMouseEvent arg1)
mouseDoubleClickEvent
protected void mouseDoubleClickEvent(QMouseEvent arg1)
mouseMoveEvent
protected void mouseMoveEvent(QMouseEvent arg1)
wheelEvent
protected void wheelEvent(QWheelEvent arg1)
keyPressEvent
protected void keyPressEvent(QKeyEvent arg1)
keyReleaseEvent
protected void keyReleaseEvent(QKeyEvent arg1)
focusInEvent
protected void focusInEvent(QFocusEvent arg1)
focusOutEvent
protected void focusOutEvent(QFocusEvent arg1)
enterEvent
protected void enterEvent(QEvent arg1)
leaveEvent
protected void leaveEvent(QEvent arg1)
paintEvent
protected void paintEvent(QPaintEvent arg1)
moveEvent
protected void moveEvent(QMoveEvent arg1)
resizeEvent
protected void resizeEvent(QResizeEvent arg1)
closeEvent
protected void closeEvent(QCloseEvent arg1)
contextMenuEvent
protected void contextMenuEvent(QContextMenuEvent arg1)
imStartEvent
protected void imStartEvent(QIMEvent arg1)
imComposeEvent
protected void imComposeEvent(QIMEvent arg1)
imEndEvent
protected void imEndEvent(QIMEvent arg1)
tabletEvent
protected void tabletEvent(QTabletEvent arg1)
dragEnterEvent
protected void dragEnterEvent(QDragEnterEvent arg1)
dragMoveEvent
protected void dragMoveEvent(QDragMoveEvent arg1)
dragLeaveEvent
protected void dragLeaveEvent(QDragLeaveEvent arg1)
dropEvent
protected void dropEvent(QDropEvent arg1)
showEvent
public void showEvent(QShowEvent arg1)
hideEvent
protected void hideEvent(QHideEvent arg1)
updateMask
protected void updateMask()
styleChange
public void styleChange(QStyle arg1)
enabledChange
protected void enabledChange(boolean oldEnabled)
paletteChange
protected void paletteChange(QPalette arg1)
fontChange
protected void fontChange(QFont arg1)
windowActivationChange
protected void windowActivationChange(boolean oldActive)
metric
protected int metric(int arg1)
resetInputContext
protected void resetInputContext()
create
protected void create(long arg1,
boolean initializeWindow,
boolean destroyOldWindow)
create
protected void create(long arg1,
boolean initializeWindow)
create
protected void create(long arg1)
create
protected void create()
destroy
protected void destroy(boolean destroyWindow,
boolean destroySubWindows)
destroy
protected void destroy(boolean destroyWindow)
destroy
protected void destroy()
getWState
protected int getWState()
setWState
protected void setWState(int arg1)
clearWState
protected void clearWState(int n)
getWFlags
protected int getWFlags()
setWFlags
protected void setWFlags(int arg1)
clearWFlags
protected void clearWFlags(int n)
focusNextPrevChild
protected boolean focusNextPrevChild(boolean next)
focusData
protected QFocusData focusData()
setKeyCompression
protected void setKeyCompression(boolean arg1)
setMicroFocusHint
protected void setMicroFocusHint(int x,
int y,
int w,
int h,
boolean text,
QFont f)
setMicroFocusHint
protected void setMicroFocusHint(int x,
int y,
int w,
int h,
boolean text)
setMicroFocusHint
protected void setMicroFocusHint(int x,
int y,
int w,
int h)
finalize
protected void finalize()
throws java.lang.InternalError
- Deletes the wrapped C++ instance
- Overrides:
finalize
in class QObject
- Throws:
java.lang.InternalError
dispose
public void dispose()
- Delete the wrapped C++ instance ahead of finalize()
- Overrides:
dispose
in class QObject
isDisposed
public boolean isDisposed()
- Has the wrapped C++ instance been deleted?
- Overrides:
isDisposed
in class QObject
devType
public int devType()
- Specified by:
devType
in interface QPaintDeviceInterface
isExtDev
public boolean isExtDev()
- Specified by:
isExtDev
in interface QPaintDeviceInterface
paintingActive
public boolean paintingActive()
- Specified by:
paintingActive
in interface QPaintDeviceInterface
setResolution
public void setResolution(int arg1)
- Specified by:
setResolution
in interface QPaintDeviceInterface
resolution
public int resolution()
- Specified by:
resolution
in interface QPaintDeviceInterface
fontMet
protected int fontMet(QFont arg1,
int arg2,
java.lang.String arg3,
int arg4)
fontMet
protected int fontMet(QFont arg1,
int arg2,
java.lang.String arg3)
fontMet
protected int fontMet(QFont arg1,
int arg2)
fontInf
protected int fontInf(QFont arg1,
int arg2)
paintDevice
protected long paintDevice()
- Internal method