[][src]Struct qt_core::WindowFrameSection

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

This enum is used to describe parts of a window frame. It is returned by QGraphicsWidget::windowFrameSectionAt() to describe what section of the window frame is under the mouse.

C++ enum: Qt::WindowFrameSection.

C++ documentation:

This enum is used to describe parts of a window frame. It is returned by QGraphicsWidget::windowFrameSectionAt() to describe what section of the window frame is under the mouse.

This enum was introduced or modified in Qt 4.4.

See also QGraphicsWidget::windowFrameEvent(), QGraphicsWidget::paintWindowFrame(), and QGraphicsWidget::windowFrameSectionAt().

Methods

impl WindowFrameSection[src]

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

impl WindowFrameSection[src]

pub const NoSection: WindowFrameSection[src]

C++ enum variant: NoSection = 0

pub const LeftSection: WindowFrameSection[src]

C++ enum variant: LeftSection = 1

pub const TopLeftSection: WindowFrameSection[src]

C++ enum variant: TopLeftSection = 2

pub const TopSection: WindowFrameSection[src]

C++ enum variant: TopSection = 3

pub const TopRightSection: WindowFrameSection[src]

C++ enum variant: TopRightSection = 4

pub const RightSection: WindowFrameSection[src]

C++ enum variant: RightSection = 5

pub const BottomRightSection: WindowFrameSection[src]

C++ enum variant: BottomRightSection = 6

pub const BottomSection: WindowFrameSection[src]

C++ enum variant: BottomSection = 7

pub const BottomLeftSection: WindowFrameSection[src]

C++ enum variant: BottomLeftSection = 8

pub const TitleBarArea: WindowFrameSection[src]

C++ enum variant: TitleBarArea = 9

Trait Implementations

impl From<i32> for WindowFrameSection[src]

impl From<WindowFrameSection> for c_int[src]

impl Clone for WindowFrameSection[src]

impl Copy for WindowFrameSection[src]

impl Eq for WindowFrameSection[src]

impl PartialEq<WindowFrameSection> for WindowFrameSection[src]

impl Debug for WindowFrameSection[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<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.

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

impl<T> BorrowMut<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]