qrenderruleproxy.h
596 Bytes
#ifndef CMYRENDERRULE_H
#define CMYRENDERRULE_H
#include "qtss_global.h"
#include "qrect.h"
#include "qpainter.h"
namespace QtCss{
class QRenderRule;
typedef QSharedPointer<QRenderRule> QRenderRulePtr;
}
class QTSSSHARED_EXPORT QRenderRuleProxy
{
public:
QRenderRuleProxy();
QRenderRuleProxy(const QRenderRuleProxy&r);
QRenderRuleProxy(const QtCss::QRenderRule&r);
bool hasDrawable();
void drawRule(QPainter *p, const QRect& rect);
QRect boxRect(const QRect &r, int flags = 1|2|4) const;
QtCss::QRenderRulePtr rule;
};
#endif // CMYRENDERRULE_H