linkViewDialog.h 599 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
#ifndef _LINKVIEWDIALOG_H_
#define _LINKVIEWDIALOG_H_

#include "ui_linkViewDialog.h"

#include "types.h"

class Window;
class Scene;

class LinkViewDialog : public QDialog, Ui::LVDialog{
	Q_OBJECT
public:
	LinkViewDialog(Window* parent, PluginHash* activePlugins, Scene* scene);
	LinkViewDialog(Window* parent, QList<Plugin*> dependingPlugin, Scene* scene);
	~LinkViewDialog(){}

protected:
	enum Mode{LINK, UNLINK};

	QList<Plugin*> l_waitingPlugins;
	Scene* m_scene;
	Mode m_mode;

public slots:
	void button_OK();
	void customContextMenu(const QPoint & pos);
	void showPluginInfo();

};

#endif