[][src]Struct qt_widgets::q_tab_bar::Shape

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

This enum type lists the built-in shapes supported by QTabBar. Treat these as hints as some styles may not render some of the shapes. However, position should be honored.

C++ enum: QTabBar::Shape.

C++ documentation:

This enum type lists the built-in shapes supported by QTabBar. Treat these as hints as some styles may not render some of the shapes. However, position should be honored.

Methods

impl Shape[src]

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

impl Shape[src]

pub const RoundedNorth: Shape[src]

The normal rounded look above the pages (C++ enum variant: RoundedNorth = 0)

pub const RoundedSouth: Shape[src]

The normal rounded look below the pages (C++ enum variant: RoundedSouth = 1)

pub const RoundedWest: Shape[src]

The normal rounded look on the left side of the pages (C++ enum variant: RoundedWest = 2)

pub const RoundedEast: Shape[src]

The normal rounded look on the right side the pages (C++ enum variant: RoundedEast = 3)

pub const TriangularNorth: Shape[src]

Triangular tabs above the pages. (C++ enum variant: TriangularNorth = 4)

pub const TriangularSouth: Shape[src]

Triangular tabs similar to those used in the Excel spreadsheet, for example (C++ enum variant: TriangularSouth = 5)

pub const TriangularWest: Shape[src]

Triangular tabs on the left of the pages. (C++ enum variant: TriangularWest = 6)

pub const TriangularEast: Shape[src]

Triangular tabs on the right of the pages. (C++ enum variant: TriangularEast = 7)

Trait Implementations

impl Clone for Shape[src]

impl Copy for Shape[src]

impl Debug for Shape[src]

impl Eq for Shape[src]

impl From<Shape> for c_int[src]

impl From<i32> for Shape[src]

impl PartialEq<Shape> for Shape[src]

impl StructuralEq for Shape[src]

impl StructuralPartialEq for Shape[src]

Auto Trait Implementations

impl RefUnwindSafe for Shape

impl Send for Shape

impl Sync for Shape

impl Unpin for Shape

impl UnwindSafe for Shape

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.