[−][src]Struct qt_widgets::q_combo_box::InsertPolicy
This enum specifies what the QComboBox should do when a new string is entered by the user.
C++ enum: QComboBox::InsertPolicy
.
This enum specifies what the QComboBox should do when a new string is entered by the user.
Methods
impl InsertPolicy
[src]
impl InsertPolicy
[src]
pub const NoInsert: InsertPolicy
[src]
The string will not be inserted into the combobox. (C++ enum variant: NoInsert = 0
)
pub const InsertAtTop: InsertPolicy
[src]
The string will be inserted as the first item in the combobox. (C++ enum variant: InsertAtTop = 1
)
pub const InsertAtCurrent: InsertPolicy
[src]
The current item will be replaced by the string. (C++ enum variant: InsertAtCurrent = 2
)
pub const InsertAtBottom: InsertPolicy
[src]
The string will be inserted after the last item in the combobox. (C++ enum variant: InsertAtBottom = 3
)
pub const InsertAfterCurrent: InsertPolicy
[src]
The string is inserted after the current item in the combobox. (C++ enum variant: InsertAfterCurrent = 4
)
pub const InsertBeforeCurrent: InsertPolicy
[src]
The string is inserted before the current item in the combobox. (C++ enum variant: InsertBeforeCurrent = 5
)
pub const InsertAlphabetically: InsertPolicy
[src]
The string is inserted in the alphabetic order in the combobox. (C++ enum variant: InsertAlphabetically = 6
)
Trait Implementations
impl Eq for InsertPolicy
[src]
impl Clone for InsertPolicy
[src]
fn clone(&self) -> InsertPolicy
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<InsertPolicy> for InsertPolicy
[src]
fn eq(&self, other: &InsertPolicy) -> bool
[src]
fn ne(&self, other: &InsertPolicy) -> bool
[src]
impl From<i32> for InsertPolicy
[src]
impl From<InsertPolicy> for c_int
[src]
fn from(value: InsertPolicy) -> Self
[src]
impl Copy for InsertPolicy
[src]
impl Debug for InsertPolicy
[src]
Auto Trait Implementations
impl Send for InsertPolicy
impl Unpin for InsertPolicy
impl Sync for InsertPolicy
impl UnwindSafe for InsertPolicy
impl RefUnwindSafe for InsertPolicy
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>,