mapsViewDialog.h 665 Bytes
Newer Older
1 2 3 4 5
#ifndef _MAPSVIEWDIALOG_H_
#define _MAPSVIEWDIALOG_H_

#include "ui_mapsViewDialog.h"

Pierre Kraemer's avatar
Pierre Kraemer committed
6 7 8 9 10 11
namespace CGoGN
{

namespace SCHNApps
{

12 13
class Window;
class View;
14
class MapHandlerGen;
15 16 17 18 19 20 21 22 23 24 25 26

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

public:
	MapsViewDialog(Window* window, View* view);
	~MapsViewDialog();

private:
	Window* m_window;
	View* m_view;
27
	bool b_refreshingUI;
28 29

public slots:
30
	void selectedMapsChanged();
31 32
	void selectMap(View* view, MapHandlerGen* m);
	void deselectMap(View* view, MapHandlerGen* m);
33 34
	void addMapToList(MapHandlerGen* m);
	void removeMapFromList(MapHandlerGen* m);
35 36
};

Pierre Kraemer's avatar
Pierre Kraemer committed
37 38 39 40
} // namespace SCHNApps

} // namespace CGoGN

41
#endif