surface_selection_dockTab.h 765 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 41 42 43
#ifndef _SURFACE_SELECTION_DOCK_TAB_H_
#define _SURFACE_SELECTION_DOCK_TAB_H_

#include "ui_surface_selection.h"

namespace CGoGN
{

namespace SCHNApps
{

class SCHNApps;
class Surface_Selection_Plugin;
struct MapParameters;

class Surface_Selection_DockTab : public QWidget, public Ui::Surface_Selection_TabWidget
{
	Q_OBJECT

	friend class Surface_Selection_Plugin;

public:
	Surface_Selection_DockTab(SCHNApps* s, Surface_Selection_Plugin* p);

private:
	SCHNApps* m_schnapps;
	Surface_Selection_Plugin* m_plugin;
	bool b_updatingUI;

private slots:
	void positionAttributeChanged(int index);

private:
	void addAttributeToList(unsigned int orbit, const QString& nameAttr);

	void updateMapParameters();
};

} // namespace SCHNApps

} // namespace CGoGN

#endif