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

io.qt.gui.QRegularExpressionValidator Maven / Gradle / Ivy

There is a newer version: 6.8.2
Show newest version
package io.qt.gui;


/**
 * 

Used to check a string against a regular expression

*

Java wrapper for Qt class QRegularExpressionValidator

*/ public class QRegularExpressionValidator extends io.qt.gui.QValidator { /** * This variable stores the meta-object for the class. */ public static final io.qt.core.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QRegularExpressionValidator.class); /** *

See QRegularExpressionValidator::regularExpressionChanged(QRegularExpression)

*/ @io.qt.QtPropertyNotify(name="regularExpression") public final Signal1 regularExpressionChanged = new Signal1<>(); /** *

Overloaded constructor for {@link #QRegularExpressionValidator(io.qt.core.QObject)} * with parent = null.

*/ public QRegularExpressionValidator() { this((io.qt.core.QObject)null); } /** *

See QRegularExpressionValidator::QRegularExpressionValidator(QObject*)

*/ public QRegularExpressionValidator(io.qt.core.QObject parent){ super((QPrivateConstructor)null); initialize_native(this, parent); } private native static void initialize_native(QRegularExpressionValidator instance, io.qt.core.QObject parent); /** *

Overloaded constructor for {@link #QRegularExpressionValidator(io.qt.core.QRegularExpression, io.qt.core.QObject)} * with parent = null.

*/ public QRegularExpressionValidator(io.qt.core.QRegularExpression re) { this(re, (io.qt.core.QObject)null); } /** *

See QRegularExpressionValidator::QRegularExpressionValidator(QRegularExpression,QObject*)

*/ public QRegularExpressionValidator(io.qt.core.QRegularExpression re, io.qt.core.QObject parent){ super((QPrivateConstructor)null); initialize_native(this, re, parent); } private native static void initialize_native(QRegularExpressionValidator instance, io.qt.core.QRegularExpression re, io.qt.core.QObject parent); /** *

See QRegularExpressionValidator::regularExpression()const

*/ @io.qt.QtPropertyReader(name="regularExpression") @io.qt.QtUninvokable public final io.qt.core.QRegularExpression regularExpression(){ return regularExpression_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QRegularExpression regularExpression_native_constfct(long __this__nativeId); /** *

See QRegularExpressionValidator::setRegularExpression(QRegularExpression)

*/ @io.qt.QtPropertyWriter(name="regularExpression") public final void setRegularExpression(io.qt.core.QRegularExpression re){ setRegularExpression_native_cref_QRegularExpression(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(re)); } private native void setRegularExpression_native_cref_QRegularExpression(long __this__nativeId, long re); /** *

See QValidator::validate(QString&,int&)const

*/ @io.qt.QtUninvokable public io.qt.gui.QValidator.State validate(io.qt.gui.QValidator.QValidationData input){ return io.qt.gui.QValidator.State.resolve(validate_native_ref_QString_ref_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), input)); } @io.qt.QtUninvokable private native int validate_native_ref_QString_ref_int_constfct(long __this__nativeId, io.qt.gui.QValidator.QValidationData input); /** * Constructor for internal use only. * @param p expected to be null. */ @io.qt.NativeAccess protected QRegularExpressionValidator(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. */ @io.qt.NativeAccess protected QRegularExpressionValidator(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @io.qt.QtUninvokable private static native void initialize_native(QRegularExpressionValidator instance, QDeclarativeConstructor constructor); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy