[−][src]Struct qt_widgets::QStyleFactory
The QStyleFactory class creates QStyle objects.
C++ class: QStyleFactory
.
The QStyleFactory class creates QStyle objects.
The QStyle class is an abstract base class that encapsulates the look and feel of a GUI. QStyleFactory creates a QStyle object using the create() function and a key identifying the style. The styles are either built-in or dynamically loaded from a style plugin (see QStylePlugin).
The valid keys can be retrieved using the keys() function. Typically they include "windows" and "fusion". Depending on the platform, "windowsxp", "windowsvista" and "macintosh" may be available. Note that keys are case insensitive.
Methods
impl QStyleFactory
[src]
pub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<QStyleFactory>>
) -> Ref<QStyleFactory>
[src]
&self,
other: impl CastInto<Ref<QStyleFactory>>
) -> Ref<QStyleFactory>
The QStyleFactory class creates QStyle objects.
Calls C++ function: QStyleFactory& QStyleFactory::operator=(const QStyleFactory& other)
.
The QStyleFactory class creates QStyle objects.
The QStyle class is an abstract base class that encapsulates the look and feel of a GUI. QStyleFactory creates a QStyle object using the create() function and a key identifying the style. The styles are either built-in or dynamically loaded from a style plugin (see QStylePlugin).
The valid keys can be retrieved using the keys() function. Typically they include "windows" and "fusion". Depending on the platform, "windowsxp", "windowsvista" and "macintosh" may be available. Note that keys are case insensitive.
pub unsafe fn create(arg1: impl CastInto<Ref<QString>>) -> QPtr<QStyle>
[src]
Creates and returns a QStyle object that matches the given key, or returns 0 if no matching style is found.
Calls C++ function: static QStyle* QStyleFactory::create(const QString& arg1)
.
pub unsafe fn keys() -> CppBox<QStringList>
[src]
Returns the list of valid keys, i.e. the keys this factory can create styles for.
Calls C++ function: static QStringList QStyleFactory::keys()
.
Returns the list of valid keys, i.e. the keys this factory can create styles for.
See also create().
pub unsafe fn new() -> CppBox<QStyleFactory>
[src]
The QStyleFactory class creates QStyle objects.
Calls C++ function: [constructor] void QStyleFactory::QStyleFactory()
.
The QStyleFactory class creates QStyle objects.
The QStyle class is an abstract base class that encapsulates the look and feel of a GUI. QStyleFactory creates a QStyle object using the create() function and a key identifying the style. The styles are either built-in or dynamically loaded from a style plugin (see QStylePlugin).
The valid keys can be retrieved using the keys() function. Typically they include "windows" and "fusion". Depending on the platform, "windowsxp", "windowsvista" and "macintosh" may be available. Note that keys are case insensitive.
pub unsafe fn new_copy(
other: impl CastInto<Ref<QStyleFactory>>
) -> CppBox<QStyleFactory>
[src]
other: impl CastInto<Ref<QStyleFactory>>
) -> CppBox<QStyleFactory>
The QStyleFactory class creates QStyle objects.
Calls C++ function: [constructor] void QStyleFactory::QStyleFactory(const QStyleFactory& other)
.
The QStyleFactory class creates QStyle objects.
The QStyle class is an abstract base class that encapsulates the look and feel of a GUI. QStyleFactory creates a QStyle object using the create() function and a key identifying the style. The styles are either built-in or dynamically loaded from a style plugin (see QStylePlugin).
The valid keys can be retrieved using the keys() function. Typically they include "windows" and "fusion". Depending on the platform, "windowsxp", "windowsvista" and "macintosh" may be available. Note that keys are case insensitive.
Trait Implementations
impl CppDeletable for QStyleFactory
[src]
unsafe fn delete(&self)
[src]
The QStyleFactory class creates QStyle objects.
Calls C++ function: [destructor] void QStyleFactory::~QStyleFactory()
.
The QStyleFactory class creates QStyle objects.
The QStyle class is an abstract base class that encapsulates the look and feel of a GUI. QStyleFactory creates a QStyle object using the create() function and a key identifying the style. The styles are either built-in or dynamically loaded from a style plugin (see QStylePlugin).
The valid keys can be retrieved using the keys() function. Typically they include "windows" and "fusion". Depending on the platform, "windowsxp", "windowsvista" and "macintosh" may be available. Note that keys are case insensitive.
Auto Trait Implementations
impl RefUnwindSafe for QStyleFactory
impl Send for QStyleFactory
impl Sync for QStyleFactory
impl Unpin for QStyleFactory
impl UnwindSafe for QStyleFactory
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, 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>,