Skip to main content

Property

Struct Property 

Source
pub struct Property(/* private fields */);
Expand description

C++ enum: QTextFormat::Property.

Implementations§

Source§

impl Property

Source

pub fn to_int(&self) -> c_int

Source§

impl Property

Source

pub const ObjectIndex: Property

C++ enum variant: ObjectIndex = 0

Source

pub const CssFloat: Property

C++ enum variant: CssFloat = 2048

Source

pub const LayoutDirection: Property

C++ enum variant: LayoutDirection = 2049

Source

pub const OutlinePen: Property

C++ enum variant: OutlinePen = 2064

Source

pub const BackgroundBrush: Property

C++ enum variant: BackgroundBrush = 2080

Source

pub const ForegroundBrush: Property

C++ enum variant: ForegroundBrush = 2081

Source

pub const BackgroundImageUrl: Property

C++ enum variant: BackgroundImageUrl = 2083

Source

pub const BlockAlignment: Property

C++ enum variant: BlockAlignment = 4112

Source

pub const BlockTopMargin: Property

C++ enum variant: BlockTopMargin = 4144

Source

pub const BlockBottomMargin: Property

C++ enum variant: BlockBottomMargin = 4145

Source

pub const BlockLeftMargin: Property

C++ enum variant: BlockLeftMargin = 4146

Source

pub const BlockRightMargin: Property

C++ enum variant: BlockRightMargin = 4147

Source

pub const TextIndent: Property

C++ enum variant: TextIndent = 4148

Source

pub const TabPositions: Property

C++ enum variant: TabPositions = 4149

Source

pub const BlockIndent: Property

C++ enum variant: BlockIndent = 4160

Source

pub const LineHeight: Property

C++ enum variant: LineHeight = 4168

Source

pub const LineHeightType: Property

C++ enum variant: LineHeightType = 4169

Source

pub const BlockNonBreakableLines: Property

C++ enum variant: BlockNonBreakableLines = 4176

Source

pub const BlockTrailingHorizontalRulerWidth: Property

C++ enum variant: BlockTrailingHorizontalRulerWidth = 4192

Source

pub const HeadingLevel: Property

C++ enum variant: HeadingLevel = 4208

Source

pub const BlockQuoteLevel: Property

C++ enum variant: BlockQuoteLevel = 4224

Source

pub const BlockCodeLanguage: Property

C++ enum variant: BlockCodeLanguage = 4240

Source

pub const BlockCodeFence: Property

C++ enum variant: BlockCodeFence = 4241

Source

pub const BlockMarker: Property

C++ enum variant: BlockMarker = 4256

Source

pub const FirstFontProperty: Property

C++ enum variant: FirstFontProperty = 8160

Source

pub const FontCapitalization: Property

C++ enum variant: FontCapitalization = 8160

Source

pub const FontLetterSpacingType: Property

C++ enum variant: FontLetterSpacingType = 8243

Source

pub const FontLetterSpacing: Property

C++ enum variant: FontLetterSpacing = 8161

Source

pub const FontWordSpacing: Property

C++ enum variant: FontWordSpacing = 8162

Source

pub const FontStretch: Property

C++ enum variant: FontStretch = 8244

Source

pub const FontStyleHint: Property

C++ enum variant: FontStyleHint = 8163

Source

pub const FontStyleStrategy: Property

C++ enum variant: FontStyleStrategy = 8164

Source

pub const FontKerning: Property

C++ enum variant: FontKerning = 8165

Source

pub const FontHintingPreference: Property

C++ enum variant: FontHintingPreference = 8166

Source

pub const FontFamilies: Property

C++ enum variant: FontFamilies = 8167

Source

pub const FontStyleName: Property

C++ enum variant: FontStyleName = 8168

Source

pub const FontFamily: Property

C++ enum variant: FontFamily = 8192

Source

pub const FontPointSize: Property

C++ enum variant: FontPointSize = 8193

Source

pub const FontSizeAdjustment: Property

C++ enum variant: FontSizeAdjustment = 8194

Source

pub const FontSizeIncrement: Property

C++ enum variant: FontSizeIncrement = 8194

Source

pub const FontWeight: Property

C++ enum variant: FontWeight = 8195

Source

pub const FontItalic: Property

C++ enum variant: FontItalic = 8196

Source

pub const FontUnderline: Property

C++ enum variant: FontUnderline = 8197

Source

pub const FontOverline: Property

C++ enum variant: FontOverline = 8198

Source

pub const FontStrikeOut: Property

C++ enum variant: FontStrikeOut = 8199

Source

pub const FontFixedPitch: Property

C++ enum variant: FontFixedPitch = 8200

Source

pub const FontPixelSize: Property

C++ enum variant: FontPixelSize = 8201

Source

pub const LastFontProperty: Property

C++ enum variant: LastFontProperty = 8201

Source

pub const TextUnderlineColor: Property

C++ enum variant: TextUnderlineColor = 8208

Source

pub const TextVerticalAlignment: Property

C++ enum variant: TextVerticalAlignment = 8225

Source

pub const TextOutline: Property

C++ enum variant: TextOutline = 8226

Source

pub const TextUnderlineStyle: Property

C++ enum variant: TextUnderlineStyle = 8227

Source

pub const TextToolTip: Property

C++ enum variant: TextToolTip = 8228

Source

pub const IsAnchor: Property

C++ enum variant: IsAnchor = 8240

Source

pub const AnchorHref: Property

C++ enum variant: AnchorHref = 8241

Source

pub const AnchorName: Property

C++ enum variant: AnchorName = 8242

Source

pub const ObjectType: Property

C++ enum variant: ObjectType = 12032

Source

pub const ListStyle: Property

C++ enum variant: ListStyle = 12288

Source

pub const ListIndent: Property

C++ enum variant: ListIndent = 12289

Source

pub const ListNumberPrefix: Property

C++ enum variant: ListNumberPrefix = 12290

Source

pub const ListNumberSuffix: Property

C++ enum variant: ListNumberSuffix = 12291

Source

pub const FrameBorder: Property

C++ enum variant: FrameBorder = 16384

Source

pub const FrameMargin: Property

C++ enum variant: FrameMargin = 16385

Source

pub const FramePadding: Property

C++ enum variant: FramePadding = 16386

Source

pub const FrameWidth: Property

C++ enum variant: FrameWidth = 16387

Source

pub const FrameHeight: Property

C++ enum variant: FrameHeight = 16388

Source

pub const FrameTopMargin: Property

C++ enum variant: FrameTopMargin = 16389

Source

pub const FrameBottomMargin: Property

C++ enum variant: FrameBottomMargin = 16390

Source

pub const FrameLeftMargin: Property

C++ enum variant: FrameLeftMargin = 16391

Source

pub const FrameRightMargin: Property

C++ enum variant: FrameRightMargin = 16392

Source

pub const FrameBorderBrush: Property

C++ enum variant: FrameBorderBrush = 16393

Source

pub const FrameBorderStyle: Property

C++ enum variant: FrameBorderStyle = 16400

Source

pub const TableColumns: Property

C++ enum variant: TableColumns = 16640

Source

pub const TableColumnWidthConstraints: Property

C++ enum variant: TableColumnWidthConstraints = 16641

Source

pub const TableCellSpacing: Property

C++ enum variant: TableCellSpacing = 16642

Source

pub const TableCellPadding: Property

C++ enum variant: TableCellPadding = 16643

Source

pub const TableHeaderRowCount: Property

C++ enum variant: TableHeaderRowCount = 16644

Source

pub const TableBorderCollapse: Property

C++ enum variant: TableBorderCollapse = 16645

Source

pub const TableCellRowSpan: Property

C++ enum variant: TableCellRowSpan = 18448

Source

pub const TableCellColumnSpan: Property

C++ enum variant: TableCellColumnSpan = 18449

Source

pub const TableCellTopPadding: Property

C++ enum variant: TableCellTopPadding = 18450

Source

pub const TableCellBottomPadding: Property

C++ enum variant: TableCellBottomPadding = 18451

Source

pub const TableCellLeftPadding: Property

C++ enum variant: TableCellLeftPadding = 18452

Source

pub const TableCellRightPadding: Property

C++ enum variant: TableCellRightPadding = 18453

Source

pub const TableCellTopBorder: Property

C++ enum variant: TableCellTopBorder = 18454

Source

pub const TableCellBottomBorder: Property

C++ enum variant: TableCellBottomBorder = 18455

Source

pub const TableCellLeftBorder: Property

C++ enum variant: TableCellLeftBorder = 18456

Source

pub const TableCellRightBorder: Property

C++ enum variant: TableCellRightBorder = 18457

Source

pub const TableCellTopBorderStyle: Property

C++ enum variant: TableCellTopBorderStyle = 18458

Source

pub const TableCellBottomBorderStyle: Property

C++ enum variant: TableCellBottomBorderStyle = 18459

Source

pub const TableCellLeftBorderStyle: Property

C++ enum variant: TableCellLeftBorderStyle = 18460

Source

pub const TableCellRightBorderStyle: Property

C++ enum variant: TableCellRightBorderStyle = 18461

Source

pub const TableCellTopBorderBrush: Property

C++ enum variant: TableCellTopBorderBrush = 18462

Source

pub const TableCellBottomBorderBrush: Property

C++ enum variant: TableCellBottomBorderBrush = 18463

Source

pub const TableCellLeftBorderBrush: Property

C++ enum variant: TableCellLeftBorderBrush = 18464

Source

pub const TableCellRightBorderBrush: Property

C++ enum variant: TableCellRightBorderBrush = 18465

Source

pub const ImageName: Property

C++ enum variant: ImageName = 20480

Source

pub const ImageTitle: Property

C++ enum variant: ImageTitle = 20481

Source

pub const ImageAltText: Property

C++ enum variant: ImageAltText = 20482

Source

pub const ImageWidth: Property

C++ enum variant: ImageWidth = 20496

Source

pub const ImageHeight: Property

C++ enum variant: ImageHeight = 20497

Source

pub const ImageQuality: Property

C++ enum variant: ImageQuality = 20500

Source

pub const FullWidthSelection: Property

C++ enum variant: FullWidthSelection = 24576

Source

pub const PageBreakPolicy: Property

C++ enum variant: PageBreakPolicy = 28672

Source

pub const UserProperty: Property

C++ enum variant: UserProperty = 1048576

Trait Implementations§

Source§

impl Clone for Property

Source§

fn clone(&self) -> Property

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Property

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<Property> for c_int

Source§

fn from(value: Property) -> Self

Converts to this type from the input type.
Source§

impl From<i32> for Property

Source§

fn from(value: c_int) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for Property

Source§

fn eq(&self, other: &Property) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for Property

Source§

impl Eq for Property

Source§

impl StructuralPartialEq for Property

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T, U> CastInto<U> for T
where U: CastFrom<T>,

Source§

unsafe fn cast_into(self) -> U

Performs the conversion. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> StaticUpcast<T> for T

Source§

unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>

Convert type of a const pointer. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.