mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 19:27:49 +02:00
some work on desktop qt gui
This commit is contained in:
parent
275da075e0
commit
b3050af1a7
8 changed files with 221 additions and 17 deletions
|
@ -8,9 +8,7 @@ void ServerTunnelPane::setGroupBoxTitle(const QString & title) {
|
|||
}
|
||||
|
||||
void ServerTunnelPane::appendServerTunnelForm(
|
||||
ServerTunnelConfig* tunnelConfig, QWidget *tunnelsFormGridLayoutWidget, QGridLayout *tunnelsFormGridLayout) {
|
||||
|
||||
tunnelsFormGridLayoutWidget->resize(527, 452);
|
||||
ServerTunnelConfig* tunnelConfig, QWidget *tunnelsFormGridLayoutWidget, QGridLayout *tunnelsFormGridLayout, int tunnelsRow) {
|
||||
|
||||
ServerTunnelPane& ui = *this;
|
||||
|
||||
|
@ -27,12 +25,14 @@ void ServerTunnelPane::appendServerTunnelForm(
|
|||
tunnelTypeComboBox->addItem("IRC", i2p::client::I2P_TUNNELS_SECTION_TYPE_IRC);
|
||||
tunnelTypeComboBox->addItem("UDP Server", i2p::client::I2P_TUNNELS_SECTION_TYPE_UDPSERVER);
|
||||
|
||||
gridLayoutWidget_2->setGeometry(QRect(0, 10, 561, 18*40+10));
|
||||
gridLayoutWidget_2->setGeometry(QRect(0, 0, 561, 18*60));
|
||||
|
||||
|
||||
setupTunnelPane(tunnelConfig,
|
||||
serverTunnelNameGroupBox,
|
||||
gridLayoutWidget_2, tunnelTypeComboBox,
|
||||
tunnelsFormGridLayoutWidget, tunnelsFormGridLayout);
|
||||
tunnelsFormGridLayoutWidget, tunnelsFormGridLayout, tunnelsRow);
|
||||
//this->tunnelGroupBox->setGeometry(QRect(0, tunnelsFormGridLayoutWidget->height()+10, 561, 18*40+10));
|
||||
|
||||
{
|
||||
const QString& type = tunnelConfig->getType();
|
||||
|
@ -219,8 +219,6 @@ void ServerTunnelPane::appendServerTunnelForm(
|
|||
appendControlsForI2CPParameters(i2cpParameters, gridIndex);
|
||||
}
|
||||
|
||||
tunnelsFormGridLayout->addWidget(serverTunnelNameGroupBox, 0, 0, 1, 1);
|
||||
|
||||
retranslateServerTunnelForm(ui);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue