/usr/include/openrpt/OpenRPT/wrtembed/dmatrixpreview.h is in libopenrpt-dev 3.3.12-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 33 34 35 36 37 38 39 40 41 42 43 | #ifndef DMATRIXPREVIEW_H
#define DMATRIXPREVIEW_H
#include <QWidget>
#include <QDialog>
#include <QPainter>
#include "dmtx.h"
namespace Ui {
class DMatrixPreview;
}
class DMatrixPreview : public QDialog
{
Q_OBJECT
public:
explicit DMatrixPreview(QWidget* parent = 0, Qt::WindowFlags fl = 0);
~DMatrixPreview();
inline void setFormat(int format) {this->_format=format;}
public slots:
void generePreview(int format);
protected:
void paintEvent(QPaintEvent *);
private slots:
void escapeEvent();
signals:
bool escapeSignal(bool);
private:
Ui::DMatrixPreview *ui;
int _format;
static QString previewString;
DmtxEncode *enc;
DmtxImage *img;
};
#endif // DMATRIXPREVIEW_H
|