[][src]Struct qt_widgets::q_tree_widget_item::ChildIndicatorPolicy

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

This enum was introduced or modified in Qt 4.3.

C++ enum: QTreeWidgetItem::ChildIndicatorPolicy.

C++ documentation:

This enum was introduced or modified in Qt 4.3.

Methods

impl ChildIndicatorPolicy[src]

pub fn to_int(&self) -> c_int[src]

impl ChildIndicatorPolicy[src]

pub const ShowIndicator: ChildIndicatorPolicy[src]

The controls for expanding and collapsing will be shown for this item even if there are no children. (C++ enum variant: ShowIndicator = 0)

pub const DontShowIndicator: ChildIndicatorPolicy[src]

The controls for expanding and collapsing will never be shown even if there are children. If the node is forced open the user will not be able to expand or collapse the item. (C++ enum variant: DontShowIndicator = 1)

pub const DontShowIndicatorWhenChildless: ChildIndicatorPolicy[src]

The controls for expanding and collapsing will be shown if the item contains children. (C++ enum variant: DontShowIndicatorWhenChildless = 2)

Trait Implementations

impl Eq for ChildIndicatorPolicy[src]

impl Clone for ChildIndicatorPolicy[src]

impl PartialEq<ChildIndicatorPolicy> for ChildIndicatorPolicy[src]

impl From<i32> for ChildIndicatorPolicy[src]

impl From<ChildIndicatorPolicy> for c_int[src]

impl Copy for ChildIndicatorPolicy[src]

impl Debug for ChildIndicatorPolicy[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]