12345678910111213141516171819202122232425262728 |
- #ifndef GRAPHICSCONTEXT_H
- #define GRAPHICSCONTEXT_H
- #include "showunit_global.h"
- #include <QVariantHash>
- #include<QHash>
- #include "HalconCpp.h"
- using namespace HalconCpp;
- class SHOWUNITSHARED_EXPORT GraphicsContext
- {
- public:
- static QString GC_COLOR;
- static QString GC_COLORED ;
- static QString GC_LINEWIDTH ;
- static QString GC_DRAWMODE ;
- static QString GC_SHAPE;
- static QString GC_LUT ;
- static QString GC_PAINT;
- static QString GC_LINESTYLE;
- QHash<QString, HTuple> graphicalSettings;
- QHash<QString, HTuple> stateOfSettings;
- GraphicsContext();
- void applyContext(const HTuple &winID, const QHash<QString, HTuple> &cContext);
- void setAttribute(const QString &key, const HTuple &val);
- };
- #endif // GRAPHICSCONTEXT_H
|