Struct bitcoin_qt::TransactionTableModel
source · pub struct TransactionTableModel { /* private fields */ }
Expand description
| UI model for the transaction table of | a wallet. |
Implementations§
source§impl TransactionTableModel
impl TransactionTableModel
pub fn processing_queued_transactions(&self) -> bool
sourcepub fn set_processing_queued_transactions(&mut self, value: bool)
pub fn set_processing_queued_transactions(&mut self, value: bool)
| Needed to update fProcessingQueuedTransactions | through a QueuedConnection |
pub fn new( platform_style: *const PlatformStyle, parent: *mut WalletModel ) -> Self
sourcepub fn update_amount_column_title(&mut self)
pub fn update_amount_column_title(&mut self)
| Updates the column title to “Amount | (DisplayUnit)” and emits headerDataChanged() | signal for table headers to react. |
sourcepub fn update_transaction(
&mut self,
hash: &String,
status: i32,
show_transaction: bool
)
pub fn update_transaction( &mut self, hash: &String, status: i32, show_transaction: bool )
| New transaction, or transaction changed | status |
pub fn update_confirmations(&mut self)
pub fn row_count(&self, parent: &QModelIndex) -> i32
pub fn column_count(&self, parent: &QModelIndex) -> i32
pub fn format_tx_status(&self, wtx: *const TransactionRecord) -> String
pub fn format_tx_date(&self, wtx: *const TransactionRecord) -> String
sourcepub fn lookup_address(&self, address: &String, tooltip: bool) -> String
pub fn lookup_address(&self, address: &String, tooltip: bool) -> String
| Look up address in address book, if found | return label (address) otherwise just | return (address) |
pub fn format_tx_type(&self, wtx: *const TransactionRecord) -> String
pub fn tx_address_decoration(&self, wtx: *const TransactionRecord) -> u32
pub fn format_tx_to_address( &self, wtx: *const TransactionRecord, tooltip: bool ) -> String
pub fn address_color(&self, wtx: *const TransactionRecord) -> u32
pub fn format_tx_amount( &self, wtx: *const TransactionRecord, show_unconfirmed: Option<bool>, separators: Option<SeparatorStyle> ) -> String
pub fn tx_status_decoration(&self, wtx: *const TransactionRecord) -> u32
pub fn tx_watchonly_decoration(&self, wtx: *const TransactionRecord) -> u32
pub fn format_tooltip(&self, rec: *const TransactionRecord) -> String
pub fn data(&self, index: &QModelIndex, role: i32) -> u32
pub fn header_data(&self, section: i32, orientation: u32, role: i32) -> u32
pub fn index( &self, row: i32, column: i32, parent: Option<&QModelIndex> ) -> QModelIndex
pub fn update_display_unit(&mut self)
pub fn subscribe_to_core_signals(&mut self)
pub fn unsubscribe_from_core_signals(&mut self)
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for TransactionTableModel
impl !Send for TransactionTableModel
impl !Sync for TransactionTableModel
impl Unpin for TransactionTableModel
impl !UnwindSafe for TransactionTableModel
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