@NoOffset @Properties(inherit=Qt5Widgets.class) public class QWidget extends QObject
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier and Type | Field and Description |
---|---|
static int |
DrawChildren
enum QWidget::RenderFlag
|
static int |
DrawWindowBackground
enum QWidget::RenderFlag
|
static int |
IgnoreMask
enum QWidget::RenderFlag
|
Constructor and Description |
---|
QWidget() |
QWidget(long size)
Native array allocator.
|
QWidget(Pointer p)
Pointer cast constructor.
|
QWidget(QWidget parent,
int f) |
blockSignals, deleteLater, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, dumpObjectInfo, dumpObjectTree, event, eventFilter, inherits, inherits, installEventFilter, isWidgetType, isWindowType, killTimer, objectName, parent, registerUserData, removeEventFilter, setObjectName, setParent, setProperty, setProperty, signalsBlocked, startTimer, startTimer, startTimer, startTimer, tr, tr, tr, tr
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public static final int DrawWindowBackground
public static final int DrawChildren
public static final int IgnoreMask
public QWidget(Pointer p)
Pointer.Pointer(Pointer)
.public QWidget(long size)
Pointer.position(long)
.public QWidget(QWidget parent, @ByVal(nullValue="Qt::WindowFlags()") @Cast(value="Qt::WindowFlags") int f)
public QWidget()
public Qt5Gui.QPaintDevice asQPaintDevice()
@Namespace @Name(value="static_cast<QPaintDevice*>") public static Qt5Gui.QPaintDevice asQPaintDevice(QWidget pointer)
public int devType()
public void createWinId()
public QStyle style()
public void setStyle(QStyle arg0)
public void setWindowModality(@Cast(value="Qt::WindowModality") int windowModality)
public int x()
public int y()
public int width()
public int height()
public int minimumWidth()
public int minimumHeight()
public int maximumWidth()
public int maximumHeight()
public void setMinimumSize(int minw, int minh)
public void setMaximumSize(int maxw, int maxh)
public void setMinimumWidth(int minw)
public void setMinimumHeight(int minh)
public void setMaximumWidth(int maxw)
public void setMaximumHeight(int maxh)
public void setSizeIncrement(int w, int h)
public void setBaseSize(int basew, int baseh)
public void setFixedSize(int w, int h)
public void setFixedWidth(int w)
public void setFixedHeight(int h)
public QWidget window()
public QWidget nativeParentWidget()
public QWidget topLevelWidget()
public void unsetCursor()
public void clearMask()
public void render(Qt5Gui.QPaintDevice target)
public void setWindowOpacity(double level)
public double windowOpacity()
public void setToolTipDuration(int msec)
public int toolTipDuration()
public void unsetLayoutDirection()
public void unsetLocale()
public void setFocus()
public void activateWindow()
public void clearFocus()
public void setFocusProxy(QWidget arg0)
public QWidget focusProxy()
public void setContextMenuPolicy(@Cast(value="Qt::ContextMenuPolicy") int policy)
public void grabMouse()
public void releaseMouse()
public void grabKeyboard()
public void releaseKeyboard()
public void releaseShortcut(int id)
public void setShortcutEnabled(int id)
public void setShortcutAutoRepeat(int id)
public static QWidget mouseGrabber()
public static QWidget keyboardGrabber()
public void update()
public void repaint()
public void update(int x, int y, int w, int h)
public void repaint(int x, int y, int w, int h)
public void show()
public void hide()
public void showMinimized()
public void showMaximized()
public void showFullScreen()
public void showNormal()
public void raise()
public void lower()
public void stackUnder(QWidget arg0)
public void move(int x, int y)
public void resize(int w, int h)
public void setGeometry(int x, int y, int w, int h)
@ByVal public QByteArray saveGeometry()
@Cast(value="bool") public boolean restoreGeometry(@Const @ByRef QByteArray geometry)
public void adjustSize()
@ByVal public QSizePolicy sizePolicy()
public void setSizePolicy(@ByVal QSizePolicy arg0)
public void setSizePolicy(@Cast(value="QSizePolicy::Policy") int horizontal, @Cast(value="QSizePolicy::Policy") int vertical)
public void setContentsMargins(int left, int top, int right, int bottom)
public void getContentsMargins(IntPointer left, IntPointer top, IntPointer right, IntPointer bottom)
public void getContentsMargins(IntBuffer left, IntBuffer top, IntBuffer right, IntBuffer bottom)
public void getContentsMargins(int[] left, int[] top, int[] right, int[] bottom)
public QLayout layout()
public void setLayout(QLayout arg0)
public void updateGeometry()
public void setParent(QWidget parent)
public void scroll(int dx, int dy)
public QWidget focusWidget()
public QWidget nextInFocusChain()
public QWidget previousInFocusChain()
public void addAction(QAction action)
public void removeAction(QAction action)
public QWidget parentWidget()
public void setWindowFlag(@Cast(value="Qt::WindowType") int arg0, @Cast(value="bool") boolean on)
public QWidget childAt(int x, int y)
public void setAttribute(@Cast(value="Qt::WidgetAttribute") int arg0, @Cast(value="bool") boolean on)
@Cast(value="bool") public boolean testAttribute(@Cast(value="Qt::WidgetAttribute") int arg0)
public void ensurePolished()
@Virtual protected void closeEvent(QCloseEvent event)
Copyright © 2020. All rights reserved.