pub struct SendCoinsDialog { /* private fields */ }
Expand description

| Dialog for sending bitcoins |

Implementations§

source§

impl SendCoinsDialog

source

pub fn coins_sent(&mut self, txid: &u256)

source

pub fn message(&mut self, title: &str, message: &str, style: u32)

| Fired when a message should be reported | to the user |

source§

impl SendCoinsDialog

source

pub fn new(platform_style: *const PlatformStyle, parent: *mut u32) -> Self

source

pub fn set_client_model(&mut self, client_model: *mut ClientModel)

source

pub fn set_model(&mut self, model: *mut WalletModel)

source

pub fn prepare_send_text( &mut self, question_string: &mut String, informative_text: &mut String, detailed_text: &mut String ) -> bool

| Format confirmation message |

source

pub fn send_button_clicked(&mut self, checked: bool)

source

pub fn clear(&mut self)

source

pub fn reject(&mut self)

source

pub fn accept(&mut self)

source

pub fn add_entry(&mut self) -> *mut SendCoinsEntry

source

pub fn update_tabs_and_labels(&mut self)

source

pub fn remove_entry(&mut self, entry: *mut SendCoinsEntry)

source

pub fn setup_tab_chain(&mut self, prev: *mut u32) -> *mut u32

| Set up the tab chain manually, as Qt messes | up the tab chain by default in some cases | (issue https://bugreports.qt-project.org/browse/QTBUG-10907). |

source

pub fn set_address(&mut self, address: &String)

source

pub fn paste_entry(&mut self, rv: &SendCoinsRecipient)

source

pub fn handle_payment_request(&mut self, rv: &SendCoinsRecipient) -> bool

source

pub fn set_balance(&mut self, balances: &WalletBalances)

source

pub fn update_display_unit(&mut self)

source

pub fn process_send_coins_return( &mut self, send_coins_return: &SendCoinsReturn, msg_arg: &String )

| Process WalletModel::SendCoinsReturn and | generate a pair consisting of a message and | message flags for use in Q_EMIT message(). | | Additional parameter msgArg can be used via | .arg(msgArg).

source

pub fn minimize_fee_section(&mut self, minimize: bool)

source

pub fn on_button_choose_fee_clicked(&mut self)

source

pub fn on_button_minimize_fee_clicked(&mut self)

source

pub fn use_available_balance(&mut self, entry: *mut SendCoinsEntry)

source

pub fn update_fee_section_controls(&mut self)

source

pub fn update_fee_minimized_label(&mut self)

source

pub fn update_coin_control_state(&mut self)

source

pub fn update_number_of_blocks( &mut self, count: i32, block_date: &u32, n_verification_progress: f64, headers: bool, sync_state: SynchronizationState )

source

pub fn update_smart_fee_label(&mut self)

source

pub fn coin_control_clipboard_quantity(&mut self)

| Coin Control: copy label “Quantity” | to clipboard |

source

pub fn coin_control_clipboard_amount(&mut self)

| Coin Control: copy label “Amount” to | clipboard |

source

pub fn coin_control_clipboard_fee(&mut self)

| Coin Control: copy label “Fee” to clipboard |

source

pub fn coin_control_clipboard_after_fee(&mut self)

| Coin Control: copy label “After fee” | to clipboard |

source

pub fn coin_control_clipboard_bytes(&mut self)

| Coin Control: copy label “Bytes” to | clipboard |

source

pub fn coin_control_clipboard_low_output(&mut self)

| Coin Control: copy label “Dust” to clipboard |

source

pub fn coin_control_clipboard_change(&mut self)

| Coin Control: copy label “Change” to | clipboard |

source

pub fn coin_control_feature_changed(&mut self, checked: bool)

| Coin Control: settings menu - coin control | enabled/disabled by user |

source

pub fn coin_control_button_clicked(&mut self)

| Coin Control: button inputs -> show | actual coin control dialog |

source

pub fn coin_control_change_checked(&mut self, state: i32)

| Coin Control: checkbox custom change | address |

source

pub fn coin_control_change_edited(&mut self, text: &String)

| Coin Control: custom change address | changed |

source

pub fn coin_control_update_labels(&mut self)

| Coin Control: update labels |

Trait Implementations§

source§

impl Drop for SendCoinsDialog


source§

fn drop(&mut self)

Executes the destructor for this type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
§

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

§

unsafe fn cast_into(self) -> U

Performs the conversion. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

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

const: unstable · 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.

§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
§

impl<T> StaticUpcast<T> for T

§

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

Convert type of a const pointer. Read more
source§

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

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

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

Performs the conversion.
source§

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

§

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

The type returned in the event of a conversion error.
const: unstable · source§

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

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V