db backend: mostly feature-complete

This commit is contained in:
jaseg 2020-08-09 17:12:14 +02:00
parent 872bb95acf
commit 0afe9ca6bf
12 changed files with 497 additions and 160 deletions

View file

@ -5,11 +5,13 @@
#include <cmath>
TagView::TagView(SQLiteSaveFile &proj)
: proj(proj)
: scene(proj)
, proj(proj)
, saveCenterTimer()
{
setDragMode(QGraphicsView::ScrollHandDrag);
setScene(&scene);
connect(&scene, &TagScene::tagDoubleClicked, this, &TagView::tagDoubleClicked);
saveCenterTimer.setSingleShot(true);
saveCenterTimer.setInterval(500);