make some performance improvements to event rendering

This commit is contained in:
garakmon
2020-08-06 19:46:23 -04:00
committed by garak
parent 2a11760afd
commit 1151f9fc26
6 changed files with 52 additions and 52 deletions

View File

@@ -101,7 +101,7 @@ public:
void updateSelectedEvents();
void duplicateSelectedEvents();
void redrawObject(DraggablePixmapItem *item);
QList<DraggablePixmapItem *> *getObjects();
QList<DraggablePixmapItem *> getObjects();
QGraphicsScene *scene = nullptr;
QGraphicsPixmapItem *current_view = nullptr;
@@ -147,6 +147,8 @@ public:
bool selectingEvent = false;
void shouldReselectEvents();
private:
void setConnectionItemsVisible(bool);
void setBorderItemsVisible(bool, qreal = 1);