[][src]Struct qt_widgets::q_input_dialog::InputDialogOption

#[repr(transparent)]
pub struct InputDialogOption(_);

This enum specifies various options that affect the look and feel of an input dialog.

C++ enum: QInputDialog::InputDialogOption.

C++ documentation:

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]

pub fn to_int(&self) -> c_int[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 Eq for InputDialogOption[src]

impl Clone for InputDialogOption[src]

impl PartialEq<InputDialogOption> for InputDialogOption[src]

impl From<i32> for InputDialogOption[src]

impl From<InputDialogOption> for c_int[src]

impl From<InputDialogOption> for QFlags<InputDialogOption>[src]

impl Copy for InputDialogOption[src]

impl<T: Into<QFlags<InputDialogOption>>> BitOr<T> for InputDialogOption[src]

type Output = QFlags<InputDialogOption>

The resulting type after applying the | operator.

impl Debug for InputDialogOption[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]