Toshihiro Shimizu 890ddd
#ifndef INFOVIEWER_H
Toshihiro Shimizu 890ddd
#define INFOVIEWER_H
Toshihiro Shimizu 890ddd
Shinya Kitaoka 262a92
#include <memory></memory>
Shinya Kitaoka 262a92
Toshihiro Shimizu 890ddd
#include "toonzqt/dvdialog.h"
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#undef DVAPI
Toshihiro Shimizu 890ddd
#undef DVVAR
Toshihiro Shimizu 890ddd
#ifdef TOONZQT_EXPORTS
Toshihiro Shimizu 890ddd
#define DVAPI DV_EXPORT_API
Toshihiro Shimizu 890ddd
#define DVVAR DV_EXPORT_VAR
Toshihiro Shimizu 890ddd
#else
Toshihiro Shimizu 890ddd
#define DVAPI DV_IMPORT_API
Toshihiro Shimizu 890ddd
#define DVVAR DV_IMPORT_VAR
Toshihiro Shimizu 890ddd
#endif
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
class TLevelP;
Toshihiro Shimizu 890ddd
class TFilePath;
Toshihiro Shimizu 890ddd
class TPalette;
Toshihiro Shimizu 890ddd
class InfoViewerImp;
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
class DVAPI InfoViewer : public DVGui::Dialog
Toshihiro Shimizu 890ddd
{
Toshihiro Shimizu 890ddd
	Q_OBJECT
Shinya Kitaoka 262a92
	std::unique_ptr<infoviewerimp> m_imp;</infoviewerimp>
Toshihiro Shimizu 890ddd
	QWidget *m_parent;
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
public:
Toshihiro Shimizu 890ddd
	InfoViewer(QWidget *parent = 0);
Toshihiro Shimizu 890ddd
	~InfoViewer();
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
protected:
Toshihiro Shimizu 890ddd
	void hideEvent(QHideEvent *);
Toshihiro Shimizu 890ddd
	void showEvent(QShowEvent *);
Toshihiro Shimizu 890ddd
protected slots:
Toshihiro Shimizu 890ddd
	void onSliderChanged(bool);
Toshihiro Shimizu 890ddd
public slots:
Toshihiro Shimizu 890ddd
	void setItem(const TLevelP &level, TPalette *palette, const TFilePath &path);
Toshihiro Shimizu 890ddd
};
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#endif