Struct bitcoin_qt::SplashScreen
source · pub struct SplashScreen { /* private fields */ }
Expand description
| Class for the splashscreen with information | of the running client. | | ———– | @note | | this is intentionally not a QSplashScreen. | Bitcoin Core initialization can take | a long time, and in that case a progress | window that cannot be moved around and | minimized has turned out to be frustrating | to the user. |
Implementations§
source§impl SplashScreen
impl SplashScreen
pub fn new(network_style: *const NetworkStyle) -> Self
pub fn set_node(&mut self, node: Rc<RefCell<dyn NodeInterface>>)
pub fn event_filter(&mut self, obj: *mut u32, ev: *mut u32) -> bool
sourcepub fn finish(&mut self)
pub fn finish(&mut self)
| Hide the splash screen window and schedule | the splash screen object for deletion |
sourcepub fn subscribe_to_core_signals(&mut self)
pub fn subscribe_to_core_signals(&mut self)
| Connect core signals to splash screen |
sourcepub fn handle_load_wallet(&mut self)
pub fn handle_load_wallet(&mut self)
| Handle wallet load notifications. |
sourcepub fn unsubscribe_from_core_signals(&mut self)
pub fn unsubscribe_from_core_signals(&mut self)
| Disconnect core signals to splash screen |
sourcepub fn show_message(&mut self, message: &String, alignment: i32, color: &QColor)
pub fn show_message(&mut self, message: &String, alignment: i32, color: &QColor)
| Show message and progress |
pub fn paint_event(&mut self, event: *mut u32)
pub fn close_event(&mut self, event: *mut u32)
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SplashScreen
impl !Send for SplashScreen
impl !Sync for SplashScreen
impl Unpin for SplashScreen
impl !UnwindSafe for SplashScreen
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