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