[−][src]Struct qt_widgets::q_style_option_tool_bar::ToolBarPosition
C++ enum: QStyleOptionToolBar::ToolBarPosition
.
This enum is used to describe the position of a toolbar line, as well as the toolbar's position within the line.
The order of the positions within a line starts at the top of a vertical line, and from the left within a horizontal line. The order of the positions for the lines is always from the parent widget's boundary edges.
See also positionWithinLine and positionOfLine.
Methods
impl ToolBarPosition
[src]
impl ToolBarPosition
[src]
pub const Beginning: ToolBarPosition
[src]
The toolbar is located at the beginning of the line, or the toolbar line is the first of several lines. There can only be one toolbar (and only one line) with this position. (C++ enum variant: Beginning = 0
)
pub const Middle: ToolBarPosition
[src]
The toolbar is located in the middle of the line, or the toolbar line is in the middle of several lines. There can several toolbars (and lines) with this position. (C++ enum variant: Middle = 1
)
pub const End: ToolBarPosition
[src]
The toolbar is located at the end of the line, or the toolbar line is the last of several lines. There can only be one toolbar (and only one line) with this position. (C++ enum variant: End = 2
)
pub const OnlyOne: ToolBarPosition
[src]
There is only one toolbar or line. This is the default value of the positionOfLine and positionWithinLine variables. (C++ enum variant: OnlyOne = 3
)
Trait Implementations
impl Eq for ToolBarPosition
[src]
impl Clone for ToolBarPosition
[src]
fn clone(&self) -> ToolBarPosition
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<ToolBarPosition> for ToolBarPosition
[src]
fn eq(&self, other: &ToolBarPosition) -> bool
[src]
fn ne(&self, other: &ToolBarPosition) -> bool
[src]
impl From<i32> for ToolBarPosition
[src]
impl From<ToolBarPosition> for c_int
[src]
fn from(value: ToolBarPosition) -> Self
[src]
impl Copy for ToolBarPosition
[src]
impl Debug for ToolBarPosition
[src]
Auto Trait Implementations
impl Send for ToolBarPosition
impl Unpin for ToolBarPosition
impl Sync for ToolBarPosition
impl UnwindSafe for ToolBarPosition
impl RefUnwindSafe for ToolBarPosition
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>,