mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-28 13:02:38 +02:00
Qt/Options: Implement Mempool tab design in code
This commit is contained in:
parent
cf8a5b7694
commit
30722fe358
@ -29,6 +29,7 @@
|
|||||||
#include <QDataWidgetMapper>
|
#include <QDataWidgetMapper>
|
||||||
#include <QDir>
|
#include <QDir>
|
||||||
#include <QFontDialog>
|
#include <QFontDialog>
|
||||||
|
#include <QGroupBox>
|
||||||
#include <QHBoxLayout>
|
#include <QHBoxLayout>
|
||||||
#include <QIntValidator>
|
#include <QIntValidator>
|
||||||
#include <QLabel>
|
#include <QLabel>
|
||||||
@ -39,6 +40,7 @@
|
|||||||
#include <QStringList>
|
#include <QStringList>
|
||||||
#include <QSystemTrayIcon>
|
#include <QSystemTrayIcon>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
|
#include <QVBoxLayout>
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
void OptionsDialog::FixTabOrder(QWidget * const o)
|
void OptionsDialog::FixTabOrder(QWidget * const o)
|
||||||
@ -184,6 +186,24 @@ OptionsDialog::OptionsDialog(QWidget* parent, bool enableWallet)
|
|||||||
|
|
||||||
prevwidget = ui->peerbloomfilters;
|
prevwidget = ui->peerbloomfilters;
|
||||||
|
|
||||||
|
/* Mempool tab */
|
||||||
|
|
||||||
|
QWidget * const tabMempool = new QWidget();
|
||||||
|
QVBoxLayout * const verticalLayout_Mempool = new QVBoxLayout(tabMempool);
|
||||||
|
ui->tabWidget->insertTab(ui->tabWidget->indexOf(ui->tabWindow), tabMempool, tr("Mem&pool"));
|
||||||
|
|
||||||
|
// TODO
|
||||||
|
|
||||||
|
QGroupBox * const groupBox_Spamfiltering = new QGroupBox(tabMempool);
|
||||||
|
groupBox_Spamfiltering->setTitle(tr("Spam filtering"));
|
||||||
|
QVBoxLayout * const verticalLayout_Spamfiltering = new QVBoxLayout(groupBox_Spamfiltering);
|
||||||
|
|
||||||
|
// TODO
|
||||||
|
|
||||||
|
verticalLayout_Mempool->addWidget(groupBox_Spamfiltering);
|
||||||
|
|
||||||
|
verticalLayout_Mempool->addItem(new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding));
|
||||||
|
|
||||||
/* Window elements init */
|
/* Window elements init */
|
||||||
#ifdef Q_OS_MACOS
|
#ifdef Q_OS_MACOS
|
||||||
/* remove Window tab on Mac */
|
/* remove Window tab on Mac */
|
||||||
|
Loading…
Reference in New Issue
Block a user