[−][src]Struct qt_widgets::q_input_dialog::InputDialogOption
This enum specifies various options that affect the look and feel of an input dialog.
C++ enum: QInputDialog::InputDialogOption
.
This enum specifies various options that affect the look and feel of an input dialog.
This enum was introduced or modified in Qt 4.5.
The InputDialogOptions type is a typedef for QFlags<InputDialogOption>. It stores an OR combination of InputDialogOption values.
See also options, setOption(), and testOption().
Methods
impl InputDialogOption
[src]
impl InputDialogOption
[src]
pub const NoButtons: InputDialogOption
[src]
Don't display OK and Cancel buttons (useful for "live dialogs"). (C++ enum variant: NoButtons = 1
)
pub const UseListViewForComboBoxItems: InputDialogOption
[src]
Use a QListView rather than a non-editable QComboBox for displaying the items set with setComboBoxItems(). (C++ enum variant: UseListViewForComboBoxItems = 2
)
pub const UsePlainTextEditForTextInput: InputDialogOption
[src]
Use a QPlainTextEdit for multiline text input. This value was introduced in 5.2. (C++ enum variant: UsePlainTextEditForTextInput = 4
)
Trait Implementations
impl<T: Into<QFlags<InputDialogOption>>> BitOr<T> for InputDialogOption
[src]
type Output = QFlags<InputDialogOption>
The resulting type after applying the |
operator.
fn bitor(self, rhs: T) -> QFlags<InputDialogOption>
[src]
impl Clone for InputDialogOption
[src]
fn clone(&self) -> InputDialogOption
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for InputDialogOption
[src]
impl Debug for InputDialogOption
[src]
impl Eq for InputDialogOption
[src]
impl From<InputDialogOption> for c_int
[src]
fn from(value: InputDialogOption) -> Self
[src]
impl From<InputDialogOption> for QFlags<InputDialogOption>
[src]
fn from(value: InputDialogOption) -> Self
[src]
impl From<i32> for InputDialogOption
[src]
impl PartialEq<InputDialogOption> for InputDialogOption
[src]
fn eq(&self, other: &InputDialogOption) -> bool
[src]
fn ne(&self, other: &InputDialogOption) -> bool
[src]
impl StructuralEq for InputDialogOption
[src]
impl StructuralPartialEq for InputDialogOption
[src]
Auto Trait Implementations
impl RefUnwindSafe for InputDialogOption
impl Send for InputDialogOption
impl Sync for InputDialogOption
impl Unpin for InputDialogOption
impl UnwindSafe for InputDialogOption
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
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> 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>,