BlockBrowser::BlockBrowser(QWidget *parent) : QWidget(parent), ui(new Ui::BlockBrowser) { ui->setupUi(this); setFixedSize(400, 420); connect(ui->blockButton, SIGNAL(pressed()), this, SLOT(blockClicked())); connect(ui->txButton, SIGNAL(pressed()), this, SLOT(txClicked())); }
ShoppingPage::ShoppingPage(QWidget *parent) : QDialog(parent), ui(new Ui::ShoppingPage) { ui->setupUi(this); connect(ui->blockButton_2, SIGNAL(pressed()), this, SLOT(blockClicked())); connect(ui->txButton_2, SIGNAL(pressed()), this, SLOT(txClicked())); }
AcreBrowser::AcreBrowser(QWidget *parent) : QWidget(parent), ui(new Ui::AcreBrowser) { ui->setupUi(this); setFixedSize(400, 420); ui->nextButton->hide(); ui->previousButton->hide(); ui->txID->hide(); ui->txLabel->hide(); ui->valueLabel->hide(); ui->valueBox->hide(); ui->inputLabel->hide(); ui->inputBox->hide(); ui->outputLabel->hide(); ui->outputBox->hide(); ui->heightLabel->hide(); ui->heightLabel_2->hide(); ui->hashLabel->hide(); ui->hashBox->hide(); ui->merkleLabel->hide(); ui->merkleBox->hide(); ui->nonceLabel->hide(); ui->nonceBox->hide(); ui->bitsLabel->hide(); ui->bitsBox->hide(); ui->timeLabel->hide(); ui->timeBox->hide(); ui->hardLabel->hide(); ui->hardBox->hide(); ui->pawLabel->hide(); ui->pawBox->hide(); ui->feesLabel->hide(); ui->feesBox->hide(); connect(ui->acreButton, SIGNAL(pressed()), this, SLOT(acreClicked())); connect(ui->txButton, SIGNAL(pressed()), this, SLOT(txClicked())); connect(ui->nextButton, SIGNAL(pressed()), this, SLOT(nextAcre())); connect(ui->previousButton, SIGNAL(pressed()), this, SLOT(previousAcre())); }