mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-29 04:07:49 +02:00
qt: crypto type added
This commit is contained in:
parent
b0c690d836
commit
f6ff232106
8 changed files with 146 additions and 24 deletions
|
@ -235,6 +235,23 @@ int ServerTunnelPane::appendServerTunnelForm(
|
|||
horizontalLayout_2->addItem(horizontalSpacer);
|
||||
tunnelGridLayout->addLayout(horizontalLayout_2);
|
||||
}
|
||||
{
|
||||
int cryptoType = tunnelConfig->getcryptoType();
|
||||
QHBoxLayout *horizontalLayout_2 = new QHBoxLayout();
|
||||
ui.cryptoTypeLabel = new QLabel(gridLayoutWidget_2);
|
||||
cryptoTypeLabel->setObjectName(QStringLiteral("cryptoTypeLabel"));
|
||||
horizontalLayout_2->addWidget(cryptoTypeLabel);
|
||||
ui.cryptoTypeLineEdit = new QLineEdit(gridLayoutWidget_2);
|
||||
cryptoTypeLineEdit->setObjectName(QStringLiteral("cryptoTypeLineEdit"));
|
||||
cryptoTypeLineEdit->setText(QString::number(cryptoType));
|
||||
cryptoTypeLineEdit->setMaximumWidth(80);
|
||||
QObject::connect(cryptoTypeLineEdit, SIGNAL(textChanged(const QString &)),
|
||||
this, SLOT(updated()));
|
||||
horizontalLayout_2->addWidget(cryptoTypeLineEdit);
|
||||
QSpacerItem * horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
||||
horizontalLayout_2->addItem(horizontalSpacer);
|
||||
tunnelGridLayout->addLayout(horizontalLayout_2);
|
||||
}
|
||||
{
|
||||
I2CPParameters& i2cpParameters = tunnelConfig->getI2cpParameters();
|
||||
appendControlsForI2CPParameters(i2cpParameters, gridIndex);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue