Struct qt_core::WindowFrameSection
source · pub struct WindowFrameSection(/* private fields */);
Expand description
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
.
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().
Implementations§
source§impl WindowFrameSection
impl WindowFrameSection
sourcepub const NoSection: WindowFrameSection = _
pub const NoSection: WindowFrameSection = _
C++ enum variant: NoSection = 0
sourcepub const LeftSection: WindowFrameSection = _
pub const LeftSection: WindowFrameSection = _
C++ enum variant: LeftSection = 1
sourcepub const TopLeftSection: WindowFrameSection = _
pub const TopLeftSection: WindowFrameSection = _
C++ enum variant: TopLeftSection = 2
sourcepub const TopSection: WindowFrameSection = _
pub const TopSection: WindowFrameSection = _
C++ enum variant: TopSection = 3
sourcepub const TopRightSection: WindowFrameSection = _
pub const TopRightSection: WindowFrameSection = _
C++ enum variant: TopRightSection = 4
sourcepub const RightSection: WindowFrameSection = _
pub const RightSection: WindowFrameSection = _
C++ enum variant: RightSection = 5
sourcepub const BottomRightSection: WindowFrameSection = _
pub const BottomRightSection: WindowFrameSection = _
C++ enum variant: BottomRightSection = 6
sourcepub const BottomSection: WindowFrameSection = _
pub const BottomSection: WindowFrameSection = _
C++ enum variant: BottomSection = 7
sourcepub const BottomLeftSection: WindowFrameSection = _
pub const BottomLeftSection: WindowFrameSection = _
C++ enum variant: BottomLeftSection = 8
sourcepub const TitleBarArea: WindowFrameSection = _
pub const TitleBarArea: WindowFrameSection = _
C++ enum variant: TitleBarArea = 9
Trait Implementations§
source§impl Clone for WindowFrameSection
impl Clone for WindowFrameSection
source§fn clone(&self) -> WindowFrameSection
fn clone(&self) -> WindowFrameSection
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for WindowFrameSection
impl Debug for WindowFrameSection
source§impl From<WindowFrameSection> for c_int
impl From<WindowFrameSection> for c_int
source§fn from(value: WindowFrameSection) -> Self
fn from(value: WindowFrameSection) -> Self
source§impl From<i32> for WindowFrameSection
impl From<i32> for WindowFrameSection
source§impl PartialEq for WindowFrameSection
impl PartialEq for WindowFrameSection
source§fn eq(&self, other: &WindowFrameSection) -> bool
fn eq(&self, other: &WindowFrameSection) -> bool
self
and other
values to be equal, and is used
by ==
.