some work on configuration interface

correct file locations
create configuration slots
TODO сделать этот ебаный коннектор или выкинуть его нахуй
This commit is contained in:
arcan1s
2015-01-31 06:10:21 +03:00
parent b1abf74e89
commit 4966a0a5bf
11 changed files with 662 additions and 156 deletions

View File

@ -125,7 +125,7 @@ QString GraphicalItem::image(const float value)
}
// convert
QPixmap pixmap = QPixmap::grabWidget(view).transformed(QTransform().scale(scale[0], scale[1]));
QPixmap pixmap = view->grab().transformed(QTransform().scale(scale[0], scale[1]));
QByteArray byteArray;
QBuffer buffer(&byteArray);
pixmap.save(&buffer, "PNG");