summaryrefslogblamecommitdiffstats
path: root/workspace/LogReceiver/ndgui.h
blob: 01b9d01aac708184db1e64b598feb428288a7301 (plain) (tree)





































                                                                           
#ifndef NDGUI_H
#define NDGUI_H

#include <QtGui/QWidget>
#include "ui_ndgui.h"

class ndgui: public QWidget {
Q_OBJECT

public:
	ndgui(QWidget *parent = 0);
	~ndgui();

public slots:
    void handleProgress(int iFaceIndex, int newValue);

private:
	Ui::ndguiClass ui;

	/*gui elements*/
	QMap<int, QProgressBar *> progressBars;
	QLabel *ndStatusLabel;
	QGroupBox *interfaceGroupBox;
	QVBoxLayout *mainLayout;
	QVBoxLayout *interfaceGroupBoxLayout;
	/**/

	/*gui functions*/
	void buildGui();
	void createInterfaceGroupBox();
	void addInterfacesToGroupBox(QList<QNetworkInterface> &interfaces);




};

#endif // NDGUI_H