src/qt/overviewpage.cpp
void OverviewPage::updateWatchOnlyLabels(bool showWatchOnly)
{
    ui->labelSpendable->setVisible(showWatchOnly);      // show spendable label (only when watch-only is active)
    ui->labelWatchonly->setVisible(showWatchOnly);      // show watch-only label
    ui->lineWatchBalance->setVisible(showWatchOnly);    // show watch-only balance separator line
    ui->labelWatchAvailable->setVisible(showWatchOnly); // show watch-only available balance
    ui->labelWatchStake->setVisible(showWatchOnly);     // show watch-only staked balance
    ui->labelWatchPending->setVisible(showWatchOnly);   // show watch-only pending balance
    ui->labelWatchTotal->setVisible(showWatchOnly);     // show watch-only total balance

    if (!showWatchOnly)
        ui->labelWatchImmature->hide();
}
// show/hide watch-only labels
show/hide watch-only labels
show / hide watch - only labels
void OverviewPage::updateWatchOnlyLabels(bool showWatchOnly)
{
    ui->labelSpendable->setVisible(showWatchOnly);      
    ui->labelWatchonly->setVisible(showWatchOnly);      
    ui->lineWatchBalance->setVisible(showWatchOnly);    
    ui->labelWatchAvailable->setVisible(showWatchOnly); 
    ui->labelWatchStake->setVisible(showWatchOnly);     
    ui->labelWatchPending->setVisible(showWatchOnly);   
    ui->labelWatchTotal->setVisible(showWatchOnly);     
    if (!showWatchOnly)
        ui->labelWatchImmature->hide();
}
void OverviewPage :: updateWatchOnlyLabels ( bool showWatchOnly ) { ui -> labelSpendable -> setVisible ( showWatchOnly ) ; ui -> labelWatchonly -> setVisible ( showWatchOnly ) ; ui -> lineWatchBalance -> setVisible ( showWatchOnly ) ; ui -> labelWatchAvailable -> setVisible ( showWatchOnly ) ; ui -> labelWatchStake -> setVisible ( showWatchOnly ) ; ui -> labelWatchPending -> setVisible ( showWatchOnly ) ; ui -> labelWatchTotal -> setVisible ( showWatchOnly ) ; if ( ! showWatchOnly ) ui -> labelWatchImmature -> hide ( ) ; }
show/hide watch-only labels
show / hide watch - only labels
// show spendable label (only when watch-only is active) // show watch-only label // show watch-only balance separator line // show watch-only available balance // show watch-only staked balance // show watch-only pending balance // show watch-only total balance