[][src]Struct qt_widgets::q_mdi_sub_window::SubWindowOption

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

This enum describes options that customize the behavior of QMdiSubWindow.

C++ enum: QMdiSubWindow::SubWindowOption.

C++ documentation:

This enum describes options that customize the behavior of QMdiSubWindow.

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

Methods

impl SubWindowOption[src]

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

impl SubWindowOption[src]

pub const AllowOutsideAreaHorizontally: SubWindowOption[src]

C++ enum variant: AllowOutsideAreaHorizontally = 1

pub const AllowOutsideAreaVertically: SubWindowOption[src]

C++ enum variant: AllowOutsideAreaVertically = 2

pub const RubberBandResize: SubWindowOption[src]

If you enable this option, a rubber band control is used to represent the subwindow's outline, and the user resizes this instead of the subwindow itself. As a result, the subwindow maintains its original position and size until the resize operation has been completed, at which time it will receive a single QResizeEvent. By default, this option is disabled. (C++ enum variant: RubberBandResize = 4)

pub const RubberBandMove: SubWindowOption[src]

If you enable this option, a rubber band control is used to represent the subwindow's outline, and the user moves this instead of the subwindow itself. As a result, the subwindow remains in its original position until the move operation has completed, at which time a QMoveEvent is sent to the window. By default, this option is disabled. (C++ enum variant: RubberBandMove = 8)

Trait Implementations

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

type Output = QFlags<SubWindowOption>

The resulting type after applying the | operator.

impl Clone for SubWindowOption[src]

impl Copy for SubWindowOption[src]

impl Debug for SubWindowOption[src]

impl Eq for SubWindowOption[src]

impl From<SubWindowOption> for c_int[src]

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

impl From<i32> for SubWindowOption[src]

impl PartialEq<SubWindowOption> for SubWindowOption[src]

impl StructuralEq for SubWindowOption[src]

impl StructuralPartialEq for SubWindowOption[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.