All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.widgets.QStyleOptionFocusRect Maven / Gradle / Ivy

The newest version!
package io.qt.widgets;


/**
 * 

Used to describe the parameters for drawing a focus rectangle with QStyle

*

Java wrapper for Qt class QStyleOptionFocusRect

*/ public class QStyleOptionFocusRect extends io.qt.widgets.QStyleOption implements java.lang.Cloneable { /** *

See QStyleOptionFocusRect::QStyleOptionFocusRect()

*/ public QStyleOptionFocusRect(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QStyleOptionFocusRect instance); /** *

See QStyleOptionFocusRect::QStyleOptionFocusRect(QStyleOptionFocusRect)

*/ public QStyleOptionFocusRect(io.qt.widgets.QStyleOptionFocusRect other){ super((QPrivateConstructor)null); initialize_native(this, other); } private native static void initialize_native(QStyleOptionFocusRect instance, io.qt.widgets.QStyleOptionFocusRect other); @io.qt.QtUninvokable public final void set(io.qt.widgets.QStyleOptionFocusRect arg__1){ set_native_cref_QStyleOptionFocusRect(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @io.qt.QtUninvokable private native void set_native_cref_QStyleOptionFocusRect(long __this__nativeId, long arg__1); /** *

The background color on which the focus rectangle is being drawn

*

See QStyleOptionFocusRect::backgroundColor

*/ @io.qt.QtUninvokable public final void setBackgroundColor(io.qt.gui.QColor backgroundColor){ setBackgroundColor_native_cref_QColor(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(backgroundColor)); } @io.qt.QtUninvokable private native void setBackgroundColor_native_cref_QColor(long __this__nativeId, long backgroundColor); /** *

The background color on which the focus rectangle is being drawn

*

See QStyleOptionFocusRect::backgroundColor

*/ @io.qt.QtUninvokable public final io.qt.gui.QColor backgroundColor(){ return backgroundColor_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.gui.QColor backgroundColor_native(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. */ @io.qt.NativeAccess protected QStyleOptionFocusRect(QPrivateConstructor p) { super(p); } @Override public QStyleOptionFocusRect clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native QStyleOptionFocusRect clone_native(long __this_nativeId); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy