Struct bitcoin_qt::PlatformStyle
source · pub struct PlatformStyle { /* private fields */ }
Expand description
| Coin network-specific GUI style information |
Implementations§
source§impl PlatformStyle
impl PlatformStyle
pub fn get_name(&self) -> &String
pub fn get_use_extra_spacing(&self) -> bool
pub fn new( name: &String, images_on_buttons: bool, colorize_icons: bool, use_extra_spacing: bool ) -> Self
pub fn text_color(&self) -> QColor
pub fn single_color(&self) -> QColor
sourcepub fn single_color_image(&self, filename: &String) -> u32
pub fn single_color_image(&self, filename: &String) -> u32
| Colorize an image (given filename) | with the icon color |
sourcepub fn single_color_icon_with_filename(&self, filename: &String) -> QIcon
pub fn single_color_icon_with_filename(&self, filename: &String) -> QIcon
| Colorize an icon (given filename) with | the icon color |
sourcepub fn single_color_icon(&self, icon: &QIcon) -> QIcon
pub fn single_color_icon(&self, icon: &QIcon) -> QIcon
| Colorize an icon (given object) with | the icon color |
sourcepub fn text_color_icon(&self, icon: &QIcon) -> QIcon
pub fn text_color_icon(&self, icon: &QIcon) -> QIcon
| Colorize an icon (given object) with | the text color |
sourcepub fn instantiate(&mut self, platform_id: &String) -> *const PlatformStyle
pub fn instantiate(&mut self, platform_id: &String) -> *const PlatformStyle
| Get style associated with provided | platform name, or 0 if not known |
Auto Trait Implementations§
impl RefUnwindSafe for PlatformStyle
impl Send for PlatformStyle
impl Sync for PlatformStyle
impl Unpin for PlatformStyle
impl UnwindSafe for PlatformStyle
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more