PrimeWorldEditor/UI/WStringPreviewPanel.h

25 lines
491 B
C
Raw Normal View History

#ifndef WSTRINGPREVIEWPANEL_H
#define WSTRINGPREVIEWPANEL_H
#include "IPreviewPanel.h"
#include <QLabel>
#include <QVBoxLayout>
#include <QVector>
class WStringPreviewPanel : public IPreviewPanel
{
Q_OBJECT
QVector<QLabel*> mLabels;
QVBoxLayout *mpLayout;
public:
explicit WStringPreviewPanel(QWidget *pParent = 0);
~WStringPreviewPanel();
2015-07-28 05:47:48 +00:00
QSize sizeHint() const;
EResType ResType();
void SetResource(CResource *pRes);
};
#endif // WSTRINGPREVIEWPANEL_H