* snmpNetworkDiscoveryWizard/ND_ProgressPage.h: fixes #2370, #2371

"broken signals in network discovery wizard". Network discovery
wizard was not correctly initializased and did not work.
This commit is contained in:
Vadim Kurland
2011-04-29 11:49:06 -07:00
parent 1fe2f85c00
commit bb5abafe5b
5 changed files with 17 additions and 35 deletions
+6
View File
@@ -1,3 +1,9 @@
2011-04-29 vadim <vadim@netcitadel.com>
* snmpNetworkDiscoveryWizard/ND_ProgressPage.h: fixes #2370, #2371
"broken signals in network discovery wizard". Network discovery
wizard was not correctly initializased and did not work.
2011-04-25 Vadim Kurland <vadim@netcitadel.com>
* instDialog_ui_ops.cpp (readInstallerOptionsFromDialog):
+3 -1
View File
@@ -1026,7 +1026,9 @@ void FWWindow::prepareFileMenu()
void FWWindow::prepareToolsMenu()
{
#ifndef HAVE_LIBSNMP
#ifdef HAVE_LIBSNMP
m_mainWindow->SNMPDiscoveryAction->setEnabled(true);
#else
m_mainWindow->SNMPDiscoveryAction->setEnabled(false);
#endif
}
@@ -58,6 +58,10 @@ ND_ProgressPage::ND_ProgressPage(QWidget *parent) : QWizardPage(parent)
#ifdef HAVE_LIBSNMP
crawler = NULL;
connect(m_dialog->discoveryStopButton, SIGNAL(clicked()), this, SLOT(stop()));
connect(m_dialog->logSaveButton, SIGNAL(clicked()), this, SLOT(saveLog()));
#endif
QTextCursor cursor(m_dialog->discoveryLog->textCursor());
@@ -24,6 +24,9 @@
#ifndef __ND_PROGRESSPAGE_H_
#define __ND_PROGRESSPAGE_H_
// for HAVE_LIBSNMP
#include "fwbuilder/libfwbuilder-config.h"
#include "ui_nd_progresspage_q.h"
#include <QTextCharFormat>
@@ -70,40 +70,7 @@
</layout>
</widget>
<resources/>
<connections>
<connection>
<sender>discoveryStopButton</sender>
<signal>clicked()</signal>
<receiver>ND_ProgressPage_q</receiver>
<slot>stop()</slot>
<hints>
<hint type="sourcelabel">
<x>47</x>
<y>513</y>
</hint>
<hint type="destinationlabel">
<x>304</x>
<y>268</y>
</hint>
</hints>
</connection>
<connection>
<sender>logSaveButton</sender>
<signal>clicked()</signal>
<receiver>ND_ProgressPage_q</receiver>
<slot>saveLog()</slot>
<hints>
<hint type="sourcelabel">
<x>160</x>
<y>513</y>
</hint>
<hint type="destinationlabel">
<x>304</x>
<y>268</y>
</hint>
</hints>
</connection>
</connections>
<connections/>
<slots>
<slot>stop()</slot>
<slot>saveLog()</slot>