dialog_computeDistance.h 787 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
#ifndef _DIALOG_COMPUTEDISTANCE_H_
#define _DIALOG_COMPUTEDISTANCE_H_

#include "ui_dialog_computeDistance.h"

namespace CGoGN
{

namespace SCHNApps
{

class SCHNApps;
class MapHandlerGen;

class Dialog_ComputeDistance : public QDialog, public Ui::Dialog_ComputeDistance
{
	Q_OBJECT

public:
	Dialog_ComputeDistance(SCHNApps* s);

private:
	SCHNApps* m_schnapps;
	MapHandlerGen* m_selectedMap1;
	MapHandlerGen* m_selectedMap2;

public slots:
	void selectedMap1Changed();
	void selectedMap2Changed();
	void addMapToList(MapHandlerGen* map);
	void removeMapFromList(MapHandlerGen* map);
	void addAttributeToList1(unsigned int orbit, const QString& nameAttr);
	void addAttributeToList2(unsigned int orbit, const QString& nameAttr);
};

} // namespace SCHNApps

} // namespace CGoGN

#endif