[−][src]Struct qt_widgets::q_font_dialog::FontDialogOption
This enum specifies various options that affect the look and feel of a font dialog.
C++ enum: QFontDialog::FontDialogOption
.
This enum specifies various options that affect the look and feel of a font dialog.
For instance, it allows to specify which type of font should be displayed. If none are specified all fonts available will be listed.
Note that the font filtering options might not be supported on some platforms (e.g. Mac). They are always supported by the non native dialog (used on Windows or Linux).
This enum was introduced or modified in Qt 4.5.
The FontDialogOptions type is a typedef for QFlags<FontDialogOption>. It stores an OR combination of FontDialogOption values.
See also options, setOption(), and testOption().
Methods
impl FontDialogOption
[src]
impl FontDialogOption
[src]
pub const NoButtons: FontDialogOption
[src]
Don't display OK and Cancel buttons. (Useful for "live dialogs".) (C++ enum variant: NoButtons = 1
)
pub const DontUseNativeDialog: FontDialogOption
[src]
Use Qt's standard font dialog on the Mac instead of Apple's native font panel. (C++ enum variant: DontUseNativeDialog = 2
)
pub const ScalableFonts: FontDialogOption
[src]
Show scalable fonts (C++ enum variant: ScalableFonts = 4
)
pub const NonScalableFonts: FontDialogOption
[src]
Show non scalable fonts (C++ enum variant: NonScalableFonts = 8
)
pub const MonospacedFonts: FontDialogOption
[src]
Show monospaced fonts (C++ enum variant: MonospacedFonts = 16
)
pub const ProportionalFonts: FontDialogOption
[src]
Show proportional fonts (C++ enum variant: ProportionalFonts = 32
)
Trait Implementations
impl<T: Into<QFlags<FontDialogOption>>> BitOr<T> for FontDialogOption
[src]
type Output = QFlags<FontDialogOption>
The resulting type after applying the |
operator.
fn bitor(self, rhs: T) -> QFlags<FontDialogOption>
[src]
impl Clone for FontDialogOption
[src]
fn clone(&self) -> FontDialogOption
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for FontDialogOption
[src]
impl Debug for FontDialogOption
[src]
impl Eq for FontDialogOption
[src]
impl From<FontDialogOption> for c_int
[src]
fn from(value: FontDialogOption) -> Self
[src]
impl From<FontDialogOption> for QFlags<FontDialogOption>
[src]
fn from(value: FontDialogOption) -> Self
[src]
impl From<i32> for FontDialogOption
[src]
impl PartialEq<FontDialogOption> for FontDialogOption
[src]
fn eq(&self, other: &FontDialogOption) -> bool
[src]
fn ne(&self, other: &FontDialogOption) -> bool
[src]
impl StructuralEq for FontDialogOption
[src]
impl StructuralPartialEq for FontDialogOption
[src]
Auto Trait Implementations
impl RefUnwindSafe for FontDialogOption
impl Send for FontDialogOption
impl Sync for FontDialogOption
impl Unpin for FontDialogOption
impl UnwindSafe for FontDialogOption
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>,