Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
io.qt.widgets.QFileDialog Maven / Gradle / Ivy
Go to download
QtJambi base module containing QtCore, QtGui and QtWidgets.
package io.qt.widgets;
import io.qt.*;
/**
* Dialog that allows users to select files or directories
* Java wrapper for Qt class QFileDialog
*/
public class QFileDialog extends io.qt.widgets.QDialog
{
@QtPropertyMember(enabled=false)
private Object __rcIconProvider = null;
@QtPropertyMember(enabled=false)
private Object __rcItemDelegate = null;
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QFileDialog.class);
/**
* Java wrapper for Qt enum QFileDialog::AcceptMode
*/
public enum AcceptMode implements QtEnumerator {
/**
* Representing QFileDialog:: AcceptOpen
*/
AcceptOpen(0),
/**
* Representing QFileDialog:: AcceptSave
*/
AcceptSave(1);
static {
QtJambi_LibraryUtilities.initialize();
}
private AcceptMode(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull AcceptMode resolve(int value) {
switch (value) {
case 0: return AcceptOpen;
case 1: return AcceptSave;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QFileDialog::DialogLabel
*/
@QtUnlistedEnum
public enum DialogLabel implements QtEnumerator {
/**
* Representing QFileDialog:: LookIn
*/
LookIn(0),
/**
* Representing QFileDialog:: FileName
*/
FileName(1),
/**
* Representing QFileDialog:: FileType
*/
FileType(2),
/**
* Representing QFileDialog:: Accept
*/
Accept(3),
/**
* Representing QFileDialog:: Reject
*/
Reject(4);
static {
QtJambi_LibraryUtilities.initialize();
}
private DialogLabel(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull DialogLabel resolve(int value) {
switch (value) {
case 0: return LookIn;
case 1: return FileName;
case 2: return FileType;
case 3: return Accept;
case 4: return Reject;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QFileDialog::FileMode
*/
public enum FileMode implements QtEnumerator {
/**
* Representing QFileDialog:: AnyFile
*/
AnyFile(0),
/**
* Representing QFileDialog:: ExistingFile
*/
ExistingFile(1),
/**
* Representing QFileDialog:: Directory
*/
Directory(2),
/**
* Representing QFileDialog:: ExistingFiles
*/
ExistingFiles(3);
static {
QtJambi_LibraryUtilities.initialize();
}
private FileMode(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull FileMode resolve(int value) {
switch (value) {
case 0: return AnyFile;
case 1: return ExistingFile;
case 2: return Directory;
case 3: return ExistingFiles;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QFileDialog::Option
*
* @see Options
*/
public enum Option implements QtFlagEnumerator {
/**
* Representing QFileDialog:: ShowDirsOnly
*/
ShowDirsOnly(1),
/**
* Representing QFileDialog:: DontResolveSymlinks
*/
DontResolveSymlinks(2),
/**
* Representing QFileDialog:: DontConfirmOverwrite
*/
DontConfirmOverwrite(4),
/**
* Representing QFileDialog:: DontUseNativeDialog
*/
DontUseNativeDialog(8),
/**
* Representing QFileDialog:: ReadOnly
*/
ReadOnly(16),
/**
* Representing QFileDialog:: HideNameFilterDetails
*/
HideNameFilterDetails(32),
/**
* Representing QFileDialog:: DontUseCustomDirectoryIcons
*/
DontUseCustomDirectoryIcons(64);
static {
QtJambi_LibraryUtilities.initialize();
}
private Option(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Create a QFlags of the enum entry.
* @return QFlags
*/
public @NonNull Options asFlags() {
return new Options(value);
}
/**
* Combines this entry with other enum entry.
* @param e enum entry
* @return new flag
*/
public @NonNull Options combined(@NonNull Option e) {
return asFlags().setFlag(e, true);
}
/**
* Excludes other enum entry from a flag of this entry.
* @param e enum entry
* @return new flag
*/
public @NonNull Options cleared(@NonNull Option e) {
return asFlags().setFlag(e, false);
}
/**
* Creates a new {@link Options} from the entries.
* @param values entries
* @return new flag
*/
public static @NonNull Options flags(@Nullable Option @NonNull... values) {
return new Options(values);
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull Option resolve(int value) {
switch (value) {
case 1: return ShowDirsOnly;
case 2: return DontResolveSymlinks;
case 4: return DontConfirmOverwrite;
case 8: return DontUseNativeDialog;
case 16: return ReadOnly;
case 32: return HideNameFilterDetails;
case 64: return DontUseCustomDirectoryIcons;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* {@link QFlags} type for enum {@link Option}
*/
public static final class Options extends QFlags implements Comparable {
private static final long serialVersionUID = 0x4a6bb5914e7eca36L;
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* Creates a new Options where the flags in args
are set.
* @param args enum entries
*/
public Options(@Nullable Option @NonNull... args){
super(args);
}
/**
* Creates a new Options with given value
.
* @param value
*/
public Options(int value) {
super(value);
}
/**
* Combines this flags with enum entry.
* @param e enum entry
* @return new Options
*/
@Override
public final @NonNull Options combined(@StrictNonNull Option e){
return new Options(value() | e.value());
}
/**
* Sets the flag e
* @param e enum entry
* @return this
*/
public final @NonNull Options setFlag(@Nullable Option e){
return setFlag(e, true);
}
/**
* Sets or clears the flag flag
* @param e enum entry
* @param on set (true) or clear (false)
* @return this
*/
public final @NonNull Options setFlag(@Nullable Option e, boolean on){
if (on) {
setValue(value() | e.value());
}else {
setValue(value() & ~e.value());
}
return this;
}
/**
* Returns an array of flag objects represented by this Options.
* @return array of enum entries
*/
@Override
public final @NonNull Option @NonNull[] flags(){
return super.flags(Option.values());
}
/**
* {@inheritDoc}
*/
@Override
public final @NonNull Options clone(){
return new Options(value());
}
/**
* {@inheritDoc}
*/
@Override
public final int compareTo(@StrictNonNull Options other){
return Integer.compare(value(), other.value());
}
}
/**
* Java wrapper for Qt enum QFileDialog::ViewMode
*/
public enum ViewMode implements QtEnumerator {
/**
* Representing QFileDialog:: Detail
*/
Detail(0),
/**
* Representing QFileDialog:: List
*/
List(1);
static {
QtJambi_LibraryUtilities.initialize();
}
private ViewMode(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull ViewMode resolve(int value) {
switch (value) {
case 0: return Detail;
case 1: return List;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* See QFileDialog:: currentChanged(QString)
*/
public final @NonNull Signal1 currentChanged = new Signal1<>();
/**
* See QFileDialog:: currentUrlChanged(QUrl)
*/
public final @NonNull Signal1 currentUrlChanged = new Signal1<>();
/**
* See QFileDialog:: directoryEntered(QString)
*/
public final @NonNull Signal1 directoryEntered = new Signal1<>();
/**
* See QFileDialog:: directoryUrlEntered(QUrl)
*/
public final @NonNull Signal1 directoryUrlEntered = new Signal1<>();
/**
* See QFileDialog:: fileSelected(QString)
*/
public final @NonNull Signal1 fileSelected = new Signal1<>();
/**
* See QFileDialog:: filesSelected(QStringList)
*/
public final @NonNull Signal1> filesSelected = new Signal1<>();
/**
* See QFileDialog:: filterSelected(QString)
*/
public final @NonNull Signal1 filterSelected = new Signal1<>();
/**
* See QFileDialog:: urlSelected(QUrl)
*/
public final @NonNull Signal1 urlSelected = new Signal1<>();
/**
* See QFileDialog:: urlsSelected(QList<QUrl>)
*/
public final @NonNull Signal1> urlsSelected = new Signal1<>();
/**
* See QFileDialog:: QFileDialog(QWidget*, QString, QString, QString)
*/
public QFileDialog(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, java.lang.@NonNull String directory, java.lang.@NonNull String filter){
super((QPrivateConstructor)null);
initialize_native(this, parent, caption, directory, filter);
}
private native static void initialize_native(QFileDialog instance, io.qt.widgets.QWidget parent, java.lang.String caption, java.lang.String directory, java.lang.String filter);
/**
* See QFileDialog:: QFileDialog(QWidget*, Qt::WindowFlags)
*/
public QFileDialog(io.qt.widgets.@Nullable QWidget parent, io.qt.core.Qt.@NonNull WindowFlags f){
super((QPrivateConstructor)null);
initialize_native(this, parent, f);
}
private native static void initialize_native(QFileDialog instance, io.qt.widgets.QWidget parent, io.qt.core.Qt.WindowFlags f);
/**
* See QFileDialog:: acceptMode()const
*/
@QtPropertyReader(name="acceptMode")
@QtUninvokable
public final io.qt.widgets.QFileDialog.@NonNull AcceptMode acceptMode(){
return io.qt.widgets.QFileDialog.AcceptMode.resolve(acceptMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int acceptMode_native_constfct(long __this__nativeId);
/**
* See QFileDialog:: defaultSuffix()const
*/
@QtPropertyReader(name="defaultSuffix")
@QtUninvokable
public final java.lang.@NonNull String defaultSuffix(){
return defaultSuffix_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String defaultSuffix_native_constfct(long __this__nativeId);
/**
* See QFileDialog:: directory()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QDir directory(){
return directory_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QDir directory_native_constfct(long __this__nativeId);
/**
* See QFileDialog:: directoryUrl()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QUrl directoryUrl(){
return directoryUrl_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QUrl directoryUrl_native_constfct(long __this__nativeId);
/**
* See QFileDialog:: fileMode()const
*/
@QtPropertyReader(name="fileMode")
@QtUninvokable
public final io.qt.widgets.QFileDialog.@NonNull FileMode fileMode(){
return io.qt.widgets.QFileDialog.FileMode.resolve(fileMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int fileMode_native_constfct(long __this__nativeId);
/**
* See QFileDialog:: filter()const
*/
@QtUninvokable
public final io.qt.core.QDir.@NonNull Filters filter(){
return new io.qt.core.QDir.Filters(filter_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int filter_native_constfct(long __this__nativeId);
/**
* See QFileDialog:: history()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QStringList history(){
return history_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QStringList history_native_constfct(long __this__nativeId);
/**
* See QFileDialog:: iconProvider()const
*/
@QtUninvokable
public final io.qt.gui.@Nullable QAbstractFileIconProvider iconProvider(){
return iconProvider_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QAbstractFileIconProvider iconProvider_native_constfct(long __this__nativeId);
/**
* See QFileDialog:: itemDelegate()const
*/
@QtUninvokable
public final io.qt.widgets.@Nullable QAbstractItemDelegate itemDelegate(){
return itemDelegate_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.widgets.QAbstractItemDelegate itemDelegate_native_constfct(long __this__nativeId);
/**
* See QFileDialog:: labelText(QFileDialog::DialogLabel)const
*/
@QtUninvokable
public final java.lang.@NonNull String labelText(io.qt.widgets.QFileDialog.@NonNull DialogLabel label){
return labelText_native_QFileDialog_DialogLabel_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), label.value());
}
@QtUninvokable
private native java.lang.String labelText_native_QFileDialog_DialogLabel_constfct(long __this__nativeId, int label);
/**
* See QFileDialog:: mimeTypeFilters()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QStringList mimeTypeFilters(){
return mimeTypeFilters_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QStringList mimeTypeFilters_native_constfct(long __this__nativeId);
/**
* See QFileDialog:: nameFilters()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QStringList nameFilters(){
return nameFilters_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QStringList nameFilters_native_constfct(long __this__nativeId);
/**
* See QFileDialog:: open(QObject*, const char*)
*/
@QtUninvokable
public final void open(io.qt.core.@Nullable QObject receiver, java.lang.@Nullable String member){
if(!member.startsWith("1") || !member.startsWith("2")) member = '1'+member;
open_native_QObject_ptr_const_char_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(receiver), member);
}
@QtUninvokable
private native void open_native_QObject_ptr_const_char_ptr(long __this__nativeId, long receiver, java.lang.String member);
/**
* See QFileDialog:: options()const
*/
@QtPropertyReader(name="options")
@QtUninvokable
public final io.qt.widgets.QFileDialog.@NonNull Options options(){
return new io.qt.widgets.QFileDialog.Options(options_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int options_native_constfct(long __this__nativeId);
/**
* See QFileDialog:: proxyModel()const
*/
@QtUninvokable
public final io.qt.core.@Nullable QAbstractProxyModel proxyModel(){
return proxyModel_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QAbstractProxyModel proxyModel_native_constfct(long __this__nativeId);
/**
* See QFileDialog:: restoreState(QByteArray)
*/
@QtUninvokable
public final boolean restoreState(io.qt.core.@NonNull QByteArray state){
return restoreState_native_cref_QByteArray(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(state));
}
@QtUninvokable
private native boolean restoreState_native_cref_QByteArray(long __this__nativeId, long state);
/**
* See QFileDialog:: saveState()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray saveState(){
return saveState_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QByteArray saveState_native_constfct(long __this__nativeId);
/**
* See QFileDialog:: selectFile(QString)
*/
@QtUninvokable
public final void selectFile(java.lang.@NonNull String filename){
selectFile_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), filename);
}
@QtUninvokable
private native void selectFile_native_cref_QString(long __this__nativeId, java.lang.String filename);
/**
* See QFileDialog:: selectMimeTypeFilter(QString)
*/
@QtUninvokable
public final void selectMimeTypeFilter(java.lang.@NonNull String filter){
selectMimeTypeFilter_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), filter);
}
@QtUninvokable
private native void selectMimeTypeFilter_native_cref_QString(long __this__nativeId, java.lang.String filter);
/**
* See QFileDialog:: selectNameFilter(QString)
*/
@QtUninvokable
public final void selectNameFilter(java.lang.@NonNull String filter){
selectNameFilter_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), filter);
}
@QtUninvokable
private native void selectNameFilter_native_cref_QString(long __this__nativeId, java.lang.String filter);
/**
* See QFileDialog:: selectUrl(QUrl)
*/
@QtUninvokable
public final void selectUrl(io.qt.core.@NonNull QUrl url){
selectUrl_native_cref_QUrl(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(url));
}
@QtUninvokable
private native void selectUrl_native_cref_QUrl(long __this__nativeId, long url);
/**
* See QFileDialog:: selectedFiles()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QStringList selectedFiles(){
return selectedFiles_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QStringList selectedFiles_native_constfct(long __this__nativeId);
/**
* See QFileDialog:: selectedMimeTypeFilter()const
*/
@QtUninvokable
public final java.lang.@NonNull String selectedMimeTypeFilter(){
return selectedMimeTypeFilter_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String selectedMimeTypeFilter_native_constfct(long __this__nativeId);
/**
* See QFileDialog:: selectedNameFilter()const
*/
@QtUninvokable
public final java.lang.@NonNull String selectedNameFilter(){
return selectedNameFilter_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String selectedNameFilter_native_constfct(long __this__nativeId);
/**
* See QFileDialog:: selectedUrls()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QList selectedUrls(){
return selectedUrls_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QList selectedUrls_native_constfct(long __this__nativeId);
/**
* See QFileDialog:: setAcceptMode(QFileDialog::AcceptMode)
*/
@QtPropertyWriter(name="acceptMode")
@QtUninvokable
public final void setAcceptMode(io.qt.widgets.QFileDialog.@NonNull AcceptMode mode){
setAcceptMode_native_QFileDialog_AcceptMode(QtJambi_LibraryUtilities.internal.nativeId(this), mode.value());
}
@QtUninvokable
private native void setAcceptMode_native_QFileDialog_AcceptMode(long __this__nativeId, int mode);
/**
* See QFileDialog:: setDefaultSuffix(QString)
*/
@QtPropertyWriter(name="defaultSuffix")
@QtUninvokable
public final void setDefaultSuffix(java.lang.@NonNull String suffix){
setDefaultSuffix_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), suffix);
}
@QtUninvokable
private native void setDefaultSuffix_native_cref_QString(long __this__nativeId, java.lang.String suffix);
/**
* See QFileDialog:: setDirectory(QDir)
*/
@QtUninvokable
public final void setDirectory(io.qt.core.@NonNull QDir directory){
setDirectory_native_cref_QDir(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(directory));
}
@QtUninvokable
private native void setDirectory_native_cref_QDir(long __this__nativeId, long directory);
/**
* See QFileDialog:: setDirectory(QString)
*/
@QtUninvokable
public final void setDirectory(java.lang.@NonNull String directory){
setDirectory_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), directory);
}
@QtUninvokable
private native void setDirectory_native_cref_QString(long __this__nativeId, java.lang.String directory);
/**
* See QFileDialog:: setDirectoryUrl(QUrl)
*/
@QtUninvokable
public final void setDirectoryUrl(io.qt.core.@NonNull QUrl directory){
setDirectoryUrl_native_cref_QUrl(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(directory));
}
@QtUninvokable
private native void setDirectoryUrl_native_cref_QUrl(long __this__nativeId, long directory);
/**
* See QFileDialog:: setFileMode(QFileDialog::FileMode)
*/
@QtPropertyWriter(name="fileMode")
@QtUninvokable
public final void setFileMode(io.qt.widgets.QFileDialog.@NonNull FileMode mode){
setFileMode_native_QFileDialog_FileMode(QtJambi_LibraryUtilities.internal.nativeId(this), mode.value());
}
@QtUninvokable
private native void setFileMode_native_QFileDialog_FileMode(long __this__nativeId, int mode);
/**
* See QFileDialog:: setFilter(QDir::Filters)
*/
@QtUninvokable
public final void setFilter(io.qt.core.QDir.@NonNull Filters filters){
setFilter_native_QDir_Filters(QtJambi_LibraryUtilities.internal.nativeId(this), filters.value());
}
@QtUninvokable
private native void setFilter_native_QDir_Filters(long __this__nativeId, int filters);
/**
* See QFileDialog:: setHistory(QStringList)
*/
@QtUninvokable
public final void setHistory(java.util.@NonNull Collection paths){
setHistory_native_cref_QStringList(QtJambi_LibraryUtilities.internal.nativeId(this), paths);
}
@QtUninvokable
private native void setHistory_native_cref_QStringList(long __this__nativeId, java.util.Collection paths);
/**
* See QFileDialog:: setIconProvider(QAbstractFileIconProvider*)
*/
@QtUninvokable
public final void setIconProvider(io.qt.gui.@Nullable QAbstractFileIconProvider provider){
setIconProvider_native_QAbstractFileIconProvider_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(provider));
__rcIconProvider = provider;
}
@QtUninvokable
private native void setIconProvider_native_QAbstractFileIconProvider_ptr(long __this__nativeId, long provider);
/**
* See QFileDialog:: setItemDelegate(QAbstractItemDelegate*)
*/
@QtUninvokable
public final void setItemDelegate(io.qt.widgets.@Nullable QAbstractItemDelegate delegate){
setItemDelegate_native_QAbstractItemDelegate_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(delegate));
__rcItemDelegate = delegate;
}
@QtUninvokable
private native void setItemDelegate_native_QAbstractItemDelegate_ptr(long __this__nativeId, long delegate);
/**
* See QFileDialog:: setLabelText(QFileDialog::DialogLabel, QString)
*/
@QtUninvokable
public final void setLabelText(io.qt.widgets.QFileDialog.@NonNull DialogLabel label, java.lang.@NonNull String text){
setLabelText_native_QFileDialog_DialogLabel_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), label.value(), text);
}
@QtUninvokable
private native void setLabelText_native_QFileDialog_DialogLabel_cref_QString(long __this__nativeId, int label, java.lang.String text);
/**
* See QFileDialog:: setMimeTypeFilters(QStringList)
*/
@QtUninvokable
public final void setMimeTypeFilters(java.util.@NonNull Collection filters){
setMimeTypeFilters_native_cref_QStringList(QtJambi_LibraryUtilities.internal.nativeId(this), filters);
}
@QtUninvokable
private native void setMimeTypeFilters_native_cref_QStringList(long __this__nativeId, java.util.Collection filters);
/**
* See QFileDialog:: setNameFilter(QString)
*/
@QtUninvokable
public final void setNameFilter(java.lang.@NonNull String filter){
setNameFilter_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), filter);
}
@QtUninvokable
private native void setNameFilter_native_cref_QString(long __this__nativeId, java.lang.String filter);
/**
* See QFileDialog:: setNameFilters(QStringList)
*/
@QtUninvokable
public final void setNameFilters(java.util.@NonNull Collection filters){
setNameFilters_native_cref_QStringList(QtJambi_LibraryUtilities.internal.nativeId(this), filters);
}
@QtUninvokable
private native void setNameFilters_native_cref_QStringList(long __this__nativeId, java.util.Collection filters);
/**
* See QFileDialog:: setOption(QFileDialog::Option, bool)
*/
@QtUninvokable
public final void setOption(io.qt.widgets.QFileDialog.@NonNull Option option, boolean on){
setOption_native_QFileDialog_Option_bool(QtJambi_LibraryUtilities.internal.nativeId(this), option.value(), on);
}
@QtUninvokable
private native void setOption_native_QFileDialog_Option_bool(long __this__nativeId, int option, boolean on);
/**
* See QFileDialog:: setOptions(QFileDialog::Options)
*/
@QtPropertyWriter(name="options")
@QtUninvokable
public final void setOptions(io.qt.widgets.QFileDialog.@NonNull Options options){
setOptions_native_QFileDialog_Options(QtJambi_LibraryUtilities.internal.nativeId(this), options.value());
}
@QtUninvokable
private native void setOptions_native_QFileDialog_Options(long __this__nativeId, int options);
/**
* See QFileDialog:: setProxyModel(QAbstractProxyModel*)
*/
@QtUninvokable
public final void setProxyModel(io.qt.core.@Nullable QAbstractProxyModel model){
setProxyModel_native_QAbstractProxyModel_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(model));
}
@QtUninvokable
private native void setProxyModel_native_QAbstractProxyModel_ptr(long __this__nativeId, long model);
/**
* See QFileDialog:: setSidebarUrls(QList<QUrl>)
*/
@QtUninvokable
public final void setSidebarUrls(java.util.@NonNull Collection extends io.qt.core.@NonNull QUrl> urls){
setSidebarUrls_native_cref_QList(QtJambi_LibraryUtilities.internal.nativeId(this), urls);
}
@QtUninvokable
private native void setSidebarUrls_native_cref_QList(long __this__nativeId, java.util.Collection extends io.qt.core.QUrl> urls);
/**
* See QFileDialog:: setSupportedSchemes(QStringList)
*/
@QtPropertyWriter(name="supportedSchemes")
@QtUninvokable
public final void setSupportedSchemes(java.util.@NonNull Collection schemes){
setSupportedSchemes_native_cref_QStringList(QtJambi_LibraryUtilities.internal.nativeId(this), schemes);
}
@QtUninvokable
private native void setSupportedSchemes_native_cref_QStringList(long __this__nativeId, java.util.Collection schemes);
/**
* See QFileDialog:: setViewMode(QFileDialog::ViewMode)
*/
@QtPropertyWriter(name="viewMode")
@QtUninvokable
public final void setViewMode(io.qt.widgets.QFileDialog.@NonNull ViewMode mode){
setViewMode_native_QFileDialog_ViewMode(QtJambi_LibraryUtilities.internal.nativeId(this), mode.value());
}
@QtUninvokable
private native void setViewMode_native_QFileDialog_ViewMode(long __this__nativeId, int mode);
/**
* See QFileDialog:: sidebarUrls()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QList sidebarUrls(){
return sidebarUrls_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QList sidebarUrls_native_constfct(long __this__nativeId);
/**
* See QFileDialog:: supportedSchemes()const
*/
@QtPropertyReader(name="supportedSchemes")
@QtUninvokable
public final io.qt.core.@NonNull QStringList supportedSchemes(){
return supportedSchemes_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QStringList supportedSchemes_native_constfct(long __this__nativeId);
/**
* See QFileDialog:: testOption(QFileDialog::Option)const
*/
@QtUninvokable
public final boolean testOption(io.qt.widgets.QFileDialog.@NonNull Option option){
return testOption_native_QFileDialog_Option_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), option.value());
}
@QtUninvokable
private native boolean testOption_native_QFileDialog_Option_constfct(long __this__nativeId, int option);
/**
* See QFileDialog:: viewMode()const
*/
@QtPropertyReader(name="viewMode")
@QtUninvokable
public final io.qt.widgets.QFileDialog.@NonNull ViewMode viewMode(){
return io.qt.widgets.QFileDialog.ViewMode.resolve(viewMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int viewMode_native_constfct(long __this__nativeId);
/**
* See QDialog:: accept()
*/
@QtUninvokable
@Override
public void accept(){
accept_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void accept_native(long __this__nativeId);
/**
* See QWidget:: changeEvent(QEvent*)
*/
@QtUninvokable
@Override
protected void changeEvent(io.qt.core.@Nullable QEvent e){
changeEvent_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e));
}
@QtUninvokable
private native void changeEvent_native_QEvent_ptr(long __this__nativeId, long e);
/**
* See QDialog:: done(int)
*/
@QtUninvokable
@Override
public void done(int result){
done_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), result);
}
@QtUninvokable
private native void done_native_int(long __this__nativeId, int result);
/**
* See QWidget:: setVisible(bool)
*/
@QtUninvokable
@Override
public void setVisible(boolean visible){
setVisible_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), visible);
}
@QtUninvokable
private native void setVisible_native_bool(long __this__nativeId, boolean visible);
/**
* See QFileDialog:: getExistingDirectory(QWidget*, QString, QString, QFileDialog::Options)
*/
public static java.lang.@NonNull String getExistingDirectory(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, java.lang.@NonNull String dir, io.qt.widgets.QFileDialog.@NonNull Options options){
return getExistingDirectory_native_QWidget_ptr_cref_QString_cref_QString_QFileDialog_Options(QtJambi_LibraryUtilities.internal.checkedNativeId(parent), caption, dir, options.value());
}
private native static java.lang.String getExistingDirectory_native_QWidget_ptr_cref_QString_cref_QString_QFileDialog_Options(long parent, java.lang.String caption, java.lang.String dir, int options);
/**
* See QFileDialog:: getExistingDirectoryUrl(QWidget*, QString, QUrl, QFileDialog::Options, QStringList)
*/
public static io.qt.core.@NonNull QUrl getExistingDirectoryUrl(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, io.qt.core.@NonNull QUrl dir, io.qt.widgets.QFileDialog.@NonNull Options options, java.util.@NonNull Collection supportedSchemes){
return getExistingDirectoryUrl_native_QWidget_ptr_cref_QString_cref_QUrl_QFileDialog_Options_cref_QStringList(QtJambi_LibraryUtilities.internal.checkedNativeId(parent), caption, QtJambi_LibraryUtilities.internal.checkedNativeId(dir), options.value(), supportedSchemes);
}
private native static io.qt.core.QUrl getExistingDirectoryUrl_native_QWidget_ptr_cref_QString_cref_QUrl_QFileDialog_Options_cref_QStringList(long parent, java.lang.String caption, long dir, int options, java.util.Collection supportedSchemes);
/**
* See QFileDialog:: getOpenFileContent(const QString&, const std::function<void(const QString&, const QByteArray&)>&, QWidget*)
*/
public static void getOpenFileContent(java.lang.@NonNull String nameFilter, java.util.function.BiConsumer<@NonNull String,io.qt.core.@NonNull QByteArray> fileContentsReady, io.qt.widgets.@Nullable QWidget parent){
getOpenFileContent_native_cref_QString_cref_QFileDialog_FileContentHandler_QWidget_ptr(nameFilter, fileContentsReady, QtJambi_LibraryUtilities.internal.checkedNativeId(parent));
}
private native static void getOpenFileContent_native_cref_QString_cref_QFileDialog_FileContentHandler_QWidget_ptr(java.lang.String nameFilter, java.util.function.BiConsumer fileContentsReady, long parent);
/**
* See QFileDialog:: getOpenFileName(QWidget*, QString, QString, QString, QString*, QFileDialog::Options)
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getOpenFileName(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, java.lang.@NonNull String dir, java.lang.@NonNull String filter, io.qt.widgets.QFileDialog.@NonNull Options options){
return getOpenFileName_native_QWidget_ptr_cref_QString_cref_QString_cref_QString_QString_ptr_QFileDialog_Options(QtJambi_LibraryUtilities.internal.checkedNativeId(parent), caption, dir, filter, options.value());
}
private native static io.qt.widgets.QFileDialog.@NonNull Result getOpenFileName_native_QWidget_ptr_cref_QString_cref_QString_cref_QString_QString_ptr_QFileDialog_Options(long parent, java.lang.String caption, java.lang.String dir, java.lang.String filter, int options);
/**
* See QFileDialog:: getOpenFileNames(QWidget*, QString, QString, QString, QString*, QFileDialog::Options)
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getOpenFileNames(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, java.lang.@NonNull String dir, java.lang.@NonNull String filter, io.qt.widgets.QFileDialog.@NonNull Options options){
return getOpenFileNames_native_QWidget_ptr_cref_QString_cref_QString_cref_QString_QString_ptr_QFileDialog_Options(QtJambi_LibraryUtilities.internal.checkedNativeId(parent), caption, dir, filter, options.value());
}
private native static io.qt.widgets.QFileDialog.@NonNull Result getOpenFileNames_native_QWidget_ptr_cref_QString_cref_QString_cref_QString_QString_ptr_QFileDialog_Options(long parent, java.lang.String caption, java.lang.String dir, java.lang.String filter, int options);
/**
* See QFileDialog:: getOpenFileUrl(QWidget*, QString, QUrl, QString, QString*, QFileDialog::Options, QStringList)
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getOpenFileUrl(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, io.qt.core.@NonNull QUrl dir, java.lang.@NonNull String filter, io.qt.widgets.QFileDialog.@NonNull Options options, java.util.@NonNull Collection supportedSchemes){
return getOpenFileUrl_native_QWidget_ptr_cref_QString_cref_QUrl_cref_QString_QString_ptr_QFileDialog_Options_cref_QStringList(QtJambi_LibraryUtilities.internal.checkedNativeId(parent), caption, QtJambi_LibraryUtilities.internal.checkedNativeId(dir), filter, options.value(), supportedSchemes);
}
private native static io.qt.widgets.QFileDialog.@NonNull Result getOpenFileUrl_native_QWidget_ptr_cref_QString_cref_QUrl_cref_QString_QString_ptr_QFileDialog_Options_cref_QStringList(long parent, java.lang.String caption, long dir, java.lang.String filter, int options, java.util.Collection supportedSchemes);
/**
* See QFileDialog:: getOpenFileUrls(QWidget*, QString, QUrl, QString, QString*, QFileDialog::Options, QStringList)
*/
public static io.qt.widgets.QFileDialog.@NonNull Result> getOpenFileUrls(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, io.qt.core.@NonNull QUrl dir, java.lang.@NonNull String filter, io.qt.widgets.QFileDialog.@NonNull Options options, java.util.@NonNull Collection supportedSchemes){
return getOpenFileUrls_native_QWidget_ptr_cref_QString_cref_QUrl_cref_QString_QString_ptr_QFileDialog_Options_cref_QStringList(QtJambi_LibraryUtilities.internal.checkedNativeId(parent), caption, QtJambi_LibraryUtilities.internal.checkedNativeId(dir), filter, options.value(), supportedSchemes);
}
private native static io.qt.widgets.QFileDialog.@NonNull Result> getOpenFileUrls_native_QWidget_ptr_cref_QString_cref_QUrl_cref_QString_QString_ptr_QFileDialog_Options_cref_QStringList(long parent, java.lang.String caption, long dir, java.lang.String filter, int options, java.util.Collection supportedSchemes);
/**
* See QFileDialog:: getSaveFileName(QWidget*, QString, QString, QString, QString*, QFileDialog::Options)
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getSaveFileName(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, java.lang.@NonNull String dir, java.lang.@NonNull String filter, io.qt.widgets.QFileDialog.@NonNull Options options){
return getSaveFileName_native_QWidget_ptr_cref_QString_cref_QString_cref_QString_QString_ptr_QFileDialog_Options(QtJambi_LibraryUtilities.internal.checkedNativeId(parent), caption, dir, filter, options.value());
}
private native static io.qt.widgets.QFileDialog.@NonNull Result getSaveFileName_native_QWidget_ptr_cref_QString_cref_QString_cref_QString_QString_ptr_QFileDialog_Options(long parent, java.lang.String caption, java.lang.String dir, java.lang.String filter, int options);
/**
* See QFileDialog:: getSaveFileUrl(QWidget*, QString, QUrl, QString, QString*, QFileDialog::Options, QStringList)
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getSaveFileUrl(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, io.qt.core.@NonNull QUrl dir, java.lang.@NonNull String filter, io.qt.widgets.QFileDialog.@NonNull Options options, java.util.@NonNull Collection supportedSchemes){
return getSaveFileUrl_native_QWidget_ptr_cref_QString_cref_QUrl_cref_QString_QString_ptr_QFileDialog_Options_cref_QStringList(QtJambi_LibraryUtilities.internal.checkedNativeId(parent), caption, QtJambi_LibraryUtilities.internal.checkedNativeId(dir), filter, options.value(), supportedSchemes);
}
private native static io.qt.widgets.QFileDialog.@NonNull Result getSaveFileUrl_native_QWidget_ptr_cref_QString_cref_QUrl_cref_QString_QString_ptr_QFileDialog_Options_cref_QStringList(long parent, java.lang.String caption, long dir, java.lang.String filter, int options, java.util.Collection supportedSchemes);
/**
* See QFileDialog:: saveFileContent(QByteArray, QString, QWidget*)
*/
public static void saveFileContent(io.qt.core.@NonNull QByteArray fileContent, java.lang.@NonNull String fileNameHint, io.qt.widgets.@Nullable QWidget parent){
saveFileContent_native_cref_QByteArray_cref_QString_QWidget_ptr(QtJambi_LibraryUtilities.internal.checkedNativeId(fileContent), fileNameHint, QtJambi_LibraryUtilities.internal.checkedNativeId(parent));
}
private native static void saveFileContent_native_cref_QByteArray_cref_QString_QWidget_ptr(long fileContent, java.lang.String fileNameHint, long parent);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QFileDialog(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QFileDialog(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QFileDialog instance, QDeclarativeConstructor constructor);
/**
* Result class for QFileDialog::getOpenFileName(QWidget*,QString,QString,QString,QString*,Options)
,
* QFileDialog::getOpenFileNames(QWidget*,QString,QString,QString,QString*,Options)
,
* QFileDialog::getOpenFileUrl(QWidget*,QString,QUrl,QString,QString*,Options,QStringList)
,
* QFileDialog::getOpenFileUrls(QWidget*,QString,QUrl,QString,QString*,Options,QStringList)
,
* QFileDialog::getSaveFileName(QWidget*,QString,QString,QString,QString*,Options)
and
* QFileDialog::getSaveFileUrl(QWidget*,QString,QUrl,QString,QString*,Options,QStringList)
.
*/
public static final class Result {
@NativeAccess
private Result(R result, String selectedFilter) {
this.result = result;
this.selectedFilter = selectedFilter;
}
public final R result;
public final String selectedFilter;
}
/**
* See QFileDialog::getExistingDirectoryUrl(QWidget*,QString,QUrl,Options,QStringList)
*/
public static io.qt.core.@NonNull QUrl getExistingDirectoryUrl(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, io.qt.core.@NonNull QUrl dir, java.util.@NonNull Collection supportedSchemes, io.qt.widgets.QFileDialog.@NonNull Option @NonNull... options){
return getExistingDirectoryUrl(parent, caption, dir, new io.qt.widgets.QFileDialog.Options(options), supportedSchemes);
}
/**
* See QFileDialog::getOpenFileUrl(QWidget*,QString,QUrl,QString,QString*,Options,QStringList)
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getOpenFileUrl(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, io.qt.core.@NonNull QUrl dir, java.lang.@NonNull String filter, java.util.@NonNull Collection supportedSchemes, io.qt.widgets.QFileDialog.@NonNull Option @NonNull... options){
return getOpenFileUrl(parent, caption, dir, filter, io.qt.widgets.QFileDialog.Option.flags(options), supportedSchemes);
}
/**
* See QFileDialog::getOpenFileUrls(QWidget*,QString,QUrl,QString,QString*,Options,QStringList)
*/
public static io.qt.widgets.QFileDialog.@NonNull Result> getOpenFileUrls(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, io.qt.core.@NonNull QUrl dir, java.lang.@NonNull String filter, java.util.Collection supportedSchemes, io.qt.widgets.QFileDialog.@NonNull Option @NonNull... options){
return getOpenFileUrls(parent, caption, dir, filter, io.qt.widgets.QFileDialog.Option.flags(options), supportedSchemes);
}
/**
* See QFileDialog::getSaveFileUrl(QWidget*,QString,QUrl,QString,QString*,Options,QStringList)
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getSaveFileUrl(io.qt.widgets.@Nullable QWidget parent, java.lang.String caption, io.qt.core.@NonNull QUrl dir, java.lang.@NonNull String filter, java.util.@NonNull Collection supportedSchemes, io.qt.widgets.QFileDialog.@NonNull Option @NonNull... options){
return getSaveFileUrl(parent, caption, dir, filter, io.qt.widgets.QFileDialog.Option.flags(options), supportedSchemes);
}
/**
* See QFileDialog::open(QObject *, const char *)
*/
@QtUninvokable
public final void open(io.qt.core.QMetaObject.@StrictNonNull Slot1> selectedSlot) {
io.qt.core.QMetaMethod metaMethod = io.qt.core.QMetaMethod.fromMethod(java.util.Objects.requireNonNull(selectedSlot));
if(metaMethod==null || !metaMethod.isValid()) {
throw new IllegalArgumentException("Unable to detect slot for given handle.");
}
if(metaMethod.parameterCount()!=1) {
throw new IllegalArgumentException("Connected method does not take a single argument: "+metaMethod.cppMethodSignature());
}
if(fileMode()==FileMode.ExistingFiles) {
if(metaMethod.parameterType(0)!=io.qt.core.QMetaType.Type.QStringList.value()) {
throw new IllegalArgumentException("Method does not take a single String list argument: "+metaMethod.cppMethodSignature());
}
}else {
if(metaMethod.parameterType(0)!=io.qt.core.QMetaType.Type.QString.value()) {
throw new IllegalArgumentException("Method does not take a single String argument: "+metaMethod.cppMethodSignature());
}
}
io.qt.core.QObject object = QtJambi_LibraryUtilities.internal.lambdaContext(selectedSlot);
if(object==null) {
throw new IllegalArgumentException("Unable to determine QObject from given slot handle.");
}
open(object, metaMethod);
}
/**
* See QFileDialog::open(QObject *, const char *)
*/
@QtUninvokable
public final void open(io.qt.core.QMetaObject.@StrictNonNull Connectable1> selectedSignal) {
io.qt.core.QMetaMethod metaMethod = io.qt.core.QMetaMethod.fromSignal(selectedSignal);
if(metaMethod==null || !metaMethod.isValid()) {
throw new IllegalArgumentException("Unable to detect signal for given handle.");
}
if(metaMethod.parameterCount()!=1) {
throw new IllegalArgumentException("Connected method does not take a single argument: "+metaMethod.cppMethodSignature());
}
if(fileMode()==FileMode.ExistingFiles) {
if(metaMethod.parameterType(0)!=io.qt.core.QMetaType.Type.QStringList.value()) {
throw new IllegalArgumentException("Method does not take a single String list argument: "+metaMethod.cppMethodSignature());
}
}else {
if(metaMethod.parameterType(0)!=io.qt.core.QMetaType.Type.QString.value()) {
throw new IllegalArgumentException("Method does not take a single String argument: "+metaMethod.cppMethodSignature());
}
}
if(!(selectedSignal.containingObject() instanceof io.qt.core.QObject)) {
throw new IllegalArgumentException("Unable to determine QObject from given signal handle.");
}
open((io.qt.core.QObject)selectedSignal.containingObject(), metaMethod);
}
private native void open(io.qt.core.QObject obj, io.qt.core.QMetaMethod metaMethod);
/**
* Overloaded constructor for {@link #QFileDialog(io.qt.widgets.QWidget, java.lang.String, java.lang.String, java.lang.String)}
* with filter = (String)null
.
*/
public QFileDialog(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, java.lang.@NonNull String directory) {
this(parent, caption, directory, (String)null);
}
/**
* Overloaded constructor for {@link #QFileDialog(io.qt.widgets.QWidget, java.lang.String, java.lang.String, java.lang.String)}
* with:
* directory = (String)null
* filter = (String)null
*
*/
public QFileDialog(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption) {
this(parent, caption, (String)null, (String)null);
}
/**
* Overloaded constructor for {@link #QFileDialog(io.qt.widgets.QWidget, java.lang.String, java.lang.String, java.lang.String)}
* with:
* caption = (String)null
* directory = (String)null
* filter = (String)null
*
*/
public QFileDialog(io.qt.widgets.@Nullable QWidget parent) {
this(parent, (String)null, (String)null, (String)null);
}
/**
* Overloaded constructor for {@link #QFileDialog(io.qt.widgets.QWidget, java.lang.String, java.lang.String, java.lang.String)}
* with:
* parent = null
* caption = (String)null
* directory = (String)null
* filter = (String)null
*
*/
public QFileDialog() {
this((io.qt.widgets.QWidget)null, (String)null, (String)null, (String)null);
}
/**
* Overloaded constructor for {@link #QFileDialog(io.qt.widgets.QWidget, io.qt.core.Qt.WindowFlags)}.
*/
public QFileDialog(io.qt.widgets.@Nullable QWidget parent, io.qt.core.Qt.@NonNull WindowType @NonNull... f) {
this(parent, new io.qt.core.Qt.WindowFlags(f));
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #acceptMode()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.widgets.QFileDialog.@NonNull AcceptMode getAcceptMode() {
return acceptMode();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #defaultSuffix()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final java.lang.@NonNull String getDefaultSuffix() {
return defaultSuffix();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #fileMode()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.widgets.QFileDialog.@NonNull FileMode getFileMode() {
return fileMode();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #options()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.widgets.QFileDialog.@NonNull Options getOptions() {
return options();
}
/**
* Overloaded function for {@link #restoreState(io.qt.core.QByteArray)}.
*/
@QtUninvokable
public final boolean restoreState(byte @NonNull[] state) {
return restoreState(new io.qt.core.QByteArray(state));
}
/**
* Overloaded function for {@link #selectUrl(io.qt.core.QUrl)}.
*/
@QtUninvokable
public final void selectUrl(java.lang.@NonNull String url) {
selectUrl(new io.qt.core.QUrl(url));
}
/**
* Overloaded function for {@link #setDirectoryUrl(io.qt.core.QUrl)}.
*/
@QtUninvokable
public final void setDirectoryUrl(java.lang.@NonNull String directory) {
setDirectoryUrl(new io.qt.core.QUrl(directory));
}
/**
* Overloaded function for {@link #setFilter(io.qt.core.QDir.Filters)}.
*/
@QtUninvokable
public final void setFilter(io.qt.core.QDir.@NonNull Filter @NonNull... filters) {
setFilter(new io.qt.core.QDir.Filters(filters));
}
/**
* Overloaded function for {@link #setOption(io.qt.widgets.QFileDialog.Option, boolean)}
* with on = true
.
*/
@QtUninvokable
public final void setOption(io.qt.widgets.QFileDialog.@NonNull Option option) {
setOption(option, (boolean)true);
}
/**
* Overloaded function for {@link #setOptions(io.qt.widgets.QFileDialog.Options)}.
*/
@QtUninvokable
public final void setOptions(io.qt.widgets.QFileDialog.@NonNull Option @NonNull... options) {
setOptions(new io.qt.widgets.QFileDialog.Options(options));
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #supportedSchemes()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.@NonNull QStringList getSupportedSchemes() {
return supportedSchemes();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #viewMode()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.widgets.QFileDialog.@NonNull ViewMode getViewMode() {
return viewMode();
}
/**
* Overloaded function for {@link #getExistingDirectory(io.qt.widgets.QWidget, java.lang.String, java.lang.String, io.qt.widgets.QFileDialog.Options)}
* with options = new io.qt.widgets.QFileDialog.Options(1)
.
*/
public static java.lang.@NonNull String getExistingDirectory(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, java.lang.@NonNull String dir) {
return getExistingDirectory(parent, caption, dir, new io.qt.widgets.QFileDialog.Options(1));
}
/**
* Overloaded function for {@link #getExistingDirectory(io.qt.widgets.QWidget, java.lang.String, java.lang.String, io.qt.widgets.QFileDialog.Options)}
* with:
* dir = (String)null
* options = new io.qt.widgets.QFileDialog.Options(1)
*
*/
public static java.lang.@NonNull String getExistingDirectory(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption) {
return getExistingDirectory(parent, caption, (String)null, new io.qt.widgets.QFileDialog.Options(1));
}
/**
* Overloaded function for {@link #getExistingDirectory(io.qt.widgets.QWidget, java.lang.String, java.lang.String, io.qt.widgets.QFileDialog.Options)}
* with:
* caption = (String)null
* dir = (String)null
* options = new io.qt.widgets.QFileDialog.Options(1)
*
*/
public static java.lang.@NonNull String getExistingDirectory(io.qt.widgets.@Nullable QWidget parent) {
return getExistingDirectory(parent, (String)null, (String)null, new io.qt.widgets.QFileDialog.Options(1));
}
/**
* Overloaded function for {@link #getExistingDirectory(io.qt.widgets.QWidget, java.lang.String, java.lang.String, io.qt.widgets.QFileDialog.Options)}
* with:
* parent = null
* caption = (String)null
* dir = (String)null
* options = new io.qt.widgets.QFileDialog.Options(1)
*
*/
public static java.lang.@NonNull String getExistingDirectory() {
return getExistingDirectory((io.qt.widgets.QWidget)null, (String)null, (String)null, new io.qt.widgets.QFileDialog.Options(1));
}
/**
* Overloaded function for {@link #getExistingDirectory(io.qt.widgets.QWidget, java.lang.String, java.lang.String, io.qt.widgets.QFileDialog.Options)}.
*/
public static java.lang.@NonNull String getExistingDirectory(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, java.lang.@NonNull String dir, io.qt.widgets.QFileDialog.@NonNull Option @NonNull... options) {
return getExistingDirectory(parent, caption, dir, new io.qt.widgets.QFileDialog.Options(options));
}
/**
* Overloaded function for {@link #getExistingDirectoryUrl(io.qt.widgets.QWidget, java.lang.String, io.qt.core.QUrl, io.qt.widgets.QFileDialog.Options, java.util.Collection)}
* with supportedSchemes = java.util.Collections.emptyList()
.
*/
public static io.qt.core.@NonNull QUrl getExistingDirectoryUrl(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, io.qt.core.@NonNull QUrl dir, io.qt.widgets.QFileDialog.@NonNull Options options) {
return getExistingDirectoryUrl(parent, caption, dir, options, java.util.Collections.emptyList());
}
/**
* Overloaded function for {@link #getExistingDirectoryUrl(io.qt.widgets.QWidget, java.lang.String, io.qt.core.QUrl, io.qt.widgets.QFileDialog.Options, java.util.Collection)}
* with:
* options = new io.qt.widgets.QFileDialog.Options(1)
* supportedSchemes = java.util.Collections.emptyList()
*
*/
public static io.qt.core.@NonNull QUrl getExistingDirectoryUrl(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, io.qt.core.@NonNull QUrl dir) {
return getExistingDirectoryUrl(parent, caption, dir, new io.qt.widgets.QFileDialog.Options(1), java.util.Collections.emptyList());
}
/**
* Overloaded function for {@link #getExistingDirectoryUrl(io.qt.widgets.QWidget, java.lang.String, io.qt.core.QUrl, io.qt.widgets.QFileDialog.Options, java.util.Collection)}
* with:
* dir = new io.qt.core.QUrl()
* options = new io.qt.widgets.QFileDialog.Options(1)
* supportedSchemes = java.util.Collections.emptyList()
*
*/
public static io.qt.core.@NonNull QUrl getExistingDirectoryUrl(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption) {
return getExistingDirectoryUrl(parent, caption, new io.qt.core.QUrl(), new io.qt.widgets.QFileDialog.Options(1), java.util.Collections.emptyList());
}
/**
* Overloaded function for {@link #getExistingDirectoryUrl(io.qt.widgets.QWidget, java.lang.String, io.qt.core.QUrl, io.qt.widgets.QFileDialog.Options, java.util.Collection)}
* with:
* caption = (String)null
* dir = new io.qt.core.QUrl()
* options = new io.qt.widgets.QFileDialog.Options(1)
* supportedSchemes = java.util.Collections.emptyList()
*
*/
public static io.qt.core.@NonNull QUrl getExistingDirectoryUrl(io.qt.widgets.@Nullable QWidget parent) {
return getExistingDirectoryUrl(parent, (String)null, new io.qt.core.QUrl(), new io.qt.widgets.QFileDialog.Options(1), java.util.Collections.emptyList());
}
/**
* Overloaded function for {@link #getExistingDirectoryUrl(io.qt.widgets.QWidget, java.lang.String, io.qt.core.QUrl, io.qt.widgets.QFileDialog.Options, java.util.Collection)}
* with:
* parent = null
* caption = (String)null
* dir = new io.qt.core.QUrl()
* options = new io.qt.widgets.QFileDialog.Options(1)
* supportedSchemes = java.util.Collections.emptyList()
*
*/
public static io.qt.core.@NonNull QUrl getExistingDirectoryUrl() {
return getExistingDirectoryUrl((io.qt.widgets.QWidget)null, (String)null, new io.qt.core.QUrl(), new io.qt.widgets.QFileDialog.Options(1), java.util.Collections.emptyList());
}
/**
* Overloaded function for {@link #getExistingDirectoryUrl(io.qt.widgets.QWidget, java.lang.String, java.lang.String, io.qt.widgets.QFileDialog.Options, java.util.Collection)}
* with supportedSchemes = java.util.Collections.emptyList()
.
*/
public static io.qt.core.@NonNull QUrl getExistingDirectoryUrl(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, java.lang.@NonNull String dir, io.qt.widgets.QFileDialog.@NonNull Options options) {
return getExistingDirectoryUrl(parent, caption, dir, options, java.util.Collections.emptyList());
}
/**
* Overloaded function for {@link #getExistingDirectoryUrl(io.qt.widgets.QWidget, java.lang.String, java.lang.String, io.qt.widgets.QFileDialog.Options, java.util.Collection)}
* with:
* options = new io.qt.widgets.QFileDialog.Options(1)
* supportedSchemes = java.util.Collections.emptyList()
*
*/
public static io.qt.core.@NonNull QUrl getExistingDirectoryUrl(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, java.lang.@NonNull String dir) {
return getExistingDirectoryUrl(parent, caption, dir, new io.qt.widgets.QFileDialog.Options(1), java.util.Collections.emptyList());
}
/**
* Overloaded function for {@link #getExistingDirectoryUrl(io.qt.widgets.QWidget, java.lang.String, io.qt.core.QUrl, io.qt.widgets.QFileDialog.Options, java.util.Collection)}.
*/
public static io.qt.core.@NonNull QUrl getExistingDirectoryUrl(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, java.lang.@NonNull String dir, io.qt.widgets.QFileDialog.@NonNull Options options, java.util.@NonNull Collection supportedSchemes) {
return getExistingDirectoryUrl(parent, caption, new io.qt.core.QUrl(dir), options, supportedSchemes);
}
/**
* Overloaded function for {@link #getOpenFileContent(java.lang.String, java.util.function.BiConsumer, io.qt.widgets.QWidget)}
* with parent = null
.
*/
public static void getOpenFileContent(java.lang.@NonNull String nameFilter, java.util.function.BiConsumer<@NonNull String,io.qt.core.@NonNull QByteArray> fileContentsReady) {
getOpenFileContent(nameFilter, fileContentsReady, (io.qt.widgets.QWidget)null);
}
/**
* Overloaded function for {@link #getOpenFileName(io.qt.widgets.QWidget, java.lang.String, java.lang.String, java.lang.String, io.qt.widgets.QFileDialog.Options)}
* with options = new io.qt.widgets.QFileDialog.Options(0)
.
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getOpenFileName(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, java.lang.@NonNull String dir, java.lang.@NonNull String filter) {
return getOpenFileName(parent, caption, dir, filter, new io.qt.widgets.QFileDialog.Options(0));
}
/**
* Overloaded function for {@link #getOpenFileName(io.qt.widgets.QWidget, java.lang.String, java.lang.String, java.lang.String, io.qt.widgets.QFileDialog.Options)}
* with:
* filter = (String)null
* options = new io.qt.widgets.QFileDialog.Options(0)
*
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getOpenFileName(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, java.lang.@NonNull String dir) {
return getOpenFileName(parent, caption, dir, (String)null, new io.qt.widgets.QFileDialog.Options(0));
}
/**
* Overloaded function for {@link #getOpenFileName(io.qt.widgets.QWidget, java.lang.String, java.lang.String, java.lang.String, io.qt.widgets.QFileDialog.Options)}
* with:
* dir = (String)null
* filter = (String)null
* options = new io.qt.widgets.QFileDialog.Options(0)
*
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getOpenFileName(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption) {
return getOpenFileName(parent, caption, (String)null, (String)null, new io.qt.widgets.QFileDialog.Options(0));
}
/**
* Overloaded function for {@link #getOpenFileName(io.qt.widgets.QWidget, java.lang.String, java.lang.String, java.lang.String, io.qt.widgets.QFileDialog.Options)}
* with:
* caption = (String)null
* dir = (String)null
* filter = (String)null
* options = new io.qt.widgets.QFileDialog.Options(0)
*
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getOpenFileName(io.qt.widgets.@Nullable QWidget parent) {
return getOpenFileName(parent, (String)null, (String)null, (String)null, new io.qt.widgets.QFileDialog.Options(0));
}
/**
* Overloaded function for {@link #getOpenFileName(io.qt.widgets.QWidget, java.lang.String, java.lang.String, java.lang.String, io.qt.widgets.QFileDialog.Options)}
* with:
* parent = null
* caption = (String)null
* dir = (String)null
* filter = (String)null
* options = new io.qt.widgets.QFileDialog.Options(0)
*
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getOpenFileName() {
return getOpenFileName((io.qt.widgets.QWidget)null, (String)null, (String)null, (String)null, new io.qt.widgets.QFileDialog.Options(0));
}
/**
* Overloaded function for {@link #getOpenFileName(io.qt.widgets.QWidget, java.lang.String, java.lang.String, java.lang.String, io.qt.widgets.QFileDialog.Options)}.
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getOpenFileName(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, java.lang.@NonNull String dir, java.lang.@NonNull String filter, io.qt.widgets.QFileDialog.@NonNull Option @NonNull... options) {
return getOpenFileName(parent, caption, dir, filter, new io.qt.widgets.QFileDialog.Options(options));
}
/**
* Overloaded function for {@link #getOpenFileNames(io.qt.widgets.QWidget, java.lang.String, java.lang.String, java.lang.String, io.qt.widgets.QFileDialog.Options)}
* with options = new io.qt.widgets.QFileDialog.Options(0)
.
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getOpenFileNames(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, java.lang.@NonNull String dir, java.lang.@NonNull String filter) {
return getOpenFileNames(parent, caption, dir, filter, new io.qt.widgets.QFileDialog.Options(0));
}
/**
* Overloaded function for {@link #getOpenFileNames(io.qt.widgets.QWidget, java.lang.String, java.lang.String, java.lang.String, io.qt.widgets.QFileDialog.Options)}
* with:
* filter = (String)null
* options = new io.qt.widgets.QFileDialog.Options(0)
*
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getOpenFileNames(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, java.lang.@NonNull String dir) {
return getOpenFileNames(parent, caption, dir, (String)null, new io.qt.widgets.QFileDialog.Options(0));
}
/**
* Overloaded function for {@link #getOpenFileNames(io.qt.widgets.QWidget, java.lang.String, java.lang.String, java.lang.String, io.qt.widgets.QFileDialog.Options)}
* with:
* dir = (String)null
* filter = (String)null
* options = new io.qt.widgets.QFileDialog.Options(0)
*
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getOpenFileNames(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption) {
return getOpenFileNames(parent, caption, (String)null, (String)null, new io.qt.widgets.QFileDialog.Options(0));
}
/**
* Overloaded function for {@link #getOpenFileNames(io.qt.widgets.QWidget, java.lang.String, java.lang.String, java.lang.String, io.qt.widgets.QFileDialog.Options)}
* with:
* caption = (String)null
* dir = (String)null
* filter = (String)null
* options = new io.qt.widgets.QFileDialog.Options(0)
*
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getOpenFileNames(io.qt.widgets.@Nullable QWidget parent) {
return getOpenFileNames(parent, (String)null, (String)null, (String)null, new io.qt.widgets.QFileDialog.Options(0));
}
/**
* Overloaded function for {@link #getOpenFileNames(io.qt.widgets.QWidget, java.lang.String, java.lang.String, java.lang.String, io.qt.widgets.QFileDialog.Options)}
* with:
* parent = null
* caption = (String)null
* dir = (String)null
* filter = (String)null
* options = new io.qt.widgets.QFileDialog.Options(0)
*
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getOpenFileNames() {
return getOpenFileNames((io.qt.widgets.QWidget)null, (String)null, (String)null, (String)null, new io.qt.widgets.QFileDialog.Options(0));
}
/**
* Overloaded function for {@link #getOpenFileNames(io.qt.widgets.QWidget, java.lang.String, java.lang.String, java.lang.String, io.qt.widgets.QFileDialog.Options)}.
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getOpenFileNames(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, java.lang.@NonNull String dir, java.lang.@NonNull String filter, io.qt.widgets.QFileDialog.@NonNull Option @NonNull... options) {
return getOpenFileNames(parent, caption, dir, filter, new io.qt.widgets.QFileDialog.Options(options));
}
/**
* Overloaded function for {@link #getOpenFileUrl(io.qt.widgets.QWidget, java.lang.String, io.qt.core.QUrl, java.lang.String, io.qt.widgets.QFileDialog.Options, java.util.Collection)}
* with supportedSchemes = java.util.Collections.emptyList()
.
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getOpenFileUrl(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, io.qt.core.@NonNull QUrl dir, java.lang.@NonNull String filter, io.qt.widgets.QFileDialog.@NonNull Options options) {
return getOpenFileUrl(parent, caption, dir, filter, options, java.util.Collections.emptyList());
}
/**
* Overloaded function for {@link #getOpenFileUrl(io.qt.widgets.QWidget, java.lang.String, io.qt.core.QUrl, java.lang.String, io.qt.widgets.QFileDialog.Options, java.util.Collection)}
* with:
* options = new io.qt.widgets.QFileDialog.Options(0)
* supportedSchemes = java.util.Collections.emptyList()
*
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getOpenFileUrl(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, io.qt.core.@NonNull QUrl dir, java.lang.@NonNull String filter) {
return getOpenFileUrl(parent, caption, dir, filter, new io.qt.widgets.QFileDialog.Options(0), java.util.Collections.emptyList());
}
/**
* Overloaded function for {@link #getOpenFileUrl(io.qt.widgets.QWidget, java.lang.String, io.qt.core.QUrl, java.lang.String, io.qt.widgets.QFileDialog.Options, java.util.Collection)}
* with:
* filter = (String)null
* options = new io.qt.widgets.QFileDialog.Options(0)
* supportedSchemes = java.util.Collections.emptyList()
*
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getOpenFileUrl(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, io.qt.core.@NonNull QUrl dir) {
return getOpenFileUrl(parent, caption, dir, (String)null, new io.qt.widgets.QFileDialog.Options(0), java.util.Collections.emptyList());
}
/**
* Overloaded function for {@link #getOpenFileUrl(io.qt.widgets.QWidget, java.lang.String, io.qt.core.QUrl, java.lang.String, io.qt.widgets.QFileDialog.Options, java.util.Collection)}
* with:
* dir = new io.qt.core.QUrl()
* filter = (String)null
* options = new io.qt.widgets.QFileDialog.Options(0)
* supportedSchemes = java.util.Collections.emptyList()
*
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getOpenFileUrl(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption) {
return getOpenFileUrl(parent, caption, new io.qt.core.QUrl(), (String)null, new io.qt.widgets.QFileDialog.Options(0), java.util.Collections.emptyList());
}
/**
* Overloaded function for {@link #getOpenFileUrl(io.qt.widgets.QWidget, java.lang.String, io.qt.core.QUrl, java.lang.String, io.qt.widgets.QFileDialog.Options, java.util.Collection)}
* with:
* caption = (String)null
* dir = new io.qt.core.QUrl()
* filter = (String)null
* options = new io.qt.widgets.QFileDialog.Options(0)
* supportedSchemes = java.util.Collections.emptyList()
*
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getOpenFileUrl(io.qt.widgets.@Nullable QWidget parent) {
return getOpenFileUrl(parent, (String)null, new io.qt.core.QUrl(), (String)null, new io.qt.widgets.QFileDialog.Options(0), java.util.Collections.emptyList());
}
/**
* Overloaded function for {@link #getOpenFileUrl(io.qt.widgets.QWidget, java.lang.String, io.qt.core.QUrl, java.lang.String, io.qt.widgets.QFileDialog.Options, java.util.Collection)}
* with:
* parent = null
* caption = (String)null
* dir = new io.qt.core.QUrl()
* filter = (String)null
* options = new io.qt.widgets.QFileDialog.Options(0)
* supportedSchemes = java.util.Collections.emptyList()
*
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getOpenFileUrl() {
return getOpenFileUrl((io.qt.widgets.QWidget)null, (String)null, new io.qt.core.QUrl(), (String)null, new io.qt.widgets.QFileDialog.Options(0), java.util.Collections.emptyList());
}
/**
* Overloaded function for {@link #getOpenFileUrl(io.qt.widgets.QWidget, java.lang.String, java.lang.String, java.lang.String, io.qt.widgets.QFileDialog.Options, java.util.Collection)}
* with supportedSchemes = java.util.Collections.emptyList()
.
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getOpenFileUrl(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, java.lang.@NonNull String dir, java.lang.@NonNull String filter, io.qt.widgets.QFileDialog.@NonNull Options options) {
return getOpenFileUrl(parent, caption, dir, filter, options, java.util.Collections.emptyList());
}
/**
* Overloaded function for {@link #getOpenFileUrl(io.qt.widgets.QWidget, java.lang.String, java.lang.String, java.lang.String, io.qt.widgets.QFileDialog.Options, java.util.Collection)}
* with:
* options = new io.qt.widgets.QFileDialog.Options(0)
* supportedSchemes = java.util.Collections.emptyList()
*
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getOpenFileUrl(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, java.lang.@NonNull String dir, java.lang.@NonNull String filter) {
return getOpenFileUrl(parent, caption, dir, filter, new io.qt.widgets.QFileDialog.Options(0), java.util.Collections.emptyList());
}
/**
* Overloaded function for {@link #getOpenFileUrl(io.qt.widgets.QWidget, java.lang.String, java.lang.String, java.lang.String, io.qt.widgets.QFileDialog.Options, java.util.Collection)}
* with:
* filter = (String)null
* options = new io.qt.widgets.QFileDialog.Options(0)
* supportedSchemes = java.util.Collections.emptyList()
*
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getOpenFileUrl(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, java.lang.@NonNull String dir) {
return getOpenFileUrl(parent, caption, dir, (String)null, new io.qt.widgets.QFileDialog.Options(0), java.util.Collections.emptyList());
}
/**
* Overloaded function for {@link #getOpenFileUrl(io.qt.widgets.QWidget, java.lang.String, io.qt.core.QUrl, java.lang.String, io.qt.widgets.QFileDialog.Options, java.util.Collection)}.
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getOpenFileUrl(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, java.lang.@NonNull String dir, java.lang.@NonNull String filter, io.qt.widgets.QFileDialog.@NonNull Options options, java.util.@NonNull Collection supportedSchemes) {
return getOpenFileUrl(parent, caption, new io.qt.core.QUrl(dir), filter, options, supportedSchemes);
}
/**
* Overloaded function for {@link #getOpenFileUrls(io.qt.widgets.QWidget, java.lang.String, io.qt.core.QUrl, java.lang.String, io.qt.widgets.QFileDialog.Options, java.util.Collection)}
* with supportedSchemes = java.util.Collections.emptyList()
.
*/
public static io.qt.widgets.QFileDialog.@NonNull Result> getOpenFileUrls(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, io.qt.core.@NonNull QUrl dir, java.lang.@NonNull String filter, io.qt.widgets.QFileDialog.@NonNull Options options) {
return getOpenFileUrls(parent, caption, dir, filter, options, java.util.Collections.emptyList());
}
/**
* Overloaded function for {@link #getOpenFileUrls(io.qt.widgets.QWidget, java.lang.String, io.qt.core.QUrl, java.lang.String, io.qt.widgets.QFileDialog.Options, java.util.Collection)}
* with:
* options = new io.qt.widgets.QFileDialog.Options(0)
* supportedSchemes = java.util.Collections.emptyList()
*
*/
public static io.qt.widgets.QFileDialog.@NonNull Result> getOpenFileUrls(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, io.qt.core.@NonNull QUrl dir, java.lang.@NonNull String filter) {
return getOpenFileUrls(parent, caption, dir, filter, new io.qt.widgets.QFileDialog.Options(0), java.util.Collections.emptyList());
}
/**
* Overloaded function for {@link #getOpenFileUrls(io.qt.widgets.QWidget, java.lang.String, io.qt.core.QUrl, java.lang.String, io.qt.widgets.QFileDialog.Options, java.util.Collection)}
* with:
* filter = (String)null
* options = new io.qt.widgets.QFileDialog.Options(0)
* supportedSchemes = java.util.Collections.emptyList()
*
*/
public static io.qt.widgets.QFileDialog.@NonNull Result> getOpenFileUrls(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, io.qt.core.@NonNull QUrl dir) {
return getOpenFileUrls(parent, caption, dir, (String)null, new io.qt.widgets.QFileDialog.Options(0), java.util.Collections.emptyList());
}
/**
* Overloaded function for {@link #getOpenFileUrls(io.qt.widgets.QWidget, java.lang.String, io.qt.core.QUrl, java.lang.String, io.qt.widgets.QFileDialog.Options, java.util.Collection)}
* with:
* dir = new io.qt.core.QUrl()
* filter = (String)null
* options = new io.qt.widgets.QFileDialog.Options(0)
* supportedSchemes = java.util.Collections.emptyList()
*
*/
public static io.qt.widgets.QFileDialog.@NonNull Result> getOpenFileUrls(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption) {
return getOpenFileUrls(parent, caption, new io.qt.core.QUrl(), (String)null, new io.qt.widgets.QFileDialog.Options(0), java.util.Collections.emptyList());
}
/**
* Overloaded function for {@link #getOpenFileUrls(io.qt.widgets.QWidget, java.lang.String, io.qt.core.QUrl, java.lang.String, io.qt.widgets.QFileDialog.Options, java.util.Collection)}
* with:
* caption = (String)null
* dir = new io.qt.core.QUrl()
* filter = (String)null
* options = new io.qt.widgets.QFileDialog.Options(0)
* supportedSchemes = java.util.Collections.emptyList()
*
*/
public static io.qt.widgets.QFileDialog.@NonNull Result> getOpenFileUrls(io.qt.widgets.@Nullable QWidget parent) {
return getOpenFileUrls(parent, (String)null, new io.qt.core.QUrl(), (String)null, new io.qt.widgets.QFileDialog.Options(0), java.util.Collections.emptyList());
}
/**
* Overloaded function for {@link #getOpenFileUrls(io.qt.widgets.QWidget, java.lang.String, io.qt.core.QUrl, java.lang.String, io.qt.widgets.QFileDialog.Options, java.util.Collection)}
* with:
* parent = null
* caption = (String)null
* dir = new io.qt.core.QUrl()
* filter = (String)null
* options = new io.qt.widgets.QFileDialog.Options(0)
* supportedSchemes = java.util.Collections.emptyList()
*
*/
public static io.qt.widgets.QFileDialog.@NonNull Result> getOpenFileUrls() {
return getOpenFileUrls((io.qt.widgets.QWidget)null, (String)null, new io.qt.core.QUrl(), (String)null, new io.qt.widgets.QFileDialog.Options(0), java.util.Collections.emptyList());
}
/**
* Overloaded function for {@link #getOpenFileUrls(io.qt.widgets.QWidget, java.lang.String, java.lang.String, java.lang.String, io.qt.widgets.QFileDialog.Options, java.util.Collection)}
* with supportedSchemes = java.util.Collections.emptyList()
.
*/
public static io.qt.widgets.QFileDialog.@NonNull Result> getOpenFileUrls(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, java.lang.@NonNull String dir, java.lang.@NonNull String filter, io.qt.widgets.QFileDialog.@NonNull Options options) {
return getOpenFileUrls(parent, caption, dir, filter, options, java.util.Collections.emptyList());
}
/**
* Overloaded function for {@link #getOpenFileUrls(io.qt.widgets.QWidget, java.lang.String, java.lang.String, java.lang.String, io.qt.widgets.QFileDialog.Options, java.util.Collection)}
* with:
* options = new io.qt.widgets.QFileDialog.Options(0)
* supportedSchemes = java.util.Collections.emptyList()
*
*/
public static io.qt.widgets.QFileDialog.@NonNull Result> getOpenFileUrls(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, java.lang.@NonNull String dir, java.lang.@NonNull String filter) {
return getOpenFileUrls(parent, caption, dir, filter, new io.qt.widgets.QFileDialog.Options(0), java.util.Collections.emptyList());
}
/**
* Overloaded function for {@link #getOpenFileUrls(io.qt.widgets.QWidget, java.lang.String, java.lang.String, java.lang.String, io.qt.widgets.QFileDialog.Options, java.util.Collection)}
* with:
* filter = (String)null
* options = new io.qt.widgets.QFileDialog.Options(0)
* supportedSchemes = java.util.Collections.emptyList()
*
*/
public static io.qt.widgets.QFileDialog.@NonNull Result> getOpenFileUrls(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, java.lang.@NonNull String dir) {
return getOpenFileUrls(parent, caption, dir, (String)null, new io.qt.widgets.QFileDialog.Options(0), java.util.Collections.emptyList());
}
/**
* Overloaded function for {@link #getOpenFileUrls(io.qt.widgets.QWidget, java.lang.String, io.qt.core.QUrl, java.lang.String, io.qt.widgets.QFileDialog.Options, java.util.Collection)}.
*/
public static io.qt.widgets.QFileDialog.@NonNull Result> getOpenFileUrls(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, java.lang.@NonNull String dir, java.lang.@NonNull String filter, io.qt.widgets.QFileDialog.@NonNull Options options, java.util.@NonNull Collection supportedSchemes) {
return getOpenFileUrls(parent, caption, new io.qt.core.QUrl(dir), filter, options, supportedSchemes);
}
/**
* Overloaded function for {@link #getSaveFileName(io.qt.widgets.QWidget, java.lang.String, java.lang.String, java.lang.String, io.qt.widgets.QFileDialog.Options)}
* with options = new io.qt.widgets.QFileDialog.Options(0)
.
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getSaveFileName(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, java.lang.@NonNull String dir, java.lang.@NonNull String filter) {
return getSaveFileName(parent, caption, dir, filter, new io.qt.widgets.QFileDialog.Options(0));
}
/**
* Overloaded function for {@link #getSaveFileName(io.qt.widgets.QWidget, java.lang.String, java.lang.String, java.lang.String, io.qt.widgets.QFileDialog.Options)}
* with:
* filter = (String)null
* options = new io.qt.widgets.QFileDialog.Options(0)
*
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getSaveFileName(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, java.lang.@NonNull String dir) {
return getSaveFileName(parent, caption, dir, (String)null, new io.qt.widgets.QFileDialog.Options(0));
}
/**
* Overloaded function for {@link #getSaveFileName(io.qt.widgets.QWidget, java.lang.String, java.lang.String, java.lang.String, io.qt.widgets.QFileDialog.Options)}
* with:
* dir = (String)null
* filter = (String)null
* options = new io.qt.widgets.QFileDialog.Options(0)
*
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getSaveFileName(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption) {
return getSaveFileName(parent, caption, (String)null, (String)null, new io.qt.widgets.QFileDialog.Options(0));
}
/**
* Overloaded function for {@link #getSaveFileName(io.qt.widgets.QWidget, java.lang.String, java.lang.String, java.lang.String, io.qt.widgets.QFileDialog.Options)}
* with:
* caption = (String)null
* dir = (String)null
* filter = (String)null
* options = new io.qt.widgets.QFileDialog.Options(0)
*
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getSaveFileName(io.qt.widgets.@Nullable QWidget parent) {
return getSaveFileName(parent, (String)null, (String)null, (String)null, new io.qt.widgets.QFileDialog.Options(0));
}
/**
* Overloaded function for {@link #getSaveFileName(io.qt.widgets.QWidget, java.lang.String, java.lang.String, java.lang.String, io.qt.widgets.QFileDialog.Options)}
* with:
* parent = null
* caption = (String)null
* dir = (String)null
* filter = (String)null
* options = new io.qt.widgets.QFileDialog.Options(0)
*
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getSaveFileName() {
return getSaveFileName((io.qt.widgets.QWidget)null, (String)null, (String)null, (String)null, new io.qt.widgets.QFileDialog.Options(0));
}
/**
* Overloaded function for {@link #getSaveFileName(io.qt.widgets.QWidget, java.lang.String, java.lang.String, java.lang.String, io.qt.widgets.QFileDialog.Options)}.
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getSaveFileName(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, java.lang.@NonNull String dir, java.lang.@NonNull String filter, io.qt.widgets.QFileDialog.@NonNull Option @NonNull... options) {
return getSaveFileName(parent, caption, dir, filter, new io.qt.widgets.QFileDialog.Options(options));
}
/**
* Overloaded function for {@link #getSaveFileUrl(io.qt.widgets.QWidget, java.lang.String, io.qt.core.QUrl, java.lang.String, io.qt.widgets.QFileDialog.Options, java.util.Collection)}
* with supportedSchemes = java.util.Collections.emptyList()
.
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getSaveFileUrl(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, io.qt.core.@NonNull QUrl dir, java.lang.@NonNull String filter, io.qt.widgets.QFileDialog.@NonNull Options options) {
return getSaveFileUrl(parent, caption, dir, filter, options, java.util.Collections.emptyList());
}
/**
* Overloaded function for {@link #getSaveFileUrl(io.qt.widgets.QWidget, java.lang.String, io.qt.core.QUrl, java.lang.String, io.qt.widgets.QFileDialog.Options, java.util.Collection)}
* with:
* options = new io.qt.widgets.QFileDialog.Options(0)
* supportedSchemes = java.util.Collections.emptyList()
*
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getSaveFileUrl(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, io.qt.core.@NonNull QUrl dir, java.lang.@NonNull String filter) {
return getSaveFileUrl(parent, caption, dir, filter, new io.qt.widgets.QFileDialog.Options(0), java.util.Collections.emptyList());
}
/**
* Overloaded function for {@link #getSaveFileUrl(io.qt.widgets.QWidget, java.lang.String, io.qt.core.QUrl, java.lang.String, io.qt.widgets.QFileDialog.Options, java.util.Collection)}
* with:
* filter = (String)null
* options = new io.qt.widgets.QFileDialog.Options(0)
* supportedSchemes = java.util.Collections.emptyList()
*
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getSaveFileUrl(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, io.qt.core.@NonNull QUrl dir) {
return getSaveFileUrl(parent, caption, dir, (String)null, new io.qt.widgets.QFileDialog.Options(0), java.util.Collections.emptyList());
}
/**
* Overloaded function for {@link #getSaveFileUrl(io.qt.widgets.QWidget, java.lang.String, io.qt.core.QUrl, java.lang.String, io.qt.widgets.QFileDialog.Options, java.util.Collection)}
* with:
* dir = new io.qt.core.QUrl()
* filter = (String)null
* options = new io.qt.widgets.QFileDialog.Options(0)
* supportedSchemes = java.util.Collections.emptyList()
*
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getSaveFileUrl(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption) {
return getSaveFileUrl(parent, caption, new io.qt.core.QUrl(), (String)null, new io.qt.widgets.QFileDialog.Options(0), java.util.Collections.emptyList());
}
/**
* Overloaded function for {@link #getSaveFileUrl(io.qt.widgets.QWidget, java.lang.String, io.qt.core.QUrl, java.lang.String, io.qt.widgets.QFileDialog.Options, java.util.Collection)}
* with:
* caption = (String)null
* dir = new io.qt.core.QUrl()
* filter = (String)null
* options = new io.qt.widgets.QFileDialog.Options(0)
* supportedSchemes = java.util.Collections.emptyList()
*
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getSaveFileUrl(io.qt.widgets.@Nullable QWidget parent) {
return getSaveFileUrl(parent, (String)null, new io.qt.core.QUrl(), (String)null, new io.qt.widgets.QFileDialog.Options(0), java.util.Collections.emptyList());
}
/**
* Overloaded function for {@link #getSaveFileUrl(io.qt.widgets.QWidget, java.lang.String, io.qt.core.QUrl, java.lang.String, io.qt.widgets.QFileDialog.Options, java.util.Collection)}
* with:
* parent = null
* caption = (String)null
* dir = new io.qt.core.QUrl()
* filter = (String)null
* options = new io.qt.widgets.QFileDialog.Options(0)
* supportedSchemes = java.util.Collections.emptyList()
*
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getSaveFileUrl() {
return getSaveFileUrl((io.qt.widgets.QWidget)null, (String)null, new io.qt.core.QUrl(), (String)null, new io.qt.widgets.QFileDialog.Options(0), java.util.Collections.emptyList());
}
/**
* Overloaded function for {@link #getSaveFileUrl(io.qt.widgets.QWidget, java.lang.String, java.lang.String, java.lang.String, io.qt.widgets.QFileDialog.Options, java.util.Collection)}
* with supportedSchemes = java.util.Collections.emptyList()
.
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getSaveFileUrl(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, java.lang.@NonNull String dir, java.lang.@NonNull String filter, io.qt.widgets.QFileDialog.@NonNull Options options) {
return getSaveFileUrl(parent, caption, dir, filter, options, java.util.Collections.emptyList());
}
/**
* Overloaded function for {@link #getSaveFileUrl(io.qt.widgets.QWidget, java.lang.String, java.lang.String, java.lang.String, io.qt.widgets.QFileDialog.Options, java.util.Collection)}
* with:
* options = new io.qt.widgets.QFileDialog.Options(0)
* supportedSchemes = java.util.Collections.emptyList()
*
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getSaveFileUrl(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, java.lang.@NonNull String dir, java.lang.@NonNull String filter) {
return getSaveFileUrl(parent, caption, dir, filter, new io.qt.widgets.QFileDialog.Options(0), java.util.Collections.emptyList());
}
/**
* Overloaded function for {@link #getSaveFileUrl(io.qt.widgets.QWidget, java.lang.String, java.lang.String, java.lang.String, io.qt.widgets.QFileDialog.Options, java.util.Collection)}
* with:
* filter = (String)null
* options = new io.qt.widgets.QFileDialog.Options(0)
* supportedSchemes = java.util.Collections.emptyList()
*
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getSaveFileUrl(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, java.lang.@NonNull String dir) {
return getSaveFileUrl(parent, caption, dir, (String)null, new io.qt.widgets.QFileDialog.Options(0), java.util.Collections.emptyList());
}
/**
* Overloaded function for {@link #getSaveFileUrl(io.qt.widgets.QWidget, java.lang.String, io.qt.core.QUrl, java.lang.String, io.qt.widgets.QFileDialog.Options, java.util.Collection)}.
*/
public static io.qt.widgets.QFileDialog.@NonNull Result getSaveFileUrl(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String caption, java.lang.@NonNull String dir, java.lang.@NonNull String filter, io.qt.widgets.QFileDialog.@NonNull Options options, java.util.@NonNull Collection supportedSchemes) {
return getSaveFileUrl(parent, caption, new io.qt.core.QUrl(dir), filter, options, supportedSchemes);
}
/**
* Overloaded function for {@link #saveFileContent(io.qt.core.QByteArray, java.lang.String, io.qt.widgets.QWidget)}
* with parent = null
.
*/
public static void saveFileContent(io.qt.core.@NonNull QByteArray fileContent, java.lang.@NonNull String fileNameHint) {
saveFileContent(fileContent, fileNameHint, (io.qt.widgets.QWidget)null);
}
/**
* Overloaded function for {@link #saveFileContent(byte[], java.lang.String, io.qt.widgets.QWidget)}
* with parent = null
.
*/
public static void saveFileContent(byte @NonNull[] fileContent, java.lang.@NonNull String fileNameHint) {
saveFileContent(fileContent, fileNameHint, (io.qt.widgets.QWidget)null);
}
/**
* Overloaded function for {@link #saveFileContent(io.qt.core.QByteArray, java.lang.String, io.qt.widgets.QWidget)}.
*/
public static void saveFileContent(byte @NonNull[] fileContent, java.lang.@NonNull String fileNameHint, io.qt.widgets.@Nullable QWidget parent) {
saveFileContent(new io.qt.core.QByteArray(fileContent), fileNameHint, parent);
}
}