Changeset 3356 in ntrip
- Timestamp:
- Aug 22, 2011, 4:03:49 PM (13 years ago)
- Location:
- trunk/BNC
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncsettings.cpp
r3285 r3356 57 57 setValue("proxyHost", ""); 58 58 setValue("proxyPort", ""); 59 setValue("sslCaCertPath", ""); 60 setValue("ignoreSslErrors", "0"); 59 61 setValue("rnxAppend", "0"); 60 62 setValue("rnxIntr", "1 day"); -
trunk/BNC/bncwindow.cpp
r3345 r3356 127 127 bncSettings settings; 128 128 129 // ProxyOptions130 // ------------- 129 // Netowrk Options 130 // --------------- 131 131 _proxyHostLineEdit = new QLineEdit(settings.value("proxyHost").toString()); 132 132 _proxyPortLineEdit = new QLineEdit(settings.value("proxyPort").toString()); … … 134 134 connect(_proxyHostLineEdit, SIGNAL(textChanged(const QString &)), 135 135 this, SLOT(slotBncTextChanged())); 136 137 _sslCaCertPathLineEdit = new QLineEdit(settings.value("sslCaCertPath").toString()); 138 _ignoreSslErrorsCheckBox = new QCheckBox(); 139 _ignoreSslErrorsCheckBox->setCheckState(Qt::CheckState( 140 settings.value("ignoreSslErrors").toInt())); 136 141 137 142 // General Options … … 644 649 QWidget* uploadgroup = new QWidget(); 645 650 QWidget* uploadEphgroup = new QWidget(); 646 _aogroup->addTab(pgroup,tr(" Proxy"));651 _aogroup->addTab(pgroup,tr("Network")); 647 652 _aogroup->addTab(ggroup,tr("General")); 648 653 _aogroup->addTab(ogroup,tr("RINEX Observations")); … … 669 674 _loggroup->addTab(_bncFigurePPP,tr("PPP Plot")); 670 675 671 // ProxyTab672 // --------- 676 // Netowork (Proxy and SSL) Tab 677 // ---------------------------- 673 678 QGridLayout* pLayout = new QGridLayout; 674 679 pLayout->setColumnMinimumWidth(0,13*ww); … … 682 687 pLayout->addWidget(new QLabel(" "),3,0); 683 688 pLayout->addWidget(new QLabel(" "),4,0); 684 pLayout->addWidget(new QLabel(" "),5,0); 689 pLayout->addWidget(new QLabel("Path to SSL Certificates"), 5, 0); 690 pLayout->addWidget(_sslCaCertPathLineEdit, 5, 1, 1,10); 691 pLayout->addWidget(new QLabel("Ignore SSL Authorization Errors"), 6,0); 692 pLayout->addWidget(_ignoreSslErrorsCheckBox, 6, 1, 1,10); 693 pLayout->addWidget(new QLabel("Settings for SSL Authorization."),7, 0, 1, 50, Qt::AlignLeft); 685 694 pgroup->setLayout(pLayout); 686 695 … … 1426 1435 settings.setValue("proxyHost", _proxyHostLineEdit->text()); 1427 1436 settings.setValue("proxyPort", _proxyPortLineEdit->text()); 1437 settings.setValue("sslCaCertPath", _sslCaCertPathLineEdit->text()); 1438 settings.setValue("ignoreSslErrors", _ignoreSslErrorsCheckBox->checkState()); 1428 1439 settings.setValue("rnxAppend", _rnxAppendCheckBox->checkState()); 1429 1440 settings.setValue("rnxIntr", _rnxIntrComboBox->currentText()); -
trunk/BNC/bncwindow.h
r3328 r3356 113 113 QLineEdit* _proxyHostLineEdit; 114 114 QLineEdit* _proxyPortLineEdit; 115 QLineEdit* _sslCaCertPathLineEdit; 116 QCheckBox* _ignoreSslErrorsCheckBox; 115 117 QLineEdit* _outFileLineEdit; 116 118 QLineEdit* _outPortLineEdit;
Note:
See TracChangeset
for help on using the changeset viewer.