[−][src]Struct qt_core::SizeMode
This enum is used by QPainter::drawRoundedRect() and QPainterPath::addRoundedRect() functions to specify the radii of rectangle corners with respect to the dimensions of the bounding rectangles specified.
C++ enum: Qt::SizeMode
.
This enum is used by QPainter::drawRoundedRect() and QPainterPath::addRoundedRect() functions to specify the radii of rectangle corners with respect to the dimensions of the bounding rectangles specified.
This enum was introduced or modified in Qt 4.4.
Methods
impl SizeMode
[src]
impl SizeMode
[src]
pub const AbsoluteSize: SizeMode
[src]
Specifies the size using absolute measurements. (C++ enum variant: AbsoluteSize = 0
)
pub const RelativeSize: SizeMode
[src]
Specifies the size relative to the bounding rectangle, typically using percentage measurements. (C++ enum variant: RelativeSize = 1
)
Trait Implementations
impl Eq for SizeMode
[src]
impl Clone for SizeMode
[src]
impl PartialEq<SizeMode> for SizeMode
[src]
impl From<i32> for SizeMode
[src]
impl From<SizeMode> for c_int
[src]
impl Copy for SizeMode
[src]
impl Debug for SizeMode
[src]
Auto Trait Implementations
impl Send for SizeMode
impl Unpin for SizeMode
impl Sync for SizeMode
impl UnwindSafe for SizeMode
impl RefUnwindSafe for SizeMode
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>,