[−][src]Struct qt_gui::q_text_format::PageBreakFlag
This enum describes how page breaking is performed when printing. It maps to the corresponding css properties.
C++ enum: QTextFormat::PageBreakFlag
.
This enum describes how page breaking is performed when printing. It maps to the corresponding css properties.
This enum was introduced or modified in Qt 4.2.
The PageBreakFlags type is a typedef for QFlags<PageBreakFlag>. It stores an OR combination of PageBreakFlag values.
See also QTextBlockFormat::pageBreakPolicy(), QTextFrameFormat::pageBreakPolicy(), and PageBreakPolicy.
Methods
impl PageBreakFlag
[src]
impl PageBreakFlag
[src]
pub const PageBreakAuto: PageBreakFlag
[src]
The page break is determined automatically depending on the available space on the current page (C++ enum variant: PageBreak_Auto = 0
)
pub const PageBreakAlwaysBefore: PageBreakFlag
[src]
The page is always broken before the paragraph/table (C++ enum variant: PageBreak_AlwaysBefore = 1
)
pub const PageBreakAlwaysAfter: PageBreakFlag
[src]
A new page is always started after the paragraph/table (C++ enum variant: PageBreak_AlwaysAfter = 16
)
Trait Implementations
impl<T: Into<QFlags<PageBreakFlag>>> BitOr<T> for PageBreakFlag
[src]
type Output = QFlags<PageBreakFlag>
The resulting type after applying the |
operator.
fn bitor(self, rhs: T) -> QFlags<PageBreakFlag>
[src]
impl Clone for PageBreakFlag
[src]
fn clone(&self) -> PageBreakFlag
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for PageBreakFlag
[src]
impl Debug for PageBreakFlag
[src]
impl Eq for PageBreakFlag
[src]
impl From<PageBreakFlag> for c_int
[src]
fn from(value: PageBreakFlag) -> Self
[src]
impl From<PageBreakFlag> for QFlags<PageBreakFlag>
[src]
fn from(value: PageBreakFlag) -> Self
[src]
impl From<i32> for PageBreakFlag
[src]
impl PartialEq<PageBreakFlag> for PageBreakFlag
[src]
fn eq(&self, other: &PageBreakFlag) -> bool
[src]
fn ne(&self, other: &PageBreakFlag) -> bool
[src]
impl StructuralEq for PageBreakFlag
[src]
impl StructuralPartialEq for PageBreakFlag
[src]
Auto Trait Implementations
impl RefUnwindSafe for PageBreakFlag
impl Send for PageBreakFlag
impl Sync for PageBreakFlag
impl Unpin for PageBreakFlag
impl UnwindSafe for PageBreakFlag
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>,