Added selection highlight layer to view.
This commit is contained in:
@@ -29,8 +29,8 @@
|
||||
#include "ColorNode.h"
|
||||
#include "TextNode.h"
|
||||
#include "BarcodeStyle.h"
|
||||
|
||||
class QGraphicsItem;
|
||||
#include "Handles.h"
|
||||
#include "Outline.h"
|
||||
|
||||
|
||||
namespace glabels
|
||||
@@ -393,6 +393,7 @@ namespace glabels
|
||||
///////////////////////////////////////////////////////////////
|
||||
public:
|
||||
void draw( QPainter* painter, bool inEditor, MergeRecord* record ) const;
|
||||
void drawSelectionHighlight( QPainter* painter ) const;
|
||||
|
||||
protected:
|
||||
virtual void drawShadow( QPainter* painter, bool inEditor, MergeRecord* record ) const = 0;
|
||||
@@ -416,6 +417,9 @@ namespace glabels
|
||||
double mShadowOpacity;
|
||||
ColorNode mShadowColorNode;
|
||||
|
||||
QList<Handle*> mHandles;
|
||||
Outline* mOutline;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////
|
||||
// Private Members
|
||||
|
||||
Reference in New Issue
Block a user