[−][src]Struct qt_widgets::q_mdi_sub_window::SubWindowOption
This enum describes options that customize the behavior of QMdiSubWindow.
C++ enum: QMdiSubWindow::SubWindowOption
.
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]
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 Eq for SubWindowOption
[src]
impl Clone for SubWindowOption
[src]
fn clone(&self) -> SubWindowOption
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<SubWindowOption> for SubWindowOption
[src]
fn eq(&self, other: &SubWindowOption) -> bool
[src]
fn ne(&self, other: &SubWindowOption) -> bool
[src]
impl From<i32> for SubWindowOption
[src]
impl From<SubWindowOption> for c_int
[src]
fn from(value: SubWindowOption) -> Self
[src]
impl From<SubWindowOption> for QFlags<SubWindowOption>
[src]
fn from(value: SubWindowOption) -> Self
[src]
impl Copy for SubWindowOption
[src]
impl<T: Into<QFlags<SubWindowOption>>> BitOr<T> for SubWindowOption
[src]
type Output = QFlags<SubWindowOption>
The resulting type after applying the |
operator.
fn bitor(self, rhs: T) -> QFlags<SubWindowOption>
[src]
impl Debug for SubWindowOption
[src]
Auto Trait Implementations
impl Send for SubWindowOption
impl Unpin for SubWindowOption
impl Sync for SubWindowOption
impl UnwindSafe for SubWindowOption
impl RefUnwindSafe for SubWindowOption
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>,