controlDock_pluginTab.h 1.1 KB
Newer Older
Pierre Kraemer's avatar
Pierre Kraemer committed
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
#ifndef _CONTROL_DOCK_PLUGIN_TAB_H_
#define _CONTROL_DOCK_PLUGIN_TAB_H_

#include "ui_controlDock_PluginTabWidget.h"

namespace CGoGN
{

namespace SCHNApps
{

class SCHNApps;
class Plugin;
class PluginInteraction;
class View;

class ControlDock_PluginTab : public QWidget, public Ui::ControlDock_PluginTabWidget
{
	Q_OBJECT

public:
	ControlDock_PluginTab(SCHNApps* s);
	QString title() { return QString("Plugins"); }

private slots:
	// slots called from UI actions
	void addPluginDirectoryClicked();
	void enableSelectedPluginsClicked();
	void disableSelectedPluginsClicked();
Sylvain Thery's avatar
Sylvain Thery committed
30
//	void pluginCheckStateChanged(QListWidgetItem* item);
Pierre Kraemer's avatar
Pierre Kraemer committed
31 32 33 34 35

	// slots called from SCHNApps signals
	void pluginAvailableAdded(QString name);
	void pluginEnabled(Plugin* plugin);
	void pluginDisabled(Plugin* plugin);
Sylvain Thery's avatar
Sylvain Thery committed
36
//	void selectedViewChanged(View* prev, View* cur);
Pierre Kraemer's avatar
Pierre Kraemer committed
37 38

	// slots called from selected View signals
Sylvain Thery's avatar
Sylvain Thery committed
39 40
//	void selectedViewPluginLinked(PluginInteraction* plugin);
//	void selectedViewPluginUnlinked(PluginInteraction* plugin);
Pierre Kraemer's avatar
Pierre Kraemer committed
41 42 43 44 45 46 47 48 49 50 51

private:
	SCHNApps* m_schnapps;
	bool b_updatingUI;
};

} // namespace SCHNApps

} // namespace CGoGN

#endif