add MapItemBase::renderHints
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
QAD - Qt ADvanced
|
||||
|
||||
Ivan Pelipenko peri4ko@yandex.ru
|
||||
Ivan Pelipenko peri4ko@yandex.ru
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published by
|
||||
@@ -38,10 +38,13 @@ public:
|
||||
explicit MapItemBase();
|
||||
virtual ~MapItemBase();
|
||||
|
||||
|
||||
bool isInteracive() const { return m_interacive; }
|
||||
void setInteracive(bool newInteracive);
|
||||
|
||||
QPainter::RenderHints renderHints() const { return m_hints; }
|
||||
void setRenderHints(QPainter::RenderHints h);
|
||||
void setRenderHint(QPainter::RenderHint h, bool on = true);
|
||||
|
||||
bool isVisible() const { return m_visible; }
|
||||
void setVisible(bool newVisible);
|
||||
bool isHidden() const { return !isVisible(); }
|
||||
@@ -97,6 +100,7 @@ private:
|
||||
QPointF m_position, m_scale = {1., 1.}, m_offset;
|
||||
QRectF m_bounding;
|
||||
QCursor m_cursor;
|
||||
QPainter::RenderHints m_hints;
|
||||
QMap<int, QVariant> data_;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user