[−][src]Struct qt_widgets::q_file_dialog::Option
The Options type is a typedef for QFlags<Option>. It stores an OR combination of Option values.
C++ enum: QFileDialog::Option
.
The Options type is a typedef for QFlags<Option>. It stores an OR combination of Option values.
Methods
impl Option
[src]
impl Option
[src]
pub const ShowDirsOnly: Option
[src]
Only show directories in the file dialog. By default both files and directories are shown. (Valid only in the Directory file mode.) (C++ enum variant: ShowDirsOnly = 1
)
pub const DontResolveSymlinks: Option
[src]
Don't resolve symlinks in the file dialog. By default symlinks are resolved. (C++ enum variant: DontResolveSymlinks = 2
)
pub const DontConfirmOverwrite: Option
[src]
Don't ask for confirmation if an existing file is selected. By default confirmation is requested. (C++ enum variant: DontConfirmOverwrite = 4
)
pub const DontUseSheet: Option
[src]
In previous versions of Qt, the static functions would create a sheet by default if the static function was given a parent. This is no longer supported and does nothing in Qt 4.5, The static functions will always be an application modal dialog. If you want to use sheets, use QFileDialog::open() instead. (C++ enum variant: DontUseSheet = 8
)
pub const DontUseNativeDialog: Option
[src]
Don't use the native file dialog. By default, the native file dialog is used unless you use a subclass of QFileDialog that contains the Q_OBJECT macro, or the platform does not have a native dialog of the type that you require. (C++ enum variant: DontUseNativeDialog = 16
)
pub const ReadOnly: Option
[src]
Indicates that the model is readonly. (C++ enum variant: ReadOnly = 32
)
pub const HideNameFilterDetails: Option
[src]
Indicates if the file name filter details are hidden or not. (C++ enum variant: HideNameFilterDetails = 64
)
pub const DontUseCustomDirectoryIcons: Option
[src]
Always use the default directory icon. Some platforms allow the user to set a different icon. Custom icon lookup cause a big performance impact over network or removable drives. Setting this will enable the QFileIconProvider::DontUseCustomDirectoryIcons option in the icon provider. This enum value was added in Qt 5.2. (C++ enum variant: DontUseCustomDirectoryIcons = 128
)
Trait Implementations
impl Eq for Option
[src]
impl Clone for Option
[src]
impl PartialEq<Option> for Option
[src]
impl From<i32> for Option
[src]
impl From<Option> for c_int
[src]
impl From<Option> for QFlags<Option>
[src]
impl Copy for Option
[src]
impl<T: Into<QFlags<Option>>> BitOr<T> for Option
[src]
type Output = QFlags<Option>
The resulting type after applying the |
operator.
fn bitor(self, rhs: T) -> QFlags<Option>
[src]
impl Debug for Option
[src]
Auto Trait Implementations
impl Send for Option
impl Unpin for Option
impl Sync for Option
impl UnwindSafe for Option
impl RefUnwindSafe for Option
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,