Add Indicator for PositionLocked state
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
|
||||
using namespace TechDrawGui;
|
||||
|
||||
QGCustomImage::QGCustomImage()
|
||||
QGCustomImage::QGCustomImage()
|
||||
{
|
||||
setCacheMode(QGraphicsItem::NoCache);
|
||||
setAcceptHoverEvents(false);
|
||||
@@ -74,6 +74,12 @@ bool QGCustomImage::load(QString fileSpec)
|
||||
return(success);
|
||||
}
|
||||
|
||||
QSize QGCustomImage::imageSize(void)
|
||||
{
|
||||
QSize result = m_px.size();
|
||||
return result;
|
||||
}
|
||||
|
||||
void QGCustomImage::paint ( QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) {
|
||||
QStyleOptionGraphicsItem myOption(*option);
|
||||
myOption.state &= ~QStyle::State_Selected;
|
||||
|
||||
Reference in New Issue
Block a user