[][src]Struct qt_widgets::q_dock_widget::DockWidgetFeature

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

The DockWidgetFeatures type is a typedef for QFlags<DockWidgetFeature>. It stores an OR combination of DockWidgetFeature values.

C++ enum: QDockWidget::DockWidgetFeature.

C++ documentation:

The DockWidgetFeatures type is a typedef for QFlags<DockWidgetFeature>. It stores an OR combination of DockWidgetFeature values.

Methods

impl DockWidgetFeature[src]

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

impl DockWidgetFeature[src]

pub const DockWidgetClosable: DockWidgetFeature[src]

The dock widget can be closed. On some systems the dock widget always has a close button when it's floating (for example on MacOS 10.5). (C++ enum variant: DockWidgetClosable = 1)

pub const DockWidgetMovable: DockWidgetFeature[src]

The dock widget can be moved between docks by the user. (C++ enum variant: DockWidgetMovable = 2)

pub const DockWidgetFloatable: DockWidgetFeature[src]

The dock widget can be detached from the main window, and floated as an independent window. (C++ enum variant: DockWidgetFloatable = 4)

pub const DockWidgetVerticalTitleBar: DockWidgetFeature[src]

The dock widget displays a vertical title bar on its left side. This can be used to increase the amount of vertical space in a QMainWindow. (C++ enum variant: DockWidgetVerticalTitleBar = 8)

pub const DockWidgetFeatureMask: DockWidgetFeature[src]

C++ enum variant: DockWidgetFeatureMask = 15

pub const AllDockWidgetFeatures: DockWidgetFeature[src]

(Deprecated) The dock widget can be closed, moved, and floated. Since new features might be added in future releases, the look and behavior of dock widgets might change if you use this flag. Please specify individual flags instead. (C++ enum variant: AllDockWidgetFeatures = 7)

pub const NoDockWidgetFeatures: DockWidgetFeature[src]

The dock widget cannot be closed, moved, or floated. (C++ enum variant: NoDockWidgetFeatures = 0)

pub const Reserved: DockWidgetFeature[src]

C++ enum variant: Reserved = 255

Trait Implementations

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

type Output = QFlags<DockWidgetFeature>

The resulting type after applying the | operator.

impl Clone for DockWidgetFeature[src]

impl Copy for DockWidgetFeature[src]

impl Debug for DockWidgetFeature[src]

impl Eq for DockWidgetFeature[src]

impl From<DockWidgetFeature> for c_int[src]

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

impl From<i32> for DockWidgetFeature[src]

impl PartialEq<DockWidgetFeature> for DockWidgetFeature[src]

impl StructuralEq for DockWidgetFeature[src]

impl StructuralPartialEq for DockWidgetFeature[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.