[−][src]Struct qt_gui::q_text_block_format::MarkerType
This enum describes the types of markers a list item can have. If a list item (a paragraph for which QTextBlock::textList() returns the list) has a marker, it is rendered instead of the normal bullet. In this way, checkable list items can be mixed with plain list items in the same list, overriding the type of bullet specified by the QTextListFormat::style() for the entire list.
C++ enum: QTextBlockFormat::MarkerType
.
This enum describes the types of markers a list item can have. If a list item (a paragraph for which QTextBlock::textList() returns the list) has a marker, it is rendered instead of the normal bullet. In this way, checkable list items can be mixed with plain list items in the same list, overriding the type of bullet specified by the QTextListFormat::style() for the entire list.
In the future, this may be extended to specify other types of paragraph decorations.
This enum was introduced or modified in Qt 5.14.
See also QTextListFormat::style().
Methods
impl MarkerType
[src]
impl MarkerType
[src]
pub const NoMarker: MarkerType
[src]
This is the default: the list item's bullet will be shown. (C++ enum variant: NoMarker = 0
)
pub const Unchecked: MarkerType
[src]
Instead of the list item's bullet, an unchecked checkbox will be shown. (C++ enum variant: Unchecked = 1
)
pub const Checked: MarkerType
[src]
Instead of the list item's bullet, a checked checkbox will be shown. (C++ enum variant: Checked = 2
)
Trait Implementations
impl Clone for MarkerType
[src]
fn clone(&self) -> MarkerType
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for MarkerType
[src]
impl Debug for MarkerType
[src]
impl Eq for MarkerType
[src]
impl From<MarkerType> for c_int
[src]
fn from(value: MarkerType) -> Self
[src]
impl From<i32> for MarkerType
[src]
impl PartialEq<MarkerType> for MarkerType
[src]
fn eq(&self, other: &MarkerType) -> bool
[src]
fn ne(&self, other: &MarkerType) -> bool
[src]
impl StructuralEq for MarkerType
[src]
impl StructuralPartialEq for MarkerType
[src]
Auto Trait Implementations
impl RefUnwindSafe for MarkerType
impl Send for MarkerType
impl Sync for MarkerType
impl Unpin for MarkerType
impl UnwindSafe for MarkerType
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>,