[−][src]Struct qt_widgets::q_frame::Shape
This enum type defines the shapes of frame available.
C++ enum: QFrame::Shape
.
This enum type defines the shapes of frame available.
When it does not call QStyle, Shape interacts with QFrame::Shadow, the lineWidth() and the midLineWidth() to create the total result. See the picture of the frames in the main class documentation.
See also QFrame::Shadow, QFrame::style(), and QStyle::drawPrimitive().
Methods
impl Shape
[src]
impl Shape
[src]
pub const NoFrame: Shape
[src]
QFrame draws nothing (C++ enum variant: NoFrame = 0
)
pub const Box: Shape
[src]
QFrame draws a box around its contents (C++ enum variant: Box = 1
)
pub const Panel: Shape
[src]
QFrame draws a panel to make the contents appear raised or sunken (C++ enum variant: Panel = 2
)
pub const WinPanel: Shape
[src]
draws a rectangular panel that can be raised or sunken like those in Windows 2000. Specifying this shape sets the line width to 2 pixels. WinPanel is provided for compatibility. For GUI style independence we recommend using StyledPanel instead. (C++ enum variant: WinPanel = 3
)
pub const HLine: Shape
[src]
QFrame draws a horizontal line that frames nothing (useful as separator) (C++ enum variant: HLine = 4
)
pub const VLine: Shape
[src]
QFrame draws a vertical line that frames nothing (useful as separator) (C++ enum variant: VLine = 5
)
pub const StyledPanel: Shape
[src]
draws a rectangular panel with a look that depends on the current GUI style. It can be raised or sunken. (C++ enum variant: StyledPanel = 6
)
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
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> 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>,